/* ===== ANIMATIONS.CSS - BLUE THEME PARTICLES ===== */

/* ===== PARTICLE ANIMATIONS ===== */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    animation: particleFloat linear infinite;
}

.particle-1 { width: 6px; height: 6px; background: rgba(0,119,182,0.15); left: 10%; animation-duration: 18s; animation-delay: 0s; }
.particle-2 { width: 4px; height: 4px; background: rgba(0,180,216,0.12); left: 25%; animation-duration: 22s; animation-delay: 2s; }
.particle-3 { width: 8px; height: 8px; background: rgba(0,119,182,0.1); left: 40%; animation-duration: 16s; animation-delay: 4s; }
.particle-4 { width: 5px; height: 5px; background: rgba(0,180,216,0.14); left: 55%; animation-duration: 20s; animation-delay: 1s; }
.particle-5 { width: 7px; height: 7px; background: rgba(0,119,182,0.08); left: 70%; animation-duration: 24s; animation-delay: 3s; }
.particle-6 { width: 3px; height: 3px; background: rgba(0,180,216,0.16); left: 85%; animation-duration: 19s; animation-delay: 5s; }
.particle-7 { width: 5px; height: 5px; background: rgba(0,119,182,0.12); left: 15%; animation-duration: 21s; animation-delay: 6s; }
.particle-8 { width: 6px; height: 6px; background: rgba(0,180,216,0.1); left: 60%; animation-duration: 17s; animation-delay: 7s; }
.particle-9 { width: 4px; height: 4px; background: rgba(0,119,182,0.14); left: 80%; animation-duration: 23s; animation-delay: 2.5s; }
.particle-10 { width: 7px; height: 7px; background: rgba(0,180,216,0.09); left: 35%; animation-duration: 25s; animation-delay: 4.5s; }
.particle-11 { width: 5px; height: 5px; background: rgba(0,119,182,0.13); left: 50%; animation-duration: 18s; animation-delay: 8s; }
.particle-12 { width: 3px; height: 3px; background: rgba(0,180,216,0.11); left: 90%; animation-duration: 22s; animation-delay: 1.5s; }

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-10vh) scale(1);
    }
}

/* ===== FADE IN UP ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== UTILITY CLASSES ===== */
.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-fade-in-down {
    animation: fadeInDown 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-scale-in {
    animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* ===== STAGGER DELAYS ===== */
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }
.delay-5 { animation-delay: 0.5s; opacity: 0; }
.delay-6 { animation-delay: 0.6s; opacity: 0; }

/* ===== PULSE ===== */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,119,182,0.2); }
    50% { box-shadow: 0 0 20px 5px rgba(0,119,182,0.15); }
}

/* ===== TYPING EFFECT ===== */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ===== FLOAT ===== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(2deg); }
}

/* ===== SPIN ===== */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== COUNTER ===== */
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== MOBILE: REDUCE ANIMATIONS ===== */
@media (max-width: 768px) {
    .particle {
        display: none;
    }

    .animate-fade-in-up,
    .animate-fade-in-down,
    .animate-fade-in-left,
    .animate-fade-in-right,
    .animate-scale-in {
        animation-duration: 0.4s;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}