/* ========== ANIMATIONS ========== */
@keyframes scrollAnimation {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 10px);
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(106, 13, 173, 0.4);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(106, 13, 173, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(106, 13, 173, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

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

/* Counter Animation */
.counter {
    display: inline-block;
}

/* AOS Animation Delays */
[data-aos-delay="100"] {
    transition-delay: 100ms;
}

[data-aos-delay="200"] {
    transition-delay: 200ms;
}

[data-aos-delay="300"] {
    transition-delay: 300ms;
}

/* Testimonial Slide Animation */
.testimonial-slide {
    animation: fadeIn 0.5s ease forwards;
}

.testimonial-slide.active {
    display: block;
}


/* Scroll Section Animation */
/* .animate-section {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
} */

/* Slide up animation */
/* .animate-section[data-animation="slide-up"] {
  transform: translateY(50px);
}

.animate-section[data-animation="slide-up"].visible {
  opacity: 1;
  transform: translateY(0);
} */

/* Slide down animation */
/* .animate-section[data-animation="slide-down"] {
  transform: translateY(-50px);
}

.animate-section[data-animation="slide-down"].visible {
  opacity: 1;
  transform: translateY(0);
} */

/* Slide left animation */
/* .animate-section[data-animation="slide-left"] {
  transform: translateX(-50px);
}

.animate-section[data-animation="slide-left"].visible {
  opacity: 1;
  transform: translateX(0);
} */

/* Slide right animation */
/* .animate-section[data-animation="slide-right"] {
  transform: translateX(50px);
}

.animate-section[data-animation="slide-right"].visible {
  opacity: 1;
  transform: translateX(0);
} */


* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            width: 100%;
            overflow-x: hidden;
        }
        
        .container {
            max-width: 100%;
            padding: 0 15px;
        }
        
        [data-scroll-animation] {
            opacity: 0;
            transition: all 0.6s ease-out;
            will-change: transform, opacity;
        }

        /* Slide Up */
        [data-scroll-animation="slide-up"] { transform: translateY(50px); }
        [data-scroll-animation="slide-up"].visible { opacity: 1; transform: translateY(0); }

        /* Slide Down */
        [data-scroll-animation="slide-down"] { transform: translateY(-50px); }
        [data-scroll-animation="slide-down"].visible { opacity: 1; transform: translateY(0); }

        /* Slide Left */
        [data-scroll-animation="slide-left"] { transform: translateX(50px); }
        [data-scroll-animation="slide-left"].visible { opacity: 1; transform: translateX(0); }

        /* Slide Right */
        [data-scroll-animation="slide-right"] { transform: translateX(-50px); }
        [data-scroll-animation="slide-right"].visible { opacity: 1; transform: translateX(0); }

        /* Fade In */
        [data-scroll-animation="fade"] { transform: scale(0.98); }
        [data-scroll-animation="fade"].visible { opacity: 1; transform: scale(1); }

        /* Zoom In */
        [data-scroll-animation="zoom"] { transform: scale(0.9); }
        [data-scroll-animation="zoom"].visible { opacity: 1; transform: scale(1); }

        /* Mobile Adjustments */
        @media (max-width: 768px) {
            [data-scroll-animation] {
                transition-duration: 0.4s;
            }
            [data-scroll-animation="slide-up"],
            [data-scroll-animation="slide-down"] { transform: translateY(30px); }
            [data-scroll-animation="slide-left"],
            [data-scroll-animation="slide-right"] { transform: translateX(30px); }
            
            img {
                max-width: 100%;
                height: auto;
            }
        }