/* ═══════════════════════════════════════════════════════════════
   MANI GLOBALS LTR — Shared Animations + Button System
   File: /static/css/shell/mani-globals-ltr.css

   STRUCTURE:
   1. Shared Animations
   2. Shared Button System (mni-btn)
   3. Shared Components (Client Logos, etc.)

   RULES:
   — This file must stay small and stable.
   — Only add here if the style is used across 2+ pages.
   — Page-specific styles go in mani-[page]-ltr.css
   ═══════════════════════════════════════════════════════════════ */

/* ═══ 1. SHARED ANIMATIONS ═══ */
@keyframes mni-rise {
    from {
        opacity: 0;
        transform: translateY(22px)
    }

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

@keyframes mni-logo-scroll {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

@keyframes mni-pulse {

    0%,
    100% {
        opacity: .55
    }

    50% {
        opacity: 1
    }
}

.mni-ri {
    animation: mni-rise .6s cubic-bezier(.22, 1, .36, 1) both
}

.mni-d1 {
    animation-delay: .06s
}

.mni-d2 {
    animation-delay: .12s
}

.mni-d3 {
    animation-delay: .18s
}

.mni-d4 {
    animation-delay: .24s
}

.mni-d5 {
    animation-delay: .30s
}


/* ═══ 2. SHARED BUTTON SYSTEM ═══
   Used across every page — do not move to page files.
   Sizing: height 48px · font 16px · weight 800 · radius 12px
   ─────────────────────────────────────────────────────────────── */

/* Base */
.mni-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 48px;
    padding: 0 32px;
    background: #2563eb;
    color: #fff !important;
    border: none;
    border-radius: 12px;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: .25s;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 99, 235, .28);
    white-space: nowrap;
    line-height: 1;
}

.mni-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 99, 235, .4);
    color: #fff;
    text-decoration: none;
}

.mni-btn i {
    font-size: 16px;
    font-weight: 800;
}

/* Large */
.mni-btn--lg {
    height: 54px;
    padding: 0 40px;
    font-size: 17px;
    border-radius: 14px;
}

/* Small */
.mni-btn--sm {
    height: 40px;
    padding: 0 24px;
    font-size: 13px;
    border-radius: 10px;
}

/* White — for dark backgrounds */
.mni-btn--white {
    background: #fff;
    color: #0b1120 !important;
    box-shadow: none;
}

.mni-btn--white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
    color: #fff !important;
}

/* Ghost — for dark backgrounds */
.mni-btn--ghost {
    background: transparent;
    color: #fff;
    box-shadow: none;
    border: 2px solid rgba(255, 255, 255, .2);
}

.mni-btn--ghost:hover {
    border-color: #fff;
    transform: translateY(-2px);
    color: #fff;
}

/* Outline — for light backgrounds */
.mni-btn--outline {
    background: #fff;
    color: #0b1120 !important;
    box-shadow: none;
    border: 2px solid #e2e8f0;
}

.mni-btn--outline:hover {
    border-color: #2563eb;
    color: #fff !important;
    transform: translateY(-2px);
}

.lgl-nav-strip {
    z-index: 1 !important;
}


/* ═══ 3. SHARED COMPONENTS (Fragments) ═══
   Components loaded globally across multiple views.
   ─────────────────────────────────────────────────────────────── */

.hm-clients-link {
    text-align: center;
    margin-top: 22px;
}

/* Client Logos Slideshow */
.mnx-client-logos {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 30px 0;
    background: transparent;
}

/* Fading edges for a premium enterprise look */
.mnx-client-logos::before,
.mnx-client-logos::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.mnx-client-logos::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}

.mnx-client-logos::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

.mnx-logos-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: mni-logo-scroll 45s linear infinite;
}

/* Pause animation on hover */
.mnx-logos-track:hover {
    animation-play-state: paused;
}

.mnx-logos-track img {
    height: 50px;
    width: auto;
    margin: 0 35px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.5);
    transition: filter 0.3s ease;
    display: block;
}

.mnx-logos-track img:hover {
    filter: grayscale(0%) opacity(1);
}