.animate-on-scroll {
    opacity: 0;
    will-change: transform, opacity;
}

.fade-in.is-visible {
    animation: fadeIn 0.8s ease-out forwards;
}

.fade-up.is-visible {
    animation: fadeUp 0.8s ease-out forwards;
}

.slide-in-left.is-visible {
    animation: slideInLeft 0.8s ease-out forwards;
}

.slide-in-right.is-visible {
    animation: slideInRight 0.8s ease-out forwards;
}

.slide-in-bottom.is-visible {
    animation: slideInBottom 0.8s ease-out forwards;
}

.scale-up.is-visible {
    animation: scaleUp 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.is-visible .stagger-item {
    opacity: 0;
    animation: fadeUp 0.6s ease-out forwards;
}

.is-visible .stagger-item:nth-child(1) { animation-delay: 0.1s; }
.is-visible .stagger-item:nth-child(2) { animation-delay: 0.2s; }
.is-visible .stagger-item:nth-child(3) { animation-delay: 0.3s; }
.is-visible .stagger-item:nth-child(4) { animation-delay: 0.4s; }
.is-visible .stagger-item:nth-child(5) { animation-delay: 0.5s; }
.is-visible .stagger-item:nth-child(6) { animation-delay: 0.6s; }
