/* ==========================================================================
   SEVASATHI INNOVATIONS - REDESIGNED PREMIUM GLOBAL NAVIGATION BAR (navbar.css)
   Clean, minimal, effortless 3-component architecture:
   - Free-floating Logo (Left)
   - Refined Action Cluster (Right): Contact Expander, Get Started CTA, Menu Button
   - Slide-out Glassmorphism Menu Panel Drawer (Full Navigation, Contacts, Preferences)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. GLOBAL HEADER BAR & SCROLL STATES
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1060 !important;
    padding: 24px 5% !important;
    background: transparent !important;
    border-bottom: 1px solid transparent !important;
    box-shadow: none !important;
    transition: padding 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    pointer-events: none !important; /* Only interactive children accept clicks */
}

/* Scrolled State (> 40px scroll) */
.site-header.is-scrolled {
    padding: 12px 5% !important;
    background: rgba(7, 11, 20, 0.82) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(41, 182, 246, 0.05) !important;
}

/* Light Theme Scrolled State */
html.light .site-header.is-scrolled,
:root[data-theme="light"] .site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.88) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05), 0 0 20px rgba(14, 165, 233, 0.05) !important;
}

/* Scroll Hide/Reveal Behavior */
.site-header.nav-hidden:not(.menu-open) {
    transform: translateY(-100%) !important;
}

/* Header Container - 100% width with 0 margin, perfectly aligning brand logo with hero left narrative */
.site-nav-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    pointer-events: auto !important;
}

/* --------------------------------------------------------------------------
   2. FREE-FLOATING BRAND LOGO (LEFT)
   -------------------------------------------------------------------------- */
.nav-brand-link {
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.25s ease !important;
}

.nav-brand-link:hover {
    transform: scale(1.03) !important;
    filter: drop-shadow(0 0 14px rgba(41, 182, 246, 0.5)) !important;
}

.nav-brand-logo,
.nav-brand-link img,
.site-logo.header-logo,
header img.site-logo {
    height: 62px !important;
    max-height: 65px !important;
    min-height: unset !important;
    width: auto !important;
    max-width: 340px !important;
    object-fit: contain !important;
    display: block !important;
    transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1), max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.site-header.is-scrolled .nav-brand-logo,
.site-header.is-scrolled .nav-brand-link img,
.site-header.is-scrolled .site-logo.header-logo,
.site-header.is-scrolled header img.site-logo {
    height: 44px !important;
    max-height: 46px !important;
}

/* --------------------------------------------------------------------------
   3. REFINED ACTION CLUSTER (RIGHT)
   -------------------------------------------------------------------------- */
.nav-action-cluster {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

/* --------------------------------------------------------------------------
   3A. CONTACT HOVER-EXPANDER (WhatsApp + Email)
   -------------------------------------------------------------------------- */
.nav-contact-expander {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    border-radius: 9999px !important;
    padding: 2px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.nav-contact-expander:hover,
.nav-contact-expander.is-expanded {
    background: rgba(10, 15, 25, 0.85) !important;
    border-color: rgba(41, 182, 246, 0.4) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 16px rgba(41, 182, 246, 0.2) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
}

html.light .nav-contact-expander,
:root[data-theme="light"] .nav-contact-expander {
    background: rgba(15, 23, 42, 0.04) !important;
    border-color: rgba(15, 23, 42, 0.1) !important;
}

html.light .nav-contact-expander:hover,
html.light .nav-contact-expander.is-expanded,
:root[data-theme="light"] .nav-contact-expander:hover,
:root[data-theme="light"] .nav-contact-expander.is-expanded {
    background: rgba(255, 255, 255, 0.94) !important;
    border-color: rgba(14, 165, 233, 0.35) !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1), 0 0 14px rgba(14, 165, 233, 0.15) !important;
}

/* Contact Trigger Icon (Chat Bubble with soft cyan pulse) */
.contact-trigger-btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border-radius: 50% !important;
    border: none !important;
    background: transparent !important;
    color: #38BDF8 !important;
    font-size: 1.05rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    outline: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.contact-trigger-btn:hover {
    color: #00F2FE !important;
    transform: scale(1.08) !important;
}

html.light .contact-trigger-btn,
:root[data-theme="light"] .contact-trigger-btn {
    color: #0284C7 !important;
}

/* Hidden Expansion Track */
.contact-expanded-track {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    max-width: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    transition: max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.25s ease,
                padding 0.35s ease !important;
}

.nav-contact-expander:hover .contact-expanded-track,
.nav-contact-expander.is-expanded .contact-expanded-track {
    max-width: 100px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
}

/* Expanded Contact Actions (WhatsApp & Email buttons) */
.contact-sub-btn {
    position: relative !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    font-size: 0.95rem !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
    padding: 0 !important;
}

.contact-btn-wa {
    color: #25D366 !important;
}
.contact-btn-wa:hover {
    background: rgba(37, 211, 102, 0.18) !important;
    border-color: #25D366 !important;
    box-shadow: 0 0 12px rgba(37, 211, 102, 0.35) !important;
    transform: scale(1.08) !important;
}

.contact-btn-email {
    color: #38BDF8 !important;
}
.contact-btn-email:hover {
    background: rgba(56, 189, 248, 0.18) !important;
    border-color: #38BDF8 !important;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.35) !important;
    transform: scale(1.08) !important;
}

/* Micro Tooltips on Contact Sub Buttons */
.contact-tooltip {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(4px) !important;
    background: rgba(10, 15, 25, 0.94) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(41, 182, 246, 0.3) !important;
    border-radius: 8px !important;
    padding: 5px 10px !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    color: #F8FAFC !important;
    white-space: nowrap !important;
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 1070 !important;
}

.contact-sub-btn:hover .contact-tooltip,
.contact-sub-btn:focus-visible .contact-tooltip {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
}

html.light .contact-tooltip,
:root[data-theme="light"] .contact-tooltip {
    background: rgba(255, 255, 255, 0.98) !important;
    border-color: rgba(14, 165, 233, 0.3) !important;
    color: #0F172A !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12) !important;
}

/* --------------------------------------------------------------------------
   3B. "GET STARTED" PRIMARY CTA BUTTON
   -------------------------------------------------------------------------- */
.nav-cta-btn {
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 22px !important;
    border-radius: 9999px !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    background: linear-gradient(135deg, #0284C7 0%, #29B6F6 60%, #38BDF8 100%) !important;
    color: #FFFFFF !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    box-shadow: 0 0 18px rgba(41, 182, 246, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    outline: none !important;
}

.nav-cta-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 0 28px rgba(41, 182, 246, 0.65), 0 4px 14px rgba(0, 0, 0, 0.25) !important;
    filter: brightness(1.05) !important;
    color: #FFFFFF !important;
}

.nav-cta-btn:active {
    transform: translateY(1px) scale(0.98) !important;
    box-shadow: 0 0 12px rgba(41, 182, 246, 0.4) !important;
}

.nav-cta-arrow {
    font-size: 0.8rem !important;
    transition: transform 0.2s ease !important;
}

.nav-cta-btn:hover .nav-cta-arrow {
    transform: translateX(3px) !important;
}

/* --------------------------------------------------------------------------
   3C. MINIMAL MENU BUTTON (HAMBURGER / X MORPH)
   -------------------------------------------------------------------------- */
.nav-menu-btn {
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 16px !important;
    border-radius: 9999px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: #F8FAFC !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    cursor: pointer !important;
    outline: none !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    user-select: none !important;
}

.nav-menu-btn:hover {
    border-color: rgba(41, 182, 246, 0.45) !important;
    background: rgba(255, 255, 255, 0.09) !important;
    box-shadow: 0 0 16px rgba(41, 182, 246, 0.25) !important;
    transform: translateY(-1px) !important;
}

html.light .nav-menu-btn,
:root[data-theme="light"] .nav-menu-btn {
    background: rgba(15, 23, 42, 0.04) !important;
    border-color: rgba(15, 23, 42, 0.12) !important;
    color: #0F172A !important;
}

html.light .nav-menu-btn:hover,
:root[data-theme="light"] .nav-menu-btn:hover {
    background: rgba(14, 165, 233, 0.08) !important;
    border-color: rgba(14, 165, 233, 0.35) !important;
    box-shadow: 0 0 14px rgba(14, 165, 233, 0.2) !important;
}

.nav-menu-text {
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
}

/* Two-Line Animated Hamburger Icon */
.nav-menu-icon {
    width: 18px !important;
    height: 12px !important;
    position: relative !important;
    display: inline-flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.menu-bar {
    width: 100% !important;
    height: 2px !important;
    background: #E2E8F0 !important;
    border-radius: 2px !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.2s ease !important;
    transform-origin: center !important;
}

html.light .menu-bar,
:root[data-theme="light"] .menu-bar {
    background: #0F172A !important;
}

/* Hamburger morphs into X when Menu is open */
.nav-menu-btn.is-active .menu-bar-top {
    transform: translateY(5px) rotate(45deg) !important;
    background: #38BDF8 !important;
}

.nav-menu-btn.is-active .menu-bar-bottom {
    transform: translateY(-5px) rotate(-45deg) !important;
    background: #38BDF8 !important;
}

/* --------------------------------------------------------------------------
   3D. UNIFIED THEME & LANGUAGE SPLIT BUTTON (WITH DIVIDED LINE)
   Placed immediately to the right of the Menu button on the header navbar
   -------------------------------------------------------------------------- */
.nav-pref-split-btn {
    height: 42px !important;
    min-height: 42px !important;
    border-radius: 9999px !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 4px !important;
    gap: 0 !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    user-select: none !important;
    position: relative !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
}

.nav-pref-split-btn:hover {
    border-color: rgba(41, 182, 246, 0.45) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 0 16px rgba(41, 182, 246, 0.25) !important;
    transform: translateY(-1px) !important;
}

html.light .nav-pref-split-btn,
:root[data-theme="light"] .nav-pref-split-btn {
    background: rgba(15, 23, 42, 0.04) !important;
    border-color: rgba(15, 23, 42, 0.12) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06) !important;
}

html.light .nav-pref-split-btn:hover,
:root[data-theme="light"] .nav-pref-split-btn:hover {
    background: rgba(14, 165, 233, 0.08) !important;
    border-color: rgba(14, 165, 233, 0.35) !important;
    box-shadow: 0 0 14px rgba(14, 165, 233, 0.18) !important;
}

/* Individual Split Halves (Theme side and Language side) */
.split-part {
    height: 34px !important;
    min-height: 34px !important;
    border: none !important;
    background: transparent !important;
    color: #F8FAFC !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    border-radius: 9999px !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    outline: none !important;
    user-select: none !important;
}

.split-part:hover {
    background: rgba(255, 255, 255, 0.12) !important;
}

.split-part:active {
    transform: scale(0.93) !important;
}

html.light .split-part,
:root[data-theme="light"] .split-part {
    color: #0F172A !important;
}

html.light .split-part:hover,
:root[data-theme="light"] .split-part:hover {
    background: rgba(15, 23, 42, 0.08) !important;
}

/* Left Half: Theme Toggle Button */
.split-part-theme {
    width: 36px !important;
    padding: 0 !important;
    color: #38BDF8 !important;
}

.split-part-theme .theme-icon-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
}

.split-part-theme .theme-icon {
    width: 18px !important;
    height: 18px !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease !important;
}

.split-part-theme:hover .theme-icon {
    transform: rotate(20deg) scale(1.12) !important;
}

/* Crisp Vertical Dividing Line */
.split-divider {
    width: 1px !important;
    height: 18px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    margin: 0 2px !important;
    flex-shrink: 0 !important;
    pointer-events: none !important;
    border-radius: 1px !important;
}

html.light .split-divider,
:root[data-theme="light"] .split-divider {
    background: rgba(15, 23, 42, 0.15) !important;
}

/* Right Half: Language Toggle Button */
.split-part-lang {
    padding: 0 10px 0 8px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
}

.lang-text-wrap {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    pointer-events: none !important;
}

.nav-seg-item {
    font-size: 0.77rem !important;
    font-weight: 600 !important;
    color: #94A3B8 !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    padding: 2px 2px !important;
    border-radius: 4px !important;
    line-height: 1 !important;
}

.nav-seg-item.active {
    color: #38BDF8 !important;
    font-weight: 700 !important;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5) !important;
}

html.light .nav-seg-item.active,
:root[data-theme="light"] .nav-seg-item.active {
    color: #0284C7 !important;
    text-shadow: none !important;
}

.nav-seg-slash {
    font-size: 0.7rem !important;
    color: rgba(255, 255, 255, 0.28) !important;
    font-weight: 400 !important;
}

html.light .nav-seg-slash,
:root[data-theme="light"] .nav-seg-slash {
    color: rgba(15, 23, 42, 0.25) !important;
}

/* --------------------------------------------------------------------------
   4. SLIDE-OUT GLASSMORPHISM MENU PANEL DRAWER
   -------------------------------------------------------------------------- */
/* Dimmed Backdrop Overlay */
.nav-menu-backdrop {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(3, 7, 18, 0.65) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 1065 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.nav-menu-backdrop.is-open {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Main Sliding Drawer */
.nav-menu-drawer {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 440px !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 1070 !important;
    background: rgba(8, 13, 24, 0.94) !important;
    backdrop-filter: blur(32px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(32px) saturate(190%) !important;
    border-left: 1px solid rgba(56, 189, 248, 0.2) !important;
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(41, 182, 246, 0.1) !important;
    transform: translateX(100%) !important;
    transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(56, 189, 248, 0.3) transparent !important;
}

.nav-menu-drawer.is-open {
    transform: translateX(0) !important;
}

/* Light Theme Drawer */
html.light .nav-menu-drawer,
:root[data-theme="light"] .nav-menu-drawer {
    background: rgba(255, 255, 255, 0.96) !important;
    border-left: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: -24px 0 50px rgba(15, 23, 42, 0.14), 0 0 30px rgba(14, 165, 233, 0.08) !important;
    scrollbar-color: rgba(14, 165, 233, 0.3) transparent !important;
}

/* Drawer Inner Content */
.drawer-inner {
    display: flex !important;
    flex-direction: column !important;
    padding: 32px 32px 36px 32px !important;
    min-height: 100% !important;
    gap: 22px !important;
}

/* Drawer Header */
.drawer-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-bottom: 8px !important;
}

.drawer-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    color: #38BDF8 !important;
}

.drawer-badge-dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #00F2FE !important;
    box-shadow: 0 0 8px #00F2FE !important;
}

/* Elegant Close Button */
.drawer-close-btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: #94A3B8 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    outline: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.drawer-close-btn:hover {
    color: #F8FAFC !important;
    border-color: rgba(56, 189, 248, 0.5) !important;
    background: rgba(56, 189, 248, 0.12) !important;
    transform: rotate(90deg) scale(1.05) !important;
}

html.light .drawer-close-btn,
:root[data-theme="light"] .drawer-close-btn {
    background: rgba(15, 23, 42, 0.04) !important;
    border-color: rgba(15, 23, 42, 0.1) !important;
    color: #64748B !important;
}

html.light .drawer-close-btn:hover,
:root[data-theme="light"] .drawer-close-btn:hover {
    color: #0F172A !important;
    border-color: rgba(14, 165, 233, 0.4) !important;
    background: rgba(14, 165, 233, 0.1) !important;
}

/* --------------------------------------------------------------------------
   4A. DRAWER NAVIGATION LINKS (Typography + Chapter Indicators)
   -------------------------------------------------------------------------- */
.drawer-links-nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-top: 4px !important;
}

.drawer-link-item {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
    text-decoration: none !important;
    color: #94A3B8 !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: 1px solid transparent !important;
    opacity: 0;
    transform: translateX(18px);
}

/* Staggered entrance animation when drawer is open */
.nav-menu-drawer.is-open .drawer-link-item {
    opacity: 1;
    transform: translateX(0);
}
.nav-menu-drawer.is-open .drawer-link-item:nth-child(1) { transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1) 0.08s; }
.nav-menu-drawer.is-open .drawer-link-item:nth-child(2) { transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1) 0.13s; }
.nav-menu-drawer.is-open .drawer-link-item:nth-child(3) { transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1) 0.18s; }
.nav-menu-drawer.is-open .drawer-link-item:nth-child(4) { transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1) 0.23s; }
.nav-menu-drawer.is-open .drawer-link-item:nth-child(5) { transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1) 0.28s; }

.drawer-link-content {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

/* Chapter Pill echo (01 - 05) */
.drawer-link-num {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    color: #38BDF8 !important;
    background: rgba(56, 189, 248, 0.12) !important;
    border: 1px solid rgba(56, 189, 248, 0.24) !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
}

.drawer-link-text {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    color: #CBD5E1 !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.drawer-link-arrow {
    font-size: 0.85rem !important;
    color: #64748B !important;
    opacity: 0 !important;
    transform: translateX(-6px) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Hover on Drawer Link */
.drawer-link-item:hover {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(56, 189, 248, 0.25) !important;
    transform: translateX(6px) !important;
}

.drawer-link-item:hover .drawer-link-text {
    color: #FFFFFF !important;
    text-shadow: 0 0 14px rgba(56, 189, 248, 0.4) !important;
}

.drawer-link-item:hover .drawer-link-num {
    background: rgba(56, 189, 248, 0.22) !important;
    border-color: rgba(56, 189, 248, 0.5) !important;
    color: #00F2FE !important;
}

.drawer-link-item:hover .drawer-link-arrow {
    opacity: 1 !important;
    transform: translateX(0) !important;
    color: #38BDF8 !important;
}

/* Active Link State */
.drawer-link-item.active {
    background: rgba(56, 189, 248, 0.08) !important;
    border-color: rgba(56, 189, 248, 0.35) !important;
}

.drawer-link-item.active .drawer-link-text {
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

.drawer-link-item.active .drawer-link-num {
    background: #0284C7 !important;
    color: #FFFFFF !important;
    border-color: #38BDF8 !important;
}

.drawer-link-item.active .drawer-link-arrow {
    opacity: 1 !important;
    transform: translateX(0) !important;
    color: #38BDF8 !important;
}

/* Light Theme Drawer Links */
html.light .drawer-link-text,
:root[data-theme="light"] .drawer-link-text {
    color: #334155 !important;
}

html.light .drawer-link-num,
:root[data-theme="light"] .drawer-link-num {
    color: #0284C7 !important;
    background: rgba(14, 165, 233, 0.1) !important;
    border-color: rgba(14, 165, 233, 0.2) !important;
}

html.light .drawer-link-item:hover,
:root[data-theme="light"] .drawer-link-item:hover {
    background: rgba(14, 165, 233, 0.06) !important;
    border-color: rgba(14, 165, 233, 0.3) !important;
}

html.light .drawer-link-item:hover .drawer-link-text,
:root[data-theme="light"] .drawer-link-item:hover .drawer-link-text {
    color: #0F172A !important;
    text-shadow: none !important;
}

html.light .drawer-link-item.active,
:root[data-theme="light"] .drawer-link-item.active {
    background: rgba(14, 165, 233, 0.1) !important;
    border-color: rgba(14, 165, 233, 0.4) !important;
}

html.light .drawer-link-item.active .drawer-link-text,
:root[data-theme="light"] .drawer-link-item.active .drawer-link-text {
    color: #0284C7 !important;
}

/* Drawer Divider */
.drawer-divider {
    height: 1px !important;
    width: 100% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    margin: 4px 0 !important;
}

html.light .drawer-divider,
:root[data-theme="light"] .drawer-divider {
    background: rgba(15, 23, 42, 0.08) !important;
}

/* --------------------------------------------------------------------------
   4B. DRAWER QUICK CONTACT ROW
   -------------------------------------------------------------------------- */
.drawer-section-title {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    color: #64748B !important;
    margin-bottom: -10px !important;
}

.drawer-contact-cards {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.drawer-contact-card {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 14px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.drawer-contact-card:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(56, 189, 248, 0.3) !important;
    transform: translateY(-1px) !important;
}

.drawer-contact-icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.05rem !important;
}

.drawer-wa-icon {
    background: rgba(37, 211, 102, 0.15) !important;
    color: #25D366 !important;
}

.drawer-email-icon {
    background: rgba(56, 189, 248, 0.15) !important;
    color: #38BDF8 !important;
}

.drawer-contact-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    flex-grow: 1 !important;
}

.drawer-contact-title {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #F8FAFC !important;
}

.drawer-contact-detail {
    font-size: 0.76rem !important;
    color: #94A3B8 !important;
}

.drawer-contact-ext {
    font-size: 0.78rem !important;
    color: #64748B !important;
}

html.light .drawer-contact-card,
:root[data-theme="light"] .drawer-contact-card {
    background: rgba(15, 23, 42, 0.03) !important;
    border-color: rgba(15, 23, 42, 0.08) !important;
}

html.light .drawer-contact-title,
:root[data-theme="light"] .drawer-contact-title {
    color: #0F172A !important;
}

html.light .drawer-contact-detail,
:root[data-theme="light"] .drawer-contact-detail {
    color: #64748B !important;
}

/* --------------------------------------------------------------------------
   4C. DRAWER PREFERENCES ROW (EN/HI + Dark/Light Theme)
   -------------------------------------------------------------------------- */
.drawer-prefs-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

html.light .drawer-prefs-row,
:root[data-theme="light"] .drawer-prefs-row {
    background: rgba(15, 23, 42, 0.02) !important;
    border-color: rgba(15, 23, 42, 0.06) !important;
}

.drawer-pref-group {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.drawer-pref-label {
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: #94A3B8 !important;
}

html.light .drawer-pref-label,
:root[data-theme="light"] .drawer-pref-label {
    color: #64748B !important;
}

/* Segmented Language Switch (EN | HI) */
.nav-seg-lang-btn {
    position: relative !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 3px !important;
    border-radius: 9999px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0 !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1) !important;
    color: #94A3B8 !important;
    outline: none !important;
    user-select: none !important;
    overflow: hidden !important;
}

.nav-seg-lang-btn:hover {
    border-color: rgba(41, 182, 246, 0.4) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.nav-seg-slider {
    position: absolute !important;
    top: 3px !important;
    bottom: 3px !important;
    left: 3px !important;
    width: 28px !important;
    border-radius: 9999px !important;
    background: rgba(41, 182, 246, 0.24) !important;
    border: 1px solid rgba(41, 182, 246, 0.55) !important;
    box-shadow: 0 0 12px rgba(41, 182, 246, 0.3) !important;
    transition: transform 0.32s cubic-bezier(0.25, 1, 0.5, 1) !important;
    pointer-events: none !important;
    z-index: 1 !important;
    will-change: transform;
}

.nav-seg-lang-btn.is-hi .nav-seg-slider {
    transform: translateX(28px) !important;
}

.nav-seg-item {
    position: relative !important;
    z-index: 2 !important;
    width: 28px !important;
    height: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 9999px !important;
    color: #94A3B8 !important;
    font-size: 0.74rem !important;
    font-weight: 600 !important;
    transition: color 0.25s ease !important;
    line-height: 1 !important;
    padding: 0 !important;
    pointer-events: auto !important;
}

.nav-seg-item.active {
    color: #FFFFFF !important;
    text-shadow: 0 0 8px rgba(41, 182, 246, 0.55) !important;
}

html.light .nav-seg-lang-btn,
:root[data-theme="light"] .nav-seg-lang-btn {
    background: rgba(15, 23, 42, 0.04) !important;
    border-color: rgba(15, 23, 42, 0.12) !important;
    color: #64748B !important;
}

html.light .nav-seg-slider,
:root[data-theme="light"] .nav-seg-slider {
    background: rgba(14, 165, 233, 0.18) !important;
    border-color: rgba(14, 165, 233, 0.5) !important;
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.2) !important;
}

html.light .nav-seg-item.active,
:root[data-theme="light"] .nav-seg-item.active {
    color: #0284C7 !important;
    text-shadow: none !important;
}

/* Theme Toggle Button inside Drawer */
.theme-toggle-btn.drawer-theme-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: #38BDF8 !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    padding: 0 !important;
}

.theme-toggle-btn.drawer-theme-btn:hover {
    transform: scale(1.08) !important;
    border-color: rgba(56, 189, 248, 0.4) !important;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.3) !important;
}

html.light .theme-toggle-btn.drawer-theme-btn,
:root[data-theme="light"] .theme-toggle-btn.drawer-theme-btn {
    background: rgba(15, 23, 42, 0.04) !important;
    border-color: rgba(15, 23, 42, 0.12) !important;
    color: #0284C7 !important;
}

/* --------------------------------------------------------------------------
   4D. DRAWER BOTTOM REPEAT CTA
   -------------------------------------------------------------------------- */
.drawer-bottom-cta {
    margin-top: auto !important;
    padding-top: 12px !important;
}

.drawer-cta-btn {
    min-height: 48px !important;
    width: 100% !important;
    border-radius: 9999px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    background: linear-gradient(135deg, #0284C7 0%, #29B6F6 60%, #38BDF8 100%) !important;
    color: #FFFFFF !important;
    font-size: 0.94rem !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 0 20px rgba(41, 182, 246, 0.4) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    outline: none !important;
}

.drawer-cta-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 0 28px rgba(41, 182, 246, 0.65) !important;
    filter: brightness(1.05) !important;
}

.drawer-cta-btn:active {
    transform: translateY(1px) scale(0.98) !important;
}

/* --------------------------------------------------------------------------
   5. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */

/* Tablet (640px to 1023px) */
@media (min-width: 640px) and (max-width: 1023.98px) {
    .site-header {
        padding: 16px 5% !important;
    }
    .site-header.is-scrolled {
        padding: 10px 5% !important;
    }
    .nav-brand-logo,
    .nav-brand-link img,
    .site-logo.header-logo,
    header img.site-logo {
        height: 52px !important;
        max-height: 55px !important;
        max-width: 260px !important;
    }
    .site-header.is-scrolled .nav-brand-logo,
    .site-header.is-scrolled .nav-brand-link img,
    .site-header.is-scrolled .site-logo.header-logo,
    .site-header.is-scrolled header img.site-logo {
        height: 38px !important;
        max-height: 40px !important;
    }
    /* Hide desktop 'Menu' text on tablet */
    .nav-menu-text {
        display: none !important;
    }
    .nav-menu-btn {
        width: 42px !important;
        padding: 0 !important;
    }
}

/* Mobile (< 640px) */
@media (max-width: 639.98px) {
    .site-header {
        padding: 12px 5% !important;
        padding: max(10px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) 10px max(12px, env(safe-area-inset-left, 0px)) !important;
    }
    .site-header.is-scrolled {
        padding: 8px 5% !important;
        padding: max(6px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) 6px max(12px, env(safe-area-inset-left, 0px)) !important;
    }
    .nav-brand-logo,
    .nav-brand-link img,
    .site-logo.header-logo,
    header img.site-logo {
        height: 42px !important;
        max-height: 44px !important;
        max-width: 180px !important;
        height: 38px !important;
        max-height: 40px !important;
        max-width: clamp(130px, 36vw, 170px) !important;
    }
    .site-header.is-scrolled .nav-brand-logo,
    .site-header.is-scrolled .nav-brand-link img,
    .site-header.is-scrolled .site-logo.header-logo,
    .site-header.is-scrolled header img.site-logo {
        height: 32px !important;
        max-height: 34px !important;
        height: 30px !important;
        max-height: 32px !important;
        max-width: clamp(120px, 32vw, 150px) !important;
    }
    .nav-action-cluster {
        gap: 6px !important;
    }
    /* Contact Expander moves into the Menu Drawer on Mobile to prevent clutter */
    .nav-contact-expander {
        display: none !important;
    }
    .nav-cta-btn {
        height: 36px !important;
        min-height: 36px !important;
        height: 40px !important;
        min-height: 40px !important;
        padding: 0 12px !important;
        font-size: 0.78rem !important;
        font-size: 0.8rem !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .nav-menu-text {
        display: none !important;
    }
    .nav-menu-btn {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        width: 44px !important;
        height: 40px !important;
        min-width: 44px !important;
        min-height: 40px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    /* Responsive Split Button on Mobile */
    .nav-pref-split-btn {
        height: 36px !important;
        min-height: 36px !important;
        padding: 0 2px !important;
        height: 40px !important;
        min-height: 40px !important;
        padding: 0 4px !important;
    }
    .split-part {
        height: 28px !important;
        min-height: 28px !important;
        padding: 0 5px !important;
        height: 32px !important;
        min-height: 32px !important;
        padding: 0 6px !important;
    }
    .split-part-theme {
        width: 28px !important;
        width: 32px !important;
        padding: 0 !important;
    }
    .split-part-theme .theme-icon {
        width: 14px !important;
        height: 14px !important;
        width: 15px !important;
        height: 15px !important;
    }
    .split-divider {
        height: 14px !important;
        height: 16px !important;
    }
    .split-part-lang {
        padding: 0 5px !important;
        font-size: 0.72rem !important;
        padding: 0 6px !important;
        font-size: 0.75rem !important;
    }
    .nav-seg-item {
        font-size: 0.7rem !important;
        padding: 1px 2px !important;
        font-size: 0.72rem !important;
        padding: 2px 3px !important;
    }
    /* Menu Drawer takes full screen on Mobile */
    .nav-menu-drawer {
        width: 100vw !important;
        max-width: 100vw !important;
    }
    .drawer-inner {
        padding: 24px 20px 28px 20px !important;
        gap: 18px !important;
        padding: max(20px, env(safe-area-inset-top, 0px)) 20px max(32px, env(safe-area-inset-bottom, 0px)) 20px !important;
        gap: 16px !important;
    }
    .drawer-link-item {
        min-height: 48px !important;
    }
    .drawer-link-text {
        font-size: 1.15rem !important;
    }
}

/* Extra Small Phones (< 380px down to 320px) */
@media (max-width: 379.98px) {
    .site-header {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    .nav-brand-logo,
    .nav-brand-link img,
    .site-logo.header-logo,
    header img.site-logo {
        max-width: 110px !important;
        height: 32px !important;
    }
    .nav-action-cluster {
        gap: 4px !important;
    }
    .nav-cta-btn {
        padding: 0 8px !important;
        font-size: 0.74rem !important;
    }
    .nav-cta-btn span {
        display: none !important; /* Icon only for extreme narrow 320px */
    }
    .nav-cta-btn .nav-cta-arrow {
        margin: 0 !important;
    }
    .nav-menu-btn {
        width: 38px !important;
        min-width: 38px !important;
    }
    .split-part-lang {
        padding: 0 4px !important;
    }
}

/* --------------------------------------------------------------------------
   6. ACCESSIBILITY & PREFERS-REDUCED-MOTION
   -------------------------------------------------------------------------- */
.nav-brand-link:focus-visible,
.contact-trigger-btn:focus-visible,
.contact-sub-btn:focus-visible,
.nav-cta-btn:focus-visible,
.nav-menu-btn:focus-visible,
.drawer-close-btn:focus-visible,
.drawer-link-item:focus-visible,
.drawer-contact-card:focus-visible,
.nav-seg-lang-btn:focus-visible,
.theme-toggle-btn:focus-visible,
.drawer-cta-btn:focus-visible {
    outline: 2px solid #29B6F6 !important;
    outline-offset: 3px !important;
}

@media (prefers-reduced-motion: reduce) {
    .site-header,
    .nav-brand-link,
    .nav-contact-expander,
    .contact-trigger-btn,
    .contact-expanded-track,
    .contact-sub-btn,
    .nav-cta-btn,
    .nav-menu-btn,
    .menu-bar,
    .nav-menu-backdrop,
    .nav-menu-drawer,
    .drawer-link-item,
    .drawer-link-text,
    .drawer-link-num,
    .drawer-link-arrow,
    .drawer-contact-card,
    .nav-seg-slider,
    .drawer-cta-btn {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
    .nav-menu-drawer {
        opacity: 0;
        pointer-events: none;
    }
    .nav-menu-drawer.is-open {
        opacity: 1;
        pointer-events: auto;
    }
}
