        /* ===== Custom Properties ===== */
        :root {
            --hdr-navy: #0c4a6e;
            --hdr-navy-dark: #083550;
            --hdr-amber: #f59e0b;
            --hdr-amber-light: #fbbf24;
            --hdr-white: #ffffff;
            --hdr-slate: #475569;
            --hdr-slate-light: #64748b;
            --hdr-ink: #0f172a;
            --hdr-border: rgba(15, 23, 42, 0.08);
            --hdr-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
            --hdr-shadow-lg: 0 10px 40px rgba(15, 23, 42, 0.12);
            --hdr-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* ===== Skip to Content (A11y) ===== */
        .hdr-skip {
            position: absolute;
            left: -9999px;
            top: auto;
            width: 1px;
            height: 1px;
            overflow: hidden;
            z-index: 100000;
        }
        .hdr-skip:focus {
            left: 16px;
            top: 16px;
            width: auto;
            height: auto;
            padding: 12px 24px;
            background: var(--hdr-amber);
            color: var(--hdr-ink);
            font-weight: 700;
            font-size: 0.875rem;
            border-radius: 6px;
            box-shadow: var(--hdr-shadow-lg);
            text-decoration: none;
            outline: 2px solid var(--hdr-ink);
            outline-offset: 2px;
        }

        /* ===== Top Utility Bar ===== */
        .hdr-topbar {
            background: var(--hdr-navy);
            color: var(--hdr-white);
            font-size: 0.8125rem;
            line-height: 1;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        .hdr-topbar-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            padding: 8px 0;
        }
        .hdr-topbar-left {
            display: flex;
            align-items: center;
            gap: 14px;
        }
        .hdr-topbar-label {
            font-weight: 600;
            opacity: 0.85;
            white-space: nowrap;
        }
        .hdr-social-links {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .hdr-social-links a {
            width: 30px;
            height: 30px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            color: var(--hdr-white);
            text-decoration: none;
            transition: background var(--hdr-transition), transform var(--hdr-transition);
            font-size: 0.8125rem;
        }
        .hdr-social-links a:hover {
            background: var(--hdr-amber);
            color: var(--hdr-ink);
            transform: translateY(-1px);
        }
        .hdr-topbar-right {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .hdr-portal-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 5px 14px;
            border-radius: 4px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: var(--hdr-white);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.03em;
            transition: background var(--hdr-transition);
            white-space: nowrap;
        }
        .hdr-portal-link:hover {
            background: rgba(255, 255, 255, 0.2);
            color: var(--hdr-white);
        }

        /* ===== Language Switcher ===== */
        .hdr-lang {
            position: relative;
            margin-left: 8px;
        }
        [dir="rtl"] .hdr-lang {
            margin-left: 0;
            margin-right: 8px;
        }
        .hdr-lang-toggle {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 4px 10px;
            border-radius: 4px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: var(--hdr-white);
            cursor: pointer;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
        }
        .hdr-lang-toggle:hover {
            background: rgba(255, 255, 255, 0.2);
        }
        .hdr-lang-flag {
            width: 16px;
            height: 12px;
            border-radius: 2px;
            object-fit: cover;
            display: inline-block;
        }
        .hdr-lang-dropdown {
            position: absolute;
            top: calc(100% + 6px);
            right: 0;
            min-width: 140px;
            background: var(--hdr-white);
            border: 1px solid var(--hdr-border);
            border-radius: 6px;
            box-shadow: var(--hdr-shadow-lg);
            padding: 4px;
            display: none;
            z-index: 10001;
        }
        [dir="rtl"] .hdr-lang-dropdown {
            right: auto;
            left: 0;
        }
        .hdr-lang.hdr-lang--open .hdr-lang-dropdown {
            display: block;
        }
        .hdr-lang-dropdown a {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 10px;
            border-radius: 4px;
            color: var(--hdr-ink);
            text-decoration: none;
            font-size: 0.8125rem;
            font-weight: 500;
        }
        .hdr-lang-dropdown a:hover {
            background: rgba(12, 74, 110, 0.06);
        }
        .hdr-lang-dropdown a.hdr-lang--active {
            background: rgba(12, 74, 110, 0.08);
            font-weight: 700;
        }

        /* ===== Main Header ===== */
        .hdr-main {
            position: sticky;
            top: 0;
            z-index: 999;
            background: var(--hdr-white);
            box-shadow: var(--hdr-shadow);
            transition: box-shadow var(--hdr-transition), padding var(--hdr-transition);
        }
        .hdr-main-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            padding: 14px 0;
            transition: padding var(--hdr-transition);
        }

        /* Compact (scrolled) state */
        .hdr-main.hdr-main--compact {
            box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1);
        }
        .hdr-main.hdr-main--compact .hdr-main-inner {
            padding: 8px 0;
        }
        .hdr-main.hdr-main--compact .hdr-logo img {
            height: 36px;
        }

        /* ===== Logo ===== */
        .hdr-logo {
            display: flex;
            align-items: center;
            flex-shrink: 0;
        }
        .hdr-logo img {
            height: 46px;
            width: auto;
            transition: height var(--hdr-transition);
        }

        /* ===== Desktop Navigation ===== */
        .hdr-desktop-nav {
            display: flex;
            align-items: center;
        }
        .hdr-desktop-nav ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .hdr-desktop-nav > ul {
            display: flex;
            align-items: center;
            gap: 2px;
        }
        .hdr-desktop-nav > ul > li {
            position: relative;
        }
        .hdr-desktop-nav > ul > li > a {
            position: relative;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 8px 14px;
            color: var(--hdr-slate);
            font-weight: 600;
            font-size: 0.875rem;
            text-decoration: none;
            transition: color var(--hdr-transition);
            white-space: nowrap;
        }
        /* Underline slide-in animation */
        .hdr-desktop-nav > ul > li > a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 14px;
            right: 14px;
            height: 2px;
            background: var(--hdr-amber);
            transform: scaleX(0);
            transform-origin: left center;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        [dir="rtl"] .hdr-desktop-nav > ul > li > a::after {
            transform-origin: right center;
        }
        .hdr-desktop-nav > ul > li > a:hover {
            color: var(--hdr-navy);
        }
        .hdr-desktop-nav > ul > li > a:hover::after {
            transform: scaleX(1);
        }
        /* Active state */
        .hdr-desktop-nav > ul > li.hdr-nav--active > a {
            color: var(--hdr-navy);
            font-weight: 700;
        }
        .hdr-desktop-nav > ul > li.hdr-nav--active > a::after {
            transform: scaleX(1);
            height: 3px;
            background: var(--hdr-amber);
        }

        /* Desktop dropdown */
        .hdr-desktop-nav > ul > li > ul {
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            min-width: 230px;
            background: var(--hdr-white);
            border: 1px solid var(--hdr-border);
            border-radius: 8px;
            box-shadow: var(--hdr-shadow-lg);
            padding: 6px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(8px);
            transition: opacity var(--hdr-transition), transform var(--hdr-transition), visibility var(--hdr-transition);
            z-index: 1000;
        }
        [dir="rtl"] .hdr-desktop-nav > ul > li > ul {
            left: auto;
            right: 0;
        }
        .hdr-desktop-nav > ul > li:hover > ul {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .hdr-desktop-nav > ul > li > ul > li > a {
            display: flex;
            align-items: center;
            padding: 9px 12px;
            border-radius: 6px;
            color: var(--hdr-slate);
            font-weight: 500;
            font-size: 0.8125rem;
            text-decoration: none;
            transition: background var(--hdr-transition), color var(--hdr-transition);
        }
        .hdr-desktop-nav > ul > li > ul > li > a:hover {
            background: rgba(12, 74, 110, 0.06);
            color: var(--hdr-navy);
        }

        /* ===== Mobile Hamburger Button ===== */
        .hdr-hamburger {
            display: none;
            width: 44px;
            height: 44px;
            align-items: center;
            justify-content: center;
            background: none;
            border: 1px solid var(--hdr-border);
            border-radius: 8px;
            cursor: pointer;
            padding: 0;
            flex-shrink: 0;
            position: relative;
        }
        .hdr-hamburger-box {
            width: 22px;
            height: 16px;
            position: relative;
        }
        .hdr-hamburger-line {
            display: block;
            position: absolute;
            left: 0;
            width: 100%;
            height: 2px;
            background: var(--hdr-navy);
            border-radius: 2px;
            transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
        }
        .hdr-hamburger-line:nth-child(1) { top: 0; }
        .hdr-hamburger-line:nth-child(2) { top: 7px; }
        .hdr-hamburger-line:nth-child(3) { top: 14px; }

        /* Animate to X */
        body.hdr-menu-open .hdr-hamburger-line:nth-child(1) {
            top: 7px;
            transform: rotate(45deg);
        }
        body.hdr-menu-open .hdr-hamburger-line:nth-child(2) {
            opacity: 0;
            transform: scaleX(0);
        }
        body.hdr-menu-open .hdr-hamburger-line:nth-child(3) {
            top: 7px;
            transform: rotate(-45deg);
        }

        /* ===== Mobile Overlay ===== */
        .hdr-overlay {
            position: fixed;
            inset: 0;
            background: rgba(15, 23, 42, 0.5);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
            z-index: 9998;
        }
        body.hdr-menu-open .hdr-overlay {
            opacity: 1;
            pointer-events: auto;
        }

        /* ===== Mobile Slide-in Panel ===== */
        .hdr-mobile-panel {
            position: fixed;
            top: 0;
            right: 0;
            bottom: 0;
            width: min(88vw, 380px);
            background: var(--hdr-white);
            z-index: 9999;
            transform: translateX(100%);
            transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
            box-shadow: -8px 0 30px rgba(15, 23, 42, 0.15);
        }
        [dir="rtl"] .hdr-mobile-panel {
            right: auto;
            left: 0;
            transform: translateX(-100%);
            box-shadow: 8px 0 30px rgba(15, 23, 42, 0.15);
        }
        body.hdr-menu-open .hdr-mobile-panel {
            transform: translateX(0);
        }

        .hdr-mobile-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 20px;
            border-bottom: 1px solid var(--hdr-border);
            background: #fafbfc;
        }
        .hdr-mobile-title {
            font-weight: 700;
            font-size: 1rem;
            color: var(--hdr-ink);
            margin: 0;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .hdr-mobile-close {
            width: 36px;
            height: 36px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            border: 1px solid var(--hdr-border);
            background: var(--hdr-white);
            color: var(--hdr-slate);
            cursor: pointer;
            font-size: 1.1rem;
            transition: background var(--hdr-transition);
        }
        .hdr-mobile-close:hover {
            background: rgba(15, 23, 42, 0.04);
        }

        .hdr-mobile-body {
            flex: 1;
            overflow-y: auto;
            padding: 12px 16px;
            -webkit-overflow-scrolling: touch;
        }

        /* Mobile nav links */
        .hdr-mnav-item {
            margin-bottom: 4px;
        }
        .hdr-mnav-item > a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 14px;
            border-radius: 8px;
            color: var(--hdr-ink);
            font-weight: 600;
            font-size: 0.9375rem;
            text-decoration: none;
            transition: background var(--hdr-transition);
        }
        .hdr-mnav-item > a:hover {
            background: rgba(12, 74, 110, 0.04);
        }

        /* Mobile accordion */
        .hdr-mnav-group {
            margin-bottom: 4px;
        }
        .hdr-mnav-group details {
            border-radius: 8px;
            overflow: hidden;
        }
        .hdr-mnav-group summary {
            list-style: none;
            cursor: pointer;
            padding: 12px 14px;
            font-weight: 600;
            font-size: 0.9375rem;
            color: var(--hdr-ink);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            border-radius: 8px;
            transition: background var(--hdr-transition);
        }
        .hdr-mnav-group summary:hover {
            background: rgba(12, 74, 110, 0.04);
        }
        .hdr-mnav-group summary::-webkit-details-marker { display: none; }
        .hdr-mnav-group summary i {
            font-size: 0.75rem;
            color: var(--hdr-slate-light);
            transition: transform 0.2s ease;
        }
        .hdr-mnav-group details[open] summary i {
            transform: rotate(180deg);
        }
        .hdr-mnav-sub {
            padding: 2px 0 8px 16px;
        }
        [dir="rtl"] .hdr-mnav-sub {
            padding-left: 0;
            padding-right: 16px;
        }
        .hdr-mnav-sub a {
            display: flex;
            align-items: center;
            padding: 9px 14px;
            border-radius: 6px;
            color: var(--hdr-slate);
            font-weight: 500;
            font-size: 0.875rem;
            text-decoration: none;
            transition: background var(--hdr-transition), color var(--hdr-transition);
            border-left: 2px solid transparent;
        }
        [dir="rtl"] .hdr-mnav-sub a {
            border-left: none;
            border-right: 2px solid transparent;
        }
        .hdr-mnav-sub a:hover {
            background: rgba(12, 74, 110, 0.04);
            color: var(--hdr-navy);
            border-left-color: var(--hdr-amber);
        }
        [dir="rtl"] .hdr-mnav-sub a:hover {
            border-left-color: transparent;
            border-right-color: var(--hdr-amber);
        }

        .hdr-mobile-foot {
            padding: 14px 16px;
            border-top: 1px solid var(--hdr-border);
            background: #fafbfc;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .hdr-mobile-foot a {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 10px 16px;
            border-radius: 6px;
            background: var(--hdr-navy);
            color: var(--hdr-white);
            font-weight: 600;
            font-size: 0.8125rem;
            text-decoration: none;
            text-transform: uppercase;
            letter-spacing: 0.03em;
            transition: background var(--hdr-transition);
        }
        .hdr-mobile-foot a:hover {
            background: var(--hdr-navy-dark);
            color: var(--hdr-white);
        }

        /* ===== Responsive ===== */
        @media (max-width: 991px) {
            .hdr-topbar { display: none; }
            .hdr-desktop-nav { display: none !important; }
            .hdr-hamburger { display: flex; }
            .hdr-lang-topbar { display: none; }
        }
        @media (min-width: 992px) {
            .hdr-mobile-panel,
            .hdr-overlay,
            .hdr-hamburger { display: none !important; }
        }

        /* ===== Prevent body scroll when menu open ===== */
        body.hdr-menu-open {
            overflow: hidden;
        }
