/* Base class - hidden by default */
.scroll-animation {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Apply transition delays */
.scroll-animation.show {
    opacity: 1;
}

.scroll-animation:nth-child(1) {
    transition-delay: 0.1s;
}
.scroll-animation:nth-child(2) {
    transition-delay: 0.2s;
}
.scroll-animation:nth-child(3) {
    transition-delay: 0.3s;
}
.scroll-animation:nth-child(4) {
    transition-delay: 0.4s;
}
.scroll-animation:nth-child(5) {
    transition-delay: 0.5s;
}

/* Keep your existing animations */
.fade-up {
    transform: translateY(20px);
}
.fade-up.show {
    transform: translateY(0);
}

.fade-down {
    transform: translateY(-20px);
}
.fade-down.show {
    transform: translateY(0);
}

.slide-left {
    transform: translateX(-30px);
}
.slide-left.show {
    transform: translateX(0);
}

.slide-right {
    transform: translateX(30px);
}
.slide-right.show {
    transform: translateX(0);
}

.scale-up {
    transform: scale(0.9);
}
.scale-up.show {
    transform: scale(1);
}
