/* =========================================================
   CSS CUSTOM PROPERTIES
========================================================= */
.header {
    --header-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --dropdown-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --icon-size: 38px;
    --logo-height: 60px;
    --nav-gap: 12px;
    --dropdown-width: 320px;
    --dropdown-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    --dropdown-radius: var(--radius-sm, 12px);
    
    position: relative;
    /* z-index: 9999; */
}

/* =========================================================
   TOP NAVIGATION BAR
========================================================= */
.header__nav {
    position: relative;
    inset: 0 0 auto;
    width: 100%;
    z-index: 997;
    padding: 12px 0;
    background: var(--header-nav-bg);
    box-shadow: var(--shadow-light);
    transition: var(--header-transition);
}

body.scrolled .header__nav {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

/* =========================================================
   TOP CONTACT BAR
========================================================= */
.header__top-left {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header__top-left a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--topbar-txt-color);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--header-transition);
}

.header__top-left a:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.header__top-left strong {
    font-weight: 700;
}

.divider {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
}

.header__top-left a.header-enquiry-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 20px;
    background: var(--tts-buttton-bg);
    color: #fff;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(232, 73, 29, 0.3);
    position: relative;
    overflow: hidden;
}
/* =========================================================
   NAVIGATION WRAPPER
========================================================= */
.nav__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* =========================================================
   LOGO
========================================================= */
.nav__brand {
    flex-shrink: 0;
}

.nav__brand a {
    display: flex;
    align-items: center;
}

.nav__brand img {
    height: var(--logo-height);
    width: 100%;
    object-fit: cover;
    transition: var(--header-transition);
}

.nav__brand:hover img {
    transform: scale(1.03);
}

/* =========================================================
   NAVIGATION LIST
========================================================= */
.nav__list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--nav-gap);
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

/* =========================================================
   NAV ITEMS
========================================================= */
.nav__item {
    position: relative;
    display: flex;
    align-items: center;
}

/* Separator between items */
.nav__item + .nav__item {
    padding-left: 14px;
}

.nav__item + .nav__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.12);
}

/* =========================================================
   NAV LINKS & BUTTONS
========================================================= */
.nav__item > a,
.nav__btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: var(--radius-md, 8px);
    color: var(--white);
    text-decoration: none;
    transition: var(--header-transition);
}

/* =========================================================
   NAV ICONS
========================================================= */
.nav__icon {
    width: var(--icon-size);
    height: var(--icon-size);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--header-transition);
}

.nav__icon i {
    color: var(--header-txt-color);
    font-size: 14px;
    transition: var(--header-transition);
}

.nav__item:hover .nav__icon {
    background: var(--white);
}

.nav__item:hover .nav__icon i {
    color: var(--primary);
}

/* =========================================================
   NAV CONTENT
========================================================= */
.nav__content {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav__heading {
    font-size: 12px;
    font-weight: 700;
    color: var(--header-txt-color);
}

.nav__desc {
    font-size: 11px;
    color: rgba(0, 0, 0, 0.7);
}

/* =========================================================
   HIGHLIGHT ITEMS
========================================================= */
.nav__item--highlight img {
    height: 32px;
    object-fit: contain;
}

/* =========================================================
   CTA BUTTON (LOGIN)
========================================================= */
.nav__cta .nav__btn {
    background: var(--user-gradient);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}

.nav__cta .nav__icon {
    background: var(--white);
}

.nav__cta .nav__icon i {
    color: var(--primary);
}

/* =========================================================
   SHARED DROPDOWN STYLES
========================================================= */
.userDropdown,
.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: var(--dropdown-width);
    background: var(--bg-white);
    border-radius: var(--dropdown-radius);
    box-shadow: var(--dropdown-shadow);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(0);
    transition: var(--dropdown-transition);
}

/* Dropdown Trigger */
.nav-dropdown:hover .userDropdown,
.user-login-btn.dropdown:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* =========================================================
   SHARED USER GREETING
========================================================= */
.userGreeting,
.user-greeting {
    margin: 0;
    padding: 18px 20px;
    background: #f8fbff;
    border-bottom: 1px solid var(--border-light);
    font-size: 13px;
    color: var(--text-dark);
}

.userGreeting strong,
.user-greeting strong {
    display: block;
    margin-top: 5px;
    color: var(--primary);
}

/* =========================================================
   SHARED DROPDOWN LINKS
========================================================= */
.userDropdown a,
.user-dropdown a {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--dropdown-transition);
}

.userDropdown a:not(:last-child),
.user-dropdown a:not(:last-child) {
    border-bottom: 1px solid var(--border-light);
}

.userDropdown a:hover,
.user-dropdown a:hover {
    background: #f7fbff;
}

.userDropdown .icon,
.user-dropdown .icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(6, 106, 130, 0.08);
}

.userDropdown .icon i,
.user-dropdown .icon i {
    color: var(--primary);
}

.userDropdowncontent h4 {
    margin: 0 0 5px;
    font-size: 15px;
    font-weight: 700;
}

.userDropdowncontent p {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-light);
}

/* =========================================================
   STICKY HEADER
========================================================= */
.sticky-header {
    position: fixed;
    inset: 0 0 auto;
    width: 100%;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-light);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: var(--header-transition);
}

body.scrolled .sticky-header {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* =========================================================
   STICKY CONTAINER
========================================================= */
.sticky-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* =========================================================
   STICKY LOGO
========================================================= */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-link img {
    height: var(--logo-height);
    width: 100%;
}

/* =========================================================
   MAIN NAVIGATION
========================================================= */
.main-nav {
    flex: 1;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 6px;
    width: 100% !important;
}

.nav-list li {
    position: relative;
    flex-shrink: 0 !important;
}

/* =========================================================
   STICKY NAV LINKS
========================================================= */
.nav_link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 20px 0;
    max-width: 54px;
    border-radius: var(--radius-md, 8px);
    color: var(--header-txt-color);
    text-decoration: none;
    transition: var(--header-transition);
}

.nav_link i {
    width: 20px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.nav_link i.fa-gem {
    color: var(--primary-light);
}

.nav_link span {
    font-size: 12px;
    font-weight: 400;
    text-align: center;
    line-height: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 60px;
}

/* =========================================================
   MEGA MENU / DROPDOWN
========================================================= */
.more-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bg-white);
    border-radius: var(--dropdown-radius);
    box-shadow: var(--dropdown-shadow);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(14px);
    transition: var(--dropdown-transition);
}

.more-dropdown:hover .more-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Full-width mega menu */
.position-static .more-dropdown-menu {
    width: 100%;
    border-radius: 0 0 20px 20px;
}

/* =========================================================
   MEGA MENU CONTENT
========================================================= */
.col-megamenu {
    padding: 24px;
}

.col-megamenu.Holidays-theme {
    background: #f8fbff;
}

.col-megamenu .title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-medium);
    color: var(--text-dark);
}

.col-megamenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.col-megamenu a {
    display: block;
    padding: 7px 0;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--dropdown-transition);
}

.col-megamenu a:hover {
    color: var(--primary);
    padding-left: 6px;
}

/* =========================================================
   DROPDOWN ITEMS
========================================================= */
.dropdown-item {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--dropdown-transition);
}

.dropdown-item:hover {
    background: #f7fbff;
    color: var(--primary);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    font-size: 18px;
}

/* =========================================================
   USER ACCOUNT SECTION
========================================================= */
.user-account {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-tnpl img {
    height: 38px;
    width: auto;
    transition: var(--header-transition);
}

/* =========================================================
   USER LOGIN BUTTON
========================================================= */
.user-login-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: none;
    border-radius: var(--radius-md, 8px);
    background: var(--user-gradient);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    transition: var(--header-transition);
    line-height: 1;
}

.user-icon {
    width: var(--icon-size);
    height: var(--icon-size);
    border-radius: 50%;
    background: var(--white);
    display: grid;
    place-items: center;
}

.user-icon i {
    color: var(--primary);
}

.dropdown-arrow {
    font-size: 11px;
}

/* =========================================================
   MOBILE TOGGLE
========================================================= */
.offcanvas-toggle {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 12px;
    background: rgba(6, 106, 130, 0.08);
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 18px;
    cursor: pointer;
    transition: var(--header-transition);
}

.offcanvas-toggle:hover {
    background: rgba(6, 106, 130, 0.15);
}

/* =========================================================
   PAY MILES TEXT
========================================================= */
.paymilestxt {
    font-size: 10px;
    font-weight: normal;
}

/* =========================================================
   FOCUS STATES (ACCESSIBILITY)
========================================================= */
.nav__item > a:focus-visible,
.nav__btn:focus-visible,
.nav_link:focus-visible,
.user-login-btn:focus-visible,
.offcanvas-toggle:focus-visible,
.dropdown-item:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* =========================================================
   REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {
    .header,
    .header__nav,
    .sticky-header,
    .nav__brand img,
    .nav__icon,
    .nav__icon i,
    .nav__item > a,
    .nav__btn,
    .userDropdown,
    .user-dropdown,
    .more-dropdown-menu,
    .col-megamenu a,
    .dropdown-item,
    .offcanvas-toggle {
        transition: none !important;
        transform: none !important;
    }
}

/* =========================================================
   RESPONSIVE: LARGE TABLETS
========================================================= */
@media (max-width: 1200px) {
    .nav__content {
        display: none;
    }

    .nav__item > a,
    .nav__btn {
        padding: 8px;
    }
}

/* =========================================================
   RESPONSIVE: TABLETS
========================================================= */
@media (max-width: 992px) {
    .header__top-left {
        display: none;
    }

    .nav__item {
        display: none;
    }

    .nav__item.nav__cta {
        display: flex;
    }

    .sticky-header {
        padding: 10px 0;
    }

    .sticky-header .main-nav,
    .sticky-header .user-account {
        display: none;
    }

    :root {
        --logo-height: 40px;
    }
}

/* =========================================================
   RESPONSIVE: MOBILE
========================================================= */
@media (max-width: 768px) {
    .header__nav {
        padding: 10px 0;
    }

    :root {
        --dropdown-width: 280px;
    }
}

/* =========================================================
   RESPONSIVE: SMALL MOBILE
========================================================= */
@media (max-width: 480px) {
    .nav__item + .nav__item::before {
        display: none;
    }

    :root {
        --logo-height: 34px;
        --dropdown-width: 250px;
    }
}

/* =========================================================
   MOBILE OFFCANVAS MENU
========================================================= */
.header .mobile-menu {
    background: #0a223d;
    color: #fff;
}

.header .mobile-menu.offcanvas-start {
    width: 320px;
}

/* Offcanvas Header */
.header .mobile-menu .offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header .mobile-menu .offcanvas-title {
    font-size: 18px;
    font-weight: 600;
}

.header .mobile-menu .btn-close {
    filter: invert(1);
}

/* =========================================================
   MOBILE NAVIGATION
========================================================= */
.header .mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.header .mobile-nav li {
    margin-bottom: 6px;
}

.header .mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 8px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: var(--dropdown-transition);
}

.header .mobile-nav a span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header .mobile-nav a i {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hover & Active States */
.header .mobile-nav a:hover,
.header .mobile-nav a.active {
    background: var(--user-gradient);
    transform: translateX(4px);
    padding-left: 14px;
}

/* =========================================================
   MOBILE SUBMENU
========================================================= */
.header .has-submenu > a {
    cursor: pointer;
}

.header .submenu-toggle i.fa-chevron-down {
    transition: transform 0.3s ease;
}

.header .has-submenu > a[aria-expanded="true"] i.fa-chevron-down {
    transform: rotate(180deg);
}

.header .submenu {
    padding: 8px 10px 10px;
    margin-top: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.header .submenu-section {
    margin-bottom: 12px;
}

.header .submenu-section h6 {
    font-size: 11px;
    font-weight: 600;
    color: #53b2fe;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.header .submenu-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.header .submenu-section li a {
    display: block;
    padding: 6px 8px;
    font-size: 13px;
    color: #ddd;
    border-radius: 6px;
}

.header .submenu-section li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: none;
    padding-left: 8px;
}

/* Submenu Links */
.header .submenu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    font-size: 13px;
    border-radius: 6px;
    color: #ddd;
    text-decoration: none;
    transition: var(--dropdown-transition);
}

.header .submenu-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* =========================================================
   MOBILE USER ACCOUNT
========================================================= */
.header .mobile-user-account {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.header .mobile-user-account .nav-tnpl {
    margin-bottom: 15px;
}

.header .mobile-user-account .nav-tnpl img {
    width: 100%;
    max-width: 80px;
}

.header .mobile-user-account .user-login-btn {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
}

.header .mobile-user-account .user-login-btn:hover {
    opacity: 0.9;
}

.header .mobile-user-account .user-icon {
    width: 32px;
    height: 32px;
    background: #fff;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* User Profile Box */
.header .mobile-user-account .user-profile-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 10px;
}

.header .mobile-user-account .user-info {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.header .mobile-user-account .user-info .user-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
}

.header .mobile-user-account .user-info small {
    display: block;
    font-size: 11px;
    opacity: 0.7;
}

/* User Actions */
.header .mobile-user-account .user-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.header .mobile-user-account .user-actions a {
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    transition: var(--dropdown-transition);
}

.header .mobile-user-account .user-actions a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(3px);
}

/* =========================================================
   MOBILE SCROLLBAR
========================================================= */
.header .mobile-menu .offcanvas-body::-webkit-scrollbar {
    width: 6px;
}

.header .mobile-menu .offcanvas-body::-webkit-scrollbar-track {
    background: transparent;
}

.header .mobile-menu .offcanvas-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.header .mobile-menu .offcanvas-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}