
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }
.animate-on-scroll:nth-child(7) { transition-delay: 0.6s; }
.animate-on-scroll:nth-child(8) { transition-delay: 0.7s; }
.animate-on-scroll:nth-child(9) { transition-delay: 0.8s; }
.animate-on-scroll:nth-child(10) { transition-delay: 0.9s; }
.animate-on-scroll:nth-child(11) { transition-delay: 1s; }
.animate-on-scroll:nth-child(12) { transition-delay: 1.1s; }
.animate-on-scroll:nth-child(13) { transition-delay: 1.2s; }
.animate-on-scroll:nth-child(14) { transition-delay: 1.3s; }
.animate-on-scroll:nth-child(15) { transition-delay: 1.4s; }
.animate-on-scroll:nth-child(16) { transition-delay: 1.5s; }
.animate-on-scroll:nth-child(17) { transition-delay: 1.6s; }
.animate-on-scroll:nth-child(18) { transition-delay: 1.7s; }
.animate-on-scroll:nth-child(19) { transition-delay: 1.8s; }
.animate-on-scroll:nth-child(20) { transition-delay: 1.9s; }

@media (prefers-reduced-motion: no-preference) {
    .benefits-grid:hover .animate-on-scroll,
    .benefit-card:hover {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Simulate scroll triggers with hover/focus effects */
    body:focus-within .animate-on-scroll,
    section:hover .animate-on-scroll,
    section:focus-within .animate-on-scroll {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Always visible on mobile */
    @media (max-width: 768px) {
        .animate-on-scroll {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* For non-JS environments, ensure content is visible */
.animate-on-scroll {
    animation: showOnLoad 0.5s ease forwards 0.5s;
}

@keyframes showOnLoad {
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 