/* Animations CSS */

/* Button Pulse Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(200, 255, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(200, 255, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(200, 255, 0, 0);
    }
}

/* Fade In Animation for Sections */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Testimonial Carousel Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Add animation to elements on scroll */
section {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

section:nth-child(1) {
    animation-delay: 0.2s;
}

section:nth-child(2) {
    animation-delay: 0.4s;
}

section:nth-child(3) {
    animation-delay: 0.6s;
}

section:nth-child(4) {
    animation-delay: 0.8s;
}

section:nth-child(5) {
    animation-delay: 1s;
}

section:nth-child(6) {
    animation-delay: 1.2s;
}

section:nth-child(7) {
    animation-delay: 1.4s;
}

section:nth-child(8) {
    animation-delay: 1.6s;
}

section:nth-child(9) {
    animation-delay: 1.8s;
}

/* CTA Button Animation */
.cta-button {
    animation: pulse 2s infinite;
}

/* Service Card Hover Animation */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Testimonial Slide Animation */
.testimonial-slide {
    transition: opacity 1s ease;
}

.testimonial-slide.active {
    animation: slideIn 0.8s ease-out;
}

/* FAQ Toggle Animation */
.toggle-icon {
    transition: transform 0.3s ease;
}
