/* Animation Classes */
.animate-from-top {
    opacity: 0;
    transform: translateY(-50px);
    animation: fadeInTop 1s ease forwards;
}

.animate-from-bottom {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInBottom 1s ease forwards;
}

.animate-from-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: fadeInLeft 1s ease forwards;
}

.animate-from-right {
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRight 1s ease forwards;
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.animate-zoom-in {
    opacity: 0;
    transform: scale(0.8);
    animation: zoomIn 1s ease forwards;
}

.animate-delay-1 {
    animation-delay: 0.2s;
}

.animate-delay-2 {
    animation-delay: 0.4s;
}

.animate-delay-3 {
    animation-delay: 0.6s;
}

.animate-delay-4 {
    animation-delay: 0.8s;
}

.animate-delay-5 {
    animation-delay: 1s;
}

/* Keyframes */
@keyframes fadeInTop {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInBottom {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll Animation */
[data-animate] {
    opacity: 0;
    transition: all 1s ease;
}

[data-animate].animate {
    opacity: 1;
    transform: translate(0) scale(1);
}

[data-animate="top"] {
    transform: translateY(-50px);
}

[data-animate="bottom"] {
    transform: translateY(50px);
}

[data-animate="left"] {
    transform: translateX(-50px);
}

[data-animate="right"] {
    transform: translateX(50px);
}

[data-animate="zoom"] {
    transform: scale(0.8);
}

/* Counter Animation */
.counter {
    display: inline-block;
}