/* New Landing Header Styles */
.new-landing-header {
    background: linear-gradient(90deg, #1f3880 0%, #0f204d 100%); /* Gradient background for desktop */
    padding: 10px 0; /* Reduced padding to make header shorter */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); /* More prominent shadow */
    position: relative;
    z-index: 100;
}

.new-landing-header__inner {
    display: flex;
    justify-content: space-between; /* Distribute space between items */
    align-items: center; /* Vertically align items in the middle */
}

.new-landing-header__brand {
    display: flex; /* Use flex for logo itself if needed for internal alignment */
    align-items: center;
    flex-shrink: 0; /* Prevent shrinking */
}

.new-landing-header__logo img {
    width: 200px; /* Set explicit width to 200px */
    height: auto; /* Maintain aspect ratio */
    max-height: 50px; /* Adjust as needed, but width takes precedence */
    /* margin-right: 20px; Removed as phone is now separate */
    display: block; /* Ensure it's a block element */
    /* Removed filter: brightness(0) invert(1); */
}

.new-landing-header__contact {
    flex-grow: 1; /* Allow contact to take available space */
    text-align: center; /* Center the phone number */
    flex-shrink: 0; /* Prevent shrinking */
}

.new-landing-header__contact .hotline-link {
    color: #fff; /* White text for phone */
    text-decoration: none;
    font-weight: bold;
    display: inline-flex; /* Use inline-flex to center and align icon/text */
    align-items: center;
    padding: 5px 10px; /* Add some padding */
    border-radius: 5px; /* Slightly rounded corners */
    background-color: rgba(255, 255, 255, 0.1); /* Subtle background */
}

.new-landing-header__contact .hotline-link i {
    margin-right: 8px;
    font-size: 1.2em;
    color: #fff; /* White icon */
}

.new-landing-header__nav-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Prevent shrinking */
    height: 100%; /* Ensure it takes full height of its flex container */
}

.new-landing-header__nav {
    display: block; /* Show by default on desktop */
    height: 100%; /* Ensure it takes full height */
}

.new-landing-header__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    height: 100%; /* Ensure it takes full height */
    align-items: center; /* Vertically align menu items */
}

.new-landing-header__menu .menu-item {
    position: relative;
    margin-left: 30px; /* Increased spacing between menu items */
    margin-bottom: 0; /* Remove default margin-bottom */
    display: flex; /* Use flex for menu item to align content */
    align-items: center; /* Vertically align link and caret */
    height: 100%; /* Ensure it takes full height */
}

.new-landing-header__menu .menu-item > a {
    display: flex; /* Use flex for the link itself */
    align-items: center; /* Vertically align text and caret */
    padding: 0 0; /* Remove vertical padding, rely on parent height */
    color: #fff; /* White text for menu items */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    text-transform: uppercase; /* Uppercase as in image */
    font-size: 0.95em; /* Slightly smaller font size */
    height: 100%; /* Ensure it takes full height */
}

.new-landing-header__menu .menu-item > a:hover {
    color: #a0a0a0; /* Lighter color on hover */
}

/* Submenu */
.new-landing-header__menu .has-submenu > a::after {
    content: '\f0d7'; /* FontAwesome caret-down */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 8px;
    font-size: 0.8em;
    vertical-align: middle;
}

.new-landing-header__menu .has-submenu .sub-menu {
    display: none;
    position: absolute;
    background-color: #1f3880; /* Dark background for submenu */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    list-style: none;
    margin: 0;
    padding: 10px 0;
    min-width: 200px;
    z-index: 101;
    top: 100%;
    left: 0;
    border-radius: 0 0 5px 5px; /* Rounded bottom corners */
}

.new-landing-header__menu .has-submenu:hover > .sub-menu {
    display: block;
}

.new-landing-header__menu .sub-menu .menu-item {
    margin: 0;
}

.new-landing-header__menu .sub-menu .menu-item a {
    padding: 8px 20px;
    color: #fff; /* White text for submenu items */
    text-decoration: none;
    display: block;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: normal;
    text-transform: none; /* No uppercase for submenu */
}

.new-landing-header__menu .sub-menu .menu-item a:hover {
    background-color: transparent; /* No background change on hover */
    color: #a0a0a0; /* Lighter color on hover for text */
}

/* Mobile Toggle Button */
.new-landing-header__mobile-toggle {
    display: none; /* Hidden by default on desktop */
    background: none;
    border: none;
    font-size: 1.8em;
    color: #fff; /* White icon for mobile toggle */
    cursor: pointer;
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
    line-height: 1;
}

/* Mobile Menu Overlay */
.new-landing-header__mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.new-landing-header__mobile-menu-overlay.is-active {
    display: block;
    opacity: 1;
}

/* Mobile Menu */
.new-landing-header__mobile-menu {
    position: fixed;
    top: 0;
    right: -300px; /* Start off-screen */
    width: 300px; /* Width of mobile menu */
    height: 100%;
    background: linear-gradient(180deg, #1f3880 0%, #0f204d 100%); /* More distinct gradient */
    box-shadow: -5px 0 15px rgba(0,0,0,0.3); /* More prominent shadow */
    z-index: 1001;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.new-landing-header__mobile-menu.is-active {
    right: 0; /* Slide in */
}

.new-landing-header__mobile-close {
    background: 0 0; /* Updated background */
    border: none;
    font-size: 1.8em;
    color: #fff; /* White icon for close button */
    cursor: pointer;
    padding: 0px; /* Updated padding */
    line-height: 1;
    position: absolute;
    top: 15px;
    right: 0px; /* Updated right position */
}

.new-landing-header__mobile-menu-list {
    list-style: none;
    margin: 50px 0 0 0; /* Space for close button */
    padding: 0;
}

.new-landing-header__mobile-menu-list .menu-item {
    margin-bottom: 0; /* Remove margin-bottom */
}

.new-landing-header__mobile-menu-list .menu-item a {
    display: block;
    padding: 10px 0;
    line-height: 1.8; /* Increased line-height for better readability */
    color: #fff; /* White text for mobile menu items */
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.1); /* Lighter border for separation */
}

.new-landing-header__mobile-menu-list .menu-item a:hover {
    color: #a0a0a0;
}

.new-landing-header__mobile-menu-list .has-submenu > a {
    position: relative;
}

.new-landing-header__mobile-menu-list .has-submenu > a::after {
    content: '\f0d7'; /* FontAwesome chevron-down */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    color: #fff; /* White icon */
}

.new-landing-header__mobile-menu-list .has-submenu.submenu-open > a::after {
    transform: translateY(-50%) rotate(180deg);
}

.new-landing-header__mobile-menu-list .sub-menu {
    list-style: none;
    padding: 10px 0 0 20px;
    margin: 0;
    display: none; /* Hidden by default */
    background-color: transparent; /* No background for submenu */
}

.new-landing-header__mobile-menu-list .sub-menu .menu-item a {
    padding: 8px 0;
    font-weight: normal;
    font-size: 0.9em;
    border-bottom: none;
}

/* Prevent body scroll when mobile menu is open */
body.no-scroll {
    overflow: hidden;
}


@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .new-landing-header__nav {
        display: none; /* Hide desktop nav on mobile */
    }

    .new-landing-header__mobile-toggle {
        display: block; /* Show mobile toggle on mobile */
    }

    .new-landing-header__top-bar {
        margin-right: 10px; /* Adjust spacing */
    }
    .new-landing-header__logo img {
        width: 150px; /* Smaller logo on mobile */
        max-height: 40px; /* Adjust max height for mobile */
        margin-right: 10px; /* Adjust spacing for mobile */
    }

    .new-landing-header__inner {
        justify-content: space-between; /* Keep space-between for main alignment */
    }

    .new-landing-header__contact {
        flex-grow: 0; /* Prevent it from growing too much */
        margin-right: 15px; /* Add space between phone and nav toggle */
    }

    /* Ensure no margin-bottom on mobile menu list items */
    .new-landing-header__mobile-menu-list .menu-item {
        margin-bottom: 0 !important;
    }
}

/* Styles for the sticky header state */
.new-landing-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    animation: slideDown 0.35s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}


