/* Vidyaan — Modern Header */
.v-header .header-wrapper {
    z-index: 1040;
}

.v-header .wsmainfull {
    background: #fff !important;
    padding: 0 !important;
    box-shadow: 0 2px 16px rgba(15, 36, 64, 0.08) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* Logo */
.v-header .v-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    text-decoration: none !important;
}
.v-header .v-logo-link img {
    height: 50px !important;
    width: auto;
    vertical-align: middle;
}
.v-header .v-logo-r {
    font-size: 11px;
    font-weight: 700;
    color: #314f6e;
    margin-top: -10px;
}
.v-header .logo-white { display: none !important; }

/* Scrolled state */
.v-header.v-header-scrolled .wsmainfull {
    box-shadow: 0 4px 24px rgba(15, 36, 64, 0.12) !important;
}

/* ── Desktop ── */
@media (min-width: 992px) {
    .v-header .wsmainwp {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0 auto;
        min-height: 72px;
    }
    .v-header.v-header-scrolled .wsmainwp {
        min-height: 64px;
    }
    .v-header .desktoplogo {
        float: none !important;
        line-height: normal !important;
        flex-shrink: 0;
    }
    .v-header .wsmenu {
        float: none !important;
        flex: 1;
        display: flex !important;
        justify-content: flex-end;
    }
    .v-header .wsmenu-list {
        display: flex !important;
        align-items: center;
        flex-wrap: nowrap;
        float: none !important;
        width: auto !important;
        margin: 0 !important;
    }
    .v-header .wsmenu > .wsmenu-list > li {
        float: none !important;
        width: auto !important;
    }
    .v-header .wsmenu > .wsmenu-list > li > a.v-nav-link {
        font-family: 'Plus Jakarta Sans', 'Muli', sans-serif;
        font-size: 15px;
        font-weight: 600;
        color: #334155 !important;
        padding: 10px 16px !important;
        line-height: 1.4 !important;
        border-radius: 8px;
        transition: color 0.2s, background 0.2s;
        position: relative;
        letter-spacing: 0;
    }
    .v-header .wsmenu > .wsmenu-list > li > a.v-nav-link:hover,
    .v-header .wsmenu > .wsmenu-list > li > a.v-nav-link.active {
        color: #1a3a5c !important;
        background: rgba(49, 79, 110, 0.06);
    }
    .v-header .wsmenu > .wsmenu-list > li > a.v-nav-link.active::after {
        content: '';
        position: absolute;
        bottom: 4px;
        left: 16px;
        right: 16px;
        height: 2px;
        background: #ff8d2b;
        border-radius: 2px;
    }
    .v-header .v-nav-actions {
        display: flex !important;
        align-items: center;
        gap: 10px;
        margin-left: 8px !important;
        width: auto !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
    }
    .v-header .v-mobile-menu-btns {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .v-header .v-btn-header {
        display: inline-flex !important;
        align-items: center;
        gap: 8px;
        padding: 10px 20px !important;
        border-radius: 50px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        line-height: 1.4 !important;
        margin: 0 !important;
        text-decoration: none !important;
        transition: all 0.25s !important;
        white-space: nowrap;
        border: none;
        cursor: pointer;
        letter-spacing: 0;
    }
    .v-header .v-btn-demo {
        background: linear-gradient(135deg, #ff8d2b, #e67a1a) !important;
        color: #fff !important;
        box-shadow: 0 4px 14px rgba(255, 141, 43, 0.35);
    }
    .v-header .v-btn-demo:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(255, 141, 43, 0.45);
        color: #fff !important;
    }
    .v-header .v-btn-login {
        background: #1a3a5c !important;
        color: #fff !important;
        box-shadow: 0 4px 14px rgba(26, 58, 92, 0.25);
    }
    .v-header .v-btn-login:hover {
        background: #0f2440 !important;
        color: #fff !important;
        transform: translateY(-1px);
    }
    .v-header .v-btn-header i { font-size: 13px; }
    .v-header .wsmobileheader { display: none !important; }
    .v-header .v-mobile-call { display: none !important; }
}

/* ── Mobile ── */
@media (max-width: 991px) {
    .v-header .wsmobileheader.v-mobile-bar {
        background: #fff !important;
        height: 60px !important;
        min-height: 60px !important;
        box-shadow: 0 2px 12px rgba(15, 36, 64, 0.1) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 0 56px 0 14px !important;
        text-align: left !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 10002 !important;
        margin: 0 !important;
    }
    .v-header .v-mobile-bar.clearfix::before,
    .v-header .v-mobile-bar.clearfix::after {
        display: none !important;
        content: none !important;
    }
    body.wsactive .v-header .wsmobileheader,
    body.wsactive .v-header .v-mobile-bar {
        margin-left: 0 !important;
        left: 0 !important;
        right: 0 !important;
    }
    .v-header .v-mobile-logo {
        display: inline-flex !important;
        align-items: center;
        flex: 0 1 auto;
        text-decoration: none !important;
        position: relative;
        z-index: 1;
        margin: 0 !important;
        float: none !important;
    }
    .v-header .v-mobile-logo img {
        height: 44px !important;
        width: auto;
        display: block;
    }
    .v-header .smllogo-white { display: none !important; }
    .v-header .smllogo-black {
        display: inline-flex !important;
        margin-top: 0 !important;
        float: none !important;
    }
    .v-header .wsmobileheader .smllogo {
        margin-top: 0 !important;
        float: none !important;
    }

    /* Toggle — pinned to far right, single icon */
    .v-header .v-mobile-toggle,
    .v-header #wsnavtoggle.v-mobile-toggle {
        position: absolute !important;
        right: 6px !important;
        left: auto !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 44px;
        height: 44px;
        min-width: 44px;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        background: transparent !important;
        cursor: pointer;
        z-index: 10003;
        display: flex !important;
        align-items: center;
        justify-content: center;
        -webkit-appearance: none;
        appearance: none;
        float: none !important;
        line-height: 1 !important;
        overflow: hidden !important;
    }
    .v-header .v-mobile-toggle:focus,
    .v-header #wsnavtoggle.v-mobile-toggle:focus {
        outline: none !important;
        box-shadow: none !important;
    }
    .v-header .v-mobile-toggle i,
    .v-header #wsnavtoggle.v-mobile-toggle i {
        display: block !important;
        font-size: 22px !important;
        color: #1a3a5c !important;
        line-height: 1 !important;
        width: 22px;
        height: 22px;
        text-align: center;
        pointer-events: none;
    }
    body.wsactive .v-header .v-mobile-toggle,
    body.wsactive .v-header #wsnavtoggle.v-mobile-toggle {
        transform: translateY(-50%) !important;
    }

    /* Hide any legacy theme toggle rules */
    .v-header .wsmobileheader .wsanimated-arrow {
        display: none !important;
    }

    .v-header .v-mobile-call { display: none !important; }

    /* Slide-out menu — no page shift, drawer overlay */
    body.wsactive .wsmenucontainer {
        margin-left: 0 !important;
    }
    body.wsactive .wsmobileheader {
        margin-left: 0 !important;
    }
    .v-header .wsmenu {
        background: transparent !important;
        z-index: 10001 !important;
    }
    body.wsactive .v-header .wsmenu {
        visibility: visible !important;
        z-index: 10001 !important;
    }
    body.wsactive .v-header .wsmenu > .wsmenu-list {
        background: #fff !important;
        padding-top: 60px !important;
        padding-bottom: 24px !important;
        box-shadow: 4px 0 24px rgba(15, 36, 64, 0.12);
    }
    .v-header .wsmenu > .wsmenu-list > li > a.v-nav-link {
        font-family: 'Plus Jakarta Sans', 'Muli', sans-serif;
        font-size: 16px !important;
        font-weight: 600 !important;
        color: #1a3a5c !important;
        text-align: left;
        padding: 14px 20px !important;
        border-bottom: 1px solid #eef2f6 !important;
        line-height: 1.4 !important;
        background: transparent !important;
    }
    .v-header .wsmenu > .wsmenu-list > li > a.v-nav-link:hover,
    .v-header .wsmenu > .wsmenu-list > li > a.v-nav-link.active {
        color: #ff8d2b !important;
        background: rgba(255, 141, 43, 0.06) !important;
    }

    /* Mobile menu buttons */
    .v-header .wsmenu > .wsmenu-list > li.v-nav-actions {
        width: 100% !important;
        display: block !important;
        float: none !important;
        padding: 16px 16px 20px !important;
        margin: 0 !important;
        border-top: 1px solid #e2e8f0;
        background: #f7f9fc !important;
        clear: both;
    }
    .v-header .v-mobile-menu-btns {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .v-header .v-mobile-menu-btns .v-btn-header {
        display: flex !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 14px 20px !important;
        justify-content: center;
        align-items: center;
        gap: 8px;
        border-radius: 12px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        border: none !important;
        line-height: 1.4 !important;
        box-sizing: border-box;
    }
    .v-header .v-mobile-menu-btns .v-btn-demo {
        background: linear-gradient(135deg, #ff8d2b, #e67a1a) !important;
        color: #fff !important;
        box-shadow: 0 4px 14px rgba(255, 141, 43, 0.3);
    }
    .v-header .v-mobile-menu-btns .v-btn-login {
        background: #1a3a5c !important;
        color: #fff !important;
        box-shadow: 0 4px 14px rgba(26, 58, 92, 0.2);
    }
    .v-header .v-mobile-menu-btns .v-btn-header i {
        font-size: 14px;
        color: inherit !important;
    }
}

/* Desktop: nav action buttons inline — merged above */

/* Override legacy menu.css / responsive.css conflicts */
@media (max-width: 991px) {
    .v-header .wsmobileheader,
    .v-header .v-mobile-bar {
        height: 60px !important;
        min-height: 60px !important;
        max-height: 60px !important;
    }
    body.wsactive .v-header .wsmobileheader,
    body.wsactive .v-header .v-mobile-bar {
        margin-left: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        transform: none !important;
    }
    .v-header .wsmenu > .wsmenu-list > li.v-nav-actions > .v-mobile-menu-btns > a {
        border-bottom: none !important;
        position: static !important;
    }
    .v-header .v-mobile-toggle:focus {
        outline: 2px solid rgba(255, 141, 43, 0.5);
        outline-offset: 2px;
    }
}

/* Mobile menu — prevent horizontal scroll */
@media (max-width: 991px) {
    body.wsactive .wsmenucontainer {
        max-width: 100vw !important;
    }
    body.wsactive .v-floating-actions {
        display: none !important;
    }
}
