/* ==========================================================================
   AtlanCare — Animation Keyframes
   ========================================================================== */

@keyframes strandPulse {
    0%,100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.06);
        opacity: .75;
    }
}

@keyframes scrollCue {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(24px);
        opacity: 0;
    }
}

@keyframes floatY {
    0%,100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-22px) rotate(6deg);
    }
}

.fi1 {
    animation: floatY 7s ease-in-out infinite;
}

.fi2 {
    animation: floatY 9s ease-in-out infinite 1s;
}

.fi3 {
    animation: floatY 8s ease-in-out infinite .5s;
}

.fi4 {
    animation: floatY 6.5s ease-in-out infinite 1.5s;
}

.fi5 {
    animation: floatY 10s ease-in-out infinite 2s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-120px) translateX(20px);
        opacity: 0;
    }
}

.particle {
    animation: particleFloat linear infinite;
}

@keyframes rippleAnim {
    to {
        transform: scale(3);
        opacity: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUpPulse {
    from {
        opacity: 0;
        transform: scale(.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* AOS refinement */
[data-aos] {
    transition-timing-function: cubic-bezier(.2,.8,.2,1) !important;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    html {
        scroll-behavior: auto;
    }
}
