/* Add this to your CSS file */
/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animate-left {
    transform: translateX(-50px);
}

.animate-on-scroll.animate-right {
    transform: translateX(50px);
}

.animate-on-scroll.animate-up {
    transform: translateY(50px);
}

.animate-on-scroll.animate-down {
    transform: translateY(-50px);
}

.animate-on-scroll.animate-scale {
    transform: translateY(50px) scale(0.95);
}

.animate-on-scroll.animate-rotate {
    transform: translateY(50px) rotate(5deg);
}

.animate-on-scroll.animate-visible {
    opacity: 1;
    transform: translate(0) scale(1) rotate(0);
}

/* Delay Classes */
.animate-delay-100 {
    transition-delay: 0.1s;
}

.animate-delay-200 {
    transition-delay: 0.2s;
}

.animate-delay-300 {
    transition-delay: 0.3s;
}

.animate-delay-400 {
    transition-delay: 0.4s;
}

.animate-delay-500 {
    transition-delay: 0.5s;
}

.animate-delay-600 {
    transition-delay: 0.6s;
}

.animate-delay-700 {
    transition-delay: 0.7s;
}

.animate-delay-800 {
    transition-delay: 0.8s;
}

.animate-delay-900 {
    transition-delay: 0.9s;
}

.animate-delay-1000 {
    transition-delay: 1s;
}

/* For staggered animations in grid items */
.grid-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.grid-item.animate-visible {
    opacity: 1;
    transform: translateY(0);
}