/* ════════════════════════════════════════════════════════════
   SILK MILE – HOMEPAGE STYLES
   Colors: Black #000000 | Blue var(--teal2 | Teal #02B6BE
════════════════════════════════════════════════════════════ */

    :root {
        /* Primary Brand Colors */
        --primary-blue: #0695D6;
        --primary-cyan: #02B6BE;

        /* Legacy Support */
        --teal: #02B6BE;
        --teal2: #0695D6;
        --navy: #0A1628;
        --muted: #5A6C7D;
        --off: #E1E8ED;
        --text: #1A2332;
        --white: #ffffff;
        --transition: .35s cubic-bezier(.4, 0, .2, 1);
    }

    /* ─── PER-SECTION DEFERRED RENDER ───────────────────────
       Every top-level homepage section stays in the HTML — crawlers and
       "view source" see the whole page — but the browser is told it may skip
       the layout/style/paint work for a section until that section is scrolled
       near the viewport. That is what content-visibility: auto does, and it is
       what makes the first paint cost roughly one section instead of ten.

       contain-intrinsic-size gives a not-yet-rendered section a placeholder
       height so the scrollbar and page height stay stable; the `auto` keyword
       tells the browser to remember the section's real height after the first
       time it renders, so scrolling back up doesn't re-guess. Per-section
       estimates live on the elements themselves (see home.blade.php).

       The fade-in is driven by IntersectionObserver in public/js/homepage.js,
       which adds .section-loaded. It used to be a DOMContentLoaded timer, which
       meant the entire page sat at opacity:0 until every deferred script had
       finished downloading — including chart.js and GSAP from a CDN. */
    .section-load {
        content-visibility: auto;
        contain-intrinsic-size: auto 720px;
    }

    /* Only hide sections when JS is actually running (homepage.js sets .js on
       <html> before first paint). Without this guard a JS failure would leave a
       permanently blank page, since nothing would ever add .section-loaded. */
    html.js .section-load {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity .8s ease, transform .8s ease;
    }

    html.js .section-load.section-loaded {
        opacity: 1;
        transform: translateY(0);
    }

    /* Per-section placeholder heights, so the scrollbar reflects a realistic
       page length before a section has ever been rendered. These only matter
       until the browser has seen the section once — after that `auto` makes it
       reuse the measured height. Rough desktop estimates are fine; being out by
       a hundred pixels costs nothing, whereas omitting them entirely makes the
       scrollbar jump on the first scroll through. */
    .systems-section.section-load    { contain-intrinsic-size: auto 700px; }
    .services-section.section-load   { contain-intrinsic-size: auto 820px; }
    .industries-section.section-load { contain-intrinsic-size: auto 820px; }
    .numbers-section.section-load    { contain-intrinsic-size: auto 1500px; }
    .worldwide-section.section-load  { contain-intrinsic-size: auto 760px; }
    .life-section.section-load       { contain-intrinsic-size: auto 700px; }
    .loyalty-section.section-load    { contain-intrinsic-size: auto 620px; }
    .process-section.section-load    { contain-intrinsic-size: auto 700px; }

    /* Once the page is idle, initBackgroundWarmup() in js/homepage.js walks
       down the page adding .section-warmed one section at a time. That opts the
       section out of render-skipping, so its layout is computed during idle
       time instead of at the moment it scrolls into view.

       The fade-in is deliberately NOT part of this — a warmed section is fully
       rendered but still at opacity 0, and only .section-loaded (added on
       approach) fades it in. Rendering and revealing stay separate concerns. */
    html.js .section-load.section-warmed {
        content-visibility: visible;
        contain-intrinsic-size: none;
    }

    /* The hero is the LCP element. It must paint on the first frame with no JS
       involved at all: never render-skipped, never faded in. */
    #hero.section-load,
    html.js #hero.section-load {
        content-visibility: visible;
        contain-intrinsic-size: none;
        opacity: 1;
        transform: none;
        transition: none;
    }

    @media (prefers-reduced-motion: reduce) {

        html.js .section-load {
            opacity: 1;
            transform: none;
            transition: none;
        }
    }

    /* ─── GLOBAL HELPERS ─────────────────────────────────── */
    .btn-teal {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 14px 28px;
        border-radius: 10px;
        background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-cyan) 100%);
        color: #fff;
        font-weight: 700;
        font-size: .85rem;
        border: none;
        cursor: pointer;
        text-decoration: none;
        transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
        box-shadow: 0 6px 20px rgba(0, 180, 180, .3);
    }

    .btn-teal:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 28px rgba(0, 180, 180, .45);
        background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-cyan) 100%);
    }

    .form-field {
        width: 100%;
        padding: 13px 16px;
        border-radius: 10px;
        border: 1.5px solid #e2e8f0;
        background: var(--off);
        font-size: .9rem;
        color: var(--text);
        transition: border-color .25s, box-shadow .25s, background .25s;
        outline: none;
        box-sizing: border-box;
    }

    .form-field:focus {
        border-color: var(--primary-blue);
        background: #fff;
        box-shadow: 0 0 0 4px rgba(0, 180, 180, .1);
    }

    .form-field::placeholder {
        color: var(--muted);
    }

    /* Single source of truth for the small uppercase label above a section
       heading. Every section on the page uses this one rule — the per-section
       classes are kept only because the markup and dashboard reference them. */
    .section-eyebrow,
    .systems-eyebrow,
    #hero.sm-hero .sm-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: .24em;
        text-transform: uppercase;
        color: var(--primary-blue);
        margin-bottom: 12px;
    }

    .section-title {
        font-size: clamp(1.9rem, 3.6vw, 3rem);
        font-weight: 900;
        line-height: 1.05;
        color: var(--navy);
    }

    .section-title span {
        color: var(--primary-blue);
    }

    .section-desc {
        color: var(--muted);
        font-size: .95rem;
        line-height: 1.8;
        max-width: 440px;
    }

    /* 48px gutters, matching .systems-section — without them the intro text
       sits flush against the viewport edge below 1400px. */
    .section-inner {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 48px;
    }

    .see-all-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: .78rem;
        font-weight: 700;
        letter-spacing: .1em;
        text-transform: uppercase;
        /* --sal-color comes from the dashboard (set inline on the element) and
           falls back to the brand blue when the field is empty. */
        color: var(--sal-color, var(--primary-blue));
        text-decoration: none;
        border: 1.5px solid var(--sal-color, var(--primary-blue));
        padding: 11px 22px;
        border-radius: 10px;
        white-space: nowrap;
        transition: background var(--transition), color var(--transition),
            border-color var(--transition), transform var(--transition);
    }

    .see-all-link:focus-visible {
        outline: 2px solid var(--primary-cyan);
        outline-offset: 3px;
    }

    .see-all-link .material-symbols-outlined {
        font-size: 16px;
        transition: transform var(--transition);
    }

    .see-all-link:hover,
    .see-all-link:focus-visible {
        background: var(--sal-color, var(--primary-blue));
        color: #fff;
        transform: translateY(-2px);
    }

    .see-all-link:hover .material-symbols-outlined,
    .see-all-link:focus-visible .material-symbols-outlined {
        color: #fff !important;
    }

    .see-all-link:hover .material-symbols-outlined {
        transform: translateX(3px);
    }

    /* In RTL the icon wrapper is mirrored (see "RTL — DIRECTIONAL ARROWS" at the
       bottom of this file), so translateX(3px) already nudges the arrow leftward. */

    /* Reveal animation */
    .reveal {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity .65s ease, transform .65s ease;
    }

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


    /* ════════════════════════════════════════════════════════════
   HERO SLIDER
════════════════════════════════════════════════════════════ */
    body #hero.sm-hero {
    position: relative;
    min-height: 100svh;
    height: auto;
    max-height: none;
    overflow: hidden;
    /* Same base as the site footer (layouts/sections/footer/_partial/style.blade.php).
       No glow pseudo here — the slide images cover the section edge to edge. */
    background: #0b1d3d;
    display: flex;
    flex-direction: column;
}

    /* Slide */
    #hero.sm-hero .sm-slide {
        position: absolute;
        inset: 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 1s ease, visibility 1s ease;

    }

    #hero.sm-hero .sm-slide.active {
        opacity: 1;
        visibility: visible;
    }

    #hero.sm-hero .sm-slide.active .skeleton-img-wrapper {
    visibility: visible;
}

    #hero.sm-hero .sm-slide img,
    #hero.sm-hero .sm-slide video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(.42);
        position: absolute;
        inset: 0;
    }

    #hero.sm-hero .sm-slide img {
    position: absolute;
    inset: 0;
}

    /* Overlay */
    #hero.sm-hero .sm-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom,
        rgba(45, 151, 156, 0.35) 0%,
        rgba(45, 151, 156, 0.25) 50%,
        rgba(45, 151, 156, 0.65) 100%
        );
        pointer-events: none;
    }

    /* Content */
    #hero.sm-hero .sm-hero-content {
        position: absolute;
        z-index: 10;
        left: clamp(24px, 8vw, 100px);
        right: clamp(24px, 8vw, 100px);
        top: 50%;
        transform: translateY(-52%);
        max-width: 720px;
    }

    /* RTL: Mirror content positioning */
    [dir="rtl"] #hero.sm-hero .sm-hero-content {
        left: clamp(24px, 8vw, 100px);
        /*right: auto;*/
        margin-left: 0;
        /*margin-right: auto;*/
    }




    #hero.sm-hero .sm-hero-content h1,
    #hero.sm-hero .sm-hero-content h2 {
        margin: 0 0 16px;
        color: #fff;
        font-size: clamp(32px, 5.5vw, 76px);
        font-weight: 900;
        line-height: 1.05;
    }

    #hero.sm-hero .sm-hero-content h1 span,
    #hero.sm-hero .sm-hero-content h2 span {
        color: var(--primary-blue);
    }

    #hero.sm-hero .sm-hero-content p {
        margin: 14px 0 0;
        max-width: 580px;
        color: rgba(255, 255, 255, .72);
        font-size: clamp(14px, 1.6vw, 18px);
        line-height: 1.8;
    }

    .sm-hero-btn-wrap {
        margin-top: 28px;
    }

    #hero.sm-hero .sm-primary-btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 15px 30px;
        border-radius: 12px;
        background: linear-gradient(135deg, var(--primary-blue), var(--primary-cyan));
        color: #fff;
        font-weight: 700;
        font-size: .9rem;
        text-decoration: none;
        box-shadow: 0 12px 30px rgba(0, 180, 180, .26);
        transition: transform var(--transition), box-shadow var(--transition);
    }

    #hero.sm-hero .sm-primary-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 36px rgba(0, 180, 180, .4);
    }

    /* Widget (tabs box) */
    #hero.sm-hero .hero-widget {
           position: absolute;
    bottom: 100px;
       right: clamp(12px, 6vw, 100px);
    width: min(520px, calc(100% - 24px));
    z-index: 998;
    right: 100px;
    }

    /* RTL: Position widget on the left */
    [dir="rtl"] #hero.sm-hero .hero-widget {
        right: auto;
        left: 100px;
    }

    /* Tabs box */
    .hero-tabs-box {
      background: transparent;
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(20px);
    /* border: 1px solid rgba(255, 255, 255, .7); */
    border-radius: 18px;
    box-shadow: -14px 10px 40px rgba(255 255 255 / 18%), 0 0 20px -11px #fff;
    overflow: visible;
    }

    /* Hide overflow only for tabs nav to keep rounded corners */
    .hero-tabs-box .tabs-nav {
        overflow: hidden;
        border-radius: 18px 18px 0 0;
    }

    /* Tab nav */
    .hero-tabs-box .tabs-nav {
        display: flex;
        background: transparent;
        border-bottom: 1px solid rgba(0, 0, 0, .06);
        padding: 6px;
        gap: 4px;
    }

    .hero-tabs-box .tab-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        padding: 11px 10px;
        min-height: 44px;
        background: transparent;
        border: none;
        border-radius: 11px;
        font-size: .78rem;
        font-weight: 600;
        color: #ffffff;
        cursor: pointer;
        transition: all .25s ease;
        white-space: nowrap;
        text-decoration: none;
    }

    .hero-tabs-box .tab-btn .material-symbols-outlined {
        font-size: 17px;
    }

    .hero-tabs-box .tab-btn:hover {
        color: var(--navy);
        background: rgba(255, 255, 255, .8);
    }

    .hero-tabs-box .tab-btn.active {
        background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-cyan) 100%);
        color: #fff;
        box-shadow: 0 3px 10px rgba(0, 180, 180, .3);
    }

    /* Tab panels */
    .hero-tabs-box .tab-panels-container {
        background: transparent;
    }

    .hero-tabs-box .tab-panel {
        display: none;
        padding: 22px 24px 26px;
    }

    .hero-tabs-box .tab-panel.active {
        display: block;
    }

    /* Track System Selector */
    .track-system-selector {
        margin-bottom: 16px;
    }

    .custom-dropdown {
        position: relative;
        width: 100%;
        margin-bottom: 10px;
    }

    .dropdown-selected {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 13px 16px;
        border-radius: 10px;
        border: 1.5px solid #e2e8f0;
        background: var(--off);
        font-size: .9rem;
        color: #05a4ca;
        font-weight: 500;
        cursor: pointer;
        transition: all .25s;
        user-select: none;
    }

    .dropdown-selected:hover {
        border-color: var(--primary-blue);
    }

    .custom-dropdown.open .dropdown-selected {
        border-color: var(--primary-blue);
        background: #fff;
        box-shadow: 0 0 0 4px rgba(0, 180, 180, .1);
    }

    .dropdown-arrow {
        font-size: 20px;
        color: var(--muted);
        transition: transform .25s;
    }

    .custom-dropdown.open .dropdown-arrow {
        transform: rotate(180deg);
        color: var(--primary-blue);
    }

    .dropdown-menu {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        background: #fff;
        border: 1.5px solid #e2e8f0;
        border-radius: 12px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
        overflow: visible;
        display: none;
        z-index: 1000;
    }

    .custom-dropdown.open .dropdown-menu {
        display: block;
        animation: dropdownSlide .25s cubic-bezier(.4, 0, .2, 1);
    }

    @keyframes dropdownSlide {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .dropdown-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 16px;
        cursor: pointer;
        transition: background .2s;
        border-bottom: 1px solid #f0f4f8;
    }

    .dropdown-item:last-child {
        border-bottom: none;
    }

    .dropdown-item:hover {
        background: #f0f4f8;
    }

    .dropdown-item.active {
        background: linear-gradient(135deg, var(--primary-blue), var(--primary-cyan));
    }

    .dropdown-item.active strong,
    .dropdown-item.active span {
        color: #fff !important;
    }

    .dropdown-item .material-symbols-outlined {
        font-size: 24px;
        color: var(--primary-blue);
        flex-shrink: 0;
        transition: color .2s;
    }

    .dropdown-item.active .material-symbols-outlined {
        color: #fff;
    }

    .dropdown-item div {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .dropdown-item strong {
        font-size: .9rem;
        font-weight: 700;
        color: var(--navy);
    }

    .dropdown-item span:not(.material-symbols-outlined) {
        font-size: .75rem;
        color: var(--muted);
    }

    .system-desc {
        color: rgba(255, 255, 255, .85);
        font-size: .76rem;
        line-height: 1.5;
        margin: 0;
        font-weight: 400;
    }

    .system-desc:empty {
        display: none;
    }

    .track-field-error {
        display: none;
        align-items: center;
        gap: 6px;
        margin: 8px 0 0;
        font-size: .78rem;
        font-weight: 500;
        color: #ff8686;
    }

    .track-field-error.visible {
        display: flex;
    }

    .track-field-error .material-symbols-outlined {
        font-size: 16px;
    }

    .custom-dropdown.invalid .dropdown-selected {
        border-color: #ef4444;
        box-shadow: 0 0 0 4px rgba(239, 68, 68, .12);
    }

    /* Track */
    .track-row {
        display: flex;
        gap: 10px;
    }

    .track-row .form-field {
        flex: 1;
    }

    .track-btn {
        white-space: nowrap;
        padding: 13px 20px !important;
        flex-shrink: 0;
    }

    .helper-text {
        color: #ffffff;
        font-size: .74rem;
        margin-top: 9px;
    }

    /* Quote */
    .quote-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .quote-card {
        border:1.5px solid rgb(255 255 255 / 30%);
        border-radius: 11px;
        padding: 16px;
        cursor: pointer;
        transition: all .25s ease;
        /* background: rgba(255, 255, 255, .6); */
        /* display: flex; */
        justify-content: space-between;
        align-items: center;
        gap: 8px;
    }

    .quote-card h4 {
        font-size: .8rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .06em;
        margin-bottom: 4px;
            color: #01a9aa;
    }

    .quote-card p {
        font-size: .74rem;
        color: #ffffff;
        line-height: 1.45;
    }

    .quote-card:hover {
        border-color: rgba(0, 180, 180, .3);
        background: rgba(0, 180, 180, .04);
    }

    .quote-card.highlighted {
        border-color: var(--primary-blue);
        background: rgba(0, 180, 180, .05);
    }

    /* Contact mini */
    .contact-mini-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-bottom: 12px;
    }

    /* Arrows */
    #hero.sm-hero .sm-slider-arrow {
        position: absolute;
        top: 50%;
        z-index: 30;
        width: 50px;
        height: 50px;
        border: 1px solid rgba(255, 255, 255, .14);
        border-radius: 14px;
        background: rgba(5, 13, 31, .5);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        transform: translateY(-50%);
        transition: background var(--transition), transform var(--transition);
    }

    #hero.sm-hero .sm-slider-arrow:hover {
        background: var(--primary-blue);
        transform: translateY(-50%) scale(1.05);
    }

    #hero.sm-hero .sm-slider-arrow.prev {
        left: 20px;
    }

    #hero.sm-hero .sm-slider-arrow.next {
        right: 20px;
    }

    /* RTL: Swap arrow positions */
    [dir="rtl"] #hero.sm-hero .sm-slider-arrow.prev {
        left: auto;
        right: 20px;
    }

    [dir="rtl"] #hero.sm-hero .sm-slider-arrow.next {
        right: auto;
        left: 20px;
    }

    /* ════════════════════════════════════════════════════════════
   SYSTEMS SECTION
════════════════════════════════════════════════════════════ */
    /* Background matches the site footer
       (layouts/sections/footer/_partial/style.blade.php). */
    .systems-section {
        padding: 80px 48px;
        background: #0b1d3d;
        position: relative;
        overflow: hidden;
    }

    .systems-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 80% 20%, rgba(0, 180, 180, .12), transparent 45%);
        pointer-events: none;
    }

    .systems-container {
        max-width: 1400px;
        margin: 0 auto;
    }

    /* Heading block | description | CTA. Grid instead of space-between so the
       three parts keep their proportions instead of reflowing unpredictably. */
    .systems-top {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 440px) auto;
        align-items: end;
        gap: 32px;
        margin-bottom: 48px;
    }

    .systems-title {
        font-size: clamp(2rem, 4vw, 3.2rem);
        font-weight: 900;
        color: #fff;
        line-height: 1.05;
    }

    .systems-title span {
        color: var(--primary-blue);
    }

    .systems-desc {
        max-width: 440px;
        font-size: .95rem;
        line-height: 1.8;
        color: rgba(255, 255, 255, .5);
    }

    /* Segmented bar. The glass gradient lives on the container, not on the
       items, so a track left empty by wrapping is indistinguishable from a
       filled one — the number of items is CMS-driven and can change. */
    .systems-nav {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
        border-radius: 20px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, .08);
        background: linear-gradient(145deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
    }

    .system-nav-item {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 14px;
        min-width: 0;
        padding: 28px 20px;
        text-decoration: none;
        text-align: center;
        border-inline-end: 1px solid rgba(255, 255, 255, .07);
        transition: background var(--transition), border-color var(--transition);
    }

    .system-nav-item h3 {
        margin: 0;
        font-size: 1rem;
        font-weight: 800;
        line-height: 1.3;
        color: #04A4CA;
    }

    .system-nav-item:last-child {
        border-inline-end: none;
    }

    .system-nav-item::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, #04A4CA, #04A4CA);
        transform: scaleX(0);
        transition: transform var(--transition);
    }

    .system-nav-item:hover::before,
    .system-nav-item:focus-visible::before {
        transform: scaleX(1);
    }

    .system-nav-item:hover,
    .system-nav-item:focus-visible {
        background: rgba(0, 180, 180, .08);
    }

    .system-nav-item:focus-visible {
        outline: 2px solid var(--primary-blue);
        outline-offset: -2px;
    }

    .system-nav-item .system-icon-wrap {
        width: 48px;
        height: 48px;
        border-radius: 13px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, rgba(0, 180, 180, .22), rgba(0, 180, 180, .08));
        border: 1px solid rgba(0, 180, 180, .25);
        transition: transform var(--transition);
        flex-shrink: 0;
    }

    .system-nav-item:hover .system-icon-wrap,
    .system-nav-item:focus-visible .system-icon-wrap {
        transform: scale(1.1);
    }

    /* Direct child only — the icon component renders spans of its own. */
    .system-nav-item > span {
        font-size: .78rem;
        font-weight: 600;
        color: rgba(255, 255, 255, .65);
        line-height: 1.5;
        transition: color var(--transition);
    }

    .system-nav-item:hover > span,
    .system-nav-item:focus-visible > span {
        color: #fff;
    }

    /* Three columns stop fitting before the heading does — stack the header
       first, then reflow the bar itself further down. */
    @media (max-width: 1100px) {
        .systems-top {
            grid-template-columns: 1fr;
            justify-items: start;
            gap: 24px;
            margin-bottom: 32px;
        }

        .systems-desc {
            max-width: 620px;
        }
    }

    /* Below the desktop bar the items become a wrapped grid; the container
       gradient still fills any empty track, so odd item counts look fine. */
    @media (max-width: 900px) {
        .systems-section {
            padding: 64px 24px;
        }

        .systems-nav {
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            border-radius: 16px;
        }

        .system-nav-item {
            padding: 22px 14px;
        }
    }

    @media (max-width: 600px) {
        .systems-section {
            padding: 48px 20px;
        }

        .systems-nav {
            grid-template-columns: repeat(2, 1fr);
        }

        .system-nav-item {
            padding: 20px 12px;
            gap: 10px;
        }

        .system-nav-item h3 {
            font-size: .95rem;
        }

        .system-nav-item > span {
            font-size: .72rem;
        }
    }

    @media (prefers-reduced-motion: reduce) {

        .system-nav-item,
        .system-nav-item::before,
        .system-nav-item .system-icon-wrap,
        .system-nav-item > span {
            transition: none;
        }

        .system-nav-item:hover .system-icon-wrap,
        .system-nav-item:focus-visible .system-icon-wrap {
            transform: none;
        }
    }

/* ════════════════════════════════════════════════════════════
   SIGNATURE SERVICES — ind-card style
════════════════════════════════════════════════════════════ */
/* Shell mirrors .systems-section — same rhythm and gutters, light background. */
.services-section {
    padding: 80px 0;
    background: var(--off);
}

/* Heading block | description | CTA, same three-column grid as .systems-top. */
.services-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px) auto;
    align-items: end;
    gap: 32px;
    margin-bottom: 48px;
}

.services-intro .section-title   { margin: 0; }
.services-intro .section-desc    {
    margin: 0;
    max-width: 440px;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.8;
}

/* The icon component hardcodes color:#ffffff inline, so on this light
   background the arrow was invisible until hover filled the button. */
.services-intro .see-all-link .material-symbols-outlined {
    color: var(--sal-color, var(--primary-blue)) !important;
    transition: transform var(--transition), color var(--transition);
}

.services-intro .see-all-link:hover .material-symbols-outlined,
.services-intro .see-all-link:focus-visible .material-symbols-outlined {
    color: #fff !important;
}

/* Same breakpoint ladder as the Systems section. */
@media (max-width: 1100px) {
    .services-intro {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 24px;
        margin-bottom: 32px;
    }

    .services-intro .section-desc {
        max-width: 620px;
    }
}

@media (max-width: 900px) {
    .services-section {
        padding: 64px 0;
    }

    .section-inner {
        padding: 0 24px;
    }
}

@media (max-width: 600px) {
    .services-section {
        padding: 48px 0;
    }

    .section-inner {
        padding: 0 20px;
    }
}

/* GRID — same 5-col first row as industries */
.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 7px;
    margin-bottom: 3px;
}

.services-grid-2 {
    display: grid;
    grid-template-columns: 2fr repeat(2, 1.129fr);
    gap: 7px;
}

/* CARD — identical to ind-card */
.svc-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    display: block;
    text-decoration: none;
    cursor: pointer;
    border-radius: 0;
    height: auto;
}

.svc-card--wide {
    aspect-ratio: 4/3;
}

.svc-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition);
}

.svc-card:hover .svc-card-img {
    transform: scale(1.07);
}

.svc-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5,31,62,0) 30%, rgba(5,31,62,.86) 100%);
    transition: background var(--transition);
}

.svc-card:hover .svc-card-overlay {
    background: linear-gradient(to bottom, rgba(5,31,62,.16) 0%, rgba(0,143,160,.8) 100%);
}

/* remove the old left teal bar */
.svc-card::before { display: none; }

.svc-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 22px 18px;
    z-index: 2;
}

/* number label — replaces the old svc-category */
.svc-number {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--primary-blue);
    margin-bottom: 6px;
    display: block;
}

.svc-card h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0;
}

.svc-card--wide h3 {
    font-size: 1.3rem;
}

.svc-card p {
    font-size: .76rem;
    color: rgba(255,255,255,.55);
    margin-top: 6px;
    line-height: 1.4;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, opacity .3s ease;
    opacity: 0;
}

.svc-card:hover p {
    max-height: 60px;
    opacity: 1;
}

.svc-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--primary-blue);
    margin-top: 10px;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .25s .1s, transform .25s .1s;
}

.svc-link .material-symbols-outlined { font-size: 13px; }

.svc-card:hover .svc-link {
    opacity: 1;
    transform: translateX(0);
}

/* RTL: Reverse initial position */
[dir="rtl"] .svc-link {
    transform: translateX(4px);
}

/* TABLET */
@media (max-width: 1100px) {
    .services-grid   { grid-template-columns: repeat(3, 1fr); }
    .services-grid-2 { grid-template-columns: 1fr 1fr; }
    .svc-card--wide  { aspect-ratio: 3/2; }
}

@media (max-width: 700px) {
    .services-grid    { grid-template-columns: 1fr 1fr; }
    .services-grid-2  { grid-template-columns: 1fr 1fr; }
    .svc-card--wide   { grid-column: span 2; aspect-ratio: 16/9; }
    .svc-card         { aspect-ratio: 1/1; }
}

@media (max-width: 480px) {
    .services-grid,
    .services-grid-2  { grid-template-columns: 1fr; }
    .svc-card--wide   { grid-column: span 1; aspect-ratio: 4/3; }
}













/* ════════════════════════════════════════════════════════════
   SIGNATURE SERVICES — fan/drag card gallery
════════════════════════════════════════════════════════════ */
.gallery {
    position: relative;
    width: 100%;
    height: 460px;
    overflow: hidden;
    bottom: 20px;
}

.cards {
    position: absolute;
    width: 14rem;
    height: 18rem;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
    margin: 0;
}


.cards li {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 14rem;
    aspect-ratio: 3/4;
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,.25);
    /* Initial fan positioning before JS loads */
    transform-origin: center center;
}

/* Initial positioning - cards start closer together (deck style) */
.gallery:not(.gsap-active) .cards li {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery:not(.gsap-active) .cards li:nth-child(1) {
    transform: translateX(-15%) rotate(-2deg) scale(0.96);
    z-index: 1;
    transition-delay: 0.05s;
}
.gallery:not(.gsap-active) .cards li:nth-child(2) {
    transform: translateX(-10%) rotate(-1.5deg) scale(0.97);
    z-index: 2;
    transition-delay: 0.1s;
}
.gallery:not(.gsap-active) .cards li:nth-child(3) {
    transform: translateX(-5%) rotate(-1deg) scale(0.98);
    z-index: 3;
    transition-delay: 0.15s;
}
.gallery:not(.gsap-active) .cards li:nth-child(4) {
    transform: translateX(0%) rotate(0deg) scale(1);
    z-index: 4;
    transition-delay: 0.2s;
}
.gallery:not(.gsap-active) .cards li:nth-child(5) {
    transform: translateX(5%) rotate(1deg) scale(0.98);
    z-index: 3;
    transition-delay: 0.25s;
}
.gallery:not(.gsap-active) .cards li:nth-child(6) {
    transform: translateX(10%) rotate(1.5deg) scale(0.97);
    z-index: 2;
    transition-delay: 0.3s;
}
.gallery:not(.gsap-active) .cards li:nth-child(7) {
    transform: translateX(15%) rotate(2deg) scale(0.96);
    z-index: 1;
    transition-delay: 0.35s;
}
.gallery:not(.gsap-active) .cards li:nth-child(8) {
    transform: translateX(20%) rotate(2.5deg) scale(0.95);
    z-index: 0;
    transition-delay: 0.4s;
}

/* Final spread position when images are loaded */
.gallery:not(.gsap-active) .cards li.skeleton-loaded:nth-child(1) {
    transform: translateX(-60%) rotate(-8deg) scale(0.95);
}
.gallery:not(.gsap-active) .cards li.skeleton-loaded:nth-child(2) {
    transform: translateX(-40%) rotate(-5deg) scale(0.97);
}
.gallery:not(.gsap-active) .cards li.skeleton-loaded:nth-child(3) {
    transform: translateX(-20%) rotate(-2deg) scale(0.99);
}
.gallery:not(.gsap-active) .cards li.skeleton-loaded:nth-child(4) {
    transform: translateX(0%) rotate(0deg) scale(1);
}
.gallery:not(.gsap-active) .cards li.skeleton-loaded:nth-child(5) {
    transform: translateX(20%) rotate(2deg) scale(0.99);
}
.gallery:not(.gsap-active) .cards li.skeleton-loaded:nth-child(6) {
    transform: translateX(40%) rotate(5deg) scale(0.97);
}
.gallery:not(.gsap-active) .cards li.skeleton-loaded:nth-child(7) {
    transform: translateX(60%) rotate(8deg) scale(0.95);
}
.gallery:not(.gsap-active) .cards li.skeleton-loaded:nth-child(8) {
    transform: translateX(80%) rotate(10deg) scale(0.93);
}

/* Skeleton loading animation */
@keyframes skeleton-loading {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.cards li.skeleton-loading {
    background: linear-gradient(
        90deg,
        #e0e0e0 0%,
        #f0f0f0 20%,
        #e0e0e0 40%,
        #e0e0e0 100%
    ) !important;
    background-size: 200% 100% !important;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

.cards li.skeleton-loading .card-overlay {
    opacity: 0.3;
}

.cards li.skeleton-loaded {
    animation: none;
    /* Smooth fade-in of background image only - no position/transform changes */
    transition: background-image 0.3s ease-in-out;
}

.card-link {
    position: absolute;
    inset: 0;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5,31,62,0) 30%, rgba(5,31,62,.86) 100%);
}

.card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px;
    z-index: 2;
}

.card-number {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    color: var(--primary-blue);
    margin-bottom: 6px;
}

.card-title {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.gallery .actions {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.gallery .actions.visible {
    opacity: 1;
}

.gallery .actions button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(5,31,62,.15);
    background: #04A4CA;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}

.gallery .actions button:hover {
    background: var(--navy);
    color: #fff;
}

.drag-proxy {
    visibility: hidden;
    position: absolute;
}

@media (max-width: 700px) {
    .gallery { height: 380px; top: 25px; }
    .cards, .cards li { width: 11rem; }

    /* Mobile initial position - tighter deck */
    .gallery:not(.gsap-active) .cards li:nth-child(1) {
        transform: translateX(-12%) rotate(-1.5deg) scale(0.96);
        transition-delay: 0.05s;
    }
    .gallery:not(.gsap-active) .cards li:nth-child(2) {
        transform: translateX(-8%) rotate(-1deg) scale(0.97);
        transition-delay: 0.1s;
    }
    .gallery:not(.gsap-active) .cards li:nth-child(3) {
        transform: translateX(-4%) rotate(-0.5deg) scale(0.98);
        transition-delay: 0.15s;
    }
    .gallery:not(.gsap-active) .cards li:nth-child(4) {
        transform: translateX(0%) rotate(0deg) scale(1);
        transition-delay: 0.2s;
    }
    .gallery:not(.gsap-active) .cards li:nth-child(5) {
        transform: translateX(4%) rotate(0.5deg) scale(0.98);
        transition-delay: 0.25s;
    }
    .gallery:not(.gsap-active) .cards li:nth-child(6) {
        transform: translateX(8%) rotate(1deg) scale(0.97);
        transition-delay: 0.3s;
    }
    .gallery:not(.gsap-active) .cards li:nth-child(7) {
        transform: translateX(12%) rotate(1.5deg) scale(0.96);
        transition-delay: 0.35s;
    }
    .gallery:not(.gsap-active) .cards li:nth-child(8) {
        transform: translateX(16%) rotate(2deg) scale(0.95);
        transition-delay: 0.4s;
    }

    /* Mobile final spread position when loaded */
    .gallery:not(.gsap-active) .cards li.skeleton-loaded:nth-child(1) {
        transform: translateX(-50%) rotate(-6deg) scale(0.95);
    }
    .gallery:not(.gsap-active) .cards li.skeleton-loaded:nth-child(2) {
        transform: translateX(-30%) rotate(-4deg) scale(0.97);
    }
    .gallery:not(.gsap-active) .cards li.skeleton-loaded:nth-child(3) {
        transform: translateX(-15%) rotate(-2deg) scale(0.99);
    }
    .gallery:not(.gsap-active) .cards li.skeleton-loaded:nth-child(4) {
        transform: translateX(0%) rotate(0deg) scale(1);
    }
    .gallery:not(.gsap-active) .cards li.skeleton-loaded:nth-child(5) {
        transform: translateX(15%) rotate(2deg) scale(0.99);
    }
    .gallery:not(.gsap-active) .cards li.skeleton-loaded:nth-child(6) {
        transform: translateX(30%) rotate(4deg) scale(0.97);
    }
    .gallery:not(.gsap-active) .cards li.skeleton-loaded:nth-child(7) {
        transform: translateX(50%) rotate(6deg) scale(0.95);
    }
    .gallery:not(.gsap-active) .cards li.skeleton-loaded:nth-child(8) {
        transform: translateX(70%) rotate(8deg) scale(0.93);
    }
}



    /* ════════════════════════════════════════════════════════════
   INDUSTRIES
════════════════════════════════════════════════════════════ */
    /* Shell mirrors .systems-section — same rhythm and gutters, white background. */
    .industries-section {
        padding: 80px 0;
        background: #fff;
    }

    /* 48px gutters, matching .systems-section — without them the intro text
       sits flush against the viewport edge below 1400px. */
    .industries-wrapper {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 48px;
    }

    /* Heading block | CTA — .systems-top's grid without the middle
       description column, which this section doesn't have. */
    .industries-intro {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        gap: 32px;
        margin-bottom: 48px;
    }

    .industries-intro .section-title {
        margin: 0;
    }

    /* The icon component hardcodes color:#ffffff inline, so on this white
       background the arrow was invisible until hover filled the button. */
    .industries-intro .see-all-link .material-symbols-outlined {
        color: var(--sal-color, var(--primary-blue)) !important;
        transition: transform var(--transition), color var(--transition);
    }

    .industries-intro .see-all-link:hover .material-symbols-outlined,
    .industries-intro .see-all-link:focus-visible .material-symbols-outlined {
        color: #fff !important;
    }

    /* Same breakpoint ladder as the Systems section. */
    @media (max-width: 1100px) {
        .industries-intro {
            grid-template-columns: 1fr;
            justify-items: start;
            gap: 24px;
            margin-bottom: 32px;
        }
    }

    @media (max-width: 900px) {
        .industries-section {
            padding: 64px 0;
        }

        .industries-wrapper {
            padding: 0 24px;
        }
    }

    @media (max-width: 600px) {
        .industries-section {
            padding: 48px 0;
        }

        .industries-wrapper {
            padding: 0 20px;
        }
    }

    .industries-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 3px;
        margin-bottom: 3px;
    }

    .industries-grid-2 {
        display: grid;
        grid-template-columns: 2fr repeat(3, 1.129fr);
        gap: 3px;
    }

    .ind-card {
        position: relative;
        aspect-ratio: 3/4;
        overflow: hidden;
        display: block;
        text-decoration: none;
        cursor: pointer;
    }

    .ind-card--wide {
        aspect-ratio: 4/3;
    }

    .ind-card-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform var(--transition);
    }

    .ind-card:hover .ind-card-img {
        transform: scale(1.07);
    }

    .ind-card-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(5, 31, 62, 0) 30%, rgba(5, 31, 62, .86) 100%);
        transition: background var(--transition);
    }

    .ind-card:hover .ind-card-overlay {
        background: linear-gradient(to bottom, rgba(5, 31, 62, .16) 0%, rgba(0, 143, 160, .8) 100%);
    }

    .ind-card-body {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 22px 18px;
        z-index: 2;
    }

    .ind-number {
        font-size: 17px;
        font-weight: 700;
        letter-spacing: .2em;
        color: var(--primary-blue);
        margin-bottom: 6px;
        display: block;
    }

    .ind-card h3 {
        font-size: 1rem;
        font-weight: 800;
        color: #fff;
        line-height: 1.2;
    }

    .ind-card--wide h3 {
        font-size: 1.3rem;
    }

    .ind-card p {
        font-size: .76rem;
        color: rgba(255, 255, 255, .55);
        margin-top: 6px;
        line-height: 1.4;
        max-height: 0;
        overflow: hidden;
        transition: max-height .4s ease, opacity .3s ease;
        opacity: 0;
    }

    .ind-card:hover p {
        max-height: 60px;
        opacity: 1;
    }

    .ind-explore {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        font-size: .68rem;
        font-weight: 700;
        letter-spacing: .12em;
        text-transform: uppercase;
        color: var(--primary-blue);
        margin-top: 10px;
        opacity: 0;
        transform: translateX(-4px);
        transition: opacity .25s .1s, transform .25s .1s;
    }

    .ind-explore .material-symbols-outlined {
        font-size: 13px;
    }

    .ind-card:hover .ind-explore {
        opacity: 1;
        transform: translateX(0);
    }

    /* RTL: Reverse initial position */
    [dir="rtl"] .ind-explore {
        transform: translateX(4px);
    }




    /* Responsive industries */
    @media (max-width: 1100px) {
        .industries-grid {
            grid-template-columns: repeat(3, 1fr);
        }

        .industries-grid-2 {
            grid-template-columns: 1fr 1fr;
        }

        .ind-card--wide {
            aspect-ratio: 3/2;
        }
    }

    @media (max-width: 700px) {
        .industries-grid {
            grid-template-columns: 1fr 1fr;
        }

        .industries-grid-2 {
            grid-template-columns: 1fr 1fr;
        }

        .ind-card--wide {
            grid-column: span 2;
            aspect-ratio: 16/9;
        }

        .ind-card {
            aspect-ratio: 1/1;
        }
    }

    @media (max-width: 480px) {

        .industries-grid,
        .industries-grid-2 {
            grid-template-columns: 1fr;
        }

        .ind-card--wide {
            grid-column: span 1;
            aspect-ratio: 4/3;
        }
    }

/* ═══════════════════════════════════════════════
   SILK MILE IN NUMBERS - REDESIGN
═══════════════════════════════════════════════ */

/* Background matches the site footer
   (layouts/sections/footer/_partial/style.blade.php). */
.numbers-section {
    padding: 100px 48px;
    background: #0b1d3d;
    position: relative;
    overflow: hidden;
}

.numbers-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(0, 180, 180, .12), transparent 45%);
    pointer-events: none;
}

.numbers-inner {
    max-width: 1400px;
    margin: 0 auto;
}

/* HEADER */
.numbers-header {
    text-align: center;
    margin-bottom: 48px;
}

.numbers-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: #fff;
}

.numbers-header h2 span {
    color: var(--primary-blue);
}

/* ═══════════════════════════════════════
   NUMBERS GRID — single row of 8, smaller cards
═══════════════════════════════════════ */

.numbers-grid--row {
    display: grid;
    grid-template-columns: repeat(var(--cols, 8), 1fr);
    gap: 12px;
    margin-bottom: 56px;
}

.extra-grid .mini-grid,
.analytics-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

/* ═══════════════════════════════════════
   BASE DARK CARD
═══════════════════════════════════════ */

.dark-card,
.num-card,
.analytics-card,
.mini-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    padding: 16px 10px;
    color: #fff;
    text-align: center;
    transition: 0.25s ease;
    position: relative;
    overflow: hidden;
}

.dark-card:hover,
.num-card:hover,
.analytics-card:hover,
.mini-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 180, 180, .3);
    box-shadow: 0 10px 28px rgba(0, 180, 180, .12);
}

.dark-card.wide,
.analytics-card.wide {
    grid-column: span 2;
}

/* ═══════════════════════════════════════
   ICON — smaller for compact row
═══════════════════════════════════════ */

.num-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0, 180, 180, .24), rgba(0, 180, 180, .08));
    border: 1px solid rgba(0, 180, 180, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.num-value {
    font-size: 1.35rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
    white-space: nowrap;
}

.num-label {
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary-blue);
    line-height: 1.3;
}

/* ═══════════════════════════════════════
   TITLES
═══════════════════════════════════════ */

.sub-section-title,
.analytics-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 6px;
    text-align: center;
}

.analytics-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, .7);
}

/* ═══════════════════════════════════════
   CHART — smaller, curved, professional
═══════════════════════════════════════ */

.growth-block {
    margin-bottom: 48px;
}

.chart-wrapper,
.chart-wrap {
    width: 100%;
    max-width: 620px;
    margin: auto;
    height: 220px;
}

.chart-wrapper canvas,
.chart-wrap canvas {
    width: 100% !important;
    height: 220px !important;
}

/* ═══════════════════════════════════════
   SECTOR / SERVICE CARDS
═══════════════════════════════════════ */

.extra-grid {
    margin-top: 48px;
}

.mini-card {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */

@media (max-width: 992px) {
    .dark-card.wide,
    .analytics-card.wide {
        grid-column: auto;
    }

    .numbers-grid--row {
        grid-template-columns: repeat(min(var(--cols, 8), 4), 1fr);
        gap: 14px;
    }
}

@media (max-width: 768px) {
    .numbers-section {
        padding: 80px 20px;
    }
}

@media (max-width: 600px) {
    .numbers-grid--row {
        /* grid-template-columns: repeat(8, minmax(86px, 1fr)); */
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
                grid: none;
    }

    .numbers-grid--row .num-card {
        min-width: 86px;
    }
}

@media (max-width: 480px) {
    .num-value {
        font-size: 1.1rem;
    }

    .dark-card,
    .num-card,
    .analytics-card,
    .mini-card {
        padding: 14px 8px;
    }

    .num-icon {
        width: 30px;
        height: 30px;
    }
}





      /* ════════════════════════════════════════════════════
   WORLDWIDE SECTION
════════════════════════════════════════════════════ */
    .worldwide-section {
        padding: 30px 48px;
        overflow: hidden;
        background: #fff;
    }

    .worldwide-container {
        max-width: 1300px;
        margin: auto;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 60px;
    }

    /* ── LEFT ─── */
    .worldwide-content {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
    }

    .worldwide-title {
        font-size: 42px;
        font-weight: 800;
        color: #000;
        margin-bottom: 8px;
    }

    .worldwide-subtitle {
        font-size: 16px;
        color: #64748b;
        margin-bottom: 12px;
    }

    .worldwide-text {
        color: #64748b;
        line-height: 1.7;
        font-size: .9rem;
    }

    /* LOCATIONS GRID — 2 columns, same as homepage */
    .worldwide-locations {
        margin-top: 24px;
        display: grid;
        grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr));
        gap: 8px;
        max-height: 440px;
        overflow-y: auto;
        padding-right: 6px;
        scrollbar-width: thin;
        scrollbar-color: #04A4CA transparent;
    }

    .worldwide-locations::-webkit-scrollbar {
        width: 3px;
    }

    .worldwide-locations::-webkit-scrollbar-track {
        background: transparent;
    }

    .worldwide-locations::-webkit-scrollbar-thumb {
        background: var(--primary-blue);
        border-radius: 4px;
    }

    /* CARD */
    .location-item {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 12px 16px;
        border-radius: 14px;
        border: 1px solid rgba(0, 0, 0, .07);
        background: #fff;
        text-decoration: none;
        color: #000;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
        transition: border-color .25s, box-shadow .25s, transform .25s, background .25s;
    }

    .location-item:hover,
    .location-item.active {
        border-color: var(--primary-blue);
        box-shadow: 0 6px 20px rgba(0, 180, 180, .12);
        transform: translateX(4px);
        background: rgba(0, 180, 180, .04);
    }

    /* RTL: Reverse slide direction */
    [dir="rtl"] .location-item:hover,
    [dir="rtl"] .location-item.active {
        transform: translateX(-4px);
    }

    /* flag icon container */
    .location-icon {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 180, 180, .08);
        border-radius: 10px;
        border: 1px solid rgba(0, 180, 180, .15);
        flex-shrink: 0;
    }

    .location-icon .fi {
        font-size: 20px;
        border-radius: 3px;
        display: block;
    }

    .location-details {
        display: flex;
        flex-direction: column;
        gap: 2px;
        flex: 1;
        min-width: 0;
    }

    .location-country {
        font-size: .82rem;
        font-weight: 700;
        color: #0b1c3a;
    }

    .location-address {
        font-size: .72rem;
        color: #64748b;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        z-index: 6;
    }
    .map-popup .location-address {
    font-size: 0.65rem;
    color: #64748b;
    white-space: normal;
    text-align: center;
    max-width: 160px;
    line-height: 1.4;
}

    .location-arrow {
        font-size: 16px !important;
        color: var(--primary-blue);
        flex-shrink: 0;
        opacity: 0;
        transform: translateX(-4px);
        transition: opacity .2s, transform .2s;
    }

    .location-item:hover .location-arrow,
    .location-item.active .location-arrow {
        opacity: 1;
        transform: translateX(0);
    }


    /* BUTTON */
    .worldwide-btn {
        margin-top: 20px;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 13px 22px;
        background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-cyan) 100%);
        color: #fff;
        font-weight: 600;
        font-size: .85rem;
        border-radius: 14px;
        text-decoration: none;
        transition: .3s ease;
        box-shadow: 0 10px 25px rgba(0, 180, 180, .2);
    }

    .worldwide-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 35px rgba(0, 180, 180, .3);
    }


    /* ── RIGHT MAP ─── */
    .worldwide-map {
        flex: 1;
        min-width: 0;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .worldwide-map>img {
        width: 100%;
        max-width: 600px;
        height: auto;
        opacity: 0.9;
        display: block;
    }


  .map-popup {
    display: none;
    position: absolute;
    bottom: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;
    align-items: center;
    gap: 3px;
    background: rgba(255, 255, 255, 0.97);
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    pointer-events: auto; /* always clickable when visible */
    z-index: 20;
    cursor: pointer;
    border: 1px solid rgba(0, 180, 180, 0.2);
     min-width: 160px;
    text-align: center;
}


.map-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(255, 255, 255, 0.97);
}

.map-dot:hover .map-popup,
.map-dot.active .map-popup {
    display: flex;
}

.map-dot:hover .map-dot-circle,
.map-dot.active .map-dot-circle {
    display: none;
}


    /* ══════════════════════════════════════════
   MAP DOTS  — identical to homepage
══════════════════════════════════════════ */
   .map-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    cursor: pointer;
    z-index: 5;
    overflow: visible;
}

.map-dot:hover,
.map-dot.active {
    z-index: 50;
}


.map-dot::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -30px;
    right: -30px;
    bottom: -10px;
    z-index: -1;
}

 .map-dot::after {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -10px;
    z-index: -1;
}

    .map-popup:hover {
    background: #f0fafa;
    box-shadow: 0 6px 20px rgba(0, 180, 180, 0.25);
}

    /* glowing dot */
    .map-dot-circle {
        width: 10px;
        height: 10px;
        background: #38bdf8;
        border-radius: 50%;
        box-shadow: 0 0 0 3px rgba(56, 189, 248, .3);
        animation: dotPulse 2s ease-in-out infinite;
          position: relative;
    z-index: 1;
    }
    .map-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #0b1c3a;
}

    @keyframes dotPulse {
        0% {
            box-shadow: 0 0 0 0 rgba(56, 189, 248, .7), 0 0 8px rgba(56, 189, 248, .5);
        }

        70% {
            box-shadow: 0 0 0 8px rgba(56, 189, 248, 0), 0 0 14px rgba(56, 189, 248, .1);
        }

        100% {
            box-shadow: 0 0 0 0 rgba(56, 189, 248, 0), 0 0 0 rgba(56, 189, 248, 0);
        }
    }

    /* flag — hidden by default */
    /* .map-dot .map-flag {
        display: none;
        width: 24px;
        height: 16px;
        border-radius: 3px;
        overflow: hidden;
        box-shadow:0 1px 4px rgba(0, 0, 0, 0.2);
    } */
.map-flag {
    width: 24px;
    height: 16px;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

    .map-dot .map-flag .fi {
        font-size: 18px;
        display: block;
        border-radius: 3px;
    }

    /* ACTIVE: swap dot → flag */
    /* .map-dot.active .map-dot-circle, */
    /* .map-dot:hover .map-dot-circle {
        display: none;
    } */

    /* .map-dot.active .map-flag, */
    /* .map-dot:hover .map-flag  {
        display: flex;
    } */


    /* ── DOT POSITIONS (same as homepage) ─── */
    .canada {
        top: 23%;
        left: 18%;
    }

    .usa {
        top: 35%;
        left: 22%;
    }

    .france {
        top: 34%;
        left: 47%;
    }

    .belgium {
        top: 30%;
        left: 50%;
    }

    .netherlands {
        top: 26%;
        left: 54%;
    }

    .italy {
        top: 39%;
        left: 50%;
    }

    .egypt {
        top: 46%;
        left: 53%;
    }

    .saudi {
        top: 48%;
        left: 58%;
    }

    .dubai {
        top: 52%;
        left: 59%;
    }

    .jafza {
        top: 54%;
        left: 60%;
    }

    .southafrica {
        top: 75%;
        left: 52%;
    }

    .china {
        top: 45%;
        left: 73%;
    }

    .japan {
        top: 42%;
        left: 81%;
    }

    @media (max-width: 767px) {
    .worldwide-section {
        padding: 60px 16px;
    }

    .worldwide-container {
        flex-direction: column;
        gap: 32px;
    }

    /* Single column location list */
    .worldwide-locations {
        grid-template-columns: 1fr;
        max-height: 360px;
    }

    /* Fix truncated text in cards */
    .location-address {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    .location-country {
        font-size: .78rem;
    }

    .location-icon {
        width: 34px;
        height: 34px;
    }

    .location-icon .fi {
        font-size: 16px;
    }

    /* Hide map on mobile — too small to be useful */
    .worldwide-map {
        display: none;
    }

    .worldwide-title {
        font-size: 28px;
    }

    .worldwide-btn {
        width: 100%;
        justify-content: center;
    }
}

    /* ════════════════════════════════════════════════════════════
   Life at Silk Mile
════════════════════════════════════════════════════════════ */

    .life-section {
        padding: 25px 20px;
        position: relative;
        overflow: hidden;
    }

    .life-container {
        max-width: 1200px;
        margin: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 80px;
    }

    /* badge */
    .life-badge {
        display: inline-block;
        padding: 6px 14px;
        border-radius: 999px;
        color: #04A4CA;
        font-size: 16px;
        margin-bottom: 16px;
    }

    /* title */
    .life-title {
        font-size: 64px;
        font-weight: 900;
        color: #000000;
        line-height: 1.1;
    }

    .life-title span {
        background: var(--primary-blue);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    /* text */
    .life-text {
        margin-top: 20px;
        color: #000000;
        font-size: 17px;
        line-height: 1.8;
        max-width: 550px;
    }

    /* list */
    .life-points {
        margin-top: 25px;
        list-style: none;
        padding: 0;
    }

    .life-points li {
        margin-bottom: 10px;
        color: #000000;
        position: relative;
        padding-left: 22px;
    }

    .life-points li::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #04A4CA;
        position: absolute;
        left: 0;
        top: 8px;
    }

    /* RTL: Position bullets on the right */
    [dir="rtl"] .life-points li {
        padding-left: 0;
        padding-right: 22px;
    }

    [dir="rtl"] .life-points li::before {
        left: auto;
        right: 0;
    }

    /* button */
    .life-btn {
        margin-top: 30px;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 14px 22px;
        border-radius: 999px;
        background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-cyan) 100%);
        color: #fff;
        font-weight: 600;
        text-decoration: none;
        transition: .3s;
    }

    .life-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(59, 130, 246, .3);
    }

    /* image card */
    .life-image-card {
        position: relative;
        border-radius: 24px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, .08);
    }

    .life-image-card img {
        width: 100%;
        height: 420px;
        object-fit: cover;
        display: block;
    }

    /* overlay */
    .life-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, .6), transparent);
    }

    /* feature box */
    .life-feature-box {
        position: absolute;
        bottom: 20px;
        left: 20px;
        right: 20px;
        background: rgba(0, 0, 0, .6);
        backdrop-filter: blur(10px);
        padding: 16px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, .1);
    }

    .life-feature-title {
        font-size: 13px;
        color: #93c5fd;
        margin-bottom: 6px;
    }

    .life-feature-text {
        font-size: 14px;
        color: #e2e8f0;
    }

    .life-gallery {
        display: grid;
        grid-template-columns: 2fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 12px;
        height: 420px;
    }

    /* big image */
    .life-img.main {
        grid-row: span 2;
    }

    /* all images */
    .life-img {
        position: relative;
        border-radius: 18px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, .08);
    }

    .life-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: .4s;
        cursor: pointer;
    }

    .life-img .skeleton-img-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}


    .life-img .skeleton-img-wrapper,
.life-img .skeleton-img {
    position: absolute;
    inset: 0;
}

    /* hover effect */
    .life-img:hover img {
        transform: scale(1.05);
    }

    /* subtle overlay */
    .life-img::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, .25), transparent);
        pointer-events: none;
    }

    .life-popup {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .85);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        padding: 20px;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: .25s ease;
    }

    .life-popup img {
        max-width: 90%;
        max-height: 90%;
        border-radius: 12px;
        transform: scale(0.9);
        opacity: 0;
        transition: 0.25s ease;
    }

    .life-popup.active img {
        transform: scale(1);
        opacity: 1;
    }

    .life-popup.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .life-popup-close {
        position: absolute;
        top: 20px;
        right: 25px;
        font-size: 40px;
        color: #fff;
        cursor: pointer;

    }

    .life-popup-close:hover {
        transform: rotate(90deg);
    }

    /* responsive */
    @media(max-width:992px) {
        .life-container {
            flex-direction: column;
            text-align: center;
        }

        .life-title {
            font-size: 42px;
        }

        .life-text {
            margin-inline: auto;
        }

        .life-points li {
            text-align: left;
        }
    }





    /* ════════════════════════════════════════════════════════════
   LOYALTY / VOLUME
════════════════════════════════════════════════════════════ */
    /* Background matches the site footer
       (layouts/sections/footer/_partial/style.blade.php). */
    .loyalty-section {
        padding: 100px 48px;
        background: #0b1d3d;
        position: relative;
        overflow: hidden;
    }

    .loyalty-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 80% 20%, rgba(0, 180, 180, .12), transparent 45%);
        pointer-events: none;
    }

    .loyalty-inner {
        max-width: 1400px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: center;
    }

    .loyalty-inner h2 {
        font-size: clamp(1.8rem, 3.5vw, 2.8rem);
        font-weight: 900;
        line-height: 1.1;
        margin-bottom: 20px;
        margin-top: 0;
    }

    .loyalty-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .lstat-card {
        background: rgba(255, 255, 255, .06);
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: 16px;
        padding: 28px;
        text-align: center;
        transition: border-color var(--transition);
    }

    .lstat-card:hover {
        border-color: rgba(0, 180, 180, .28);
    }

    .lstat-card--wide {
        grid-column: span 2;
        background: rgba(0, 180, 180, .1);
        border-color: rgba(0, 180, 180, .22);
    }

    .lstat-value {
        font-size: 2.8rem;
        font-weight: 900;
        color: #fff;
        line-height: 1;
        margin-bottom: 8px;
    }

    .lstat-label {
        font-size: .7rem;
        font-weight: 700;
        letter-spacing: .18em;
        text-transform: uppercase;
        color: var(--primary-blue);
    }

    @media (max-width: 900px) {
        .loyalty-section {
            padding: 80px 24px;
        }

        .loyalty-inner {
            grid-template-columns: 1fr;
            gap: 48px;
        }
    }

    @media (max-width: 500px) {
        .loyalty-section {
            padding: 70px 20px;
        }

        .lstat-value {
            font-size: 2.2rem;
        }

        .lstat-card {
            padding: 22px 16px;
        }
    }


    /* ════════════════════════════════════════════════════════════
   PROCESS
════════════════════════════════════════════════════════════ */
    .process-section {
        padding: 100px 48px;
        background: #fff;
    }

    .process-inner {
        max-width: 1400px;
        margin: 0 auto;
    }

    .process-inner h2 {
        font-size: clamp(2rem, 4vw, 3rem);
        font-weight: 900;
    }

    .process-inner h2 span {
        color: var(--primary-blue);
    }

    .process-header .section-eyebrow {
        justify-content: center;
    }

    .process-grid {
        display: grid;
        grid-template-columns: repeat(var(--cols, 4), 1fr);
        gap: 22px;
    }

    .step-card {
        border-radius: 18px;
        padding: 36px 28px;
        transition: transform var(--transition), box-shadow var(--transition);
    }

    .step-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
    }

    .step-light {
        background: var(--off);
    }

    .step-dark {
        background: var(--navy);
    }

    .step-icon-wrap {
        width: 52px;
        height: 52px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
    }

    .step-light .step-icon-wrap {
        background: linear-gradient(135deg, var(--primary-blue), var(--primary-cyan));
        box-shadow: 0 8px 20px rgba(0, 180, 180, .28);
    }

    .step-dark .step-icon-wrap {
        background: linear-gradient(135deg, rgba(0, 180, 180, .28), rgba(0, 180, 180, .1));
        border: 1px solid rgba(0, 180, 180, .28);
    }

    .step-icon-wrap .material-symbols-outlined {
        font-size: 24px;
        font-variation-settings: 'FILL' 1;
    }

    .step-light .step-icon-wrap .material-symbols-outlined {
        color: #fff;
    }

    .step-dark .step-icon-wrap .material-symbols-outlined {
        color: var(--primary-blue);
    }

    .step-num {
        font-size: .7rem;
        font-weight: 700;
        letter-spacing: .15em;
        text-transform: uppercase;
        color: var(--primary-blue);
        margin-bottom: 8px;
    }

    .step-card h3 {
        font-size: 1.1rem;
        font-weight: 800;
        margin-bottom: 10px;
    }

    .step-light h3 {
        color: var(--navy);
    }

    .step-dark h3 {
        color: #fff;
    }

    .step-card p {
        font-size: .86rem;
        line-height: 1.65;
    }

    .step-light p {
        color: var(--muted);
    }

    .step-dark p {
        color: rgba(255, 255, 255, .45);
    }

    @media (max-width: 1000px) {
        .process-grid {
            grid-template-columns: repeat(min(var(--cols, 4), 2), 1fr);
        }
    }

    @media (max-width: 900px) {
        .process-section {
            padding: 80px 24px;
        }
    }

    @media (max-width: 600px) {
        .process-section {
            padding: 70px 20px;
        }

        .process-grid {
            grid-template-columns: 1fr;
        }

        .step-card {
            padding: 28px 22px;
        }
    }


    /* ════════════════════════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════════════════════════ */
    .testimonials-section {
        padding: 100px 48px;
        background: var(--off);
    }

    .testimonials-inner {
        max-width: 1400px;
        margin: 0 auto;
    }

    .testimonials-inner h2 {
        font-size: clamp(2rem, 4vw, 3rem);
        font-weight: 900;
    }

    .testimonials-inner h2 span {
        color: var(--primary-blue);
    }

    .testimonials-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        margin-bottom: 64px;
    }

    .tcard {
        background: #fff;
        border-radius: 20px;
        padding: 36px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, .06);
        transition: transform var(--transition), box-shadow var(--transition);
    }

    .tcard:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 40px rgba(0, 0, 0, .1);
    }

    .tcard--dark {
        background: var(--navy);
    }

    .tcard-quote {
        font-size: 2.4rem;
        color: var(--primary-blue);
        line-height: 1;
        margin-bottom: 14px;
    }

    .tcard-stars {
        color: var(--primary-blue);
        letter-spacing: 2px;
        margin-bottom: 16px;
        font-size: 1rem;
    }

    .tcard p {
        font-size: .9rem;
        line-height: 1.72;
        margin-bottom: 24px;
        color: var(--muted);
    }

    .tcard--dark p {
        color: rgba(255, 255, 255, .52);
    }

    .tcard-author {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .tcard-avatar {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 900;
        font-size: 1.1rem;
        color: #fff;
        flex-shrink: 0;
    }

    .tcard-avatar--teal {
        background: linear-gradient(135deg, var(--primary-blue), var(--primary-cyan));
    }

    .tcard-avatar--navy {
        background: linear-gradient(135deg, var(--navy), #0d3060);
    }

    .tcard-name {
        font-weight: 700;
        font-size: .9rem;
        color: var(--text);
    }

    .tcard-role {
        color: var(--muted);
        font-size: .76rem;
        margin-top: 2px;
    }




    @media (max-width: 900px) {
        .testimonials-section {
            padding: 80px 24px;
        }

        .testimonials-grid {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 600px) {
        .testimonials-section {
            padding: 70px 20px;
        }

        .tcard {
            padding: 28px 22px;
        }
    }





    @media (max-width: 480px) {

        .hero-tabs-box .tabs-nav {
            padding: 4px;
            gap: 2px;
        }

        .hero-tabs-box .tab-btn,
        .hero-tabs-box .tab-btn--link {
            padding: 10px 6px;
            font-size: .68rem;
            gap: 4px;
        }

        .hero-tabs-box .tab-btn .material-symbols-outlined {
            font-size: 16px;
        }

        .hero-tabs-box .tab-panel {
            padding: 16px 14px 20px;
        }

        .track-row {
            flex-direction: column;
        }

        .track-row .form-field {
            min-width: unset;
        }

        .track-btn {
            width: 100%;
            justify-content: center;
        }

        .quote-grid {
            grid-template-columns: 1fr;
        }



        .services-intro {
            gap: 20px;
            margin-bottom: 28px;
        }

        .services-intro .section-desc {
            font-size: .88rem;
        }

        .see-all-link {
            font-size: .74rem;
            padding: 10px 18px;
        }
    }

    @media (max-width: 360px) {

        .hero-tabs-box .tab-btn .tab-label,
        .hero-tabs-box .tab-btn--link .tab-label {
            display: none;
        }

        .hero-tabs-box .tab-btn,
        .hero-tabs-box .tab-btn--link {
            padding: 12px;
        }
    }


    /* ════════════════════════════════════════════════════════════
   SKELETON SYSTEM — section-specific fixes
════════════════════════════════════════════════════════════ */

/* Services & Industries cards */
.svc-card .skeleton-img-wrapper,
.ind-card .skeleton-img-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: unset;
    background: transparent;
}

.svc-card .skeleton-img,
.ind-card .skeleton-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Hero slides */
#hero.sm-hero .sm-slide .skeleton-img-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: unset;
    background: transparent;
    visibility: visible;
}

/* Brand marquee logos */
.brand-item .skeleton-img-wrapper {
    position: relative;
    inset: unset;
    width: 160px;
    height: 52px;
    flex-shrink: 0;
}

.brand-item .skeleton-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
 /* ════════════════════════════════════
   BRAND MARQUEE STRIP
════════════════════════════════════ */
    .brand-collab-section {
        padding: 80px 0 0;
        text-align: center;
        background: #fff;
        overflow: hidden;
        position: relative;
    }

    .brand-collab-section .section-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        justify-content: center;
    }

    .brand-collab-section .section-eyebrow span {
        display: block;
        width: 28px;
        height: 1.5px;
        background: var(--primary-blue);
        opacity: .5;
    }

    .brand-collab-section .section-title {
        margin-bottom: 10px;
    }


    .brand-collab-section::before,
.brand-collab-section::after {
    content: '';
    position: absolute;
    top: auto;
    bottom: 0;
    width: 120px;
    height: 116px;
    z-index: 2;
    pointer-events: none;
    }


    .brand-collab-section::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.brand-collab-section::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

    .brand-collab-sub {
        color: var(--muted);
        font-size: .93rem;
        margin-bottom: 56px;
    }

    .brand-marquee {
        position: relative;
        overflow: visible;
        border-top: 1px solid #f9f9f9;
        border-bottom: 1px solid #e2e8f0;
        padding: 32px 0;
        background: #ffffff;
    }

    .brand-marquee::before,
    .brand-marquee::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 120px;
        z-index: 2;
        pointer-events: none;
        display: none;
    }

    .brand-marquee::before {
        left: 0;
        background: linear-gradient(to right, var(--off), transparent);
    }

    .brand-marquee::after {
        right: 0;
        background: linear-gradient(to left, var(--off), transparent);
    }

    .brand-track {
        display: flex;
        align-items: center;
        width: max-content;
        animation: marqueeScroll 26s linear infinite;
        gap: 0;
    }

    .brand-item {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 36px;
        border-right: 1px solid #e2e8f0;
        height: 52px;
        flex-shrink: 0;
        transition: transform 0.3s ease;
    }
    .brand-item:hover {
    transform: scale(1.1);
    z-index: 3;
}

    .brand-item:last-child {
        border-right: none;
    }

    .brand-item img {
        height: 38px;
        width: auto;
        opacity: .85;
        filter: grayscale(100%);
        transition: opacity .3s, filter .3s;
    }

    .brand-item img:hover {
        opacity: 1;
        filter: grayscale(0%);
        transform: scale(1.12);
    }

    @keyframes marqueeScroll {
        0% {
            transform: translateX(0);
        }

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

    /* RTL: Reverse marquee direction */
    @keyframes marqueeScrollRTL {
        0% {
            transform: translateX(0);
        }

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

    [dir="rtl"] .brand-track {
        animation-name: marqueeScrollRTL;
    }


    .brand-track {
        display: flex;
        gap: 60px;
        width: max-content;
        animation: scroll 25s linear infinite;
        align-items: center;
    }

    .brand-item img {
        height: 45px;
        width: auto;
        opacity: 0.7;
        transition: 0.3s ease;
        filter: grayscale(100%);
    }
.brand-item .skeleton-img {
    position: absolute;
    inset: 0;
}


    .brand-item .skeleton-img-wrapper {
    position: static;
    width: 160px;
    height: 60px;
}

    .brand-item img:hover {
        opacity: 1;
        filter: grayscale(0%);
        transform: scale(1.5);
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

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

    .brand-marquee {
        overflow: hidden;
        padding: 20px 0;
    }

    .brand-track {
        display: flex;
        width: max-content;
        animation: brandScroll 26s linear infinite;
    }

    .brand-pill {
        margin: 0 14px;
        padding: 12px 26px;
        background: #fff;
        border: 1px solid #dfe6f0;
        border-radius: 10px;
        font-size: .85rem;
        font-weight: 700;
        color: var(--muted);
        white-space: nowrap;
        transition: border-color .25s, color .25s;
    }

    .brand-pill:hover {
        border-color: var(--primary-blue);
        color: var(--primary-blue);
    }

    @keyframes brandScroll {
        0% {
            transform: translateX(0);
        }

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



/* ── Num card skeleton ─────────────────────────────── */
.num-card:not(.visible) {
    background-image: linear-gradient(
        90deg,
        rgba(255,255,255,.04) 25%,
        rgba(255,255,255,.09) 50%,
        rgba(255,255,255,.04) 75%
    );
    background-size: 800px 100%;
    animation: numShimmer 1.4s ease-in-out infinite;
}

@keyframes numShimmer {
    0%   { background-position: -400px 0; }
    100% { background-position:  400px 0; }
}

.num-card.visible {
    background: rgba(255, 255, 255, .05);
    background-image: none;
    animation: none;
}

/* ── System nav skeleton ───────────────────────────── */
.system-nav-item:not(.visible) {
    background-image: linear-gradient(
        90deg,
        rgba(255,255,255,.03) 25%,
        rgba(255,255,255,.07) 50%,
        rgba(255,255,255,.03) 75%
    );
    background-size: 800px 100%;
    animation: systemShimmer 1.4s ease-in-out infinite;
}

@keyframes systemShimmer {
    0%   { background-position: -400px 0; }
    100% { background-position:  400px 0; }
}

.system-nav-item.visible {
    background: transparent;
    animation: none;
}

.system-nav-item:hover {
    background: rgba(0, 180, 180, .08);
    animation: none;
}


.worldwide-map .skeleton-img-wrapper:not(.skeleton--revealed) .skeleton-pulse {
    background: linear-gradient(
        90deg,
        #dce4ed 25%,
        #edf2f7 50%,
        #dce4ed 75%
    );
    background-size: 800px 100%;
    animation: skeleton-shimmer 1.4s ease-in-out infinite;
}





/* ════════════════════════════════════
   HERO — MOBILE RESPONSIVE
════════════════════════════════════ */

@media (max-width: 991px) {
  body #hero.sm-hero {
        min-height: 100svh;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    #hero.sm-hero .sm-hero-content {
        position: absolute;   /* take it OUT of absolute flow */
        top: 90px;
        left: 24px;
        right: 24px;
        transform: none;
        max-width: none;
        z-index: 10;

        padding-bottom: 0px;
    }


#hero.sm-hero .sm-slider-arrow {
        display: none;  /* hide on mobile — swipe handles navigation */
    }

    #hero.sm-hero .hero-widget {
        position: relative;   /* take it OUT of absolute flow too */
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        width: auto;
        margin: 0 20px 40px;  /* side margins + bottom breathing room */
        z-index: 1001;
    }

    /* RTL mobile: same relative positioning */
    [dir="rtl"] #hero.sm-hero .hero-widget {
        left: auto;
        right: auto;
    }

    .hero-tabs-box .tabs-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex-wrap: nowrap;
    }


    .hero-tabs-box .tabs-nav::-webkit-scrollbar { display: none; }

    .hero-tabs-box .tab-btn { flex-shrink: 0; }
}

@media (max-width: 600px) {
    #hero.sm-hero .sm-hero-content {
        left: 16px;
        right: 16px;
        top: 80px;
    }

    #hero.sm-hero .sm-hero-content p { font-size: 15px; }

    #hero.sm-hero .hero-widget {
        margin: 0 14px 32px;
    }

    .hero-tabs-box .tab-btn {
        font-size: .7rem;
        padding: 10px 8px;
        gap: 5px;
    }

    .hero-tabs-box .tab-btn .material-symbols-outlined { font-size: 15px; }
    .hero-tabs-box .tab-panel { padding: 18px 16px 22px; }
    .contact-mini-grid { grid-template-columns: 1fr; }
    .quote-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    #hero.sm-hero .sm-hero-content {
        top: 75px;
        left: 14px;
        right: 14px;
    }

    #hero.sm-hero .sm-hero-content h1,
    #hero.sm-hero .sm-hero-content h2 { font-size: 28px; }

    #hero.sm-hero .sm-hero-content p { font-size: 14px; }

    #hero.sm-hero .hero-widget {
        margin: 0 0px 24px;
    }

    .hero-tabs-box { border-radius: 10px !important; }

    .hero-tabs-box .tabs-nav {
        padding: 4px;
        gap: 2px;
    }

    .hero-tabs-box .tab-btn {
        flex-shrink: 0;
        padding: 10px 6px;
        font-size: .68rem;
        gap: 4px;
    }

    .hero-tabs-box .tab-btn .material-symbols-outlined { font-size: 16px; }
    .hero-tabs-box .tab-panel { padding: 16px 14px 20px; }
    .track-row { flex-direction: column; }
    .track-row .form-field { min-width: unset; }
    .track-btn { width: 100%; justify-content: center; }
    .quote-grid { grid-template-columns: 1fr; }
    .services-intro { gap: 20px; margin-bottom: 28px; }
    .services-intro .section-desc { font-size: .88rem; }
    .see-all-link { font-size: .74rem; padding: 10px 18px; }
}

@media (max-width: 360px) {
    .hero-tabs-box .tab-btn .tab-label,
    .hero-tabs-box .tab-btn--link .tab-label { display: none; }
    .hero-tabs-box .tab-btn,
    .hero-tabs-box .tab-btn--link { padding: 12px; }
}

/* ════════════════════════════════════════════════════════════
   RTL — DIRECTIONAL ARROWS
   Material's arrow_forward / arrow_back / chevron_* glyphs are drawn for LTR,
   so in Arabic they point the wrong way. Mirroring the lazy-icon component's
   wrapper (a square inline-flex box) flips the glyph without touching the
   layout, and it also mirrors any translateX nudge applied to the icon on
   hover — so those rules stay written once, in LTR terms.
   Only genuinely directional icons are listed; symmetric or vertical ones
   (expand_more, open_in_new, the step/system icons) must not be flipped.
════════════════════════════════════════════════════════════ */
[dir="rtl"] #hero.sm-hero .sm-primary-btn .skeleton-icon-wrapper,
[dir="rtl"] #hero.sm-hero .sm-slider-arrow .skeleton-icon-wrapper,
[dir="rtl"] .quote-card .skeleton-icon-wrapper,
[dir="rtl"] .see-all-link .skeleton-icon-wrapper,
[dir="rtl"] .gallery .actions button .skeleton-icon-wrapper,
[dir="rtl"] .worldwide-btn .skeleton-icon-wrapper,
[dir="rtl"] .life-btn .skeleton-icon-wrapper,
[dir="rtl"] .loyalty-section .btn-teal .skeleton-icon-wrapper {
    transform: scaleX(-1);
}

/* ════════════════════════════════════════════════════════════
   TRACKING RESULT MODAL
   Opened by trackFromHome() (see _partial/scripts.blade.php) — the hero's
   Track tab looks up a shipment via App\Http\Controllers\Website\Tracking\
   TrackingController@lookup and renders the result here instead of
   navigating to a page.
════════════════════════════════════════════════════════════ */
.trk-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 20, 45, .75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.trk-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.trk-modal {
    background: #fff;
    border-radius: 20px;
    padding: 44px 48px;
    width: 100%;
    max-width: 1200px;
    height: 90vh;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .2);
    transform: translateY(20px) scale(.97);
    transition: transform .3s ease;
}

.trk-modal-overlay.active .trk-modal {
    transform: translateY(0) scale(1);
}

.trk-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e8edf5;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    transition: background .2s ease, border-color .2s ease;
}

[dir="rtl"] .trk-modal-close {
    right: auto;
    left: 16px;
}

.trk-modal-close:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #ef4444;
}

.trk-modal-close .material-symbols-outlined {
    font-size: 18px;
}

/* State panels (loading / pending / not_found / error) */
.trk-state-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-accent, #E8F8FA);
    color: var(--primary-blue);
    margin: 0 auto 16px;
}

.trk-state-loading .trk-state-icon .material-symbols-outlined {
    animation: trk-spin 1s linear infinite;
}

@keyframes trk-spin {
    to {
        transform: rotate(360deg);
    }
}

.trk-state-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
    text-align: center;
}

.trk-state-text {
    color: var(--text-medium);
    font-size: .92rem;
    line-height: 1.7;
    text-align: center;
    max-width: 440px;
    margin: 0 auto;
}

.trk-state-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(10, 22, 40, .08);
}

.trk-state-meta-item {
    text-align: left;
}

[dir="rtl"] .trk-state-meta-item {
    text-align: right;
}

.trk-state-meta-label {
    display: block;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--text-light);
    margin-bottom: 2px;
}

.trk-state-meta-value {
    font-weight: 700;
    color: var(--text);
}

.trk-state-value-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Success layout: status stepper + scan-event history table */
.trk-success-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(10, 22, 40, .08);
}

.trk-current-status {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .85rem;
    background: var(--light-accent, #E8F8FA);
    color: var(--primary-blue);
}

.trk-stepper {
    display: flex;
    align-items: flex-start;
    margin-bottom: 28px;
    overflow-x: auto;
}

.trk-stepper-item {
    flex: 1 1 0;
    min-width: 88px;
    position: relative;
    text-align: center;
}

.trk-stepper-item::before {
    content: '';
    position: absolute;
    top: 13px;
    left: -50%;
    width: 100%;
    height: 2px;
    background: var(--gray-200, #E1E8ED);
    z-index: 0;
}

.trk-stepper-item:first-child::before {
    content: none;
}

.trk-stepper-item--complete::before {
    background: var(--trk-stage-color, var(--primary-blue));
}

.trk-stepper-dot {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--gray-300, #C5D0DB);
    color: #fff;
    margin-bottom: 8px;
}

.trk-stepper-item--complete .trk-stepper-dot {
    background: var(--trk-stage-color, var(--primary-blue));
    border-color: var(--trk-stage-color, var(--primary-blue));
}

.trk-stepper-item--current .trk-stepper-dot {
    background: var(--trk-stage-color, var(--primary-blue));
    border-color: var(--trk-stage-color, var(--primary-blue));
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--trk-stage-color, var(--primary-blue));
}

.trk-stepper-label {
    display: block;
    font-size: .75rem;
    font-weight: 600;
    color: var(--text-medium);
}

.trk-stepper-item--complete .trk-stepper-label,
.trk-stepper-item--current .trk-stepper-label {
    color: var(--text);
}

.trk-history-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
}

.trk-history-table-wrap {
    overflow-x: auto;
}

.trk-history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .85rem;
}

.trk-history-table th {
    text-align: left;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--text-light);
    padding: 0 10px 8px;
    border-bottom: 1px solid rgba(10, 22, 40, .08);
    white-space: nowrap;
}

.trk-history-table td {
    padding: 10px;
    border-bottom: 1px solid rgba(10, 22, 40, .06);
    color: var(--text);
    vertical-align: top;
}

.trk-history-table tr:last-child td {
    border-bottom: none;
}

.trk-history-desc {
    display: block;
    color: var(--text-light);
    font-size: .75rem;
    margin-top: 2px;
}

[dir="rtl"] .trk-history-table th {
    text-align: right;
}

[dir="rtl"] .trk-stepper-item::before {
    left: auto;
    right: -50%;
}

@media (max-width: 640px) {
    .trk-modal {
        padding: 28px 20px;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    .trk-modal-overlay {
        padding: 0;
    }
}
