/* Mega Header Styles (Namespaced with #header) */
#header.new-corp-header {
    background: #002147;
        z-index: 1001;
    position: relative;
    z-index: 1000;
    width: 100%;
}
#header.new-corp-header .wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
#header.new-corp-header .columns {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    height: 100px;
}
#header.new-corp-header .col.logo {
    flex: 0 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
}
#header.new-corp-header .col.logo .logo-container img {
    height: 50px;
    width: auto;
}
#header.new-corp-header .col.menu {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

/* Utility Links Row */
#header.new-corp-header .utility-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
#header.new-corp-header .utility-row {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
#header.new-corp-header .utility-links {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-bottom: 2px;
    display: flex;
    align-items: center;
}
#header.new-corp-header .utility-links li {
    margin: 0;
    padding: 0;
}
#header.new-corp-header .utility-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    padding: 0 8px;
}
#header.new-corp-header .utility-links li a:hover {
    text-decoration: underline;
}
#header.new-corp-header .utility-links li.separator {
    color: #fff;
    font-size: 12px;
}

/* Search and Login Row */
#header.new-corp-header .search-login-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
#header.new-corp-header .header-search-form {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}
#header.new-corp-header .search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 0 16px;
    height: 30px;
    width: 280px;
    transition: all 0.3s ease;
}
#header.new-corp-header .search-input-wrapper:focus-within {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}
#header.new-corp-header .search-input-wrapper input[type="text"] {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    font-size: 14px;
    color: #fff;
    outline: none;
}
#header.new-corp-header .search-input-wrapper input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}
#header.new-corp-header .search-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.75);
    margin-left: 8px;
    pointer-events: none;
}
#header.new-corp-header .header-search-form .search-btn {
    background: #0052d9;
    color: #fff;
    border: none;
    padding: 0 20px;
    height: 32px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.1s ease;
}
#header.new-corp-header .header-search-form .search-btn:hover {
    background: #0045be;
}
#header.new-corp-header .header-search-form .search-btn:active {
    background: #003da6;
    transform: scale(0.98);
}

/* Login Dropdown */
#header.new-corp-header .header-login {
    position: relative;
}
#header.new-corp-header .login-toggle {
    background: #0052d9;
    color: #fff;
    border: none;
    padding: 0 20px;
    height: 32px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}
#header.new-corp-header .login-toggle:hover {
    background: #0045be;
}
#header.new-corp-header .login-toggle:active {
    background: #003da6;
    transform: scale(0.98);
}
#header.new-corp-header .login-toggle .chevron-down {
    display: inline-block;
    vertical-align: middle;
}
#header.new-corp-header .login-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    list-style: none;
    margin: 0;
    padding: 5px 0;
    min-width: 120px;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    border-radius: 4px;
    z-index: 1001;
}
#header.new-corp-header .login-menu.show {
    display: block;
}
#header.new-corp-header .login-menu li a {
    display: block;
    padding: 5px 15px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
}
#header.new-corp-header .login-menu li a:hover {
    background: #f5f5f5;
}

/* Mega Menu Core */
#header.new-corp-header .mega-menu-wrap {
    width: 100%;
}
#header.new-corp-header .mega-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}
#header.new-corp-header .mega-menu-item {
    margin: 0;
    padding: 0;
    position: relative;
}
#header.new-corp-header .mega-menu-link {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    display: block;
     padding-top: 8px;
    padding-bottom: 8px;
}
#header.new-corp-header .mega-menu-link:hover {
    opacity: 0.8;
}
#header.new-corp-header .mega-indicator {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 5px;
    vertical-align: middle;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

/* Mega Menu Dropdown */
#header.new-corp-header .mega-sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    width: 900px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1001;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}
#header.new-corp-header .mega-menu-item.has-children:hover .mega-sub-menu {
    display: block;
}
#header.new-corp-header .mega-menu-row {
    width: 100%;
}
#header.new-corp-header .mega-sub-menu-cols {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
#header.new-corp-header .mega-menu-column {
    flex: 1;
    padding: 0 15px;
}
#header.new-corp-header .col-title {
    display: block;
    font-weight: bold;
    font-size: 16px;
    color: #002147;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}
#header.new-corp-header .col-title a{
    color: #002147;
    text-decoration: none;
}
#header.new-corp-header .mega-sub-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
#header.new-corp-header .mega-sub-menu-list li {
    margin-bottom: 8px;
}
#header.new-corp-header .mega-sub-menu-list li a {
    color: #666;
    text-decoration: none;
    font-size: 15px;
    display: block;
}
#header.new-corp-header .mega-sub-menu-list li a:hover {
    color: #007bff;
}

/* Mobile Toggle */
#header.new-corp-header .mega-menu-toggle {
    display: none;
}
#header.new-corp-header .mega-toggle-animated {
    background: transparent;
    border: none;
    cursor: pointer;
}
#header.new-corp-header .mega-toggle-animated-box {
    display: inline-block;
    width: 30px;
    height: 24px;
    position: relative;
}
#header.new-corp-header .mega-toggle-animated-inner,
#header.new-corp-header .mega-toggle-animated-inner::before,
#header.new-corp-header .mega-toggle-animated-inner::after {
    width: 100%;
    height: 3px;
    background-color: #fff;
    position: absolute;
    left: 0;
    transition: all 0.2s ease;
}
#header.new-corp-header .mega-toggle-animated-inner { top: 50%; transform: translateY(-50%); }
#header.new-corp-header .mega-toggle-animated-inner::before { content: ""; top: -8px; }
#header.new-corp-header .mega-toggle-animated-inner::after { content: ""; top: 8px; }

/* Mobile View adjustments */
@media (max-width: 991px) {
    #header.new-corp-header .mega-menu-toggle {
        display: block;
    }
    #header.new-corp-header .mega-menu-wrap .wrapper {
        min-height: 56px;
    }
    #header.new-corp-header .col.menu {
        align-items: flex-end;
    }
    #header.new-corp-header .mega-menu {
        display: none; /* Hide desktop menu */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: -20px;
        width: calc(100% + 40px);
        background: #002147;
        z-index: 1001;
        padding: 10px 0;
    }
    #header.new-corp-header .mega-menu.show-mobile {
        display: flex;
    }
    #header.new-corp-header .mega-sub-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        padding: 10px;
    }
    #header.new-corp-header .mega-sub-menu-cols {
        flex-direction: column;
    }
    #header.new-corp-header .mega-menu-item.has-children:hover .mega-sub-menu {
        display: none; /* disable hover on mobile */
    }
    #header.new-corp-header .mega-menu-item.has-children.mobile-open .mega-sub-menu {
        display: block;
    }
    
    #header.new-corp-header .utility-container {
        display: none; /* move into hamburger if needed, or adjust */
    }
    /* Let's show utility container but stacked on mobile or we can hide it for simplicity unless toggled */
}

@media (max-width: 991px) {
    #header.new-corp-header .utility-container {
        display: none; 
    }
    #header.new-corp-header .mega-menu.show-mobile {
        display: flex;
        flex-direction: column;
    }
    #header.new-corp-header .mega-menu-item a.mega-menu-link {
        color: #fff !important;
    }
    #header.new-corp-header .mobile-utility {
        display: block;
        padding: 15px;
        background: #001a38;
    }
    #header.new-corp-header .mobile-utility .utility-links {
        flex-wrap: wrap;
        margin-bottom: 15px;
    }
    #header.new-corp-header .mobile-utility .utility-links li a {
        padding: 5px 10px;
        display: inline-block;
    }
    #header.new-corp-header .mobile-utility .search-login-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    #header.new-corp-header .mobile-utility .header-search-form {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        margin-right: 0;
        margin-bottom: 10px;
    }
    #header.new-corp-header .mobile-utility .search-input-wrapper {
        flex: 1;
    }
    #header.new-corp-header .mobile-utility .header-search-form .search-btn {
        width: auto;
        white-space: nowrap;
    }
    #header.new-corp-header .mobile-utility .login-toggle {
        width: 100%;
    }
    #header.new-corp-header .mobile-utility .header-login {
        width: 100%;
    }
}
@media (min-width: 992px) {
    #header.new-corp-header .mobile-utility {
        display: none;
    }
}


/* #mega-menu-wrap-header-menu .mega-menu > li > a.mega-menu-link {
    color: #000 !important;
} */
#mega-menu-wrap-header-menu {
    border-top: 1px solid #ccc;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.12);
}
#mega-menu-wrap-header-menu .mega-sub-menu {
    position: absolute !important;
    left: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
}
@media (min-width: 992px) {
    #mega-menu-wrap-header-menu .mega-menu-item {
        position: static !important;
    }
    #mega-menu-wrap-header-menu .mega-menu {
        justify-content: center !important;
        align-items: center !important;
        text-align: left !important;
        display: flex !important;
        margin: 0 !important;
        padding: 0 !important;
        flex: 1 1 auto;
        order: 1;
    }
    #mega-menu-wrap-header-menu .mega-menu > .mega-menu-item + .mega-menu-item > .mega-menu-link {
        position: relative;
        padding-left: 20px;
    }
    #mega-menu-wrap-header-menu .mega-menu > .mega-menu-item + .mega-menu-item > .mega-menu-link::before {
        content: '';
        position: absolute;
        left: -12px;
        top: 50%;
        transform: translateY(-50%);
        height: 1em;
        border-left: 2px solid #ccc;
    }
}

@media (max-width: 991px) {
    #mega-menu-wrap-header-menu .mega-menu {
        display: none !important;
        justify-content: flex-start !important;
        text-align: left !important;
        margin: 0 !important;
        padding: 0 !important;
        flex-direction: column;
    }
    #mega-menu-wrap-header-menu .mega-menu > .mega-menu-item + .mega-menu-item {
        border-top: 1px solid rgba(255,255,255,0.25);
    }
    #mega-menu-wrap-header-menu .mega-menu.show-mobile {
        display: flex !important;
        position: absolute;
        top: 100%;
        left: -20px;
        width: calc(100% + 40px);
        background: #002147;
        z-index: 1001;
    }
    #mega-menu-wrap-header-menu {
        background: transparent !important;
        border-top: none !important;
        padding: 0 20px !important;
    }
    #mega-menu-wrap-header-menu .mega-toggle-animated-box,
    #mega-menu-wrap-header-menu .mega-toggle-animated-inner,
    #mega-menu-wrap-header-menu .mega-toggle-animated-inner::before,
    #mega-menu-wrap-header-menu .mega-toggle-animated-inner::after {
        background-color: #fff !important;
    }
    #mega-menu-wrap-header-menu .mega-menu > li > a.mega-menu-link {
        color: #fff !important;
    }
    #mega-menu-wrap-header-menu .mega-menu-toggle {
        display: none !important;
    }
    #mega-menu-wrap-header-menu .wrapper {
        min-height: 0 !important;
    }
}

#mega-menu-wrap-header-menu .wrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}
#mega-menu-wrap-header-menu .logo-link {
    display: none !important;
}

.mobile-menu-toggle {
    display: block;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: 12px;
    flex-shrink: 0;
}
.mobile-menu-toggle .hamburger-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.25s ease;
}
.mobile-menu-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none;
    }
}

#mega-menu-wrap-header-menu .mega-menu {
    position: relative;
}
#mega-menu-wrap-header-menu .mega-menu-logo {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}
#mega-menu-wrap-header-menu .mega-menu-logo a {
    display: flex;
    align-items: center;
}
#mega-menu-wrap-header-menu .mega-menu-logo img {
    height: 38px;
    width: auto;
}
@media (max-width: 991px) {
    #mega-menu-wrap-header-menu .mega-menu-logo {
        display: none !important;
    }
}

@media (min-width: 992px) {
        #mega-menu-wrap-header-menu .mega-menu > li.mega-menu-item.has-children {
            background: var(--oxblue, #011e41);
            border-radius: 8px;
            margin: 4px 12px;
            padding: 0 12px;
        }
    #mega-menu-wrap-header-menu .mega-menu > li.mega-menu-item.has-children > a.mega-menu-link {
        color: #fff !important;
    }
        #mega-menu-wrap-header-menu .mega-menu-item > a{
        background: var(--oxblue, #011e41);
        border-radius: 8px;
        margin: 4px 12px;
        padding: 8px 12px;
        color: #fff !important;
    }
}

#header.new-corp-header .mega-menu-link {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    display: block;
    padding-top: 8px;
    padding-bottom: 8px;
}
#mega-menu-header-menu .mega-menu-item.menu-1-mega .mega-menu-link{
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    display: block;
    margin:0;
    padding: 0;
    padding-top: 8px;
    padding-bottom: 8px;
}

header .logo{
    margin-top:0;
}
@media (min-width: 992px) {
   
    [lang="en"] #mega-menu-header-menu .mega-menu-item .mega-menu-link {
        font-size:14px ;
    }
}