/* ========================================
   ANIMATIONS - Tamide Data Solutions
   ======================================== */

/* =================
   PARTICLE ANIMATIONS
   ================= */

@keyframes particle-float {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.4;
    }

    25% {
        transform: translate(20px, -30px);
        opacity: 0.6;
    }

    50% {
        transform: translate(-15px, -50px);
        opacity: 0.8;
    }

    75% {
        transform: translate(30px, -25px);
        opacity: 0.6;
    }
}

@keyframes particle-float-delayed {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.4;
    }

    25% {
        transform: translate(-25px, 35px);
        opacity: 0.6;
    }

    50% {
        transform: translate(20px, 60px);
        opacity: 0.8;
    }

    75% {
        transform: translate(-30px, 30px);
        opacity: 0.6;
    }
}

@keyframes particle-float-slow {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.4;
    }

    25% {
        transform: translate(15px, -40px);
        opacity: 0.6;
    }

    50% {
        transform: translate(-20px, -70px);
        opacity: 0.8;
    }

    75% {
        transform: translate(25px, -35px);
        opacity: 0.6;
    }
}

/* Particle Animation Classes */
.particle-float {
    animation: particle-float 10s ease-in-out infinite;
}

.particle-float-delayed {
    animation: particle-float-delayed 10s ease-in-out infinite;
    animation-delay: -3s;
}

.particle-float-slow {
    animation: particle-float-slow 12s ease-in-out infinite;
    animation-delay: -6s;
}

/* =================
   GLOW EFFECTS
   ================= */

@keyframes glow-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
        box-shadow: 0 0 20px 10px rgba(255, 215, 0, 0.3);
    }

    50% {
        transform: scale(1.1);
        opacity: 0.6;
        box-shadow: 0 0 40px 20px rgba(255, 215, 0, 0.6);
    }
}

.glow-pulse {
    animation: glow-pulse 3s ease-in-out infinite;
}

/* =================
   SCROLL ANIMATIONS
   ================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =================
   CAROUSEL ANIMATION
   ================= */

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.animate-scroll {
    animation: scroll-left 30s linear infinite;
}

.animate-scroll:hover {
    animation-play-state: paused;
}

/* =================
   ANIMATION CLASSES
   ================= */

/* Base class for scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
}

/* Animation classes - triggered by JS */
.animate-on-scroll.animate-fade-in-up.animated {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-on-scroll.animate-fade-in-left.animated {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-on-scroll.animate-fade-in-right.animated {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-on-scroll.animate-scale-in.animated {
    animation: scaleIn 0.6s ease-out forwards;
}

.animate-on-scroll.animate-slide-down.animated {
    animation: slideDown 0.6s ease-out forwards;
}

/* =================
   DELAY CLASSES
   ================= */

.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

.delay-400 {
    animation-delay: 400ms;
}

.delay-500 {
    animation-delay: 500ms;
}

.delay-600 {
    animation-delay: 600ms;
}