/* Scroll Animations */

.reveal {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    visibility: hidden;
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    visibility: visible;
}

/* Reveal Up */
.reveal-up {
    transform: translateY(40px);
}
.reveal-up.active {
    transform: translateY(0);
}

/* Reveal Right */
.reveal-right {
    transform: translateX(-40px);
}
.reveal-right.active {
    transform: translateX(0);
}

/* Reveal Left */
.reveal-left {
    transform: translateX(40px);
}
.reveal-left.active {
    transform: translateX(0);
}

/* Fade In Only */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    visibility: hidden;
}
.fade-in.active {
    opacity: 1;
    visibility: visible;
}

/* Delays for staggered animations */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Responsive adjustments */
@media (prefers-reduced-motion: reduce) {
    .reveal, .fade-in {
        transition: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
}
