/* =========================
   GLOBAL ANIMATIONS
   ========================= */

/* Fade in elements */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards;
    animation-delay: 0.2s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide from left */
.slide-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideLeft 0.8s forwards;
}

@keyframes slideLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide from right */
.slide-right {
    opacity: 0;
    transform: translateX(30px);
    animation: slideRight 0.8s forwards;
}

@keyframes slideRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Zoom in */
.zoom-in {
    opacity: 0;
    transform: scale(0.9);
    animation: zoomIn 0.6s forwards;
}

@keyframes zoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Buttons hover effect */
.cta-btn, .btn {
    transition: all 0.3s ease;
}

.cta-btn:hover, .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

/* Image hover zoom */
img {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

img:hover {
    transform: scale(1.05);
    opacity: 0.95;
}

/* Staggered animation helper */
.stagger > * {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards;
}

.stagger > *:nth-child(1) { animation-delay: 0.1s; }
.stagger > *:nth-child(2) { animation-delay: 0.2s; }
.stagger > *:nth-child(3) { animation-delay: 0.3s; }
.stagger > *:nth-child(4) { animation-delay: 0.4s; }
.stagger > *:nth-child(5) { animation-delay: 0.5s; }