/* ==========================================================================
   Micro-Animations & Scrolling Reveal System
   ========================================================================== */

/* Fade In Page Initial load */
.reveal-fade {
    opacity: 0;
    animation: revealFadeAnim 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Slide Up Fade reveal */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    animation: revealUpAnim 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Staggered Delay Utilities */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* Pulse Glow effect for CTA buttons */
.pulse-glow {
    position: relative;
}
.pulse-glow::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(0, 172, 221, 0.4);
    animation: pulseGlowAnim 2s infinite;
    pointer-events: none;
}

@keyframes pulseGlowAnim {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 172, 221, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 172, 221, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 172, 221, 0);
    }
}

/* Float Animation for images */
.float-effect {
    animation: floatAnim 4s ease-in-out infinite;
}

@keyframes floatAnim {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Hover Zoom effect */
.img-zoom-hover {
    overflow: hidden;
}
.img-zoom-hover img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-zoom-hover:hover img {
    transform: scale(1.06);
}
