:root {
    --lms-navy: #0b1f3a;
    --lms-navy-2: #102a4d;
    --lms-blue: #2563eb;
    --lms-blue-dark: #1d4ed8;
    --lms-cyan: #06b6d4;
    --lms-green: #0f9f7f;
    --lms-text: #0f213b;
    --lms-muted: #64748b;
    --lms-line: #dfe7f1;
    --lms-surface: #ffffff;
    --lms-soft: #f4f7fb;
    --lms-container: 1240px;
    --lms-shadow: 0 24px 70px rgba(15, 33, 59, 0.12);
    --lms-radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.lms-inner-page {
    margin: 0;
    color: var(--lms-text);
    background: #fff;
    font-family: "Inter", "Hind Siliguri", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
body.lms-shell-menu-open { overflow: hidden; }
.lms-shell-main { min-height: 48vh; }
.lms-shell-container { width: min(calc(100% - 36px), var(--lms-container)); margin-inline: auto; }
.lms-shell-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.lms-shell-skip { position: fixed; z-index: 9999; left: 18px; top: -80px; padding: 12px 18px; border-radius: 10px; background: #fff; color: var(--lms-navy); box-shadow: var(--lms-shadow); transition: top .2s; }
.lms-shell-skip:focus { top: 18px; }

.lms-shell-header { position: relative; z-index: 100; background: #fff; }
.lms-shell-header.is-scrolled .lms-shell-nav { box-shadow: 0 12px 35px rgba(15, 33, 59, .09); }
.lms-shell-utility { background: var(--lms-navy); color: #c9d8eb; }
.lms-shell-utility-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 12px; }
.lms-shell-contact, .lms-shell-utility-actions { display: flex; align-items: center; gap: 18px; }
.lms-shell-utility a { color: inherit; text-decoration: none; }
.lms-shell-utility a:hover { color: #fff; }
.lms-shell-contact a { display: inline-flex; align-items: center; gap: 7px; }
.lms-shell-utility-actions span { color: #fff; }

.lms-shell-nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(223,231,241,.9); backdrop-filter: blur(16px); transition: box-shadow .2s; }
.lms-shell-nav-inner { min-height: 82px; display: flex; align-items: center; gap: 32px; }
.lms-shell-brand { min-width: 0; flex: 0 0 auto; display: inline-flex; align-items: center; color: var(--lms-navy); text-decoration: none; }
.lms-shell-brand img { width: auto; max-width: 150px; height: 52px; object-fit: contain; }
.lms-shell-brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(135deg, var(--lms-blue), var(--lms-cyan)); color: #fff; font-size: 21px; font-weight: 800; }
.lms-shell-menu { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.lms-shell-primary-links, .lms-shell-actions { display: flex; align-items: center; gap: 8px; }
.lms-shell-primary-links a { position: relative; padding: 13px 14px; border-radius: 10px; color: #334155; text-decoration: none; font-size: 14px; font-weight: 700; }
.lms-shell-primary-links a:hover, .lms-shell-primary-links a.is-active { color: var(--lms-blue); background: #edf4ff; }
.lms-shell-button { display: inline-flex; min-height: 43px; align-items: center; justify-content: center; padding: 10px 18px; border: 1px solid transparent; border-radius: 11px; text-decoration: none; font-size: 13px; font-weight: 800; transition: .2s ease; }
.lms-shell-button:hover { transform: translateY(-2px); }
.lms-shell-button-primary { background: linear-gradient(135deg, var(--lms-blue), var(--lms-blue-dark)); color: #fff !important; box-shadow: 0 10px 24px rgba(37,99,235,.2); }
.lms-shell-button-ghost { border-color: var(--lms-line); background: #fff; color: var(--lms-navy) !important; }
.lms-shell-menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--lms-line); border-radius: 12px; background: #fff; }
.lms-shell-menu-toggle span:not(.lms-shell-sr-only) { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--lms-navy); }

.lms-shell-account { position: relative; }
.lms-shell-account-toggle { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 5px 9px 5px 6px; border: 1px solid var(--lms-line); border-radius: 12px; background: #fff; color: var(--lms-navy); font-size: 13px; font-weight: 700; }
.lms-shell-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #e8f0ff; color: var(--lms-blue); font-weight: 800; }
.lms-shell-account-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lms-shell-account-menu { position: absolute; right: 0; top: calc(100% + 10px); width: 250px; max-height: min(540px, 75vh); padding: 9px; overflow-y: auto; border: 1px solid var(--lms-line); border-radius: 15px; background: #fff; box-shadow: var(--lms-shadow); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s; }
.lms-shell-account.is-open .lms-shell-account-menu { opacity: 1; visibility: visible; transform: none; }
.lms-shell-account-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 11px; border-radius: 9px; color: #334155; text-decoration: none; font-size: 13px; font-weight: 650; }
.lms-shell-account-menu a:hover { background: #f1f5f9; color: var(--lms-blue); }
.lms-shell-account-menu a.is-danger { color: #dc2626; }
.lms-shell-account-separator { display: block; height: 1px; margin: 7px 4px; background: var(--lms-line); }

.lms-shell-footer { padding: 72px 0 22px; background: #07182c; color: #aebed2; }
.lms-shell-footer-grid { display: grid; grid-template-columns: 1.55fr .75fr .8fr 1.1fr; gap: 48px; padding-bottom: 48px; }
.lms-shell-footer-logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.lms-shell-footer-logo img { width: auto; max-width: 165px; height: 54px; object-fit: contain; background: rgba(255,255,255,.96); border-radius: 12px; padding: 5px; }
.lms-shell-footer-logo strong { max-width: 180px; font-size: 16px; line-height: 1.3; }
.lms-shell-footer-brand p { max-width: 430px; margin: 22px 0; line-height: 1.8; color: #aebed2; }
.lms-shell-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.lms-shell-socials a { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 11px; background: #112d4d; color: #fff; text-decoration: none; }
.lms-shell-socials a:hover { background: var(--lms-blue); }
.lms-shell-footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.lms-shell-footer-column h2 { margin: 0 0 9px; color: #fff; font-size: 16px; font-weight: 800; }
.lms-shell-footer-column a, .lms-shell-footer-column div { display: flex; align-items: flex-start; gap: 9px; color: #aebed2; text-decoration: none; line-height: 1.55; }
.lms-shell-footer-column a:hover { color: #fff; }
.lms-shell-footer-contact i { margin-top: 4px; color: #78a7ff; }
.lms-shell-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }
.lms-shell-footer-bottom p { margin: 0; }
.lms-shell-footer-bottom a { color: #fff; }

.lms-courses-page { background: #f7f9fc; }
.lms-courses-hero { position: relative; overflow: hidden; padding: 55px 0 130px; background: linear-gradient(130deg, #eff5ff 0%, #f6f4ff 53%, #eefcff 100%); }
.lms-courses-hero::before, .lms-courses-hero::after { content: ""; position: absolute; border-radius: 999px; filter: blur(2px); }
.lms-courses-hero::before { width: 430px; height: 430px; right: -120px; top: -210px; background: rgba(37,99,235,.12); }
.lms-courses-hero::after { width: 350px; height: 350px; left: -170px; bottom: -210px; background: rgba(6,182,212,.11); }
.lms-courses-breadcrumb { position: relative; z-index: 1; display: flex; align-items: center; gap: 7px; color: var(--lms-muted); font-size: 13px; }
.lms-courses-breadcrumb a { color: var(--lms-blue); text-decoration: none; font-weight: 700; }
.lms-courses-hero-content { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: 38px; }
.lms-courses-eyebrow { display: inline-flex; padding: 8px 13px; border-radius: 999px; background: #e5efff; color: var(--lms-blue); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.lms-courses-hero h1 { margin: 15px 0 10px; color: var(--lms-navy); font-size: clamp(38px, 5vw, 64px); line-height: 1.05; font-weight: 800; }
.lms-courses-hero p { max-width: 700px; margin: 0; color: var(--lms-muted); font-size: 16px; line-height: 1.75; }
.lms-courses-count { display: grid; place-items: center; min-width: 135px; min-height: 115px; padding: 18px; border: 1px solid rgba(255,255,255,.8); border-radius: 22px; background: rgba(255,255,255,.72); box-shadow: 0 18px 40px rgba(15,33,59,.09); backdrop-filter: blur(12px); }
.lms-courses-count strong { color: var(--lms-blue); font-size: 36px; line-height: 1; font-weight: 800; }
.lms-courses-count span { margin-top: 5px; color: var(--lms-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }

.lms-courses-content { position: relative; z-index: 2; margin-top: -72px; padding-bottom: 95px; }
.lms-courses-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 28px; padding: 25px 28px; border: 1px solid var(--lms-line); border-radius: 18px; background: #fff; box-shadow: 0 18px 50px rgba(15,33,59,.08); }
.lms-courses-toolbar span { color: var(--lms-blue); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.lms-courses-toolbar h2 { margin: 6px 0 0; color: var(--lms-navy); font-size: 24px; font-weight: 800; }
.lms-course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.lms-course-card { min-width: 0; overflow: hidden; border: 1px solid var(--lms-line); border-radius: 20px; background: #fff; box-shadow: 0 15px 42px rgba(15,33,59,.07); transition: transform .25s, box-shadow .25s; }
.lms-course-card:hover { transform: translateY(-7px); box-shadow: var(--lms-shadow); }
.lms-course-media { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg, #dbeafe, #e0f2fe); text-decoration: none; }
.lms-course-media img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.lms-course-card:hover .lms-course-media img { transform: scale(1.04); }
.lms-course-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(37,99,235,.42); font-size: 76px; font-weight: 800; }
.lms-course-media.has-image-error img { display: none; }
.lms-course-access { position: absolute; z-index: 4; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 999px; background: rgba(7,24,44,.86); color: #fff; font-size: 11px; font-weight: 800; backdrop-filter: blur(8px); }
.lms-course-body { padding: 22px; }
.lms-course-category { display: inline-flex; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 6px 10px; border-radius: 999px; background: #edf4ff; color: var(--lms-blue); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.lms-course-body h3 { margin: 14px 0 20px; color: var(--lms-navy); font-size: 20px; line-height: 1.35; font-weight: 800; }
.lms-course-body h3 a { color: inherit; text-decoration: none; }
.lms-course-body h3 a:hover { color: var(--lms-blue); }
.lms-course-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 17px; border-top: 1px solid #edf1f6; }
.lms-course-footer > span { display: inline-flex; align-items: center; gap: 7px; color: var(--lms-muted); font-size: 12px; font-weight: 650; }
.lms-course-arrow { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; background: #edf4ff; color: var(--lms-blue); text-decoration: none; transition: .2s; }
.lms-course-arrow:hover { background: var(--lms-blue); color: #fff; }
.lms-courses-empty { display: grid; place-items: center; min-height: 360px; padding: 55px 25px; border: 1px dashed #cbd8e8; border-radius: 22px; background: #fff; text-align: center; }
.lms-courses-empty > span { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 20px; background: #edf4ff; color: var(--lms-blue); font-size: 30px; }
.lms-courses-empty h2 { margin: 22px 0 8px; color: var(--lms-navy); font-size: 25px; }
.lms-courses-empty p { max-width: 520px; margin: 0 0 25px; color: var(--lms-muted); }

@media (max-width: 1080px) {
    .lms-shell-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .lms-shell-footer-contact { grid-column: 2 / 4; }
    .lms-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .lms-shell-utility-actions { display: none; }
    .lms-shell-nav-inner { min-height: 72px; }
    .lms-shell-brand { min-width: 0; margin-right: auto; }
    .lms-shell-brand img { max-width: 138px; height: 46px; }
    .lms-shell-menu-toggle { display: block; }
    .lms-shell-menu { position: fixed; left: 18px; right: 18px; top: 110px; display: block; max-height: calc(100vh - 135px); padding: 15px; overflow-y: auto; border: 1px solid var(--lms-line); border-radius: 18px; background: #fff; box-shadow: var(--lms-shadow); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .2s; }
    .lms-shell-header:not(.has-utility) .lms-shell-menu { top: 82px; }
    .lms-shell-menu.is-open { opacity: 1; visibility: visible; transform: none; }
    .lms-shell-primary-links, .lms-shell-actions { align-items: stretch; flex-direction: column; gap: 4px; }
    .lms-shell-primary-links a { padding: 13px; }
    .lms-shell-actions { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--lms-line); }
    .lms-shell-actions .lms-shell-button { width: 100%; }
    .lms-shell-account { width: 100%; }
    .lms-shell-account-toggle { width: 100%; justify-content: flex-start; }
    .lms-shell-account-toggle i { margin-left: auto; }
    .lms-shell-account-menu { position: static; width: 100%; max-height: 0; margin-top: 0; padding: 0 8px; border: 0; box-shadow: none; opacity: 1; visibility: visible; overflow: hidden; transform: none; transition: max-height .25s, padding .25s, margin .25s; }
    .lms-shell-account.is-open .lms-shell-account-menu { max-height: 520px; margin-top: 8px; padding-block: 8px; border: 1px solid var(--lms-line); }
    .lms-shell-footer-grid { grid-template-columns: 1.3fr 1fr; }
    .lms-shell-footer-contact { grid-column: auto; }
    .lms-courses-hero { padding-bottom: 115px; }
    .lms-courses-hero-content { align-items: flex-start; }
}

@media (max-width: 620px) {
    .lms-shell-container { width: min(calc(100% - 28px), var(--lms-container)); }
    .lms-shell-utility-inner { justify-content: center; min-height: 34px; }
    .lms-shell-contact a:last-child { display: none; }
    .lms-shell-menu { left: 14px; right: 14px; top: 100px; }
    .lms-shell-header:not(.has-utility) .lms-shell-menu { top: 76px; }
    .lms-shell-footer { padding-top: 55px; }
    .lms-shell-footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .lms-shell-footer-bottom { align-items: flex-start; flex-direction: column; }
    .lms-courses-hero { padding: 42px 0 105px; }
    .lms-courses-hero-content { display: block; margin-top: 30px; }
    .lms-courses-hero h1 { font-size: 39px; }
    .lms-courses-count { display: inline-flex; gap: 10px; min-width: 0; min-height: 0; margin-top: 25px; padding: 12px 16px; border-radius: 14px; }
    .lms-courses-count strong { font-size: 25px; }
    .lms-courses-count span { margin-top: 0; }
    .lms-courses-content { margin-top: -60px; padding-bottom: 70px; }
    .lms-courses-toolbar { align-items: flex-start; flex-direction: column; padding: 21px; }
    .lms-courses-toolbar .lms-shell-button { width: 100%; }
    .lms-course-grid { grid-template-columns: 1fr; gap: 17px; }
    .lms-course-body { padding: 19px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
