/* ============================================================
   VISNAVIGANS v2.0
   Only: Google Font import + CSS tokens + header/footer vn-* + layout fix
   All page styling lives in the ORIGINAL style.css / custom_style.css
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --font-family: 'Inter', sans-serif;
    --color-1: #1a1a1a;
    --color-2: #075985;
    --skinColor1: #1a1a1a;
    --skinColor2: #0284c7;
    --skinColor3: #38bdf8;
    --skinColor4: #1a1a1a;
    --skinColor5: #075985;
    --skinColor6: #7dd3fc;
}

/* Font smoothing */
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
::selection { background: #e0f2fe; color: #0c4a6e; }

/* Footer at bottom on short pages + content spacing */
body { display: flex; flex-direction: column; min-height: 100vh; }
body > section { flex: 1 0 auto; }
.vn-topbar, .vn-header, .vn-footer { flex-shrink: 0; }

/* Fix: eNtery-item pages - prevent footer overlap when content is empty */
.eNtery-item { min-height: 30vh; padding-bottom: 60px; }

/* Ensure content below sticky header has breathing room */
body > section:first-of-type > .breadcum-area:first-child,
body > section:first-of-type > .lms1-breadcrumb-section:first-child {
    /* Breadcrumb pages already have enough top padding */
}
/* Student/Mentee pages - ensure profile banner doesn't overlap header */
.my-course-content,
.wishlist-content,
.course-content {
    min-height: 60vh;
}
/* Compact breadcrumb for pages without the overlap pattern */
.breadcum-area.breadcum-compact {
    padding-bottom: 30px !important;
}
.breadcum-area.breadcum-compact::after {
    display: none !important;
}

/* Consistent top spacing for student/mentee dashboard pages */
.profile-banner-area-container { padding-top: 24px; }
.my-course-content, .wishlist-content, .course-content { padding-top: 24px; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f9fafb; }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }


/* ══════════════════════════════════════════════
   TOP BAR
   ══════════════════════════════════════════════ */
.vn-topbar { background: #0c4a6e; padding: 8px 0; }
.vn-topbar-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.vn-topbar-left { display: flex; align-items: center; gap: 20px; }
.vn-topbar-left a { color: rgba(255,255,255,.75); display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; transition: color .15s; }
.vn-topbar-left a:hover { color: #fff; }
.vn-topbar-left a i { font-size: 11px; opacity: .7; }
.vn-topbar-right { display: flex; align-items: center; gap: 16px; }
.vn-topbar-socials { display: flex; align-items: center; gap: 10px; }
.vn-topbar-socials a { color: rgba(255,255,255,.6); font-size: 13px; transition: color .15s; }
.vn-topbar-socials a:hover { color: #fff; }
.vn-topbar-lang .nice-select { background: transparent !important; border: none !important; color: rgba(255,255,255,.8) !important; height: auto !important; line-height: 1.4 !important; font-size: 12px !important; padding: 0 18px 0 0 !important; }
.vn-topbar-lang .nice-select .current { color: rgba(255,255,255,.85); }
.vn-topbar-lang .nice-select:hover .current,
.vn-topbar-lang .nice-select.open .current { color: #fff; }
.vn-topbar-lang .nice-select::after { border-color: rgba(255,255,255,.55); }
.vn-topbar-lang .nice-select:focus { box-shadow: none !important; }
.vn-topbar-lang select { background: transparent; border: none; color: rgba(255,255,255,.8); font-size: 12px; padding: 0; cursor: pointer; font-weight: 600; }

/* Opened dropdown list — dark panel on dark topbar */
.vn-topbar-lang .nice-select .list {
    background: #1a1a1a !important;
    border: 1px solid rgba(212,167,76,0.25) !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.4) !important;
    margin-top: 8px !important;
    padding: 6px 0 !important;
    min-width: 140px;
    right: 0; left: auto;
}
.vn-topbar-lang .nice-select .option {
    color: rgba(251,249,244,0.8) !important;
    background: transparent !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 8px 16px !important;
    line-height: 1.3 !important;
    min-height: 0 !important;
}
.vn-topbar-lang .nice-select .option:hover,
.vn-topbar-lang .nice-select .option.focus,
.vn-topbar-lang .nice-select .option.selected.focus {
    background: rgba(212,167,76,0.14) !important;
    color: #d4a74c !important;
}
.vn-topbar-lang .nice-select .option.selected {
    color: #d4a74c !important;
    font-weight: 700 !important;
}
@media (max-width: 767px) { .vn-topbar { display: none; } }


/* ══════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════ */
.vn-header { background: #fff; border-bottom: 1px solid #f1f5f9; position: sticky; top: 0; z-index: 1050; box-shadow: 0 1px 3px rgba(0,0,0,.03); }
.vn-header > .container { max-width: 1320px; }
.vn-header-inner { display: flex; align-items: center; height: 68px; gap: 24px; }
.vn-logo img { height: 42px; object-fit: contain; }
.vn-nav { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.vn-nav > a, .vn-nav-dropdown > a { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; color: #475569; padding: 8px 14px; border-radius: 2px; transition: all .15s; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; text-decoration: none; }
.vn-nav > a:hover, .vn-nav-dropdown:hover > a { color: #0284c7; background: #f0f9ff; }
.vn-nav > a.active, .vn-nav-dropdown > a.active { color: #0284c7; background: #f0f9ff; font-weight: 700; }
.vn-nav > a i, .vn-nav-dropdown > a i { font-size: 9px; opacity: .5; }
.vn-nav-dropdown { position: relative; }
.vn-dropdown-menu { position: absolute; top: 100%; left: 0; min-width: 280px; background: #fff; border: 1px solid #f1f5f9; border-radius: 3px; box-shadow: 0 20px 40px rgba(0,0,0,.08); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s; z-index: 999; }
.vn-nav-dropdown:hover .vn-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.vn-dropdown-item > a { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 2px; color: #475569; font-size: 14px; font-weight: 500; transition: all .12s; text-decoration: none; }
.vn-dropdown-item > a:hover { background: #f0f9ff; color: #0369a1; }
.vn-dropdown-item { position: relative; }
.vn-dropdown-sub { position: absolute; left: calc(100% + 4px); top: 0; min-width: 220px; background: #fff; border: 1px solid #f1f5f9; border-radius: 3px; box-shadow: 0 16px 32px rgba(0,0,0,.08); padding: 8px; opacity: 0; visibility: hidden; transition: all .2s; }
.vn-dropdown-item:hover > .vn-dropdown-sub { opacity: 1; visibility: visible; }
.vn-dropdown-sub a { display: block; padding: 8px 12px; border-radius: 3px; color: #475569; font-size: 13px; font-weight: 500; transition: all .12s; text-decoration: none; }
.vn-dropdown-sub a:hover { background: #f0f9ff; color: #0369a1; }
.vn-icon-btn { position: relative; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; color: #475569; transition: all .15s; flex-shrink: 0; }
.vn-icon-btn:hover { background: #f0f9ff; color: #0284c7; }
.vn-icon-btn i { font-size: 14px; }
.vn-badge { position: absolute; top: -2px; right: -2px; width: 16px; height: 16px; background: #1a1a1a; color: #fff; font-size: 9px; font-weight: 700; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.vn-avatar-btn { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; border: 2px solid #e2e8f0; padding: 0; cursor: pointer; background: none; flex-shrink: 0; transition: border-color .15s; }
.vn-avatar-btn:hover { border-color: #38bdf8; }
.vn-avatar-btn::after { display: none !important; }
.vn-avatar-btn img { width: 100%; height: 100%; object-fit: cover; }
.vn-profile-dropdown .dropdown-menu { min-width: 240px; border: 1px solid #f1f5f9; border-radius: 3px; box-shadow: 0 20px 40px rgba(0,0,0,.08); padding: 8px; margin-top: 8px !important; }
.vn-dd-user { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.vn-dd-user img { width: 36px; height: 36px; border-radius: 50%; /* keep circles */ object-fit: cover; }
.vn-dd-user strong { display: block; font-size: 13px; color: #1e293b; }
.vn-dd-user small { font-size: 11px; color: #64748b; font-weight: 500; }
.vn-profile-dropdown .dropdown-item { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500; color: #475569; padding: 8px 12px; border-radius: 3px; display: flex; align-items: center; gap: 10px; }
.vn-profile-dropdown .dropdown-item:hover { background: #f0f9ff; color: #0369a1; }
.vn-profile-dropdown .dropdown-item i { width: 16px; text-align: center; font-size: 13px; opacity: .6; }
.vn-profile-dropdown .dropdown-divider { margin: 4px 0; border-color: #f1f5f9; }
.vn-btn-primary { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 700; background: #1a1a1a; color: #fbf9f4 !important; padding: 8px 20px; border-radius: 100px; transition: all .15s; display: inline-flex; align-items: center; white-space: nowrap; text-decoration: none; border: 1.5px solid #1a1a1a; }
.vn-btn-primary:hover { background: #000; border-color: #000; box-shadow: 0 4px 12px rgba(26,26,26,.25); color: #fbf9f4 !important; }
.vn-btn-outline { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 700; color: #1a1a1a !important; background: transparent; border: 1.5px solid #1a1a1a; padding: 8px 20px; border-radius: 100px; transition: all .15s; display: inline-flex; align-items: center; white-space: nowrap; text-decoration: none; }
.vn-btn-outline:hover { background: #1a1a1a; color: #fbf9f4 !important; }
.vn-mobile-toggle { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 1.5px solid #e8e2d4; border-radius: 10px; background: #fbf9f4; color: #1a1a1a; cursor: pointer; transition: all .15s; font-size: 14px; }
.vn-mobile-toggle:hover { background: #1a1a1a; border-color: #1a1a1a; color: #fbf9f4; }
.vn-header-right { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }

/* ── Mobile header — prevent horizontal overflow ──
 * Root cause fix: .vn-logo had no flex-shrink:0 so flexbox collapsed it
 * toward 0 while the icon row (each flex-shrink:0) pushed past the viewport.
 * Logo disappears, hamburger ends up past the right edge, page scrolls.
 *
 * Tight-fit strategy on phone:
 *   - Logo fixed width (doesn't shrink, doesn't stretch)
 *   - Cart + notifications hidden — they live inside the hamburger menu
 *   - Only avatar + hamburger stay on the bar
 *   - Mobile toggle given a hard `margin-right: 0` guarantee */
/* 6 icons + hamburger + logo all need to fit on phones.
 * Math check on 360px viewport (common Android): 360 - 24 container padding = 336
 *   ≤991px: logo 120 + 8 + 6×28 + 5×3 = 311  ✓
 *   ≤575px: logo 100 + 6 + 6×26 + 5×2 = 272  ✓
 *   ≤380px: logo 90  + 4 + 6×22 + 5×2 = 228  ✓  (iPhone SE 320 → 296 available) */
/* Sizing strategy on phone:
 * AUTH view    : logo + 6 tight icons (cart/wishlist/msg/notifs/avatar/ham).
 * GUEST view   : logo + Login button + hamburger. Far fewer items, so logo
 *                can be bigger and Login button/hamburger more generous.
 * `body:has(.vn-btn-primary)` catches guest rendering without requiring a
 * body class — the Login button only appears in guest state. */
@media (max-width: 991px) {
    .vn-header > .container { padding-left: 14px; padding-right: 14px; }
    .vn-header-inner { height: 62px; gap: 10px; flex-wrap: nowrap; min-width: 0; }
    .vn-logo { flex-shrink: 0; min-width: 0; }
    .vn-logo img { height: 38px; max-width: 170px; width: auto; }
    .vn-header-right { gap: 6px; flex-shrink: 0; min-width: 0; }
    .vn-icon-btn, .vn-avatar-btn { width: 34px; height: 34px; border-radius: 10px; }
    .vn-icon-btn i { font-size: 14px; }
    .vn-badge { width: 14px; height: 14px; font-size: 8.5px; top: -3px; right: -3px; border-width: 1.5px; }

    /* Hamburger is the PRIMARY tap target on mobile (Login + Sign Up live in
     * the hamburger menu for guests). Larger, squared, visible border. */
    .vn-mobile-toggle {
        width: 42px; height: 42px;
        border-radius: 12px;
        border-width: 1.5px;
        font-size: 16px;
        background: #fbf9f4;
        color: #1a1a1a;
    }

    /* Guest CTA (md+ only — hidden by .d-none d-md-inline-flex on phones) */
    .vn-header-right .vn-btn-primary,
    .vn-header-right .vn-btn-outline {
        padding: 7px 16px;
        font-size: 12.5px;
        border-radius: 100px;
    }
}
@media (max-width: 575px) {
    .vn-header-inner { height: 58px; gap: 10px; }
    .vn-logo img { height: 34px; max-width: 160px; }
    .vn-header-right { gap: 4px; }
    .vn-icon-btn, .vn-avatar-btn { width: 32px; height: 32px; border-radius: 9px; }
    .vn-icon-btn i { font-size: 13px; }
    .vn-mobile-toggle { width: 40px; height: 40px; border-radius: 11px; font-size: 15px; }
    .vn-badge { width: 13px; height: 13px; font-size: 8px; }
}
@media (max-width: 380px) {
    .vn-header-inner { gap: 6px; }
    .vn-logo img { max-width: 130px; height: 30px; }
    .vn-icon-btn, .vn-avatar-btn { width: 30px; height: 30px; border-radius: 8px; }
    .vn-mobile-toggle { width: 36px; height: 36px; border-radius: 10px; font-size: 14px; }
    .vn-badge { width: 11px; height: 11px; font-size: 7px; border-width: 1px; }
}

/* No body-level overflow clip here — it can create a new containing block
 * that breaks position: fixed on Bootstrap offcanvas/backdrop. Our header
 * layout (logo flex-shrink:0 + sized icons) already prevents horizontal
 * overflow; if a specific page re-introduces it, fix that page instead. */


/* ══════════════════════════════════════════════
   MOBILE MENU
   ══════════════════════════════════════════════ */
.vn-mobile-menu {
    max-width: 320px;
    /* Force the offcanvas into a column flex so the body can actually own
     * the scroll region. Without this, the body's intrinsic height exceeds
     * the offcanvas and there's no scroll container — user is stuck. */
    display: flex !important;
    flex-direction: column;
    /* Our sticky header is z-index 1050. Bootstrap's offcanvas defaults to
     * 1045 and its backdrop to 1040 — so the header (and the hamburger
     * sitting in it) would punch through the top of the overlay. Lift the
     * offcanvas + backdrop above the header. */
    z-index: 1060 !important;
}
.offcanvas-backdrop.show { z-index: 1055 !important; }
.vn-mobile-menu .offcanvas-header { border-bottom: 1px solid #f1f5f9; padding: 16px 20px; flex: 0 0 auto; }
.vn-mobile-menu .offcanvas-body {
    padding: 16px 20px;
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* momentum scroll on iOS */
    overscroll-behavior: contain;      /* don't bleed scroll into the (locked) body */
}
.vn-mobile-user { display: flex; align-items: center; gap: 10px; padding: 12px 0 16px; border-bottom: 1px solid #f1f5f9; margin-bottom: 12px; }
.vn-mobile-user img { width: 40px; height: 40px; border-radius: 50%; /* keep circles */ object-fit: cover; border: 2px solid #e2e8f0; }
.vn-mobile-user strong { display: block; font-size: 14px; color: #1e293b; }
.vn-mobile-user small { font-size: 12px; color: #64748b; }
.vn-mobile-nav { display: flex; flex-direction: column; gap: 2px; }
.vn-mobile-nav a { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600; color: #334155; padding: 12px 8px; border-radius: 2px; transition: all .12s; text-decoration: none; }
.vn-mobile-nav a:hover { background: #f0f9ff; color: #0284c7; }
.vn-mobile-nav hr { margin: 8px 0; border-color: #f1f5f9; }
.vn-mobile-auth { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #f1f5f9; }
.vn-mobile-auth .vn-btn-primary, .vn-mobile-auth .vn-btn-outline { justify-content: center; padding: 12px 20px; font-size: 14px; }


/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.vn-footer { background: #0f172a; padding: 56px 0 0; font-family: 'Inter', sans-serif; }
.vn-footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr; gap: 40px; }
.vn-footer-logo { height: 32px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .9; }
.vn-footer-brand p { color: #94a3b8; font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.vn-footer-socials { display: flex; gap: 8px; }
.vn-footer-socials a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.06); border-radius: 2px; color: #94a3b8; font-size: 14px; transition: all .15s; text-decoration: none; }
.vn-footer-socials a:hover { background: #1a1a1a; color: #fff; }
.vn-footer-col h5 { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; }
.vn-footer-col ul { list-style: none; padding: 0; margin: 0; }
.vn-footer-col ul li { margin-bottom: 10px; }
.vn-footer-col ul li a { color: #94a3b8; font-size: 14px; font-weight: 500; transition: all .15s; text-decoration: none; }
.vn-footer-col ul li a:hover { color: #38bdf8; }
.vn-footer-newsletter p { color: #94a3b8; font-size: 13px; line-height: 1.6; margin-bottom: 14px; }
.vn-newsletter-form { display: flex; background: rgba(255,255,255,.06); border-radius: 2px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); margin-bottom: 18px; }
.vn-newsletter-form input { flex: 1; background: none; border: none; outline: none; color: #fff; padding: 11px 14px; font-size: 13px; font-family: 'Inter', sans-serif; font-weight: 500; }
.vn-newsletter-form input::placeholder { color: #64748b; }
.vn-newsletter-form button { background: #1a1a1a; border: none; color: #fff; padding: 0 16px; cursor: pointer; transition: background .15s; font-size: 14px; }
.vn-newsletter-form button:hover { background: #0284c7; }
.vn-footer-contact { display: flex; flex-direction: column; gap: 8px; }
.vn-footer-contact a { color: #64748b; font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 8px; transition: color .15s; text-decoration: none; }
.vn-footer-contact a:hover { color: #38bdf8; }
.vn-footer-contact a i { font-size: 12px; width: 14px; text-align: center; }
.vn-footer-bottom { border-top: 1px solid rgba(255,255,255,.06); margin-top: 40px; padding: 16px 0; }
.vn-footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.vn-footer-bottom p { color: #475569; font-size: 13px; font-weight: 500; margin: 0; }
.vn-footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.vn-footer-legal a { color: #475569; font-size: 12px; font-weight: 500; transition: color .15s; text-decoration: none; }
.vn-footer-legal a:hover { color: #38bdf8; }
@media (max-width: 991px) { .vn-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 575px) { .vn-footer-grid { grid-template-columns: 1fr; gap: 28px; } .vn-footer { padding: 40px 0 0; } .vn-footer-bottom-inner { flex-direction: column; text-align: center; } .vn-footer-legal { justify-content: center; } }

/* ══════════════════════════════════════════════
   MENTEE / MENTOR SIDEBAR (vn-sidebar)
   ══════════════════════════════════════════════ */
.vn-sidebar {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
    position: sticky;
    top: 80px;
}
.vn-sidebar-profile {
    text-align: center;
    padding: 28px 20px 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-bottom: 1px solid #e0f2fe;
}
.vn-sidebar-avatar {
    position: relative;
    width: 76px;
    height: 76px;
    margin: 0 auto 12px;
}
.vn-sidebar-avatar img {
    width: 76px;
    height: 76px;
    border-radius: 50%; /* keep circles */
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.vn-sidebar-avatar-edit {
    position: absolute;
    bottom: 0;
    right: -2px;
    width: 26px;
    height: 26px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 50%; /* keep circles */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    border: 2px solid #fff;
    transition: background .15s;
    text-decoration: none;
}
.vn-sidebar-avatar-edit:hover { background: #0284c7; color: #fff; }
.vn-sidebar-name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}
.vn-sidebar-email {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 500;
}
.vn-sidebar-role {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #0369a1;
    background: #e0f2fe;
    padding: 3px 12px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* Nav links */
.vn-sidebar-nav {
    padding: 12px;
}
.vn-sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 2px;
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: all .15s ease;
    margin-bottom: 2px;
}
.vn-sidebar-link:hover {
    background: #f0f9ff;
    color: #0284c7;
}
.vn-sidebar-link.active {
    background: #1a1a1a;
    color: #fff;
    box-shadow: 0 2px 8px rgba(14,165,233,.25);
}
.vn-sidebar-link.active i { opacity: 1; }
.vn-sidebar-link i {
    width: 18px;
    text-align: center;
    font-size: 14px;
    opacity: .55;
    flex-shrink: 0;
}
.vn-sidebar-link:hover i { opacity: .8; }
.vn-sidebar-link.active i { opacity: 1; }

.vn-sidebar-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 8px 14px;
}

/* CTA */
.vn-sidebar-cta {
    margin: 4px 12px 16px;
    padding: 16px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 3px;
    text-align: center;
}
.vn-sidebar-cta p {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 500;
}
.vn-sidebar-cta a {
    font-size: 13px;
    font-weight: 700;
    color: #0284c7;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .15s;
}
.vn-sidebar-cta a:hover { color: #1a1a1a; }
.vn-sidebar-cta a i { font-size: 11px; }


/* ══════════════════════════════════════════════
   INNER PAGE POLISH (non-destructive enhancements)
   ══════════════════════════════════════════════ */

/* Profile banner removed — clean flat layout */

/* Course cards - hover lift */
.g-card { transition: all .25s ease; }
.g-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }

/* Single feature cards */
.single-feature { transition: all .25s ease; }
.single-feature:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }

/* eCard2 cards */
.eCard2 { transition: all .25s ease; }
.eCard2:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }

/* Blog cards */
.Ecard { transition: all .25s ease; }
.Ecard:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }

/* Category cards */
.single-category { transition: all .25s ease; }
.single-category:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(14,165,233,.1); }

/* Testimonials */
.single-opinion { transition: box-shadow .25s ease; }
.single-opinion:hover { box-shadow: 0 6px 20px rgba(0,0,0,.06); }

/* Features section gradient */
.pr-wrap { background: linear-gradient(135deg, #075985, #1a1a1a) !important; }

/* Course info section on detail page */
.page-content-pb-100 { padding-bottom: 80px; }

/* Tables */
.eTable thead tr th { text-transform: uppercase; font-size: 12px; letter-spacing: .03em; }

/* Empty state */
.empty svg { opacity: .35; }

/* Pagination */
.entry-pagination { margin-top: 40px; }

/* Smooth image zoom on card hover */
.g-card .card-head img,
.single-feature .courses-img img,
.eCard2 .card-head img,
.Ecard .card-head img { transition: transform .4s ease; }
.g-card:hover .card-head img,
.single-feature:hover .courses-img img,
.eCard2:hover .card-head img,
.Ecard:hover .card-head img { transform: scale(1.03); }

/* Breadcrumb z-index fix */
.breadcum-area .container { position: relative; z-index: 1; }
.eNtry-breadcum { position: relative; z-index: 1; }

/* Nav tabs polish */
.nav-tabs .nav-link {
    font-weight: 600;
    font-size: 14px;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 16px;
    transition: all .15s;
}
.nav-tabs .nav-link.active {
    border-bottom-color: #1a1a1a;
    color: #0284c7;
    font-weight: 700;
    background: transparent;
}

/* Modal polish */
.modal-content { border: none; border-radius: 3px; box-shadow: 0 24px 48px rgba(0,0,0,.1); overflow: hidden; }
.modal-header { background: #f8fafc; border-bottom: 1px solid #f1f5f9; }

/* Responsive sidebar */
@media (max-width: 991px) {
    .vn-sidebar { position: static; margin-bottom: 24px; }
}

@media print { .vn-header, .vn-footer, .vn-topbar, .vn-sidebar { display: none !important; } }

/* ── Consistent Page Theme ── */
/* Hide old breadcrumb styles when replaced by page_hero */
.breadcum-area[style*="display:none"] + .eNtery-item { margin-top: 0 !important; }

/* Override old purple/gradient buttons with sky blue */
.eBtn.gradient { background: #1a1a1a !important; background-image: none !important; }
.eBtn.gradient:hover { background: #0284c7 !important; }

/* Card consistency */
.course-box, .bootcamp-card, .eBook-card { border: 1px solid #e5e7eb !important; border-radius: 3px !important; box-shadow: none !important; }
.course-box:hover, .bootcamp-card:hover, .eBook-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.05) !important; }

/* Price colors */
.course-box .price, .bootcamp-card .price { color: #1a1a1a !important; }

/* Star colors */
.star-rating img, .rating-star img { filter: none !important; }

/* Tab/pill overrides */
.nav-pills .nav-link.active { background: #1a1a1a !important; }

/* Old gradient text to solid sky blue */
.gradient.color { background: none !important; -webkit-text-fill-color: #1a1a1a !important; color: #1a1a1a !important; }
