:root {
    --navy-950: #07111e;
    --navy-900: #0b192c;
    --navy-800: #132a4a;
    --indigo-600: #1d4ed8;
    --indigo-700: #1e40af;
    --blue-600: #0284c7;
    --emerald-600: #15803d;
    --amber-500: #ea580c;
    --amber-600: #c2410c;
    --gold-400: #fbbf24;

    --slate-50: #f9fafb;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-900: #0b192c;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    --shadow-sm: 0 1px 2px rgba(11, 25, 44, 0.05);
    --shadow-md: 0 4px 14px -2px rgba(11, 25, 44, 0.06), 0 1px 4px -1px rgba(11, 25, 44, 0.04);
    --shadow-lg: 0 12px 28px -6px rgba(11, 25, 44, 0.11), 0 4px 10px -3px rgba(11, 25, 44, 0.05);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--slate-50);
    color: var(--slate-900);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Page Navigation & Buffering Loader */
.igc-top-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 10000;
    background: transparent;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.igc-top-loader.active {
    opacity: 1;
}

.igc-top-loader-fill {
    width: 42%;
    height: 100%;
    background: linear-gradient(90deg, var(--indigo-600), #38bdf8, var(--gold-400));
    border-radius: 99px;
    animation: igcTopBarSlide 1.05s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes igcTopBarSlide {
    0% { transform: translateX(-110%); }
    100% { transform: translateX(260%); }
}

.igc-page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(11, 25, 44, 0.36);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.igc-page-loader.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.igc-loader-card {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: 14px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 20px 45px rgba(7, 17, 30, 0.22);
    max-width: 340px;
    width: 100%;
}

.igc-spinner-ring {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 3px solid var(--slate-200);
    border-top-color: var(--indigo-600);
    border-right-color: var(--indigo-600);
    animation: igcSpin 0.72s linear infinite;
    flex-shrink: 0;
}

@keyframes igcSpin {
    to { transform: rotate(360deg); }
}

.igc-loader-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.igc-loader-copy strong {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy-900);
    line-height: 1.2;
}

.igc-loader-copy strong span {
    color: var(--indigo-600);
}

.igc-loader-copy > span {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--slate-500);
}

/* Video Player Stage Buffering Spinner */
.video-frame-wrap {
    position: relative;
}

.video-buffer-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    background: rgba(7, 17, 30, 0.78);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #f8fafc;
    font-size: 0.84rem;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.video-buffer-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-buffer-overlay .igc-spinner-ring {
    width: 38px;
    height: 38px;
    border-color: rgba(255, 255, 255, 0.2);
    border-top-color: #38bdf8;
    border-right-color: #38bdf8;
}

h1, h2, h3, h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.02em;
    color: var(--slate-900);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Top Utility Bar */
.utility-bar {
    background: var(--navy-950);
    color: #cbd5e1;
    font-size: 0.82rem;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.utility-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.utility-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.16);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 2px 9px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
}

.utility-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.utility-link {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
}

.utility-link:hover {
    color: #fff;
}

.utility-sep {
    color: rgba(255, 255, 255, 0.2);
}

.utility-admin-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f8fafc;
    padding: 4px 11px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.78rem;
    transition: all 0.2s;
}

.utility-admin-link:hover {
    background: var(--indigo-600);
    border-color: var(--indigo-600);
}

/* Sticky Main Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.03);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 20px;
}

.brand-identity {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
}

.brand-logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(11, 25, 44, 0.14));
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--indigo-600) 0%, var(--blue-600) 100%);
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(29, 78, 216, 0.25);
}

.brand-copy {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.32rem;
    color: var(--slate-900);
    line-height: 1.1;
}

.brand-tld {
    color: var(--amber-500);
}

.brand-tagline {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--slate-500);
    letter-spacing: 0.01em;
}

/* Primary Navigation Tabs */
.primary-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--slate-100);
    padding: 5px;
    border-radius: 10px;
    border: 1px solid var(--slate-200);
}

.nav-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--slate-600);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.18s ease;
}

.nav-item:hover {
    color: var(--slate-900);
    background: rgba(255, 255, 255, 0.65);
}

.nav-item.active {
    background: #ffffff;
    color: var(--indigo-600);
    box-shadow: 0 2px 6px rgba(11, 25, 44, 0.08);
}

.nav-item-manuals {
    text-decoration: none;
    color: #c2410c;
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.nav-item-manuals:hover {
    background: #ffedd5;
    color: #9a3412;
    border-color: #fdba74;
}

.nav-badge {
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 99px;
    background: rgba(29, 78, 216, 0.12);
    color: var(--indigo-600);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 9px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.92rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.18s ease;
}

.btn-sm {
    padding: 8px 14px;
    font-size: 0.84rem;
}

.btn-lg {
    padding: 13px 24px;
    font-size: 0.95rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--indigo-600);
    color: #fff;
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
}

.btn-primary:hover {
    background: var(--indigo-700);
    transform: translateY(-1px);
}

.btn-saffron {
    background: #dc5a12;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(220, 90, 18, 0.25);
}

.btn-saffron:hover {
    background: #c2410c;
    transform: translateY(-1px);
}

.btn-whatsapp {
    background: #15803d;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(21, 128, 61, 0.28);
}

.btn-whatsapp:hover {
    background: #166534;
    transform: translateY(-1px);
}

.btn-light-primary {
    background: #ffffff;
    color: var(--navy-900);
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.btn-light-primary:hover {
    background: #f8fafc;
    transform: translateY(-1px);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.16);
}

.btn-outline-slate {
    background: #ffffff;
    border-color: var(--slate-200);
    color: var(--slate-700);
}

.btn-outline-slate:hover {
    border-color: var(--indigo-600);
    color: var(--indigo-600);
}

/* Tab Switching */
.student-tab {
    display: none;
}

.student-tab.active {
    display: block;
    animation: fadeUp 0.22s ease;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Banner */
.hero-banner {
    background-color: #0b172a;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 40px 40px;
    color: #fff;
    padding: 58px 0 64px;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #dc5a12;
}

.hero-branch-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.hero-branch-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #e2e8f0;
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.14s ease;
}

.hero-branch-tag strong {
    color: #fbbf24;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.hero-branch-tag:hover {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(251, 191, 36, 0.55);
    transform: translateY(-1px);
}

/* Prominent Hero All Branch Manuals CTA Card */
.hero-manuals-cta {
    margin-top: 18px;
    max-width: 560px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(251, 191, 36, 0.38);
    text-decoration: none;
    color: #ffffff;
    transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.14s ease;
}

.hero-manuals-cta:hover {
    background: rgba(255, 255, 255, 0.13);
    border-color: #fbbf24;
    transform: translateY(-1px);
}

.hero-manuals-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.hero-manuals-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: rgba(251, 191, 36, 0.16);
    color: #fbbf24;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-manuals-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.hero-manuals-copy strong {
    font-size: 0.94rem;
    font-weight: 700;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.manuals-free-tag {
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 2px 7px;
    border-radius: 99px;
    background: #15803d;
    color: #ffffff;
}

.hero-manuals-copy span {
    font-size: 0.78rem;
    color: #cbd5e1;
    line-height: 1.35;
}

.hero-manuals-arrow {
    font-size: 0.84rem;
    font-weight: 700;
    color: #fbbf24;
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.95fr;
    gap: 44px;
    align-items: center;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.79rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 20px;
}

.trust-star {
    color: #fbbf24;
    font-weight: 700;
}

.hero-heading {
    color: #ffffff;
    font-size: clamp(2.05rem, 3.5vw, 3.05rem);
    line-height: 1.16;
    margin-bottom: 18px;
}

.text-highlight {
    color: #fbbf24;
    border-bottom: 3px solid rgba(234, 88, 12, 0.75);
    padding-bottom: 2px;
}

.hero-lead {
    color: #cbd5e1;
    font-size: 1.03rem;
    margin-bottom: 26px;
    max-width: 620px;
}

.hero-batch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin-bottom: 24px;
}

.hero-batch-grid-6 .hero-batch-box {
    padding: 11px 14px;
    gap: 11px;
}

.hero-batch-grid-6 .batch-icon-tag {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
}

.hero-batch-grid-6 .batch-box-info h4 {
    font-size: 0.88rem;
}

.hero-batch-grid-6 .batch-box-info p {
    font-size: 0.74rem;
}

.hero-batch-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(19, 42, 74, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 15px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hero-batch-box:hover {
    background: rgba(29, 78, 216, 0.22);
    border-color: #fbbf24;
    transform: translateY(-2px);
}

.batch-icon-tag {
    width: 44px;
    height: 44px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}

.tag-royal,
.tag-indigo {
    background: rgba(29, 78, 216, 0.32);
    color: #93c5fd;
    border: 1px solid rgba(96, 165, 250, 0.45);
}

.tag-saffron,
.tag-emerald {
    background: rgba(234, 88, 12, 0.28);
    color: #fdba74;
    border: 1px solid rgba(251, 146, 60, 0.5);
}

.batch-box-info h4 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.batch-box-info p {
    color: #94a3b8;
    font-size: 0.78rem;
}

.batch-arrow {
    margin-left: auto;
    color: #fbbf24;
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Hero Right Result Showcase Card */
.result-showcase-card {
    background: rgba(15, 35, 63, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-top: 3px solid #fbbf24;
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.5);
}

.result-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.result-header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.result-crest-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}

.card-kicker {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #38bdf8;
    display: block;
    margin-bottom: 4px;
}

.result-card-header h3 {
    color: #fff;
    font-size: 1.25rem;
}

.verified-pill {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.4);
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 0.74rem;
    font-weight: 700;
}

.hero-featured-topper {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 20px;
}

.hero-metrics-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.metric-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

.metric-item strong {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.55rem;
    color: #fff;
}

.metric-item span {
    font-size: 0.78rem;
    color: #94a3b8;
}

/* Section Layout */
.section-container {
    padding: 64px 0;
}

.bg-white {
    background: #ffffff;
    border-bottom: 1px solid var(--slate-200);
}

.bg-slate {
    background: var(--slate-50);
    border-bottom: 1px solid var(--slate-200);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.section-head.centered {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-kicker {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--indigo-600);
    display: block;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.section-heading {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 6px;
}

.section-desc {
    color: var(--slate-600);
    font-size: 0.98rem;
    max-width: 640px;
}

/* Filter Chips */
.filter-bar-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chip {
    background: var(--slate-100);
    border: 1px solid var(--slate-200);
    color: var(--slate-700);
    padding: 8px 15px;
    border-radius: 99px;
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
}

.filter-chip:hover {
    border-color: var(--indigo-600);
    color: var(--indigo-600);
}

.filter-chip.active {
    background: var(--indigo-600);
    border-color: var(--indigo-600);
    color: #fff;
}

/* Natural Beautiful Dropdown Filter Bar */
.filter-dropdown-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.natural-dropdown {
    position: relative;
    display: inline-block;
}

.nd-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 185px;
    padding: 9px 14px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.86rem;
    color: var(--navy-900);
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
    user-select: none;
}

.nd-trigger:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

.natural-dropdown.open .nd-trigger,
.nd-trigger:focus-visible {
    outline: none;
    border-color: var(--indigo-600);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.nd-trigger.is-filtered {
    border-color: #93c5fd;
    background: #eff6ff;
}

.nd-trigger.is-filtered .nd-value {
    color: var(--indigo-600);
}

.nd-trigger-left {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.nd-icon {
    color: var(--slate-500);
    flex-shrink: 0;
}

.nd-step {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: var(--navy-900);
    font-size: 0.72rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.nd-trigger.is-filtered .nd-step,
.natural-dropdown.open .nd-step {
    background: var(--indigo-600);
    border-color: var(--indigo-600);
    color: #ffffff;
}

.nd-trigger.is-filtered .nd-icon {
    color: var(--indigo-600);
}

.nd-prefix {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--slate-500);
    white-space: nowrap;
}

.nd-value {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--navy-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nd-chevron {
    color: var(--slate-500);
    flex-shrink: 0;
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), color 0.18s ease;
}

.natural-dropdown.open .nd-chevron {
    transform: rotate(180deg);
    color: var(--indigo-600);
}

.nd-menu {
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    min-width: 235px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.14), 0 2px 8px rgba(15, 23, 42, 0.05);
    z-index: 120;
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.natural-dropdown.nd-align-right .nd-menu {
    left: auto;
    right: 0;
}

.natural-dropdown.open .nd-menu {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.nd-group-title {
    padding: 6px 10px 5px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--slate-500);
}

.nd-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 4px 6px;
}

.nd-option {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 11px;
    border: none;
    border-radius: 8px;
    background: transparent;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    color: #334155;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.14s ease, color 0.14s ease;
}

.nd-option:hover {
    background: #f1f5f9;
    color: var(--navy-900);
}

.nd-option.active {
    background: #eff6ff;
    color: var(--indigo-600);
    font-weight: 700;
}

.nd-opt-text {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: nowrap;
}

.nd-opt-text small {
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--slate-500);
}

.nd-option.active .nd-opt-text small {
    color: #3b82f6;
}

.nd-check {
    color: var(--indigo-600);
    opacity: 0;
    flex-shrink: 0;
    transition: opacity 0.14s ease;
}

.nd-option.active .nd-check {
    opacity: 1;
}

.nd-reset-btn {
    padding: 8px 12px;
    border-radius: 9px;
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #b91c1c;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.16s ease, border-color 0.16s ease;
}

.nd-reset-btn:hover {
    background: #fee2e2;
    border-color: #fca5a5;
}

/* Championship Podium & Toppers Cards */
.championship-podium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 28px;
}

.student-toppers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 22px;
}

.topper-pro-card {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.22s ease;
    position: relative;
}

.topper-pro-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.topper-pro-card.podium-1 {
    border-top: 4px solid #f59e0b;
    background: linear-gradient(180deg, #fffbeb 0%, #ffffff 35%);
}

.topper-pro-card.podium-2 {
    border-top: 4px solid #64748b;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 35%);
}

.topper-pro-card.podium-3 {
    border-top: 4px solid #d97706;
    background: linear-gradient(180deg, #fef3c7 0%, #ffffff 35%);
}

.topper-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topper-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, var(--indigo-600), var(--blue-600));
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.topper-score-box {
    margin-left: auto;
    text-align: right;
}

.score-val {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--indigo-600);
    line-height: 1.1;
    display: block;
}

.score-session {
    font-size: 0.73rem;
    font-weight: 600;
    color: var(--slate-500);
}

.topper-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pro-badge {
    font-size: 0.74rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}

.pro-badge-co { background: #eef2ff; color: #4338ca; }
.pro-badge-it { background: #ecfeff; color: #0e7490; }
.pro-badge-an { background: #f3e8ff; color: #7e22ce; }
.pro-badge-sem { background: #ecfdf5; color: #047857; }
.pro-badge-college { background: var(--slate-100); color: var(--slate-700); }

.topper-achievement-bar {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 0.83rem;
    font-weight: 600;
}

.topper-testimonial {
    font-size: 0.86rem;
    color: var(--slate-600);
    font-style: italic;
}

/* Features Grid */
.features-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.feature-box {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--indigo-600);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.icon-royal,
.icon-indigo { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.icon-saffron,
.icon-blue { background: #fff7ed; color: #ea580c; border: 1px solid #fed7aa; }
.icon-emerald { background: #ecfdf5; color: #15803d; border: 1px solid #a7f3d0; }
.icon-navy,
.icon-amber { background: #f1f5f9; color: #0b192c; border: 1px solid #cbd5e1; }

.feature-box h3 {
    font-size: 1.1rem;
}

.feature-box p {
    font-size: 0.88rem;
    color: var(--slate-600);
}

.feature-link {
    margin-top: auto;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--indigo-600);
}

/* K-Scheme Curriculum Matrix Table */
.kscheme-badge-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
}

.curriculum-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.curriculum-panel {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.curriculum-panel-head {
    padding: 20px 24px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.head-royal {
    background: linear-gradient(135deg, #0b192c 0%, #1e40af 100%);
    border-bottom: 3px solid #38bdf8;
}

.head-saffron {
    background: linear-gradient(135deg, #0b192c 0%, #173257 100%);
    border-bottom: 3px solid #ea580c;
}

.curr-tag {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fbbf24;
    margin-bottom: 3px;
}

.curriculum-panel-head h3 {
    color: #ffffff;
    font-size: 1.16rem;
}

.curriculum-table-wrap {
    overflow-x: auto;
}

.curriculum-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
}

.curriculum-table th {
    text-align: left;
    padding: 11px 16px;
    background: var(--slate-50);
    color: var(--slate-600);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--slate-200);
}

.curriculum-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--slate-100);
    color: var(--slate-700);
    vertical-align: middle;
}

.curriculum-table tr:last-child td {
    border-bottom: none;
}

.curriculum-table code {
    background: #eff6ff;
    color: #1e40af;
    padding: 3px 7px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.78rem;
    white-space: nowrap;
}

.curriculum-table tr.curr-elective-divider td {
    background: #fffbeb;
    color: #92400e;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-top: 1px solid #fde68a;
    border-bottom: 1px solid #fde68a;
}

.curr-cat-pill {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
}

.curr-cat-pill.is-elective {
    background: #fff7ed;
    color: #c2410c;
    border-color: #fed7aa;
}

.curr-cat-pill.is-core {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.curr-syllabus-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 7px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.14s ease;
}

.curr-syllabus-btn:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
    transform: translateY(-1px);
}

.curr-syllabus-btn.is-elective {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
}

.curr-syllabus-btn.is-elective:hover {
    background: #ea580c;
    border-color: #ea580c;
    color: #ffffff;
}

/* Meet Your Educator, Experience, Specialized Subjects & Built Projects Showcase */
.educator-showcase-wrapper {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-left: 5px solid var(--indigo-600);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.educator-showcase-box {
    padding: 38px 38px 34px;
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 40px;
    align-items: start;
}

.educator-visual-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.educator-portrait-frame {
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffffff 45%, #eff6ff 100%);
    border: 3px solid var(--slate-200);
    padding: 10px;
    box-shadow: 0 14px 30px rgba(11, 25, 44, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.educator-logo-portrait {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.educator-badge-strip {
    background: var(--navy-900);
    color: #ffffff;
    padding: 11px 18px;
    border-radius: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 14px;
}

.educator-badge-strip strong {
    font-size: 0.98rem;
    color: #fbbf24;
}

.educator-badge-strip span {
    font-size: 0.76rem;
    color: #cbd5e1;
}

/* Teaching Experience Credential Card */
.educator-exp-card {
    width: 100%;
    background: #f8fafc;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 14px 16px;
    text-align: left;
}

.educator-exp-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--indigo-600);
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--slate-200);
}

.educator-exp-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.educator-exp-list li {
    position: relative;
    padding-left: 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.educator-exp-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--amber-500);
}

.educator-exp-list strong {
    font-size: 0.87rem;
    color: var(--navy-900);
    line-height: 1.25;
}

.educator-exp-list span {
    font-size: 0.76rem;
    color: var(--slate-600);
    line-height: 1.35;
}

.educator-role-line {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--amber-500);
    margin-bottom: 12px;
}

.educator-bio-text {
    font-size: 0.95rem;
    color: var(--slate-600);
    margin-bottom: 20px;
    max-width: 740px;
    line-height: 1.65;
}

/* Specialized Subjects Chips */
.educator-subjects-box {
    margin-bottom: 22px;
    background: #f8fafc;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 14px 16px;
}

.educator-sub-label {
    display: inline-block;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--indigo-600);
    margin-bottom: 10px;
}

.subject-spec-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.subject-spec-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 6px 12px 6px 7px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--navy-900);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.spec-code {
    background: var(--navy-900);
    color: #fbbf24;
    font-family: "JetBrains Mono", "Fira Code", monospace;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 5px;
    letter-spacing: 0.04em;
}

.methodology-pillars {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.method-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    padding: 12px 16px;
    border-radius: 10px;
}

.method-check {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: #dcfce7;
    color: #15803d;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.method-item h4 {
    font-size: 0.94rem;
    margin-bottom: 2px;
}

.method-item p {
    font-size: 0.84rem;
    color: var(--slate-600);
}

.educator-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Founder Real-World Projects & Live Platforms Portfolio */
.educator-portfolio-block {
    background: #f8fafc;
    border-top: 1px solid var(--slate-200);
    padding: 30px 38px 36px;
}

.educator-portfolio-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.educator-portfolio-head h3 {
    font-size: 1.28rem;
    color: var(--navy-900);
    margin: 0;
}

.educator-portfolio-head p {
    font-size: 0.88rem;
    color: var(--slate-600);
    max-width: 480px;
    margin: 0;
}

.educator-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.founder-project-card {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.founder-project-card.is-live:hover {
    transform: translateY(-3px);
    border-color: var(--indigo-600);
    box-shadow: 0 10px 24px rgba(29, 78, 216, 0.1);
}

.founder-project-card:not(.is-live):hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.fp-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.fp-tag {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

.fp-tag-live {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.fp-tag-tech {
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

.fp-link-icon {
    color: var(--indigo-600);
    flex-shrink: 0;
}

.fp-icon-muted {
    color: var(--slate-500);
    flex-shrink: 0;
}

.fp-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy-900);
    margin: 2px 0 0;
}

.founder-project-card.is-live:hover .fp-title {
    color: var(--indigo-600);
}

.fp-desc {
    font-size: 0.83rem;
    color: var(--slate-600);
    line-height: 1.5;
    margin: 0;
}

/* FAQ Accordion */
.faq-accordion-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: 11px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-item[open] {
    border-color: var(--indigo-600);
}

.faq-question {
    list-style: none;
    padding: 17px 22px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--slate-900);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-toggle-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: var(--slate-100);
    color: var(--indigo-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 800;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-toggle-icon {
    background: var(--indigo-600);
    color: #ffffff;
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 22px 18px;
    font-size: 0.91rem;
    color: var(--slate-600);
    line-height: 1.65;
    border-top: 1px solid var(--slate-100);
    padding-top: 14px;
}

/* Inquiry Section */
.inquiry-banner-card {
    background: linear-gradient(135deg, #0a1628 0%, #132a4a 100%);
    border-top: 4px solid #ea580c;
    border-radius: var(--radius-xl);
    padding: 44px;
    color: #fff;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.inquiry-direct-contact {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.inquiry-info h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 14px;
}

.inquiry-info p {
    color: #cbd5e1;
    margin-bottom: 22px;
}

.inquiry-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #e2e8f0;
    font-weight: 500;
    font-size: 0.93rem;
}

.inquiry-form-card {
    background: #ffffff;
    color: var(--slate-900);
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.inquiry-form-card h3 {
    margin-bottom: 18px;
    font-size: 1.25rem;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 14px;
}

.field-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.field-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--slate-700);
}

.field-group input,
.field-group select {
    padding: 10px 13px;
    border-radius: 9px;
    border: 1px solid var(--slate-300);
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--slate-900);
    outline: none;
}

.field-group input:focus,
.field-group select:focus {
    border-color: var(--indigo-600);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

/* Subbanner for Inner Tabs */
.page-subbanner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 42px 0;
}

.subbanner-kicker {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #38bdf8;
    display: block;
    margin-bottom: 6px;
}

.page-subbanner h1 {
    color: #fff;
    font-size: 2.1rem;
    margin-bottom: 6px;
}

.page-subbanner p {
    color: #cbd5e1;
    font-size: 0.98rem;
}

/* Lectures Batch Switcher Tiles */
.batch-switcher-grid {
    display: grid;
    grid-template-columns: 1.15fr 1.15fr 0.85fr;
    gap: 20px;
    margin-bottom: 28px;
}

.batch-switcher-grid-all {
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}

.batch-select-tile {
    background: #ffffff;
    border: 2px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: var(--shadow-sm);
}

.batch-select-tile:hover {
    border-color: #818cf8;
    transform: translateY(-2px);
}

.batch-select-tile.active {
    border-color: var(--indigo-600);
    background: linear-gradient(180deg, #eef2ff 0%, #ffffff 55%);
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.14);
}

.tile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tile-badge {
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 11px;
    border-radius: 7px;
}

.badge-royal,
.badge-indigo { background: #dbeafe; color: #1e40af; }
.badge-saffron,
.badge-emerald { background: #ffedd5; color: #c2410c; }
.badge-slate { background: var(--slate-200); color: var(--slate-700); }

.locked-resource-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #c2410c;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
}

.tile-count {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--slate-500);
}

.batch-select-tile p {
    font-size: 0.86rem;
    color: var(--slate-600);
}

.tile-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--slate-200);
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 700;
}

.tile-status { color: var(--emerald-600); }
.tile-cta { color: var(--indigo-600); }

/* Filter Toolbar */
.filter-toolbar {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-sm);
}

.search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    padding: 9px 14px;
    border-radius: 10px;
    flex: 1;
    min-width: 260px;
    color: var(--slate-500);
}

.search-field input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--slate-900);
}

.dropdown-field {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--slate-700);
}

.dropdown-field select,
.field-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 34px;
    cursor: pointer;
}

.dropdown-field select {
    padding: 9px 34px 9px 14px;
    border-radius: 10px;
    border: 1px solid var(--slate-200);
    background-color: var(--slate-50);
    font-family: inherit;
    font-size: 0.88rem;
    color: var(--slate-900);
    outline: none;
}

/* Lecture Mode Switcher (Live Google Meet vs Recorded) */
.lecture-mode-bar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: 11px;
    padding: 5px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
}

.lecture-mode-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--slate-600);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.16s ease, color 0.16s ease;
}

.lecture-mode-btn:hover {
    color: var(--slate-900);
    background: var(--slate-100);
}

.lecture-mode-btn.active {
    background: var(--navy-900);
    color: #ffffff;
}

.mode-tab-count {
    font-size: 0.74rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    padding: 2px 7px;
    border-radius: 99px;
    background: var(--slate-100);
    color: var(--slate-600);
}

.lecture-mode-btn.active .mode-tab-count {
    background: rgba(255, 255, 255, 0.16);
    color: #f8fafc;
}

.live-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dc2626;
    flex-shrink: 0;
}

/* Live Google Meet Class Cards */
.live-class-card {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.live-class-card:hover {
    border-color: var(--indigo-600);
    box-shadow: var(--shadow-md);
}

.live-class-card.is-live-now {
    border-left: 3px solid #dc2626;
}

.live-class-card.is-ended {
    opacity: 0.78;
}

.pro-badge-common {
    background: #eef2ff;
    color: #3730a3;
    border: 1px solid #c7d2fe;
}

.live-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
}

.live-pill-now {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.live-dot-sm {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #dc2626;
}

.live-pill-scheduled {
    background: #eff6ff;
    color: var(--indigo-600);
    border: 1px solid #bfdbfe;
}

.live-pill-ended {
    background: var(--slate-100);
    color: var(--slate-500);
    border: 1px solid var(--slate-200);
}

.live-card-subject {
    font-size: 0.83rem;
    font-weight: 700;
    color: var(--indigo-600);
}

.live-card-topic {
    font-size: 1.05rem;
    line-height: 1.38;
    color: var(--slate-900);
}

.live-schedule-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 9px 12px;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--slate-700);
}

.live-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.live-meta-item svg {
    color: var(--slate-500);
    flex-shrink: 0;
}

.live-class-note {
    font-size: 0.84rem;
    color: var(--slate-600);
    line-height: 1.5;
}

.live-faculty-label {
    font-size: 0.79rem;
    font-weight: 600;
    color: var(--slate-500);
}

.live-card-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-meet-live {
    background: var(--emerald-600);
    color: #ffffff;
    border: 1px solid var(--emerald-600);
}

.btn-meet-live:hover {
    background: #166534;
    border-color: #166534;
    color: #ffffff;
}

.live-ended-note {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--slate-500);
}

/* Compact Lecture Semester Strip */
.lecture-sem-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.sem-pill-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: var(--slate-700);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.sem-pill-tab:hover {
    border-color: var(--indigo-600);
    color: var(--indigo-600);
    background: #f8fafc;
}

.sem-pill-tab.active {
    background: var(--navy-900);
    border-color: var(--navy-900);
    color: #ffffff;
}

.sem-tab-count {
    font-size: 0.74rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    padding: 2px 7px;
    border-radius: 99px;
    background: #f1f5f9;
    color: var(--slate-600);
}

.sem-pill-tab.active .sem-tab-count {
    background: rgba(251, 191, 36, 0.22);
    color: #fbbf24;
}

.metric-item strong,
.score-val,
.curriculum-table code {
    font-variant-numeric: tabular-nums;
}

/* 3-Column Content Cards Grid */
.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 24px;
}

/* Lecture Card */
.pro-lecture-card {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    transition: all 0.22s ease;
}

.pro-lecture-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--indigo-600);
}

.pro-lecture-thumb {
    height: 195px;
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 60%, #1e3a8a 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}

.pro-lecture-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-center-play {
    text-align: center;
    padding: 18px;
}

.thumb-subj-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.14);
    color: #e0e7ff;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.74rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.play-circle-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--indigo-600);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s;
}

.pro-lecture-thumb:hover .play-circle-icon {
    transform: scale(1.1);
}

.thumb-top-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--indigo-600);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.73rem;
    font-weight: 800;
}

.thumb-time-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 700;
}

.pro-lecture-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.pro-lecture-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--indigo-600);
}

.pro-lecture-title {
    font-size: 1.05rem;
    line-height: 1.35;
    cursor: pointer;
}

.pro-lecture-title:hover {
    color: var(--indigo-600);
}

.pro-lecture-desc {
    font-size: 0.86rem;
    color: var(--slate-600);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pro-lecture-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--slate-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--slate-500);
}

/* Notes MSBTE Course & Sem Selector Box */
.msbte-filter-box {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 28px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

.msbte-step-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.step-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--indigo-600);
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.msbte-step-title h4 {
    font-size: 1rem;
}

.msbte-step-title p {
    font-size: 0.8rem;
    color: var(--slate-500);
}

.course-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
    gap: 10px;
}

.course-btn {
    background: var(--slate-50);
    border: 1.5px solid var(--slate-200);
    border-radius: 12px;
    padding: 12px;
    text-align: left;
    cursor: pointer;
    transition: all 0.18s;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-family: inherit;
}

.course-btn strong {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    color: var(--slate-900);
}

.course-btn span {
    font-size: 0.74rem;
    color: var(--slate-500);
}

.course-btn:hover {
    border-color: var(--indigo-600);
}

.course-btn.active {
    background: #eef2ff;
    border-color: var(--indigo-600);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.12);
}

.course-btn.active strong {
    color: var(--indigo-700);
}

.filter-divider {
    border: none;
    height: 1px;
    background: var(--slate-200);
    margin: 22px 0;
}

.semester-selector-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sem-btn {
    background: var(--slate-50);
    border: 1.5px solid var(--slate-200);
    color: var(--slate-700);
    padding: 10px 18px;
    border-radius: 10px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.18s;
}

.sem-btn:hover {
    border-color: var(--indigo-600);
    color: var(--indigo-600);
}

.sem-btn.active {
    background: var(--indigo-600);
    border-color: var(--indigo-600);
    color: #fff;
}

.notes-subtoolbar {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--slate-200);
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.selection-indicator {
    background: #f1f5f9;
    padding: 9px 14px;
    border-radius: 9px;
    font-size: 0.84rem;
    color: var(--slate-700);
}

/* Note Card & Project Card */
.pro-doc-card {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.2s ease;
}

.pro-doc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--indigo-600);
}

.doc-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.doc-type-pill {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.doc-card-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--slate-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tech-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tech-tag {
    font-size: 0.74rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 99px;
    background: var(--slate-100);
    color: var(--slate-700);
}

.hidden {
    display: none !important;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eef2ff;
    border: 1.5px solid #c7d2fe;
    color: var(--indigo-700);
    padding: 5px 12px 5px 6px;
    border-radius: 99px;
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.profile-trigger-btn:hover {
    background: var(--indigo-600);
    border-color: var(--indigo-600);
    color: #ffffff;
}

.profile-icon-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--indigo-600);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.profile-trigger-btn:hover .profile-icon-circle {
    background: rgba(255, 255, 255, 0.2);
}

/* Student Profile Details & Logout Card Modal */
.student-profile-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 440px;
    padding: 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    max-height: 92vh;
    overflow-y: auto;
}

.profile-hero-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 100%);
    border: 1px solid #c7d2fe;
    padding: 16px;
    border-radius: 14px;
    margin-bottom: 18px;
}

.profile-avatar-lg {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--indigo-600), var(--blue-600));
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(79, 70, 229, 0.28);
}

.profile-hero-info h3 {
    font-size: 1.15rem;
    margin-bottom: 3px;
}

.profile-verified-tag {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--emerald-600);
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 2px 9px;
    border-radius: 99px;
}

.profile-details-list {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 14px;
    padding: 6px 16px;
    margin-bottom: 20px;
}

.profile-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--slate-200);
    font-size: 0.85rem;
}

.profile-detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--slate-500);
    font-weight: 600;
}

.detail-val {
    color: var(--slate-900);
    font-weight: 700;
    text-align: right;
    word-break: break-word;
}

.profile-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-logout-danger {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #e11d48;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 700;
}

.btn-logout-danger:hover {
    background: #e11d48;
    border-color: #e11d48;
    color: #ffffff;
}

/* Student Login & Sign Up Modal */
.student-auth-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 480px;
    padding: 30px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    max-height: 92vh;
    overflow-y: auto;
}

.student-auth-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.auth-gate-notice {
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    color: #3730a3;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 0.84rem;
    margin-bottom: 18px;
}

.auth-mode-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background: var(--slate-100);
    padding: 5px;
    border-radius: 11px;
    border: 1px solid var(--slate-200);
    margin-bottom: 18px;
}

.auth-mode-tab {
    padding: 9px 12px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--slate-600);
    font-family: inherit;
    font-weight: 700;
    font-size: 0.86rem;
    cursor: pointer;
    transition: all 0.18s;
}

.auth-mode-tab.active {
    background: #ffffff;
    color: var(--indigo-600);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.auth-alert-box {
    padding: 10px 14px;
    border-radius: 9px;
    font-size: 0.84rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.auth-alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.auth-alert-error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #be123c;
}

.auth-switch-prompt {
    margin-top: 16px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--slate-600);
}

.inline-text-btn {
    background: none;
    border: none;
    color: var(--indigo-600);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
}

.otp-input-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.otp-input-row input {
    flex: 1;
    min-width: 0;
}

.btn-otp-send {
    background: #eef2ff;
    border: 1.5px solid #818cf8;
    color: var(--indigo-700);
    padding: 0 14px;
    border-radius: 9px;
    font-family: inherit;
    font-size: 0.81rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.18s ease;
}

.btn-otp-send:hover:not(:disabled) {
    background: var(--indigo-600);
    border-color: var(--indigo-600);
    color: #ffffff;
}

.btn-otp-send:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Video Player Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(6px);
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.video-modal-box {
    background: #ffffff;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 880px;
    padding: 26px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.video-modal-badge {
    font-size: 0.74rem;
    font-weight: 800;
    color: var(--indigo-600);
    display: block;
    margin-bottom: 2px;
}

.modal-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--slate-200);
    background: var(--slate-50);
    font-size: 1.4rem;
    cursor: pointer;
}

.video-frame-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}

.video-frame-wrap video,
.video-frame-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-modal-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--indigo-600);
    margin-bottom: 8px;
}

.video-views-pill {
    background: var(--slate-100);
    color: var(--slate-700);
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 700;
}

.video-modal-desc {
    font-size: 0.9rem;
    color: var(--slate-600);
}

/* Empty State */
.empty-box {
    grid-column: 1 / -1;
    background: #ffffff;
    border: 1px dashed var(--slate-300);
    border-radius: var(--radius-lg);
    padding: 48px 24px;
    text-align: center;
    color: var(--slate-600);
}

/* Footer */
.main-footer {
    background: var(--navy-950);
    color: #cbd5e1;
    padding: 56px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.footer-about {
    margin-top: 14px;
    font-size: 0.88rem;
    color: #94a3b8;
}

.footer-contact-list {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.83rem;
    color: #cbd5e1;
}

.footer-discreet-admin {
    color: #64748b;
    text-decoration: none;
    font-size: 0.78rem;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    padding-left: 14px;
}

.footer-discreet-admin:hover {
    color: #cbd5e1;
}

/* Floating WhatsApp Support Button */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 260;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #15803d;
    color: #ffffff;
    padding: 11px 18px;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.86rem;
    box-shadow: 0 10px 25px rgba(21, 128, 61, 0.38);
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    transition: all 0.2s ease;
}

.floating-whatsapp-btn:hover {
    background: #166534;
    transform: translateY(-2px);
}

.footer-col h4 {
    color: #ffffff;
    font-size: 0.96rem;
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.86rem;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-bottom-bar {
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #64748b;
    flex-wrap: wrap;
    gap: 10px;
}

/* Toast Stack */
.toast-stack {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 400;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.student-toast {
    background: var(--navy-900);
    color: #fff;
    border-left: 4px solid #10b981;
    padding: 13px 18px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    font-size: 0.88rem;
    font-weight: 600;
}

/* Mobile Bottom App Navigation Bar (Hidden on Desktop) */
.mobile-bottom-nav {
    display: none;
}

/* =========================================================================
   MOBILE-FIRST & TABLET RESPONSIVE DESIGN (ALL PHONES: 320px to 1024px)
   ========================================================================= */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

@media (max-width: 1024px) {
    .hero-layout,
    .championship-podium,
    .curriculum-split-grid,
    .educator-showcase-box,
    .inquiry-banner-card,
    .batch-switcher-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .educator-showcase-box {
        padding: 26px 20px;
        gap: 24px;
    }

    .educator-portfolio-block {
        padding: 24px 20px 28px;
    }

    .educator-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-inner {
        height: auto;
        padding: 12px 20px;
        flex-wrap: wrap;
    }

    .primary-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 768px) {
    /* Reserve space at bottom for the Fixed Mobile Bottom App Bar */
    body {
        padding-bottom: 74px;
    }

    .container {
        padding: 0 16px;
    }

    .floating-whatsapp-btn {
        bottom: 78px;
        right: 14px;
        padding: 10px 14px;
        font-size: 0.78rem;
    }

    .floating-wa-label {
        display: none;
    }

    /* Compact Top Utility Bar on Phones */
    .utility-bar {
        padding: 6px 0;
        font-size: 0.75rem;
    }

    .utility-inner {
        justify-content: center;
        text-align: center;
        gap: 6px;
    }

    .utility-text {
        display: none;
    }

    /* Compact Sticky Header on Phones (Bottom Nav handles tabs) */
    .site-header .header-inner {
        padding: 10px 16px;
        flex-wrap: nowrap;
    }

    .primary-nav {
        display: none;
    }

    .brand-logo-img {
        width: 40px;
        height: 40px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        font-size: 1.05rem;
        border-radius: 9px;
    }

    .brand-name {
        font-size: 1.15rem;
    }

    .brand-tagline {
        font-size: 0.65rem;
    }

    .header-cta {
        gap: 6px;
    }

    #btnOpenStudentAuth {
        display: none; /* Handled by Mobile Bottom Bar Login button */
    }

    .student-profile-pill {
        max-width: 130px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 0.74rem;
        padding: 4px 9px;
    }

    .header-cta .btn {
        padding: 8px 12px;
        font-size: 0.78rem;
    }

    /* Native App Style Fixed Bottom Navigation Bar */
    .mobile-bottom-nav {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 64px;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(14px);
        border-top: 1px solid var(--slate-200);
        box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
        z-index: 250;
    }

    .mob-nav-item {
        border: none;
        background: transparent;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: var(--slate-500);
        font-family: inherit;
        font-size: 0.68rem;
        font-weight: 700;
        cursor: pointer;
        padding: 6px 2px;
        transition: color 0.15s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .mob-nav-item.active {
        color: var(--indigo-600);
    }

    .mob-nav-item.active svg {
        stroke: var(--indigo-600);
        transform: translateY(-1px);
    }

    .mob-nav-item.logged-in {
        color: var(--emerald-600);
    }

    /* Hero Banner Mobile Optimization */
    .hero-banner {
        padding: 32px 0 40px;
    }

    .hero-layout {
        gap: 28px;
    }

    .trust-pill {
        font-size: 0.72rem;
        padding: 5px 11px;
        margin-bottom: 14px;
        flex-wrap: wrap;
    }

    .hero-heading {
        font-size: 1.85rem;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .hero-lead {
        font-size: 0.94rem;
        margin-bottom: 20px;
    }

    .hero-batch-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 20px;
    }

    .hero-batch-box {
        padding: 13px 14px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 13px 18px;
    }

    .result-showcase-card {
        padding: 20px 16px;
    }

    .metric-item strong {
        font-size: 1.35rem;
    }

    /* Sections & Headings on Mobile */
    .section-container {
        padding: 40px 0;
    }

    .section-head {
        margin-bottom: 22px;
        gap: 14px;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    .section-desc {
        font-size: 0.9rem;
    }

    /* Horizontal Touch Scroll for Filter Pills on Mobile */
    .filter-bar-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        width: 100%;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .filter-bar-pills::-webkit-scrollbar {
        display: none;
    }

    .filter-chip {
        flex-shrink: 0;
        white-space: nowrap;
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    /* Natural Dropdown Filter Bar on Mobile */
    .filter-dropdown-bar {
        width: 100%;
        gap: 8px;
    }

    .natural-dropdown {
        flex: 1 1 100%;
        width: 100%;
    }

    .nd-trigger {
        width: 100%;
        min-width: 0;
        padding: 10px 14px;
    }

    .nd-menu,
    .natural-dropdown.nd-align-right .nd-menu {
        left: 0;
        right: 0;
        min-width: 100%;
        width: 100%;
    }

    .nd-reset-btn {
        width: 100%;
        text-align: center;
    }

    /* Toppers Cards on Mobile */
    .championship-podium,
    .student-toppers-grid,
    .cards-grid-3,
    .features-grid-4,
    .educator-projects-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .subject-spec-chip {
        width: 100%;
    }

    .topper-pro-card,
    .pro-doc-card,
    .feature-box {
        padding: 18px 16px;
    }

    .topper-photo {
        width: 52px;
        height: 52px;
        font-size: 1.1rem;
    }

    .score-val {
        font-size: 1.35rem;
    }

    /* Inquiry Section on Mobile */
    .inquiry-banner-card {
        padding: 24px 18px;
        gap: 24px;
        border-radius: 16px;
    }

    .inquiry-info h2 {
        font-size: 1.5rem;
    }

    .inquiry-form-card {
        padding: 20px 16px;
    }

    .field-row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Prevent iOS auto-zoom on form inputs by setting 16px font */
    .field-group input,
    .field-group select,
    .search-field input,
    .dropdown-field select {
        font-size: 16px;
    }

    /* Inner Page Subbanners on Mobile */
    .page-subbanner {
        padding: 28px 0;
    }

    .page-subbanner h1 {
        font-size: 1.55rem;
    }

    .page-subbanner p {
        font-size: 0.88rem;
    }

    /* Compact Lecture Semester Strip on Mobile */
    .lecture-mode-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .lecture-mode-btn {
        justify-content: center;
        padding: 9px 10px;
        font-size: 0.8rem;
        gap: 6px;
    }

    .live-class-card {
        padding: 16px;
    }

    .live-class-card .doc-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .live-card-actions {
        justify-content: flex-end;
    }

    .lecture-sem-strip {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .lecture-sem-strip::-webkit-scrollbar {
        display: none;
    }

    .sem-pill-tab {
        flex-shrink: 0;
        white-space: nowrap;
        padding: 8px 12px;
        font-size: 0.82rem;
    }

    .hero-branch-strip {
        gap: 8px;
    }

    .hero-branch-tag {
        padding: 7px 11px;
        font-size: 0.8rem;
    }

    .hero-manuals-cta {
        max-width: 100%;
        width: 100%;
        padding: 12px 14px;
    }

    .hero-manuals-copy strong {
        font-size: 0.88rem;
    }

    .hero-manuals-copy span {
        font-size: 0.74rem;
    }

    .filter-toolbar {
        padding: 12px;
        gap: 10px;
    }

    .search-field {
        min-width: 100%;
        width: 100%;
    }

    .dropdown-field {
        width: 100%;
        justify-content: space-between;
    }

    .dropdown-field select {
        flex: 1;
    }

    /* Notes MSBTE Course & Semester Selector on Mobile */
    .msbte-filter-box {
        padding: 18px 14px;
        border-radius: 16px;
    }

    .course-selector-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .course-btn {
        padding: 10px;
    }

    .semester-selector-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .semester-selector-row::-webkit-scrollbar {
        display: none;
    }

    .sem-btn {
        flex-shrink: 0;
        white-space: nowrap;
        padding: 9px 14px;
        font-size: 0.82rem;
    }

    .notes-subtoolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .selection-indicator {
        text-align: center;
    }

    /* Bottom-Sheet Style Modals on Mobile Phones */
    .modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .student-auth-card,
    .student-profile-card,
    .video-modal-box {
        border-radius: 20px 20px 0 0;
        padding: 22px 16px 28px;
        max-height: 92vh;
        width: 100%;
        max-width: 100%;
    }

    .video-modal-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    /* Toast Position Above Bottom Nav on Mobile */
    .toast-stack {
        bottom: 76px;
        left: 16px;
        right: 16px;
    }

    .student-toast {
        width: 100%;
        font-size: 0.84rem;
    }
}

@media (max-width: 380px) {
    .hero-heading {
        font-size: 1.65rem;
    }

    .hero-metrics-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .metric-item {
        padding: 10px;
    }

    .topper-card-head {
        flex-wrap: wrap;
    }

    .topper-score-box {
        width: 100%;
        text-align: left;
        margin-left: 0;
        padding-top: 6px;
        border-top: 1px dashed var(--slate-200);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}
