.site-header-new {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    height: 54px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(14px);
    background: rgba(0, 0, 0, 0.94);
    transition: 0.3s;
    font-family: 'Inter', sans-serif;
}
.header-inner-new {
    max-width: 1033px;
    height: 54px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}
.header-left-new {
    display: flex;
    align-items: center;
}
.header-logo-new {
    display: flex;
    align-items: center;
    margin-right: 24px;
}
.header-logo-new a {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
}
.header-logo-new img {
    max-width: 130px;
    max-height: 28px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.header-search-new {
    margin-right: 48px;
}
.search-form-new {
    position: relative;
    display: flex;
    align-items: center;
}
.search-icon-new {
    position: absolute;
    left: 12px;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}
.search-field-new {
    width: 220px;
    height: 36px;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding-left: 38px;
    padding-right: 12px;
    color: #fff;
    font-size: 13px;
    outline: none;
    transition: 0.2s ease;
}
.search-field-new::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.search-field-new:hover {
    background: #191919;
}
.search-field-new:focus {
    border-color: #2f80ff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.20);
}
.header-nav-new ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 24px;
}
.header-nav-new {
    margin-right: 32px;
}
.header-nav-new a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    line-height: normal;
    transition: color 0.25s ease;
}
.header-nav-new a:hover {
    color: #3b82f6;
}
.header-nav-new .current-menu-item > a, .header-nav-new .current_page_item > a {
    color: #ffffff;
}
.header-right-new {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.header-login-btn {
    background: #2F6BFF;
    color: #ffffff;
    height: 36px;
    padding: 0 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: transform 0.25s, background-color 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    margin-right: 18px;
}
.header-login-btn:hover {
    background: #3D7CFF;
    transform: translateY(-1px);
    color: #ffffff;
}
.header-hamburger-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    transition: opacity 0.2s;
}
.header-hamburger-btn:hover {
    opacity: 0.8;
}

/* Responsive Tablet */
@media (max-width: 1024px) {
    .search-field-new {
        width: 200px;
    }
    .header-nav-new ul {
        gap: 20px;
    }
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .header-nav-new {
        display: none;
    }
    .search-field-new {
        width: 100%;
        max-width: 200px;
    }
    .header-login-btn {
        display: none; /* Can be put in offcanvas instead */
    }
    .header-right-new {
        gap: 15px;
    }
    .header-search-new {
        margin-left: 10px;
        flex: 1;
        display: flex;
        justify-content: center;
    }
}

/* ==========================================================================
   Secondary Navigation
   ========================================================================== */
.site-secondary-nav {
    background: #FFFFFF;
    width: 100%;
}
.secondary-nav-inner {
    max-width: 1033px;
    height: 44px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
}
.secondary-nav-inner::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    border-bottom: 1px solid #EAEAEA;
}
.secondary-nav-inner ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 40px;
}
.secondary-nav-inner li {
    display: flex;
    align-items: center;
}
.secondary-nav-inner a {
    color: #1D4ED8;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    line-height: 22px;
    letter-spacing: 0;
    position: relative;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    height: 44px;
}
.secondary-nav-inner a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #2563EB;
    transition: all 0.25s ease;
    transform: translateX(-50%);
}
.secondary-nav-inner a:hover {
    color: #2563EB;
}
.secondary-nav-inner a:hover::after {
    width: 100%;
}
.secondary-nav-inner a:focus {
    outline: 2px solid #2563EB;
    outline-offset: -2px;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .secondary-nav-inner ul {
        gap: 24px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .site-secondary-nav {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        background: #f2f4f7;
        padding: 10px 0;
    }
    .site-secondary-nav::-webkit-scrollbar {
        display: none;
    }
    .secondary-nav-inner {
        justify-content: flex-start;
        width: max-content;
        padding-left: 16px;
        padding-right: 16px;
        height: auto;
    }
    .secondary-nav-inner::before {
        display: none;
    }
    .secondary-nav-inner ul {
        gap: 8px;
    }
    .secondary-nav-inner a {
        background: #ffffff;
        color: #1a56db;
        border: 1px solid #1a56db;
        border-radius: 6px;
        height: 30px;
        padding: 0 14px;
        line-height: 28px;
        font-size: 13px;
        display: flex;
        align-items: center;
    }
    .secondary-nav-inner a::after {
        display: none;
    }
    .secondary-nav-inner a:hover {
        background: #1a56db;
        color: #ffffff;
    }
}

/* Specific Mobile Header Styles */
.site-header-mobile {
    background-color: #000;
    color: #fff;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 999;
}
.mobile-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 56px;
    padding: 0 16px;
}
.mobile-header-left, .mobile-header-right {
    display: flex;
    align-items: center;
    width: 44px; /* fixed width to ensure perfect center alignment for logo */
}
.mobile-header-right {
    justify-content: flex-end;
}
.mobile-header-center {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.mobile-header-center img {
    height: 36px;
    width: auto;
}
.mobile-header-center a {
    color: #fff;
    font-weight: 800;
    font-size: 32px;
    text-decoration: none;
    letter-spacing: -1.5px;
}
.header-hamburger-btn, .mobile-search-btn {
    background: transparent;
    border: none;
    color: #fff;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-hamburger-btn svg {
    width: 26px;
    height: 26px;
}
.mobile-search-btn svg {
    width: 22px;
    height: 22px;
}
/* Dropdown search */
.mobile-search-dropdown {
    display: none;
    background-color: #111;
    padding: 12px 16px;
    border-top: 1px solid #333;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-sizing: border-box;
}
.mobile-search-dropdown.active {
    display: block;
}
.mobile-search-dropdown .search-form-mobile {
    position: relative;
    display: flex;
    align-items: center;
}
.search-dropdown-icon {
    position: absolute;
    left: 16px;
    z-index: 2;
}
.mobile-search-dropdown .search-field-pill {
    width: 100%;
    background-color: #f2f3f5;
    color: #333;
    border: none;
    padding: 12px 16px 12px 42px;
    border-radius: 25px;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    font-family: var(--font-body);
}
.mobile-search-dropdown .search-field-pill::placeholder {
    color: #888;
}
.mobile-search-dropdown .search-field-pill:focus {
    outline: 2px solid #ddd;
    outline-offset: 2px;
}
