*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


/* ── CSS VARIABLES ── */
:root {
    --radius-lg: 12px;
    --border: #e5e5e5;
}
/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e5e5e5;
    padding: 0 24px;
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 64px;
    gap: 8px;
}

.navbar-logo {
    font-family: 'Fraunces',serif;
    font-size: 22px;
    font-weight: 500;
    color: #185FA5;
    margin-right: auto;
}

.navbar-links {
    display: flex;
    gap: 4px;
}

    .navbar-links a {
        font-size: 13px;
        font-weight: 500;
        color: #666;
        padding: 6px 10px;
        border-radius: 6px;
        transition: all .15s;
    }

        .navbar-links a:hover {
            color: #185FA5;
            background: #E6F1FB;
        }

.navbar-actions {
    display: flex;
    gap: 8px;
    margin-left: 16px;
}

.btn-ghost {
    font-size: 13px;
    font-weight: 500;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid #d0d0d0;
    color: #1a1a1a;
    background: none;
    cursor: pointer;
    transition: all .15s;
    text-decoration: none;
}

    .btn-ghost:hover {
        border-color: #185FA5;
        color: #185FA5;
    }

.btn-primary {
    font-size: 13px;
    font-weight: 500;
    padding: 7px 16px;
    border-radius: 999px;
    border: none;
    color: #fff;
    background: #185FA5;
    cursor: pointer;
    transition: background .15s;
    text-decoration: none;
}

    .btn-primary:hover {
        background: #0C447C;
    }

.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    padding: 20px;
    display: none;
    z-index: 300;
    min-width: 480px;
}

.dropdown-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 200px;
}

    .dropdown-col + .dropdown-col {
        border-left: 1px solid #f0f0f0;
        margin-left: 16px;
        padding-left: 16px;
    }

.dropdown-col-title {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--text-faint);
    padding: 0 8px;
    margin-bottom: 6px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background .15s;
    text-decoration: none;
}

    .dropdown-item:hover {
        background: #f5f5f5;
    }

.di-icon {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.di-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.di-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.3;
}

.di-sub {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.3;
}

.dropdown-footer {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.df-link {
    font-size: 12px;
    color: var(--blue);
    font-weight: 500;
    text-decoration: none;
}

    .df-link:hover {
        text-decoration: underline;
    }
/* di-badge — text country abbreviation (IN, US) matching image */
.di-badge {
    background: #f0f0f0;
    color: #555;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    border-radius: 6px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: 'DM Sans',sans-serif;
}
/* ════════ NAVBAR CLEAN ════════ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e5e5e5;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
    padding: 0;
    isolation: isolate;
}

.navbar-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
    width: 100%;
    height: 64px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.navbar-logo {
    font-family: 'Fraunces',Georgia,serif;
    font-size: 22px;
    font-weight: 700;
    color: #185FA5;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.navbar-nav {
    margin-left: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    overflow: visible;
}

.navbar-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-left: 16px;
    flex-shrink: 0;
}

.hm-ham {
    display: none;
    width: 38px;
    height: 38px;
    border: 1.5px solid #d0d0d0;
    border-radius: 8px;
    background: none;
    font-size: 18px;
    color: #555;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 12px;
    align-items: center;
    justify-content: center;
}

    .hm-ham:hover {
        border-color: #185FA5;
        color: #185FA5;
        background: #E6F1FB;
    }

@media(min-width:1025px) {
    .navbar-nav {
        display: flex;
    }

    .navbar-actions {
        display: flex;
    }

    .hm-ham {
        display: none;
    }
}

@media(max-width:1024px) {
    .navbar-nav {
        display: none;
    }

    .navbar-actions {
        display: none;
    }

    .hm-ham {
        display: flex;
        margin-left: auto;
    }

    .navbar-inner {
        padding: 0 16px;
    }
}

@media(max-width:480px) {
    .navbar-inner {
        padding: 0 12px;
    }

    .navbar-logo {
        font-size: 18px;
    }
}
/***Final header css***/
/* ================================
   NAVBAR
================================ */

.navbar {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e5e5e5;
}

.navbar-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
}

.navbar-logo {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: #185FA5;
    text-decoration: none;
}

.navbar-nav {
    margin-left: auto;
    display: flex;
    gap: 2px;
}

.navbar-actions {
    display: flex;
    gap: 8px;
    margin-left: 16px;
}

.hm-ham {
    display: none;
    width: 38px;
    height: 38px;
    border: 1.5px solid #d0d0d0;
    border-radius: 8px;
    background: none;
    font-size: 18px;
    cursor: pointer;
    margin-left: 12px;
}

/* ================================
   DROPDOWN (DESKTOP)
================================ */

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 14px;
    padding: 8px 12px;
    background: none;
    border: none;
    cursor: pointer;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    min-width: 480px;
}

.nav-item:hover .dropdown {
    display: flex;
    gap: 24px;
}

/* ================================
   MOBILE DRAWER
================================ */

.hm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    display: none;
    z-index: 9998;
}

.hm-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: right .3s ease;
    overflow-y: auto;
}

    .hm-drawer.open {
        right: 0;
        transform: translateX(0) !important;
    }

.hm-overlay.open {
    display: block;
}

.hm-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

    .hm-drawer-links a {
        text-decoration: none;
        color: #333;
        font-size: 14px;
    }

.hm-drawer-btns {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width:1024px) {

    .navbar-nav,
    .navbar-actions {
        display: none;
    }

    .hm-ham {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }
}



/* Drawer overlay */
.hm-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 500;
    backdrop-filter: blur(2px);
}

    .hm-overlay.open {
        display: block;
    }

/* Drawer panel */
.hm-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(300px, 85vw);
    background: #fff;
    /*z-index: 600;*/
    box-shadow: 4px 0 32px rgba(0,0,0,.18);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.25,.46,.45,.94);
    overflow-y: auto;
}

    .hm-drawer.open {
        transform: translateX(0) !important;
    }

/* Drawer header */
.hm-drawer-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 2px solid #f0f0f0;
    flex-shrink: 0;
}

.hm-drawer-logo {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--blue);
}

.hm-drawer-close {
    background: none;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    font-size: 16px;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
}

    .hm-drawer-close:hover {
        border-color: #dc2626;
        color: #dc2626;
    }

/* Drawer links */
.hm-drawer-links {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    flex: 1;
}

    .hm-drawer-links a {
        padding: 13px 20px;
        font-size: 14px;
        font-weight: 500;
        color: #374151;
        border-left: 3px solid transparent;
        transition: all .15s;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .hm-drawer-links a:hover {
            background: #EEF4FF;
            color: var(--blue);
            border-left-color: var(--blue);
        }

/* Drawer action buttons */
.hm-drawer-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 20px 24px;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.hm-db-ghost {
    display: block;
    text-align: center;
    padding: 11px;
    border-radius: 999px;
    border: 1.5px solid #d0d0d0;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    transition: all .15s;
}

    .hm-db-ghost:hover {
        border-color: var(--blue);
        color: var(--blue);
    }

.hm-db-primary {
    display: block;
    text-align: center;
    padding: 11px;
    border-radius: 999px;
    background: var(--blue);
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    transition: all .15s;
}

    .hm-db-primary:hover {
        background: var(--blue-dark);
    }

/*--------------------
    Topbar
    ------------------------*/

/* ── Top social bar ── */
.topbar {
    background: #0B1A3B;
    padding: 0 24px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
}

.topbar-inner {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.topbar-lbl {
    font-size: 11px;
    color: rgba(255,255,255,.45);
    font-weight: 500;
    margin-right: 8px;
    letter-spacing: .04em;
    white-space: nowrap;
}

.tsoc {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.55);
    transition: all .18s;
    text-decoration: none;
    background: transparent;
}

    .tsoc svg {
        width: 13px;
        height: 13px;
    }

    .tsoc:hover {
        background: rgba(255,255,255,.1);
        color: #fff;
    }

.tsoc-yt:hover {
    color: #FF0000;
}

.tsoc-li:hover {
    color: #60A5FA;
}

.tsoc-fb:hover {
    color: #60A5FA;
}

.tsoc-x:hover {
    color: #fff;
}

.tsoc-ig:hover {
    color: #F472B6;
}

@media(max-width:600px) {
    .topbar-lbl {
        display: none;
    }

    .topbar {
        height: 32px;
    }

    .tsoc {
        width: 26px;
        height: 26px;
    }
}

/* ── Mobile drawer social strip ── */
.hm-drawer-socials {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px 16px;
    border-top: 1px solid #f0f0f0;
}

.hm-drawer-socials-lbl {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 500;
    margin-right: 4px;
    white-space: nowrap;
}

.hdsoc {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #6b7280;
    transition: all .18s;
    text-decoration: none;
}

    .hdsoc svg {
        width: 14px;
        height: 14px;
    }

    .hdsoc:hover {
        background: #e5e7eb;
        color: #111827;
    }


/*---------------------------
    footer
    --------------------------*/


/* ── Footer social icons ── */
.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.fsoc {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .18s;
    flex-shrink: 0;
    text-decoration: none;
}

    .fsoc svg {
        width: 16px;
        height: 16px;
    }

.fsoc-yt {
    background: #1a1a1a;
    color: #FF0000;
}

.fsoc-li {
    background: #1a1a1a;
    color: #0A66C2;
}

.fsoc-fb {
    background: #1a1a1a;
    color: #1877F2;
}

.fsoc-x {
    background: #1a1a1a;
    color: #fff;
}

.fsoc-ig {
    background: #1a1a1a;
    color: #E1306C;
}

.fsoc:hover {
    transform: translateY(-3px);
    background: #333;
}

.fsoc-yt:hover {
    background: #FF0000;
    color: #fff;
}

.fsoc-li:hover {
    background: #0A66C2;
    color: #fff;
}

.fsoc-fb:hover {
    background: #1877F2;
    color: #fff;
}

.fsoc-x:hover {
    background: #000;
    color: #fff;
}

.fsoc-ig:hover {
    background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
    color: #fff;
}


/* ── Top social bar ── */
.topbar {
    background: #0B1A3B;
    padding: 0 24px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
}

.topbar-inner {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.topbar-lbl {
    font-size: 11px;
    color: rgba(255,255,255,.45);
    font-weight: 500;
    margin-right: 8px;
    letter-spacing: .04em;
    white-space: nowrap;
}

.tsoc {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.55);
    transition: all .18s;
    text-decoration: none;
    background: transparent;
}

    .tsoc svg {
        width: 13px;
        height: 13px;
    }

    .tsoc:hover {
        background: rgba(255,255,255,.1);
        color: #fff;
    }

.tsoc-yt:hover {
    color: #FF0000;
}

.tsoc-li:hover {
    color: #60A5FA;
}

.tsoc-fb:hover {
    color: #60A5FA;
}

.tsoc-x:hover {
    color: #fff;
}

.tsoc-ig:hover {
    color: #F472B6;
}

@media(max-width:600px) {
    .topbar-lbl {
        display: none;
    }

    .topbar {
        height: 32px;
    }

    .tsoc {
        width: 26px;
        height: 26px;
    }
}

/* ── Mobile drawer social strip ── */
.hm-drawer-socials {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px 16px;
    border-top: 1px solid #f0f0f0;
}

.hm-drawer-socials-lbl {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 500;
    margin-right: 4px;
    white-space: nowrap;
}

.hdsoc {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #6b7280;
    transition: all .18s;
    text-decoration: none;
}

    .hdsoc svg {
        width: 14px;
        height: 14px;
    }

    .hdsoc:hover {
        background: #e5e7eb;
        color: #111827;
    }



/*New 2026-10-01*/

/* ═══════════════════════════════════════════════════
   MEGA MENU — Complete Styles
   (Required for the new 4/5-column mega dropdowns)
═══════════════════════════════════════════════════ */

/* Navbar must be the positioning context */
.navbar {
    position: sticky !important;
    overflow: visible !important;
}

.nav-item {
    position: static !important;
}

/* Mega dropdown shell — fixed, centred under navbar */
.mega-drop {
    position: fixed;
    top: auto; /* set by JS */
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 16px 56px rgba(0,0,0,.14);
    padding: 24px;
    display: none;
    z-index: 9000;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
}

    .mega-drop[style*="1040px"],
    .mega-drop[style*="1100px"] {
        width: min(1100px, calc(100vw - 32px));
    }

    .mega-drop[style*="900px"] {
        width: min(940px, calc(100vw - 32px));
    }

/* About drop — narrow, anchored right */
.about-drop {
    position: fixed;
    top: auto;
    right: 16px;
    left: auto;
    transform: none;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
    padding: 16px;
    display: none;
    z-index: 9000;
    min-width: 230px;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
    flex-direction: column;
    gap: 2px;
}

.mega-drop.mega-open {
    gap: 0;
}

/* Mega columns container */
.mega-cols {
    display: flex;
    gap: 0;
    width: 100%;
}

/* Individual mega column */
.mega-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 16px 0 0;
}

    .mega-col + .mega-col {
        border-left: 1px solid #f0f0f0;
        padding-left: 16px;
        padding-right: 0;
    }

/* Column heading */
.mega-col-hd {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1.5px solid #f0f0f0;
}

.mega-col-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.mega-col-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #374151;
    flex: 1;
    white-space: nowrap;
}

/* Mega item row */
.mega-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 7px;
    text-decoration: none;
    transition: background .13s;
    cursor: pointer;
}

    .mega-item:hover {
        background: #f5f7fa;
    }

.mega-item-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.mega-item-text {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    min-width: 0;
}

.mega-item-name {
    font-size: 12.5px;
    font-weight: 500;
    color: #111827;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mega-item-sub {
    font-size: 10.5px;
    color: #9ca3af;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* View all link at bottom of column */
.mega-col-footer {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}

.mega-view-all {
    font-size: 11.5px;
    font-weight: 600;
    color: #185FA5;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background .13s;
}

    .mega-view-all:hover {
        background: #EEF4FF;
        color: #0C447C;
    }

/* Icon colour helpers (ic-blue, ic-teal, etc.) */
.ic-blue {
    background: #E6F1FB;
    color: #185FA5;
}

.ic-teal {
    background: #E1F5EE;
    color: #0F6E56;
}

.ic-purple {
    background: #EEEDFE;
    color: #3C3489;
}

.ic-amber {
    background: #FAEEDA;
    color: #854F0B;
}

.ic-coral {
    background: #FAECE7;
    color: #993C1D;
}

.ic-green {
    background: #EAF3DE;
    color: #3B6D11;
}

.ic-pink {
    background: #FBEAF0;
    color: #993556;
}

.ic-gray {
    background: #F1EFE8;
    color: #888780;
}

/* Col 5 (split column) compact sizing */
.lc5-hd {
    padding-bottom: 6px !important;
    margin-bottom: 4px !important;
}

.lc5-title {
    font-size: 10px !important;
    letter-spacing: .08em !important;
}

.lc5-item {
    padding: 4px 6px !important;
}

.lc5-name {
    font-size: 11.5px !important;
    line-height: 1.25 !important;
}

.lc5-sub {
    font-size: 10px !important;
    line-height: 1.2 !important;
}

.lc5-footer {
    padding-top: 6px !important;
    margin-top: auto !important;
}

    .lc5-footer .mega-view-all {
        font-size: 10.5px !important;
        padding: 3px 6px !important;
    }

/* Licensing Exams column alignment */
.licensing-drop .mega-cols.licensing-cols {
    align-items: stretch !important;
}

.licensing-col {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0;
    flex: 1 1 0;
}

    .licensing-col .mega-col-footer {
        margin-top: auto !important;
    }

/* ═══════════════════════════════════════════════════
   ABOUT DROP — legacy dropdown-item styles (already in
   header.css but repeated here for safety)
═══════════════════════════════════════════════════ */
.about-drop .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background .15s;
    text-decoration: none;
}

    .about-drop .dropdown-item:hover {
        background: #f5f5f5;
    }

/* ═══════════════════════════════════════════════════
   RESPONSIVE — hide mega menus on mobile
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .mega-drop,
    .about-drop {
        display: none !important;
    }
}

/* ═══════════════════════════════════════════════════
   ABOUT MEGA — 2-column variant
   (Uses same .mega-drop base; just tweaks size/padding)
══════════════════════════════════════════════════════ */
.about-mega {
    padding: 22px 24px;
}

    .about-mega .mega-col {
        padding-right: 20px;
    }

        .about-mega .mega-col + .mega-col {
            padding-left: 20px;
        }

    /* Wider subtitles allowed for this menu */
    .about-mega .mega-item-sub {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        line-height: 1.35;
    }

    .about-mega .mega-item-name {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }
/* ═══════════════════════════════════════════════════
   NAV ITEM — shrink-wrap so hover only fires on the button
   Prevents About/other menus from opening over the logo
══════════════════════════════════════════════════════ */

.navbar-nav .nav-item {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important; /* don't stretch */
    width: auto !important;
    min-width: 0 !important;
    align-self: center !important;
}

    .navbar-nav .nav-item > .nav-link {
        display: inline-flex !important;
        align-items: center !important;
    }
.nav-item:hover .dropdown {
    display: flex;
    gap: 24px;
}

/*---------*/

/* ═══════════════════════════════════════════════════
   MEGA MENU — HEADING SIZE + TEST SERIES FOOTER FIX
══════════════════════════════════════════════════════ */

/* 1. Decrease font size of ALL column headings across every mega menu */
.mega-col-title {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .05em !important;
    color: #374151 !important;
}

/* Also shrink the icon tiles slightly to match reduced heading size */
.mega-col-icon {
    width: 24px !important;
    height: 24px !important;
    font-size: 12px !important;
    border-radius: 6px !important;
}

/* Reduce heading bottom padding a bit for tighter look */
.mega-col-hd {
    padding-bottom: 6px !important;
    margin-bottom: 8px !important;
}


/* 2. TEST SERIES — push every "View all" link to the bottom of its column
      (same behaviour as Licensing Exams already has) */

/* Make every mega-col in the Test Series dropdown a flex column so
   the footer can be pushed to the bottom */
.mega-drop .mega-cols > .mega-col {
    display: flex !important;
    flex-direction: column !important;
}

    /* Give the item area flexibility so footer sits at the bottom */
    .mega-drop .mega-cols > .mega-col > .mega-item {
        flex-shrink: 0 !important;
    }

    /* Push footer to bottom of column */
    .mega-drop .mega-cols > .mega-col > .mega-col-footer {
        margin-top: auto !important;
        padding-top: 10px !important;
        border-top: 1px solid #f0f0f0 !important;
    }


/* ═══════════════════════════════════════════════════
   LICENSING EXAMS — 6-column layout adjustment
══════════════════════════════════════════════════════ */

/* Slightly tighter columns so 6 fit cleanly under the navbar */
.licensing-drop .mega-cols.licensing-cols {
    gap: 0 !important;
}

.licensing-drop .mega-col {
    padding: 0 12px 0 0 !important;
}

    .licensing-drop .mega-col + .mega-col {
        padding-left: 12px !important;
        padding-right: 0 !important;
    }

    /* Give the 6th column a right padding reset (it's last) */
    .licensing-drop .mega-col:last-child {
        padding-right: 0 !important;
    }

/* Ensure the wider drop caps at viewport width */
.licensing-drop {
    width: min(1280px, calc(100vw - 32px)) !important;
}

/* On smaller desktops, allow 5 columns to wrap gracefully */
@media (max-width: 1280px) {
    .licensing-drop {
        min-width: 1100px !important;
        width: min(1200px, calc(100vw - 32px)) !important;
    }

        .licensing-drop .mega-col {
            padding: 0 8px 0 0 !important;
        }

            .licensing-drop .mega-col + .mega-col {
                padding-left: 8px !important;
            }
}

