/* ============================================================
   animations.css — @keyframes and animation utilities
   ============================================================ */

/* ── Base Animations ── */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

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

/* Marquee scroll — used by logo strip section */
@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Status pulse (used in security section) */
@keyframes pulse-green {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(47, 206, 101, 0.4);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(47, 206, 101, 0);
    }
}

/* Float animation for dashboard card */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ── Animation Utility Classes ── */

.animate-fade-in {
    animation: fadeIn 0.6s ease-out both;
}

.animate-fade-in-up {
    animation: fadeInUp 0.7s ease-out both;
}

.animate-slide-in-left {
    animation: slideInLeft 0.5s ease-out both;
}

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

.animate-pulse-green {
    animation: pulse-green 2s ease-in-out infinite;
}

/* Marquee wrapper — clips the scrolling strip */
.marquee-wrapper {
    overflow: hidden;
    width: 100%;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

/* Staggered delay utilities */
.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

.delay-400 {
    animation-delay: 400ms;
}

.delay-500 {
    animation-delay: 500ms;
}