/*
    AGEC Global - Animations & Micro-interactions
*/

/* Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    opacity: 0;
}

/* Delay Utilities */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* Pulse for CTA */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(213, 0, 0, 0.5);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(213, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(213, 0, 0, 0);
    }
}

.btn-pulse {
    animation: pulse 2s infinite;
}

/* Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Animation for Hero Images/Elements */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Typing Effect Cursor */
@keyframes blink {
    0%, 100% { border-color: transparent; }
    50% { border-color: white; }
}

.typewriter-text {
    border-right: 2px solid white;
    white-space: nowrap;
    overflow: hidden;
    animation: blink 0.75s step-end infinite;
}

/* ── Premium: Diagonal Stripe Shift ───────────────── */
@keyframes diagonalShift {
    0%   { background-position: 0 0; }
    100% { background-position: 80px 80px; }
}

/* ── Premium: Antique Gold Glow (stat numbers) ────── */
@keyframes goldGlow {
    0%, 100% { text-shadow: 0 0 12px rgba(11,30,138,0.4); }
    50%       { text-shadow: 0 0 28px rgba(11,30,138,0.9), 0 0 56px rgba(11,30,138,0.35); }
}

/* ── Premium: Shimmer Slide (icons / buttons) ─────── */
@keyframes shimmerSlide {
    0%   { left: -80%; }
    100% { left: 150%; }
}

/* ── Premium: Gradient Flow (card top-border) ─────── */
@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50%       { background-position: 100% 50%; }
}
