.wl-main-header {
    background: #ffffff;
    backdrop-filter: blur(40px);
    border-bottom: 1px solid #F0F6FA;
    position: sticky;
    top: 0;
    z-index: 50;
}

header {
    position: sticky;
    top: 0;
    z-index: 99;
    border-bottom: 1px solid #C7C0C0;
}

body.admin-bar header {
    top: 32px;
}

.wl-main-header .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: relative;
}

.wl-main-header .wl-logo {
    display: flex;
    align-items: center;
}

.wl-main-header .logo-icon {
    display: flex;
    width: 208px;
    height: 20px;
}

.wl-main-header .logo-icon img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* NAV (DESKTOP) */
.wl-main-header .main-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 24px;
    font-size: 14px;
}

.wl-main-header .main-nav a {
    text-decoration: none;
    font-family: "Inter", Sans-serif;
    color: #333333;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding: 10px;
}

.wl-main-header .wl-nav-item {
    position: relative;
    cursor: pointer;
}

.wl-main-header .wl-nav-item > a.with-arrow::after {
    content: "\f078"; /* fa-chevron-down */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    margin-left: 4px;
    position: relative;
    top:0;
}
.wl-main-header .wl-nav-item>a[aria-expanded="true"] {
    color: #009EF7;
}
.wl-main-header .comming-soon {
    font-family: "Inter", Sans-serif;
    color: #0092E5;
    font-size: 14px;
}
/* LOGIN BUTTON */
.login-button-desktop {
    font-family: "Inter", Sans-serif;
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    background: #009EF7;
    color: #FFFFFF;
    padding: 10px 19px;
    border-radius: 32px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
    cursor: pointer;
}

.login-button-desktop:hover {
    color: #FFFFFF;
}

.user-image {
    width: 18px;
    height: 18px;
}

.desktop-login-arrow {
    font-size: 15px;
}

/* DESKTOP DROPDOWN */

.wl-main-header .wl-nav-item.has-mega {
    position: static;
}

.wl-main-header .mega-menu {
    position: absolute;
    top: 83%;
    left: 0;
    right: 0;
    margin-top: 16px;
    background: transparent;
    padding: 0;
    z-index: 20;
}

.wl-main-header .mega-menu {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.wl-main-header .wl-nav-item>a[aria-expanded="true"]+.mega-menu {
    opacity: 1;
    pointer-events: auto;
}

.comming-soon {
    font-family: "Inter", Sans-serif;
    color: #0092e5;
    font-size: 14px;
}

/*  PRODUCT Dropdwon (desktop)  */

.wl-main-header .wl-products {
    max-width: 1000px;
    background: #fafafa;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    gap: 25px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
    margin: 0 auto;
    position: relative;
}

.wl-main-header .wl-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wl-main-header .wl-col-left {
    flex-basis: 35%;
}

.wl-main-header .wl-col-right {
    flex: 1;
}

.wl-main-header .wl-col-header {
    display: flex;
    align-items: center;
    position: relative;
}

.wl-main-header .wl-tag {
    font-size: 12px;
    font-weight: 700;
    font-family: "Inter", Sans-serif;
    text-transform: uppercase;
    line-height: 14px;
    padding: 7px 19px;
    border-radius: 4px;
    color: #fff;
    border: none;
}

.wl-main-header .wl-tag-global {
    background: #5a7baf;
}

.wl-main-header .wl-tag-india {
    background: #f4a53a;
}

.wl-main-header .wl-header-line,
.wl-mobile-header .wl-header-line {
    flex: 1;
    border-bottom: 1px solid #d4dce3;
}

.wl-main-header .wl-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wl-main-header .wl-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 10px;
}

.wl-main-header .wl-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    padding: 4px 2px;
    border-radius: 8px;
    cursor: pointer;
}

.wl-main-header .wl-item:hover {
    background: #D1E8F4;
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

.wl-main-header .wl-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wl-main-header .wl-icon-wrap img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.wl-main-header .wl-title {
    margin: 0 0 6px 0;
    font-family: "Inter", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.1;
    color: #1E1E1E;
}

.wl-main-header .wl-desc {
    margin: 0;
    font-family: "Inter", Sans-serif;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
    color: #444444;
}

/* SOLUTION TAB Dropdown*/

.wl-main-header #solution-dropdown.solution-tabs {
    display: flex;
    max-width: 1200px;
    border: 1px solid #d4dce3;
    border-radius: 8px;
    font-family: "Inter", Sans-serif;
    background: #ffffff;
    margin: 0 auto;
}

/* LEFT SIDE – tabs */
.wl-main-header #solution-dropdown .tabs-heading {
    max-width: 320px;
    width: 30%;
    padding: 8px;
    border-right: 1px solid #d4dce3;
    background: #fafafa;
    border-radius: 7px;
}

.wl-main-header #solution-dropdown .tab-title {
    font-family: "Inter", Sans-serif;
    width: 100%;
    max-width: 300px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 26px;
    margin-bottom: 5px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #1E1E1E;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.wl-main-header #solution-dropdown .tab-title i {
    font-size: 16px;
    margin-left: 40px;
    color: #1E1E1E;
}

.wl-main-header #solution-dropdown .tab-title:hover {
    background-color: #d1e8f4;
}

.wl-main-header #solution-dropdown .tab-title.active {
    background-color: #d1e8f4;
}

.wl-main-header #solution-dropdown .tab-title.active span,
.wl-main-header #solution-dropdown .tab-title.active i {
    color: #2873b9;
}

/* RIGHT SIDE – content */
.wl-main-header #solution-dropdown .tabs-content {
    flex: 1;
    padding: 20px 30px;
}

.wl-main-header #solution-dropdown .tab-panel,
.wl-mobile-header #solution-dropdown-mobile .tab-panel {
    display: none;
}

.wl-main-header #solution-dropdown .tab-panel.active,
.wl-mobile-header #solution-dropdown-mobile .tab-panel.active {
    display: block;
}

/* Right side cards – Cloud Accounting content */
.wl-main-header #solution-dropdown .solution-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
    row-gap: 15px;
}

.wl-main-header #solution-dropdown .solution-a {
    padding: 0;
}

.wl-main-header #solution-dropdown .solution-item {
    display: flex;
    align-items: flex-start;
    background: #ff000000;
    padding: 15px;
    border-radius: 10px;
    transition: background-color 0.2s ease, box-shadow 0.2s ease,
        transform 0.15s ease;
}

.wl-main-header #solution-dropdown .solution-item:hover {
    background-color: #D1E8F4;
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

.wl-main-header #solution-dropdown .solution-icon {
    flex: 0 0 auto;
    margin-right: 10px;
}

.wl-main-header #solution-dropdown .solution-icon img {
    width: 34px;
    height: 34px;
    display: block;
}

/* Text style */
.wl-main-header #solution-dropdown .solution-text h4 {
    margin: 0 0 6px 0;
    font-family: "Inter", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.1;
    color: #1E1E1E;
}

.wl-main-header #solution-dropdown .solution-text p {
    margin: 0;
    font-family: "Inter", Sans-serif;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
    color: #444444;
}

/* ---------- Resources/Company dropdown (desktop) ---------- */
.wl-main-header .resources-dropdown {
    position: absolute;
    top: 43px;
    left: 100%;
    transition: opacity 0.18s ease;
    transform: translateX(-50%) translateY(7px);
    width: 320px;
    background: #ffffff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 18px 35px rgba(8, 16, 30, 0.18);
    border: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 60;
    opacity: 0;
    pointer-events: none;
}

/* show state controlled by aria-expanded on the trigger */
.wl-main-header .wl-nav-item>a[aria-expanded="true"]+.resources-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(8px);
}

/* inner layout */
.wl-main-header .resources-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wl-main-header .resources-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-radius: 10px;
    text-decoration: none;
}

.wl-main-header .resources-item:hover {
    background: #D1E8F4;
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

.wl-main-header .resources-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fff;
}

.wl-main-header .resources-icon img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.wl-main-header .resources-body {
    display: flex;
    flex-direction: column;
}

.wl-main-header .resources-title {
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    margin-bottom: 7px;
    font-family: "Inter", Sans-serif;
    color: #1E1E1E;
}

.wl-main-header .resources-desc {
    font-family: "Inter", Sans-serif;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
    color: #444444;
}

/* ============= MOBILE MENU ============= */

.mobile-menu-toggle {
    display: none;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: none;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 0;
}

.mobile-menu-toggle:hover {
    background-color: unset;
}


.mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    background: #111827 !important;
    border-radius: 999px;
    display: block;
}

.wl-mobile-header .mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 80;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.wl-mobile-header .mobile-nav-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.wl-mobile-header .mobile-nav-panel {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.15);
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
}

.wl-mobile-header .mobile-nav-overlay.is-open .mobile-nav-panel {
    transform: translateX(0);
}

.wl-mobile-header .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.wl-mobile-header .mobile-nav-header .login-button-mobile {
    display: flex;
    align-items: flex-start;
    font-size: 13px;
    font-family: "Inter", Sans-serif;
    padding: 7px 14px;
    gap: 5px;
    background: #009EF7;
    color: #FFFFFF;
    border-radius: 32px;
    text-decoration: none;
    font-weight: 400;
    cursor: pointer;
}

.mobile-login-arrow {
    font-size: 15px;
}

.wl-mobile-header .mobile-close-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #ffffff !important;
    color: #111827 !important;
    cursor: pointer !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
}

.wl-mobile-header .mobile-nav-menu {
    padding: 11px;
    overflow-y: auto;
    flex: 1;
}

.wl-mobile-header .mobile-nav-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
}

.wl-mobile-header .mobile-accordion {
    font-family: "Inter", Sans-serif;
    background-color: #F6F6F6;
    border-radius: 8px;
    padding: 6px 6px 6px 10px;
}

.wl-mobile-header .mobile-accordion-toggle {
    width: 100%;
    padding: 12px 7px;
    background: transparent !important;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    color: #111827 !important;
    cursor: pointer !important;
    text-align: left;
    text-decoration: none;
}

.wl-mobile-header .mobile-caret {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.wl-mobile-header .mobile-accordion.open .mobile-caret {
    transform: rotate(90deg);
}

.wl-mobile-header .mobile-submenu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: max-height 0.22s ease, opacity 0.22s ease, transform 0.22s ease;
    padding-left: 10px;
}

.wl-mobile-header .mobile-accordion.open .mobile-submenu {
    max-height: 1000px;
    opacity: 1;
    transform: translateY(0);
}

.wl-mobile-header .mobile-submenu a {
    display: flex;
    align-items: center;
    padding: 5px 5px;
    font-size: 14px;
    color: #4b5563;
    text-decoration: none;
}

.wl-mobile-header .mobile-section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    font-family: "Inter", Sans-serif;
    text-transform: uppercase;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 6px;
    margin-top: 10px;
    margin-bottom: 10px;

}

.wl-mobile-header .mobile-section-label.global {
    background: #5a7baf;
}

.wl-mobile-header .hori-line {
    display: flex;
    align-items: center;
}

.wl-mobile-header .mobile-section-label.india {
    background: #f4a53a;
    margin-top: 8px;
}

.wl-mobile-header .mobile-product-item {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    padding: 10px 0;
    text-decoration: none;
}

.wl-mobile-header .mobile-product-item:last-child {
    border-bottom: none;
}

.wl-mobile-header .x {
    background-color: #FFFFFF;
    border-radius: 17px;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 10px;
}

.wl-mobile-header .mobile-product-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #F6F6F6;
    border-radius: 50%;
}

.wl-mobile-header .mobile-product-icon img {
    max-width: 100%;
    max-height: 100%;
    background-color: #F6F6F6;
    border-radius: 30%;
    padding: 5px;
    display: flex;
    justify-content: center;

}

.wl-mobile-header .mobile-product-text {
    display: flex;
    align-items: center;
    width: 85%;
    gap: 3px;
}

.wl-mobile-header .mobile-product-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.wl-mobile-header .mobile-arrow {
    margin-left: auto;
    font-size: 14px;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.wl-mobile-header .mobile-product-desc {
    font-size: 12px;
    line-height: 1.5;
    color: #6b7280;
}

.wl-mobile-header body.no-scroll {
    overflow: hidden;
}

/* Mobile and Tablet */
@media (max-width: 1023px) {
    .header-inner {
        height: 56px;
        padding: 0 16px;
    }

    .main-nav {
        display: none;
    }

    .login-button-desktop {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .wl-mobile-header #solution-dropdown-mobile.solution-tabs {
        flex-direction: column;
        border: none !important;
        box-shadow: none !important;
        overflow-x: hidden;
        max-width: 100%;
    }

    /* Tabs hendling: horizontal scroll bar on top */
    .wl-mobile-header #solution-dropdown-mobile .tabs-heading {
        width: 100%;
        max-width: 100%;
        border-right: none;
        border-bottom: 2px solid #d4dce3;
        background: transparent;
        padding: 0px 12px 15px 0px;
        display: flex;
        gap: 8px;
        overflow-x: auto;
        white-space: nowrap;
        font-family: "Inter", Sans-serif;

    }

    /* Individual tab buttons become pills */
    .wl-mobile-header #solution-dropdown-mobile .tab-title {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
        font-family: "Inter", Sans-serif;
        padding: 10px 12px;
        border-radius: 32px;
        font-size: 12px;
        border: 1px solid;
        background: #f5f7fb;
        color: #333;
    }

    /* Active pill */
    .wl-mobile-header #solution-dropdown-mobile .tab-title.active {
        background: #d1e8f4;
        border-color: #2873b9;
        color: #2873b9;
    }

    /* Arrow icon hide on mobile */
    .wl-mobile-header #solution-dropdown-mobile .tab-title i {
        display: none;
        /* font-size: 14px;
        margin-left: 20px; */
    }

    /* Content block below tabs */
    .wl-mobile-header #solution-dropdown-mobile .tabs-content {
        padding: 14px 0px 0px;
    }

    /* Cards column on mobile */
    .wl-mobile-header #solution-dropdown-mobile .solution-grid {
        grid-template-columns: 1fr;
        row-gap: 0px;
    }
}

/* ================= DARK HEADER (PHP BASED) ================= */

.wl-header-dark.wl-main-header {
    background: #1E1E2D;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Nav links white */
.wl-header-dark.wl-main-header .main-nav a {
    color: #ffffff;
}

/* Arrow icon */
.wl-header-dark.wl-main-header .with-arrow::after {
    color: #ffffff;
}

/* Active / expanded menu */
.wl-header-dark.wl-main-header .wl-nav-item>a[aria-expanded="true"] {
    color: #38bdf8;
}

/* Hamburger icon (mobile) */
.wl-header-dark .mobile-menu-toggle span {
    background: #ffffff !important;
}