/* ============================================================
   HOME 6 ONLY — index-video-banner.blade.php
   Header + Banner (hero image slideshow) styles, copied verbatim
   from Home 1 (index.blade.php)'s defaults:
     - front_page_mail_landing_header.css (header)
     - front_page_mail.css (.hero / banner / quick-action cards)

   The two "body.home1-page ..." scoped overrides from those files
   (header logo hidden until scrolled, quick-actions anchored
   bottom-left inside the hero) have been unscoped here so they
   apply unconditionally — this file only ever loads on this page.

   This file is linked ONLY from index-video-banner.blade.php, after
   the shared files above, so these rules override them on this page
   via normal CSS cascade. All other Home variants are untouched —
   edit freely here.
============================================================ */

/* ============================================================
   HEADER (from front_page_mail_landing_header.css)
============================================================ */


/* =======================================================
    HEADER – 3-TIER GOVERNMENT PORTAL STYLE
========================================================== */
/* ══ NAV ══ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    display: flex;
    align-items: stretch;
    padding: 0 99px;
    height: 72px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
    transition:
        background 0.45s ease,
        backdrop-filter 0.45s ease,
        height 0.4s ease,
        box-shadow 0.4s ease;
}
.nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #1e6b36 0%, #0e87e2 50%, #fec129 100%);
    box-shadow:
        0 1px 8px rgba(14, 135, 226, 0.38),
        0 1px 4px rgba(254, 193, 41, 0.28),
        0 1px 4px rgba(30, 107, 54, 0.22);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.nav.scrolled::after {
    opacity: 1;
}
.nav.scrolled {
    background: linear-gradient(108deg, rgb(233 255 244 / 95%) 0%, rgba(255, 255, 255, 0.97) 42%, rgb(255 246 232) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: 80px;
    padding: 0 99px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.09);
}
.nav-inner {
    width: 100%;
    max-width: 1690px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
}

/* Logo — always visible; white variant by default (over transparent/banner),
   swapped for the colour variant once the nav gets its light scrolled background */
.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    padding: 0 5px 0 0;
}
.nav-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
}
.nav-logo img.nav-logo-scrolled {
    display: none;
}
.nav.scrolled .nav-logo img.nav-logo-default {
    display: none;
}
.nav.scrolled .nav-logo img.nav-logo-scrolled {
    display: block;
}

/* Home 1 — logo lives on the hero banner instead; header logo only
   appears once the nav is scrolled (banner is out of view by then) */
.nav-logo {
    display: none;
}
.nav.scrolled .nav-logo {
    display: flex;
}


.nav-links {
    display: flex;
    align-items: stretch;
    gap: 0px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}
.nav-links > li::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 12px;
}
.nav-links > li {
    position: relative;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
}
/* ── default (transparent over banner): white text ── */
.nav-links > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.4);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 0 10px;
    border-radius: 4px;
    position: relative;
    transition:
        color 0.2s,
        background 0.2s;
    white-space: nowrap;
}
.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: #fec129;
    border-radius: 2px 2px 0 0;
    transition: transform 0.25s;
}
.nav-links > li > a:hover::after,
.nav-links > li > a.active::after {
    transform: translateX(-50%) scaleX(1);
}
.nav-links > li > a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}
.nav-links > li > a.active {
    color: #fec129;
}
.nav-links > li > a .nav-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: #ffffff;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
    opacity: 1;
    transition: opacity 0.2s, transform 0.2s;
}
.nav-links > li > a:hover .nav-icon {
    opacity: 1;
    transform: scale(1.1);
}
/* chevron arrows only */
.nav-links > li > a svg:not(.nav-icon) {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    opacity: 0.85;
    transition: transform 0.25s;
    color: #ffffff;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}
.nav-links > li:hover > a svg:not(.nav-icon) {
    transform: rotate(180deg);
}

/* ── scrolled: dark text on light green-tinted background ── */
.nav.scrolled .nav-links > li > a {
    color: #1a2537;
    text-shadow: none;
}
.nav.scrolled .nav-links > li > a::after {
    background: #1e6b36;
}
.nav.scrolled .nav-links > li > a:hover {
    color: #1e6b36;
    background: rgba(30, 107, 54, 0.06);
}
.nav.scrolled .nav-links > li > a.active {
    color: #1e6b36;
}
.nav.scrolled .nav-links > li > a .nav-icon {
    color: #1e6b36;
    opacity: 0.8;
    filter: none;
}
.nav.scrolled .nav-links > li > a svg:not(.nav-icon) {
    color: #1a2537;
    opacity: 0.45;
    filter: none;
}

/* ── DROPDOWN ── */
.dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 240px;
    background: #ffffff;
    border: 1px solid rgba(14, 135, 226, 0.15);
    border-top: 2px solid #fec129;
    border-radius: 0 0 8px 8px;
    padding: 6px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.22s,
        transform 0.22s,
        visibility 0.22s;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(14, 135, 226, 0.08);
    z-index: 500;
}
.nav-links > li:hover .dropdown,
.nav-links > li:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.dropdown li {
    position: relative;
}
.dropdown li + li {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    color: #0f1419;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-left: 2px solid transparent;
    transition:
        background 0.18s,
        color 0.18s,
        border-color 0.18s,
        padding-left 0.18s;
    white-space: nowrap;
}
.dropdown li a i {
    width: 16px;
    font-size: 11.5px;
    color: #0e87e2;
    opacity: 0.75;
    flex-shrink: 0;
    transition: opacity 0.18s, transform 0.18s;
    text-align: center;
}
.dropdown li a:hover {
    background: rgba(14, 135, 226, 0.07);
    color: #0e87e2;
    border-left-color: #fec129;
    padding-left: 22px;
}
.dropdown li a:hover i {
    opacity: 1;
    color: #fec129;
    transform: scale(1.15);
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 17px;
    flex-shrink: 0;
    margin-left: auto;
    align-self: center;
}

/* ── Apply Now button ── */
.btn-apply-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 14px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 12px;
    gap: 6px;
    text-decoration: none;
    background: linear-gradient(-180deg, #ffd966 0%, #fec129 55%, #9a6e1a 100%);
    color: #fff;
    box-shadow: 0 2px 6px rgba(201, 151, 58, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    border: none;
    overflow: hidden;
    transition: padding 0.3s ease, gap 0.3s ease;
}
.btn-apply-label {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width 0.35s ease, opacity 0.25s ease;
}
.btn-apply-now:hover .btn-apply-label {
    max-width: 80px;
    opacity: 1;
}
.btn-apply-now:hover {
    padding: 0 18px;
}

/* ── Login button: icon-only with tooltip ── */
.btn-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ffffff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    position: relative;
    flex-shrink: 0;
    transition:
        background 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease,
        transform 0.2s ease;
    z-index: 99;
}
.btn-nav svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #108348;
    transition: color 0.28s ease;
}
/* tooltip — drops below the button, above the nav border line */
.btn-nav::after {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    background: #1a2537;
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
    padding: 3px 8px;
    border-radius: 3px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 9999;
}
.btn-nav::before {
    content: '';
    position: absolute;
    top: calc(100% - 3px);
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    border: 4px solid transparent;
    border-bottom-color: #1a2537;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s all ease-in-out;
    z-index: 9999;
}
.btn-nav:hover::after,
.btn-nav:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.btn-nav:hover {
    background: #108348;
    color: #fff;
    border-color: #108348;
    box-shadow:
        0 4px 20px rgba(16, 131, 72, 0.45),
        0 2px 8px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}
.btn-nav:hover svg {
    color: #fff;
}
/* ── scrolled: branded icon button ── */
.nav.scrolled .btn-nav {
    background: #1e6b36;
    border-color: #1e6b36;
}
.nav.scrolled .btn-nav svg {
    color: #ffffff;
}
.nav.scrolled .btn-nav:hover {
    background: #fec129;
    border-color: #fec129;
    box-shadow: 0 4px 16px rgba(254,193,41,0.4);
    transform: translateY(-2px);
}
.nav.scrolled .btn-nav:hover svg {
    color: #071b4d;
}

/* ── 360° Globe button ── */
@keyframes globeFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-4px); }
}
@keyframes globeArrow {
    0%, 100% { opacity: 0.5; transform: translateX(0); }
    50%       { opacity: 1;   transform: translateX(4px); }
}
@keyframes globeShine {
    0%   { left: -80%; }
    100% { left: 160%; }
}
@keyframes globeRingA {
    from { transform: rotateX(72deg) rotateZ(0deg); }
    to   { transform: rotateX(72deg) rotateZ(360deg); }
}
@keyframes globeRingB {
    from { transform: rotateX(72deg) rotateZ(240deg); }
    to   { transform: rotateX(72deg) rotateZ(600deg); }
}
.globe-btn-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    cursor: pointer;
    text-decoration: none;
    animation: none;
}
.globe-scene {
    width: 40px;
    height: 40px;
    position: relative;
    flex-shrink: 0;
}
#globeCanvas {
    border-radius: 50%;
    box-shadow:
        0 0 0 2px rgba(2, 136, 209, 0.7),
        0 4px 14px rgba(1, 87, 155, 0.5),
        0 0 12px rgba(79, 195, 247, 0.4);
    display: block;
    width: 40px;
    height: 40px;
}
.globe-orbit-wrap {
    position: absolute;
    inset: -6px;
    perspective: 120px;
    pointer-events: none;
}
.globe-ring-a {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: rgba(255, 220, 80, 0.9);
    border-bottom-color: rgba(201, 151, 58, 0.15);
    animation: globeRingA 3s linear infinite;
}
.globe-ring-b {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    border-left-color: rgba(255, 255, 255, 0.6);
    border-right-color: rgba(255, 255, 255, 0.1);
    animation: globeRingB 5s linear infinite;
}
.globe-dot-a {
    position: absolute;
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    top: -3px;
    left: 50%;
    margin-left: -3px;
    box-shadow: 0 0 7px 3px rgba(255, 255, 255, 0.85);
}
.globe-text-side {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.globe-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(-180deg, #ffd966 0%, #fec129 55%, #9a6e1a 100%);
    border-radius: 100px;
    padding: 4px 10px 4px 8px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 3px 10px rgba(201, 151, 58, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: box-shadow 0.3s, transform 0.2s;
}
.globe-badge::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: globeShine 2.5s ease-in-out infinite;
}
.globe-btn-wrap:hover .globe-badge {
    box-shadow:
        0 8px 22px rgba(201, 151, 58, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transform: scale(1.04);
}
.globe-deg {
    font-size: 0.72rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.3px;
    line-height: 1;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.globe-label {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.globe-hint {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.52rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.3px;
    padding-left: 4px;
}
.globe-hint svg {
    width: 10px;
    height: 10px;
    stroke: #fec129;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    animation: globeArrow 1.2s ease-in-out infinite;
}
/* hint text goes dark once nav is scrolled (light bg) */
.nav.scrolled .globe-hint {
    color: #4a5a70;
}
/* ── Hamburger: default transparent state ── */
.hamburger {
    display: none;
    width: 42px;
    height: 42px;
    background: rgba(0, 0, 0, 0.28);
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    border-radius: 6px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    transition: background 0.25s, border-color 0.25s;
    flex-shrink: 0;
}
.hamburger:hover {
    background: rgba(30, 107, 54, 0.45);
    border-color: rgba(255, 255, 255, 0.8);
}
.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 4px;
    transition:
        transform 0.3s,
        opacity 0.2s;
    transform-origin: center;
}
/* ── scrolled: visible hamburger on light background ── */
.nav.scrolled .hamburger {
    background: rgba(30, 107, 54, 0.1);
    border-color: #1e6b36;
}
.nav.scrolled .hamburger:hover {
    background: rgba(30, 107, 54, 0.18);
}
.nav.scrolled .hamburger span {
    background: #1e6b36;
}
.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 88vw);
    height: 100vh;
    background: #ffffff;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
    padding: 0 0 36px;
    transform: translateX(110%);
    transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
    z-index: 9999;
    overflow-y: auto;
}
.mobile-menu.open {
    transform: translateX(0);
}

/* ── Mobile menu header bar ── */
.mob-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px 16px;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, #1e6b36 0%, #0e87e2 50%, #fec129 100%) 1;
    margin-bottom: 4px;
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 1;
}
.mob-brand {
    font-family: var(--body-font, sans-serif);
    font-size: 13px;
    font-weight: 800;
    color: #1a2537;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.mob-close-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 107, 54, 0.08);
    border: 1.5px solid rgba(30, 107, 54, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    flex-shrink: 0;
}
.mob-close-btn:hover {
    background: #1e6b36;
    border-color: #1e6b36;
    transform: rotate(90deg);
}
.mob-close-btn svg {
    width: 15px;
    height: 15px;
    stroke: #1e6b36;
    transition: stroke 0.2s;
}
.mob-close-btn:hover svg {
    stroke: #ffffff;
}

/* ── Nav items ── */
.mob-nav {
    list-style: none;
    margin: 0;
    padding: 4px 0;
}
.mob-nav > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #1a2537;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    padding: 11px 22px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: color 0.2s, background 0.2s;
}
.mob-nav > li > a:hover {
    color: #1e6b36;
    background: rgba(30, 107, 54, 0.06);
}
/* left group: icon bubble + label */
.mob-item-left {
    display: flex;
    align-items: center;
    gap: 11px;
    flex: 1;
}
.mob-item-left i {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 107, 54, 0.09);
    border-radius: 7px;
    font-size: 12px;
    color: #1e6b36;
    flex-shrink: 0;
    transition: background 0.22s, color 0.22s;
}
.mob-nav > li > a:hover .mob-item-left i,
.mob-nav > li.open > a .mob-item-left i {
    background: #1e6b36;
    color: #ffffff;
}
/* chevron */
.mob-nav > li > a > svg {
    width: 13px;
    height: 13px;
    color: #1a2537;
    opacity: 0.4;
    flex-shrink: 0;
    transition: transform 0.25s, opacity 0.2s, color 0.2s;
}
.mob-nav > li > a:hover > svg {
    color: #1e6b36;
    opacity: 0.8;
}
.mob-nav > li.open > a {
    color: #1e6b36;
    background: rgba(30, 107, 54, 0.06);
}
.mob-nav > li.open > a > svg {
    transform: rotate(180deg);
    color: #1e6b36;
    opacity: 0.8;
}
.mob-dropdown {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    background: #f4f7fb;
    transition: max-height 0.32s ease;
}
.mob-nav > li.open .mob-dropdown {
    max-height: 600px;
}
.mob-dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px 10px 36px;
    color: #4a5a70;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    border-left: 2px solid transparent;
    transition: color 0.15s, background 0.15s, border-color 0.15s, padding-left 0.15s;
}
.mob-dropdown li a i {
    width: 16px;
    font-size: 11px;
    color: #0e87e2;
    opacity: 0.75;
    flex-shrink: 0;
    text-align: center;
    transition: color 0.15s, opacity 0.15s;
}
.mob-dropdown li a:hover {
    color: #0e87e2;
    background: rgba(14, 135, 226, 0.07);
    border-left-color: #fec129;
    padding-left: 40px;
}
.mob-dropdown li a:hover i {
    color: #fec129;
    opacity: 1;
}
.menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 998;
}
.menu-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

/* ── Mobile login CTA inside drawer ── */
.mob-login {
    margin: 20px 22px 0;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.mob-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    background: #1e6b36;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    border: 1.5px solid #1e6b36;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    transition: background 0.22s, color 0.22s, border-color 0.22s, transform 0.2s;
}
.mob-login-btn:hover {
    background: #fec129;
    border-color: #fec129;
    color: #071b4d;
    transform: translateY(-1px);
}
.mob-login-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    transition: inherit;
}

/* ══ RESPONSIVE BREAKPOINTS ══ */

/* Slightly smaller desktops — scale down font */
@media (max-width: 1800px) {
    .nav-links > li > a {
        font-size: 13.5px;
    }
}

/* Compact desktops / large laptops */
@media (max-width: 1600px) {
    .nav-links > li > a {
        font-size: 13.5px;
    }
}

/* Hamburger takes over below 1200px (tablets & mobile) — nav links hidden, buttons stay */
@media (max-width: 1199.98px) {
    .nav {
        padding: 0 20px;
    }
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .nav-logo img {
        height: 54px;
    }
}

/* Compact globe + login buttons on small phones */
@media (max-width: 480px) {
    .globe-btn-wrap {
        display: none;
    }
    .btn-nav {
        padding: 9px 12px;
        font-size: 10.5px;
        letter-spacing: 0.04em;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 0 14px;
        height: 60px;
    }
    .nav.scrolled {
        height: 64px;
    }
    .nav-logo img {
        height: 46px;
    }
}

/* ============================================================
   HERO / BANNER (from front_page_mail.css)
============================================================ */
/* =============================================================
      HERO â€“ FULL REDESIGN
================================================================ */

/* ══ HERO ══ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    isolation: isolate;
    overflow: hidden;
    min-height: 560px;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        rgba(255, 255, 255, 0.05) 1px,
        transparent 1px
    );
    background-size: 38px 38px;
    opacity: 0.16;
    z-index: 1;
    pointer-events: none;
}
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    z-index: 0;
}
.slide img,
.slide video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center;
}
.slide.active {
    opacity: 1;
}
.slide.prev {
    opacity: 0;
}
.slide.active img,
.slide.active video {
    animation: kb1 7s ease-out forwards;
}
.slide:nth-child(2).active img,
.slide:nth-child(2).active video {
    animation: kb2 7s ease-out forwards;
}
.slide:nth-child(3).active img,
.slide:nth-child(3).active video {
    animation: kb3 7s ease-out forwards;
}
.slide:nth-child(4).active img,
.slide:nth-child(4).active video {
    animation: kb4 7s ease-out forwards;
}
.slide:nth-child(5).active img,
.slide:nth-child(5).active video {
    animation: kb5 7s ease-out forwards;
}
.slide:nth-child(6).active img,
.slide:nth-child(6).active video {
    animation: kb6 7s ease-out forwards;
}
@keyframes kb1 {
    0% {
        transform: scale(1.1) translate(0, 0);
    }
    100% {
        transform: scale(1) translate(-10px, -6px);
    }
}
@keyframes kb2 {
    0% {
        transform: scale(1.1) translate(8px, 4px);
    }
    100% {
        transform: scale(1) translate(0, 0);
    }
}
@keyframes kb3 {
    0% {
        transform: scale(1.08) translate(-6px, 0);
    }
    100% {
        transform: scale(1) translate(6px, -4px);
    }
}
@keyframes kb4 {
    0% {
        transform: scale(1.12) translate(4px, -4px);
    }
    100% {
        transform: scale(1) translate(-4px, 4px);
    }
}
@keyframes kb5 {
    0% {
        transform: scale(1.1) translate(0, 6px);
    }
    100% {
        transform: scale(1) translate(4px, 0);
    }
}
@keyframes kb6 {
    0% {
        transform: scale(1.08) translate(-4px, -6px);
    }
    100% {
        transform: scale(1) translate(0, 0);
    }
}
/* dark left-side overlay — same direction on all slides */
.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    /* background: linear-gradient(
        105deg,
        rgba(6, 16, 32, 0.72) 0%,
        rgba(6, 16, 32, 0.46) 38%,
        rgba(6, 16, 32, 0.10) 72%,
        rgba(6, 16, 32, 0.00) 100%
    ); */
     background: linear-gradient(
        105deg,
        rgba(6, 16, 32, 0.30) 0%,
        rgba(6, 16, 32, 0.20) 38%,
        rgba(6, 16, 32, 0.10) 72%,
        rgba(6, 16, 32, 0.00) 100%
    );
}

/* content panels */
.content-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 99px 0;
    opacity: 0;
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.35s ease;
    align-items: flex-start;
    text-align: left;
}
/* Home 1 — logo + headline anchored near the top of the banner,
   directly under the header */
.content-panel {
    justify-content: flex-start;
}
.content-panel.active {
    opacity: 1;
    pointer-events: auto;
}
/* first-time entrance animation */
.content-panel.active .hero-logo-wrap {
    animation: badgeReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0s both;
}
.content-panel.active .badge {
    animation: badgeReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}
.content-panel.active .headline {
    animation: headlineReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}
/* after first animation — skip re-animation, stay visible instantly */
.content-panel.active.seen .hero-logo-wrap,
.content-panel.active.seen .badge,
.content-panel.active.seen .headline {
    animation: none;
    opacity: 1;
}
@keyframes badgeReveal {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: none;
        filter: blur(0);
    }
}
@keyframes headlineReveal {
    0% {
        opacity: 0;
        transform: translateY(70px) scale(0.96);
        filter: blur(18px);
    }
    60% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: none;
        filter: blur(0);
    }
}

/* ── SHARED CONTAINER — same rule everywhere ── */
.inner {
    padding: 0;
    width: 100%;
    max-width: 1690px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.inner .hero-logo-wrap {
    width: max-content;
    margin-bottom: 0;
    position: relative;
    z-index: 5;
    opacity: 0;
    filter: drop-shadow(0 6px 28px rgba(0, 0, 0, 0.5));
}
.inner .hero-logo-wrap img {
    width: 480px;
    display: block;
    margin-left: -26px;
}
.hero-logo-tagline {
    margin: 2px 0 0;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.badge,
.headline {
    opacity: 0;
}

/* ── BADGE ── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(7, 27, 77, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(254, 193, 41, 0.38);
    padding: 10px 22px 10px 16px;
    border-radius: 100px;
    font-family: var(--body-font);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.96);
    text-transform: uppercase;
    margin-top: 14px;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(254, 193, 41, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fec129;
    flex-shrink: 0;
    animation: pulseDot 1.8s ease-in-out infinite;
}
@keyframes pulseDot {
    0%,
    100% {
        box-shadow: 0 0 6px #fec129;
    }
    50% {
        box-shadow:
            0 0 14px #fec129,
            0 0 26px rgba(254, 193, 41, 0.4);
    }
}

/* ── HEADLINE ── */
.headline {
    font-family: var(--body-font);
    font-size: clamp(20px, 2.1vw, 32px);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.01em;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 620px;
    padding-top: 30px;
    margin-top: 0;
    position: relative;
    text-align: left;
}
/* gold accent bar above headline */
/* .headline::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 0;
    width: 52px;
    height: 3.5px;
    background: linear-gradient(90deg, #fec129 0%, rgba(254, 193, 41, 0.08) 100%);
    border-radius: 3px;
} */

/* ── line 1: primary white ── */
.hl-line1 {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(14px);
    animation: hlLineIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
/* used when there were 2 hl-line1 spans (3-line headline version) — kept for reference, currently unused
.hl-line1:nth-of-type(1) { animation-delay: 0.05s; }
.hl-line1:nth-of-type(2) { animation-delay: 0.18s; }
*/

/* ── line 2: white, same as line 1 ── */
.hl-line2 {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(14px);
    animation: hlLineIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.31s forwards;
}
@keyframes hlLineIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── HEADLINE (older bold/larger version) — kept for reference, currently unused
.headline {
    font-family: var(--body-font);
    font-size: clamp(26px, 2.8vw, 42px);
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.01em;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 620px;
    padding-top: 30px;
    margin-top: 0;
    position: relative;
    text-align: left;
}
gold accent bar above headline
.headline::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 0;
    width: 52px;
    height: 3.5px;
    background: linear-gradient(90deg, #fec129 0%, rgba(254, 193, 41, 0.08) 100%);
    border-radius: 3px;
}

line 1: primary white
.hl-line1 {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(14px);
    animation: hlLineIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hl-line1:nth-of-type(1) { animation-delay: 0.05s; }
.hl-line1:nth-of-type(2) { animation-delay: 0.18s; }

line 2: white, same as line 1
.hl-line2 {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(14px);
    animation: hlLineIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.31s forwards;
}
── end headline reference ── */

/* ── "Growth" — logo blue, prominent and distinct ── */
.headline em {
    font-style: normal;
    font-weight: 700;
    color: #47c1ff;
    text-shadow:
        0 0 18px rgba(14, 135, 226, 0.65),
        0 0 36px rgba(14, 135, 226, 0.25),
        0 2px 8px rgba(0, 0, 0, 0.45);
}

/* ── HERO PREV / NEXT — slide nav, vertically centered at the edges ── */
.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    cursor: pointer;
    z-index: 25;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.hero-nav-btn svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.hero-nav-btn:hover {
    background: #fec129;
    border-color: #fec129;
    color: #071b4d;
    transform: translateY(-50%) scale(1.08);
}
.hero-nav-prev { left: 28px; }
.hero-nav-next { right: 28px; }
@media (max-width: 900px) {
    .hero-nav-btn {
        width: 38px;
        height: 38px;
    }
    .hero-nav-btn svg {
        width: 18px;
        height: 18px;
    }
    .hero-nav-prev { left: 14px; }
    .hero-nav-next { right: 14px; }
}

/* ══════════════════════════════════
   FLOATING CARDS
   Uses exact same .inner container:
   padding:0 20px; width:calc(100%-40px);
   max-width:1690px; margin:0 auto;
══════════════════════════════════ */
/* ── HERO QUICK ACTION BUTTONS ── */
.hero-quick-actions {
    position: relative;
    z-index: 30;
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    margin-top: -130px;
    margin-bottom: 50px;
    padding: 0 99px;
}
.hero-qbtn {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 26px 28px;
    background: linear-gradient(145deg, #0b1a33 0%, #122848 35%, #1b3d6a 100%);
    border-radius: 16px;
    text-decoration: none;
    box-shadow:
        0 6px 24px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}
.hero-qbtn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 50%);
    pointer-events: none;
}
.hero-qbtn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}
.hero-qbtn-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(18, 38, 70, 1) 0%, rgba(10, 22, 48, 1) 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        0 0 10px rgba(140, 180, 255, 0.12),
        0 0 25px rgba(140, 180, 255, 0.05);
    outline: 1.5px dashed rgba(255, 255, 255, 0.15);
    outline-offset: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hero-qbtn-icon svg {
    width: 26px;
    height: 26px;
    stroke: rgba(255, 255, 255, 0.8);
    stroke-width: 1.5;
}
.hero-qbtn-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 0;
}
.hero-qbtn-title {
    font-family: var(--body-font);
    font-size: 16.5px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
}
.hero-qbtn-desc {
    font-family: var(--body-font);
    font-size: 12.5px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.45;
}
.hero-qbtn-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s ease;
}
.hero-qbtn:hover .hero-qbtn-arrow {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.1);
}
.hero-qbtn-arrow svg {
    width: 18px;
    height: 18px;
    stroke: rgba(255, 255, 255, 0.6);
}
@media (max-width: 900px) {
    .hero-quick-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: -100px;
        margin-bottom: 50px;
        padding: 0 24px;
    }
    .hero-qbtn {
        padding: 16px 18px;
        gap: 14px;
    }
    .hero-qbtn-icon {
        width: 44px;
        height: 44px;
    }
    .hero-qbtn-title {
        font-size: 13px;
    }
    .hero-qbtn-desc {
        font-size: 11px;
    }
    .hero-qbtn-arrow {
        width: 32px;
        height: 32px;
    }
}

/* ============================================================
   HOME 6 ONLY — QUICK-ACTION CARDS
   Markup lives inside .hero (like Home 1), so it must be
   position:absolute — the base .hero-quick-actions rule above
   assumes it sits OUTSIDE .hero (like Home 4) and its negative
   margin-top clips it under .hero's overflow:hidden. Unlike Home 1
   though, keep it a horizontal row instead of a stacked column.
============================================================ */
.hero-quick-actions {
    position: absolute;
    left: 99px;
    right: 99px;
    bottom: 56px;
    z-index: 20;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    gap: 16px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.hero-quick-actions .quick-card {
    flex: 1;
    width: auto;
    box-sizing: border-box;
}
@media (max-width: 900px) {
    .hero-quick-actions {
        left: 24px;
        right: 24px;
        bottom: 40px;
        flex-direction: column;
    }
}

.slide-cards {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 40px;
    z-index: 20;
    padding: 0 99px;
}
.global-cards {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* inner wrapper inside cards — same container as content */
.cards-inner {
    padding: 0;
    width: 100%;
    max-width: 1690px;
    margin: 0 auto;
    position: relative;
    z-index: 2;

    display: flex;
    align-items: stretch;
    height: 80px;
}

.fcard {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 26px;
    text-align: left;
    background: rgba(6, 14, 30, 0.72);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-top: 2px solid #1e6b36;
    transition: background 0.3s ease, transform 0.28s ease, box-shadow 0.28s ease;
    position: relative;
}
.fcard:nth-child(2) { border-top-color: #fec129; }
.fcard:nth-child(3) { border-top-color: #0e87e2; }
.fcard:first-child  { border-radius: 10px 0 0 10px; }
.fcard:last-child   { border-radius: 0 10px 10px 0; }
.fcard + .fcard     { border-left: 1px solid rgba(255, 255, 255, 0.06); }
.fcard:hover {
    background: rgba(10, 22, 46, 0.90);
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.38);
    z-index: 1;
}
.fcard-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    transition: background 0.28s ease, border-color 0.28s ease;
    flex-shrink: 0;
}
.fcard:hover .fcard-icon {
    background: rgba(254, 193, 41, 0.12);
    border-color: rgba(254, 193, 41, 0.32);
}
.fcard-icon svg {
    width: 19px;
    height: 19px;
    stroke: #4ecf72;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.fcard:nth-child(2) .fcard-icon svg { stroke: #fec129; }
.fcard:nth-child(3) .fcard-icon svg { stroke: #5bc8ff; }
.fcard-text {
    font-size: 13px;
    line-height: 1.54;
    color: rgba(255, 255, 255, 0.80);
    font-weight: 500;
    margin-bottom: 0;
}

/* hero foot */
.hero-foot {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 25;
}
/* foot also respects same container */
.hero-foot .foot-inner {
    padding: 0 20px;
    width: calc(100% - 40px);
    max-width: 1690px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.progress {
    display: flex;
    gap: 8px;
    align-items: center;
    --bs-progress-bg: unset;
}
.progress-bar {
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    transition: width 0.4s;
    width: 32px;
}
.progress-bar.active {
    width: 50px;
    background: rgba(255, 255, 255, 0.12);
    position: relative;
}
.progress-bar.active::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--teal-bright);
    transform: scaleX(0);
    transform-origin: left;
    animation: fillBar 8s linear forwards;
}
@keyframes fillBar {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}
/* video dot — shown as a small pill with a play icon instead of a timed
   fill bar, since the video's length (not a fixed 8s) drives its duration */
.progress-bar.is-video {
    height: 14px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}
.progress-bar.is-video .progress-bar-icon {
    width: 9px;
    height: 9px;
    color: rgba(255, 255, 255, 0.85);
    pointer-events: none;
}
.progress-bar.is-video.active {
    width: 32px;
    background: var(--teal-bright);
}
.progress-bar.is-video.active::after {
    content: none;
}
.progress-bar.is-video.active .progress-bar-icon {
    color: #05221e;
}
.pager {
    display: flex;
    align-items: center;
    gap: 14px;
}
.pager-count {
    font-family: var(--body-font);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--white);
}
.pager-count .total {
    color: var(--muted-soft);
    font-size: 17px;
    margin-left: 3px;
}
.pager-arrows {
    display: flex;
    gap: 4px;
}
.pager-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--hero-border);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    transition: all 0.25s;
}
.pager-btn:hover {
    background: var(--teal);
    border-color: var(--teal);
}
.pager-btn:active {
    transform: scale(0.92);
}
.flash {
    position: absolute;
    inset: 0;
    z-index: 8;
    background: white;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.08s;
}
.flash.pop {
    opacity: 0.035;
}
.demo-section {
    height: 400px;
    background: #0a1018;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.25);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ══ RESPONSIVE ══ */
@media (max-width: 1199.98px) {
    .nav {
        padding: 0 24px;
    }
    .nav.scrolled {
        padding: 0 24px;
    }
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .content-panel {
        padding-left: 60px;
        padding-right: 60px;
    }
    .inner .hero-logo-wrap img {
        margin-left: 0;
    }
    .hero-quick-actions {
        left: 60px;
        right: 60px;
        bottom: 45px;
        gap: 12px;
    }
    .hero-quick-actions .quick-card {
        padding: 12px 14px;
        gap: 10px;
    }
    .hero-quick-actions .card-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }
    .hero-quick-actions .card-icon i {
        font-size: 15px;
    }
    .hero-quick-actions .card-icon::before {
        width: 50px;
        height: 50px;
    }
    .hero-quick-actions .card-content {
        min-width: 0;
    }
    .hero-quick-actions .card-content h3 {
        font-size: 12px;
        line-height: 1.3;
        margin-bottom: 3px;
        white-space: normal;
        word-break: normal;
    }
    .hero-quick-actions .card-content p {
        font-size: 10.5px;
        line-height: 1.35;
        white-space: normal;
        word-break: normal;
    }
    .hero-quick-actions .card-arrow {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 12px;
    }
    .slide-cards {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 900px) {
    .content-panel {
        bottom: 210px;
        padding-left: 24px;
        padding-right: 24px;
    }
    .inner .hero-logo-wrap img {
        width: 240px;
        margin-left: 0;
    }
    .hero-logo-tagline {
        font-size: 12px;
    }
    .headline {
        padding-top: 18px;
        font-size: clamp(18px, 4vw, 28px);
        line-height: 1.22;
    }

    /* cards stack vertically — container stays same */
    .cards-inner {
        height: auto;
        flex-direction: column;
        gap: 1px;
    }
    .fcard {
        flex: unset;
        border-radius: 0 !important;
        padding: 10px 14px;
        gap: 10px;
    }
    .fcard:first-child {
        border-radius: 10px 10px 0 0 !important;
    }
    .fcard:last-child {
        border-radius: 0 0 10px 10px !important;
    }
    .fcard + .fcard {
        border-left: 1px solid rgba(255, 255, 255, 0.07);
        border-top: none;
    }
    .fcard-text {
        font-size: 12px;
        max-width: none;
    }
    .fcard-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }
    .fcard-icon svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 600px) {
    .content-panel {
        bottom: 215px;
    }
    .inner .hero-logo-wrap img {
        width: 180px;
        margin-left: 0;
    }
    .hero-logo-tagline {
        font-size: 11px;
    }
    .headline {
        padding-top: 14px;
        font-size: clamp(16px, 5vw, 24px);
        line-height: 1.25;
    }
    .headline::before {
        width: 36px;
        height: 2.5px;
        top: 7px;
    }
    .badge {
        font-size: 9.5px;
        padding: 8px 16px 8px 12px;
        letter-spacing: 0.12em;
        margin-top: 10px;
    }
    .btn-nav {
        font-size: 10px;
        padding: 8px 14px;
    }
    .fcard:first-child  { border-radius: 10px 10px 0 0 !important; }
    .fcard:last-child   { border-radius: 0 0 10px 10px !important; }
}

/* ============================================================
   HERO QUICK-ACTION CARDS (from front_page_mail.css)
============================================================ */

.quick-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px;
}

.quick-card {
    width: 33.33%;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    text-decoration: none;
    /* background: linear-gradient(
        135deg,
        #17365d 0%,
        #112a4b 100%
    );
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.08);
    position: relative;
    overflow: hidden;
    transition: all .3s ease;
    cursor: pointer; */

    /* background: rgba(255, 255, 255, 0.06); */
    /* background: #112a4b00; */
    /* border: 3px solid rgba(255, 255, 255, 0.22); */
    border-radius: 10px;
    padding: 16px 20px;
    position: relative;
    overflow: hidden;
    /* backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); */
    transition: all .3s ease;
    background: rgb(46 52 73 / 70%);
}

.quick-card:before {
    background: linear-gradient(90deg, #fec1296e, #ffffffb3 50%, #fec1298c);
    border-radius: 12px;
    content: "";
    inset: 0;
    -webkit-mask: linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
    pointer-events: none;
    position: absolute;
}

/* .quick-card::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: inherit;

    background: linear-gradient(
        135deg,
        rgba(255,255,255,.5),
        rgba(255,255,255,.05),
        rgba(255,255,255,.3)
    );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
} */

.quick-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #1775bb;
    border-radius: 50%;
    /* border: 2px dashed rgba(255,255,255,.25); */
    /* border: 1px solid rgba(255,255,255,.18); */

    position: relative;
    /* animation: rotateRing 12s linear infinite; */
}

@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.card-icon::before {
    content: "";
    position: absolute;

    width: 66px;
    height: 66px;

    border-radius: 50%;
    /* border: 1px solid rgba(255,255,255,.18); */
    border: 2px dashed rgba(255,255,255,.25);
    animation: rotateRing 20s linear infinite;
}

.card-icon i {
    color: #fff;
    font-size: 20px;
}

.card-content {
    flex: 1;
    color: #fff;
}

.card-content h3 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 20px;
}

.card-content p {
    font-size: 11px;
    line-height: 16px;
    color: rgba(255,255,255,.85);
    font-weight: 500;
    margin-bottom: 0;
}

.card-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: rgba(201, 151, 58, 0.5) 0px 3px 10px, rgba(255, 255, 255, 0.35) 0px 1px 0px inset;
    gap: 5px;
    background: linear-gradient(-180deg, rgb(255, 217, 102) 0%, rgb(254, 193, 41) 55%, rgb(154, 110, 26) 100%);
    color: #fff;
    font-size: 17px;
    transition: all ease-in-out .3s;
    flex-shrink: 0;
    position: relative;
}

.quick-card:hover .card-arrow {
    background: #fff;
    color: #108348;
    transform: rotate(-45deg);
}

.card-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .05), rgba(255, 255, 255, .3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* ============================================================
   PROJECT OVERVIEW — 7-STEP HORIZONTAL TIMELINE
   Keep the timeline horizontal at 900px and below, with
   dedicated Previous and Next navigation buttons.
============================================================ */
.po-stepper {
    position: relative;
    overflow: visible;
}
.po-stepper-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
    padding-bottom: 18px;
}
.po-stepper-header .po-stepper-title {
    margin-bottom: 0;
    padding-bottom: 0;
}
.po-stepper-nav {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}
.po-stepper-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: #ffffff;
    border: 1.5px solid #d0dce8;
    border-radius: 50%;
    color: #1e6b36;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 30, 80, 0.08);
    transition: all 0.22s ease;
}
.po-stepper-btn:hover:not(:disabled) {
    background: #1e6b36;
    border-color: #1e6b36;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(30, 107, 54, 0.3);
    transform: translateY(-1px);
}
.po-stepper-btn:hover:not(:disabled) svg {
    stroke: #ffffff;
}
.po-stepper-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
.po-stepper-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2.5;
}

.po-stepper-track-wrap {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding-top: 12px;
    padding-bottom: 8px;
}
.po-stepper-track-wrap::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.po-stepper-row.po-stepper-row-7 {
    display: flex !important;
    flex-direction: row !important;
    min-width: 720px;
    gap: 0 !important;
}
.po-stepper-row-7 .po-stepper-line-track {
    display: block !important;
    top: 23px !important;
}
.po-stepper-row-7 .po-stepper-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 0 4px !important;
    grid-template-columns: none !important;
}
.po-stepper-row-7 .po-stepper-icon {
    width: 44px !important;
    height: 44px !important;
    margin-bottom: 10px !important;
}
.po-stepper-row-7 .po-stepper-icon svg {
    width: 19px !important;
    height: 19px !important;
}
.po-stepper-row-7 .po-stepper-connector {
    display: flex !important;
    width: 22px !important;
    height: 22px !important;
}
.po-stepper-row-7 .po-stepper-connector svg {
    width: 11px !important;
    height: 11px !important;
}
.po-stepper-row-7 .po-stepper-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    row-gap: 0 !important;
}
.po-stepper-row-7 .po-stepper-rule {
    display: block !important;
}
.po-stepper-row-7 .po-stepper-name {
    font-size: 12px !important;
    margin-bottom: 6px !important;
    text-align: center !important;
}
.po-stepper-row-7 .po-stepper-status {
    font-size: 11px !important;
    text-align: center !important;
}

@media (max-width: 600px) {
    .po-stepper-header {
        justify-content: space-between;
    }
    .po-stepper-nav {
        position: static;
        transform: none;
    }
}

/* ============================================================
   LATEST NEWS & EVENTS — EQUAL HEIGHT PANELS (> 900px)
============================================================ */
@media (min-width: 901px) {
    .updates-section .updates-grid {
        align-items: start !important;
    }
    .updates-section .events-panel {
        height: auto !important;
        max-height: none !important;
    }
    .updates-section .events-body {
        padding: 20px 22px 14px !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
    .updates-section .thumb-name a {
        margin-bottom: 4px !important;
    }
    .updates-section .news-panel {
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        max-height: none !important;
    }
    .updates-section .news-list-wrap {
        flex: 1 1 0 !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }
}

@media (max-width: 900px) {
    .updates-section .updates-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .updates-section .news-panel {
        height: 480px !important;
        max-height: 480px !important;
    }
    .updates-section .events-panel {
        height: auto !important;
        max-height: none !important;
    }
}

/* ============================================================
   POLICIES SECTION (IP-GRID) RESPONSIVE FIX (861px - 1200px)
   Prevents text clipping, overflows, and button cut-off in 3-column layout
============================================================ */
@media (min-width: 861px) and (max-width: 1200px) {
    .ip-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 14px !important;
    }
    .ip-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }
    .ip-img {
        padding: 10px 0 10px 10px !important;
        flex-shrink: 0 !important;
    }
    .ip-img-wrap {
        width: 78px !important;
        border: 2px solid #ffffff !important;
        border-radius: 6px !important;
        box-shadow: 0 2px 6px rgba(15, 30, 56, 0.18) !important;
    }
    .ip-card-inner {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        padding: 12px 10px 12px !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }
    .ip-card-top {
        display: flex !important;
        align-items: flex-start !important;
        gap: 6px !important;
        margin-bottom: 6px !important;
        min-width: 0 !important;
    }
    .ip-icon-box {
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        border-radius: 5px !important;
        flex-shrink: 0 !important;
        margin-top: 2px !important;
    }
    .ip-icon-box svg {
        width: 12px !important;
        height: 12px !important;
    }
    .ip-card-title {
        font-size: 11.5px !important;
        line-height: 1.25 !important;
        font-weight: 700 !important;
        color: #0f1e38 !important;
        min-width: 0 !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }
    .ip-card-body {
        flex: 1 !important;
        margin-bottom: 6px !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
    }
    .ip-card-desc {
        font-size: 10px !important;
        line-height: 1.35 !important;
        color: #64748b !important;
        min-width: 0 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    .ip-card-footer {
        padding-top: 8px !important;
        border-top: 1px solid #f0f3f8 !important;
        min-width: 0 !important;
        margin-top: auto !important;
    }
    .ip-cta {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        padding: 5px 10px !important;
        font-size: 10.5px !important;
        border-radius: 6px !important;
        white-space: nowrap !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .ip-cta svg {
        width: 11px !important;
        height: 11px !important;
        flex-shrink: 0 !important;
    }
}

@media (min-width: 1025px) and (max-width: 1200px) {
    .ip-img-wrap {
        width: 90px !important;
    }
    .ip-card-inner {
        padding: 14px 12px 14px !important;
    }
    .ip-card-title {
        font-size: 12.5px !important;
    }
    .ip-card-desc {
        font-size: 11px !important;
    }
    .ip-cta {
        padding: 6px 12px !important;
        font-size: 11px !important;
    }
}

/* ============================================================
   STRATEGIC CONNECTIVITY NETWORK — OPTION 1 (<= 900px)
   Compact Active Tabs + Detail Card with Map
============================================================ */
.conn-compact-view {
    display: none;
}

@media (max-width: 900px) {
    .card-row {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
    }
    .card-row .transport-panel .panel-label,
    .card-row .transport-panel .tnet-grid {
        display: none !important;
    }
    .card-row .transport-panel {
        padding: 16px 16px 14px !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
        height: auto !important;
    }
    .conn-compact-view {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }
    .conn-compact-tabs {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 6px !important;
        width: 100% !important;
    }
    .conn-tab-btn {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 8px 3px !important;
        background: #f1f5f9 !important;
        color: #334155 !important;
        border: 1.5px solid #e2e8f0 !important;
        border-radius: 10px !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        text-align: center !important;
        gap: 4px !important;
        outline: none !important;
    }
    .conn-tab-btn:hover {
        background: #e2e8f0 !important;
    }
    .conn-tab-btn.active {
        background: #1e6b36 !important;
        color: #ffffff !important;
        border-color: #1e6b36 !important;
        box-shadow: 0 4px 12px rgba(30, 107, 54, 0.28) !important;
    }
    .conn-tab-btn svg {
        width: 18px !important;
        height: 18px !important;
        stroke: currentColor !important;
        transition: transform 0.2s ease !important;
    }
    .conn-tab-btn.active svg {
        transform: scale(1.08) !important;
    }
    .conn-tab-name {
        font-family: var(--body-font) !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        line-height: 1.15 !important;
    }
    .conn-tab-detail-card {
        background: linear-gradient(135deg, #1e6b36 0%, #176330 50%, #0f5225 100%) !important;
        color: #ffffff !important;
        padding: 13px 15px !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 16px rgba(15, 82, 37, 0.22) !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        animation: connFadeIn 0.25s ease-out !important;
    }
    .conn-detail-head {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding-bottom: 7px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
    }
    .conn-detail-title {
        font-family: var(--body-font) !important;
        font-size: 13.5px !important;
        font-weight: 800 !important;
        color: #ffffff !important;
        margin: 0 !important;
    }
    .conn-detail-sub {
        font-size: 11px !important;
        color: rgba(255, 255, 255, 0.78) !important;
        margin: 2px 0 0 !important;
        font-style: italic !important;
    }
    .conn-detail-badge {
        font-family: var(--body-font) !important;
        font-size: 10.5px !important;
        font-weight: 800 !important;
        background: #fec129 !important;
        color: #0f1e38 !important;
        padding: 3px 9px !important;
        border-radius: 6px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    .conn-detail-list {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
    }
    .conn-detail-list li {
        font-family: var(--body-font) !important;
        font-size: 11.5px !important;
        color: rgba(255, 255, 255, 0.94) !important;
        line-height: 1.35 !important;
        display: flex !important;
        align-items: flex-start !important;
        gap: 6px !important;
    }
    .conn-detail-list li::before {
        content: "" !important;
        width: 5px !important;
        height: 5px !important;
        background: #fec129 !important;
        border-radius: 50% !important;
        margin-top: 5px !important;
        flex-shrink: 0 !important;
    }
    .card-row .map-placeholder {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1537 / 1023 !important;
        min-height: unset !important;
        max-height: none !important;
        position: relative !important;
        background: #ffffff !important;
        overflow: hidden !important;
    }
    .card-row .map-placeholder .map-img {
        width: 100% !important;
        height: 100% !important;
        position: absolute !important;
        inset: 0 !important;
        object-fit: contain !important;
        object-position: center !important;
        display: block !important;
    }
}

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

@media (max-width: 480px) {
    .conn-compact-tabs {
        gap: 4px !important;
    }
    .conn-tab-btn {
        padding: 6px 2px !important;
        border-radius: 8px !important;
    }
    .conn-tab-name {
        font-size: 9.5px !important;
    }
    .conn-tab-btn svg {
        width: 15px !important;
        height: 15px !important;
    }
    .conn-detail-title {
        font-size: 12.5px !important;
    }
    .conn-detail-badge {
        font-size: 9.5px !important;
        padding: 2px 7px !important;
    }
    .conn-detail-list li {
        font-size: 11px !important;
    }
}

/* ============================================================
   STRATEGIC CONNECTIVITY NETWORK — OPTION 3 (901px - 1200px)
   Top 5 Flip Cards in 1 Row + Bottom Full-Width Map
============================================================ */
@media (min-width: 901px) and (max-width: 1200px) {
    .card-row {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
    }
    .card-row .transport-panel {
        width: 100% !important;
        padding: 16px 18px 14px !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
        height: auto !important;
    }
    .card-row .transport-panel .panel-label {
        font-size: 11px !important;
        margin-bottom: 10px !important;
    }
    .card-row .transport-panel .tnet-grid {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
    }
    .tnet-flip {
        width: 100% !important;
    }
    .tnet-flip-inner {
        height: 220px !important;
    }
    .tnet-front {
        padding: 16px 14px 14px !important;
        border-radius: 12px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        gap: 0 !important;
    }
    .tnet-card-head {
        margin-bottom: 12px !important;
        display: flex !important;
        align-items: flex-start !important;
    }
    .tnet-icon {
        width: 38px !important;
        height: 38px !important;
        border-radius: 10px !important;
        margin-bottom: 0 !important;
    }
    .tnet-icon svg {
        width: 20px !important;
        height: 20px !important;
    }
    .tnet-name {
        font-size: 13.5px !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        margin: 0 0 10px !important;
        color: #0f1e38 !important;
        min-height: 34px !important;
        display: flex !important;
        align-items: center !important;
    }
    .tnet-stat {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 2px !important;
        margin: 0 0 6px !important;
    }
    .tnet-val {
        font-size: 26px !important;
        font-weight: 800 !important;
        line-height: 1.1 !important;
        color: #1e6b36 !important;
    }
    .tnet-unit {
        font-size: 12px !important;
        font-weight: 600 !important;
        color: #64748b !important;
    }
    .tnet-sub {
        font-size: 11px !important;
        line-height: 1.35 !important;
        color: #94a3b8 !important;
        margin-top: auto !important;
        margin-bottom: 0 !important;
        font-style: italic !important;
    }

    /* Back of flip card in 5-col row */
    .tnet-back {
        padding: 12px 10px 10px !important;
        border-radius: 12px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .tnet-back-head {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin-bottom: 6px !important;
        padding-bottom: 4px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
        flex-shrink: 0 !important;
    }
    .tnet-back-head svg {
        display: none !important;
    }
    .tnet-back-title {
        font-size: 11.5px !important;
        font-weight: 800 !important;
        margin: 0 !important;
        line-height: 1.2 !important;
        color: #ffffff !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .tnet-back-desc {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
        flex: 1 1 auto !important;
        overflow-y: auto !important;
        scrollbar-width: thin !important;
    }
    .tnet-back-desc li {
        font-size: 12px !important;
        line-height: 1.35 !important;
        color: #ffffff !important;
        font-weight: 500 !important;
        padding-left: 10px !important;
        position: relative !important;
        margin: 0 !important;
    }
    .tnet-back-desc li:not(:last-child) {
        margin-bottom: 0 !important;
    }
    .tnet-back-desc li::before {
        content: "" !important;
        position: absolute !important;
        left: 0 !important;
        top: 5px !important;
        width: 4.5px !important;
        height: 4.5px !important;
        border-radius: 50% !important;
        background: #fec129 !important;
    }
    .tnet-back-flip {
        font-size: 9.5px !important;
        font-weight: 600 !important;
        margin-top: auto !important;
        padding-top: 5px !important;
        color: #fec129 !important;
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        flex-shrink: 0 !important;
    }
    .tnet-back-flip svg {
        width: 11px !important;
        height: 11px !important;
        stroke: #fec129 !important;
    }

    /* Full-width Map Below */
    .card-row .right-col {
        width: 100% !important;
        background: #ffffff !important;
    }
    .card-row .map-placeholder {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1537 / 1023 !important;
        max-height: 540px !important;
        min-height: unset !important;
        position: relative !important;
        background: #ffffff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
    }
    .card-row .map-placeholder .map-img {
        width: 100% !important;
        height: 100% !important;
        position: absolute !important;
        inset: 0 !important;
        object-fit: contain !important;
        object-position: center !important;
        display: block !important;
    }
}

/* ============================================================
   STRATEGIC CONNECTIVITY NETWORK — DESKTOP (>= 1201px)
   Side-by-Side: Cards on Left (2 Columns) + Map on Right
============================================================ */
@media (min-width: 1201px) {
    .card-row {
        display: grid !important;
        grid-template-columns: 2fr 3fr !important;
        align-items: stretch !important;
        flex-direction: unset !important;
    }
    .card-row .transport-panel {
        width: auto !important;
        padding: 30px 24px !important;
        border-right: 1px solid rgba(0, 0, 0, 0.08) !important;
        border-bottom: none !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .card-row .transport-panel .panel-label {
        display: block !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        margin-bottom: 16px !important;
    }
    .card-row .transport-panel .tnet-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
        width: 100% !important;
    }
    .tnet-flip {
        width: auto !important;
    }
    .tnet-flip-inner {
        height: 200px !important;
    }

    /* FRONT SIDE (DESKTOP) */
    .tnet-front {
        padding: 18px 16px 14px !important;
        border-radius: 14px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        gap: 0 !important;
    }
    .tnet-card-head {
        margin-bottom: 10px !important;
        display: flex !important;
        align-items: flex-start !important;
    }
    .tnet-icon {
        width: 40px !important;
        height: 40px !important;
        border-radius: 10px !important;
        margin-bottom: 0 !important;
    }
    .tnet-icon svg {
        width: 22px !important;
        height: 22px !important;
    }
    .tnet-name {
        font-size: 14px !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        margin: 0 0 8px !important;
        color: #1a2537 !important;
        min-height: 35px !important;
        display: flex !important;
        align-items: center !important;
    }
    .tnet-stat {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 2px !important;
        margin: 0 0 6px !important;
    }
    .tnet-val {
        font-size: 28px !important;
        font-weight: 800 !important;
        line-height: 1.1 !important;
        color: #1e6b36 !important;
    }
    .tnet-unit {
        font-size: 12.5px !important;
        font-weight: 600 !important;
        color: #5a6370 !important;
    }
    .tnet-sub {
        font-size: 12px !important;
        line-height: 1.35 !important;
        color: #8c939d !important;
        margin-top: auto !important;
        margin-bottom: 0 !important;
        font-style: italic !important;
    }

    /* BACK SIDE (DESKTOP) */
    .tnet-back {
        padding: 18px 16px 14px !important;
        border-radius: 14px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .tnet-back-head {
        margin-bottom: 8px !important;
        padding-bottom: 6px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
        flex-shrink: 0 !important;
    }
    .tnet-back-head svg {
        display: none !important;
    }
    .tnet-back-title {
        font-size: 14px !important;
        font-weight: 800 !important;
        margin: 0 !important;
        line-height: 1.2 !important;
        color: #ffffff !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .tnet-back-desc {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
        flex: 1 1 auto !important;
        overflow-y: auto !important;
        scrollbar-width: thin !important;
    }
    .tnet-back-desc li {
        font-size: 12px !important;
        line-height: 1.35 !important;
        color: #ffffff !important;
        font-weight: 500 !important;
        padding-left: 12px !important;
        position: relative !important;
        margin: 0 !important;
    }
    .tnet-back-desc li::before {
        content: "" !important;
        position: absolute !important;
        left: 0 !important;
        top: 6px !important;
        width: 5px !important;
        height: 5px !important;
        border-radius: 50% !important;
        background: #fec129 !important;
    }
    .tnet-back-flip {
        font-size: 11px !important;
        font-weight: 600 !important;
        margin-top: auto !important;
        padding-top: 6px !important;
        color: #fec129 !important;
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        flex-shrink: 0 !important;
    }
    .tnet-back-flip svg {
        width: 13px !important;
        height: 13px !important;
        stroke: #fec129 !important;
    }

    /* RIGHT COLUMN & MAP (DESKTOP) */
    .card-row .right-col {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        background: #ffffff !important;
    }
    .card-row .map-placeholder {
        width: 100% !important;
        height: 100% !important;
        min-height: 520px !important;
        max-height: none !important;
        flex: 1 !important;
        position: relative !important;
        background: #ffffff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 10px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .card-row .map-placeholder .map-img {
        width: 100% !important;
        height: 100% !important;
        position: absolute !important;
        inset: 0 !important;
        padding: 10px !important;
        box-sizing: border-box !important;
        object-fit: contain !important;
        object-position: center !important;
        display: block !important;
    }
}



