/* ============================================================
   BEE DIGI — Master Unified Color System & Stylesheet v9 (PERFECT FIXED CSS)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

/* ── 1. MASTER CSS VARIABLES ──────────────────────────────── */
:root {
  /* 💙 Primary — Deep Navy Blue */
  --primary:       #060C3B;
  --primary-light: #1E3A8A;
  --primary-dark:  #0F172A;
  --primary-dim:   #0F2057;
  --primary-glow:  rgba(6,12,59,0.18);
  --primary-soft:  rgba(6,12,59,0.06);
  --primary-bg:    rgba(6,12,59,0.04);

  /* 💛 Accent — Gold / Bee Yellow */
  --accent:       #FECF14;
  --accent-light: #FFE366;
  --accent-dark:  #B48000;
  --accent-glow:  rgba(254,207,20,0.4);

  /* 🍯 Secondary — Poly Bee Orange */
  --secondary:       #F26F21;
  --secondary-light: #FF8533;
  --secondary-glow:  rgba(242,111,33,0.25);

  /* 🌤 Backgrounds & Surfaces (Light Mode Default Full Web) */
  --bg:         #F8FAFC;
  --bg-alt:     #F1F5F9;
  --surface:    #FFFFFF;
  --surface-1:  #FFFFFF;
  --surface-2:  #F8FAFC;
  --surface-3:  #FFF9E5;
  --surface-hover: #FFFDF0;

  /* 📝 Text Colors (High Contrast Light Mode) */
  --text-primary:   #0F172A;
  --text-secondary: #334155;
  --text-muted:     #64748B;
  --text-white:     #FFFFFF;
  --text-dark:      #060C3B;
  --text-gold:      #B48000;
  --text-orange:    #F26F21;
  --text-on-primary:#FFFFFF;

  /* 🔲 Borders */
  --border:        rgba(6,12,59,0.12);
  --border-subtle: rgba(6,12,59,0.06);
  --border-bright: rgba(254,207,20,0.5);
  --border-card:   rgba(6,12,59,0.10);

  /* 🌈 Gradients */
  --grad-primary:  linear-gradient(135deg,#060C3B 0%,#1E3A8A 100%);
  --grad-bee:      linear-gradient(135deg,#FECF14 0%,#F26F21 100%);
  --grad-gold:     linear-gradient(135deg,#FECF14 0%,#FF9900 100%);
  --grad-accent:   linear-gradient(90deg,#F26F21,#FECF14);
  --grad-hero:     linear-gradient(180deg, #FFFDF5 0%, #FFFFFF 100%);
  --grad-dark:     linear-gradient(135deg,#060C3B 0%,#1E3A8A 100%);
  --grad-card:     #FFFFFF;
  --grad-text:     linear-gradient(135deg,#060C3B,#F26F21);

  /* 📐 Spacing */
  --space-xs:  4px;  --space-sm:  8px;  --space-md:  16px;
  --space-lg:  24px; --space-xl:  32px; --space-2xl: 48px;
  --space-3xl: 64px; --space-4xl: 96px;

  /* 📐 Radius */
  --radius-sm:   6px;  --radius-md:  12px; --radius-lg:  18px;
  --radius-xl:   24px; --radius-2xl: 32px; --radius-full: 9999px;

  /* 🌑 Shadows */
  --shadow-xs:      0 2px 6px rgba(6,12,59,0.06);
  --shadow-sm:      0 4px 14px rgba(6,12,59,0.08);
  --shadow-md:      0 8px 24px rgba(6,12,59,0.12);
  --shadow-lg:      0 16px 48px rgba(6,12,59,0.16);
  --shadow-primary: 0 8px 24px var(--primary-glow);
  --shadow-card:    0 4px 16px rgba(0,0,0,0.06), 0 0 0 1px var(--border-card);

  /* 🔤 Font System — 1 UNIFIED SANS-SERIF FONT ONLY */
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-handwriting: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* ⚡ Transitions */
  --t-fast: 150ms cubic-bezier(.4,0,.2,1);
  --t:      250ms cubic-bezier(.4,0,.2,1);
  --t-slow: 400ms cubic-bezier(.4,0,.2,1);

  --z-dropdown: 100; --z-sticky: 200; --z-modal: 300; --z-toast: 400;
}

/* ── 2. GLOBAL RESET & MANDATORY FONT UNIFICATION ────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--bg) !important;
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.fa, .fas, .far, .fab, .fa-solid, [class^="fa-"], [class*=" fa-"],
.fa::before, .fas::before, .far::before, .fab::before, .fa-solid::before {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "FontAwesome" !important;
}
a { color:var(--primary-light); text-decoration:none; transition:all var(--t-fast); }
a:hover { color:var(--primary); }
img { max-width:100%; height:auto; display:block; }
button { cursor:pointer; font-family:var(--font); border:none; outline:none; }
input,textarea,select { font-family:var(--font); outline:none; }
ul { list-style:none; }
::selection { background:var(--accent); color:var(--primary); }

/* ── 3. LAYOUT GRID SYSTEM ────────────────────────────────── */
.container    { max-width:1240px; margin:0 auto; padding:0 var(--space-xl); }
.container-sm { max-width:820px;  margin:0 auto; padding:0 var(--space-xl); }
.container-lg { max-width:1440px; margin:0 auto; padding:0 var(--space-xl); }
@media(max-width:768px){ .container,.container-sm,.container-lg{ padding:0 var(--space-md); } }

.grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:var(--space-lg); }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--space-lg); }
.grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:var(--space-lg); }
@media(max-width:1024px){ .grid-4{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:768px) { .grid-2,.grid-3,.grid-4{ grid-template-columns:1fr; } }

.flex         { display:flex; }
.flex-center  { display:flex; align-items:center; justify-content:center; }
.flex-between { display:flex; align-items:center; justify-content:space-between; }
.flex-col     { display:flex; flex-direction:column; }
.justify-between { justify-content: space-between !important; }
.justify-center { justify-content: center !important; }
.justify-start { justify-content: flex-start !important; }
.justify-end { justify-content: flex-end !important; }
.items-start { align-items: flex-start !important; }
.items-center { align-items: center !important; }
.items-end { align-items: flex-end !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-1 { flex: 1 1 0% !important; }
.w-full { width: 100% !important; }
.gap-sm { gap:var(--space-sm); } .gap-md { gap:var(--space-md); } .gap-lg { gap:var(--space-lg); }

.layout-2-col { display:grid; grid-template-columns:1fr 340px; gap:var(--space-2xl); align-items:start; }
@media(max-width:1024px){ .layout-2-col{ grid-template-columns:1fr; } }

.section    { padding:var(--space-4xl) 0; background: var(--bg); }
.section-sm { padding:var(--space-2xl) 0; background: var(--bg); }
.section-alt { background:var(--bg-alt); }
.section-navy { background:var(--primary); color:#FFFFFF!important; }
.section-navy h1, .section-navy h2, .section-navy h3, .section-navy h4, .section-navy p { color:#FFFFFF!important; }

/* ── 4. TYPOGRAPHY & TEXT CONTRAST ───────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family:var(--font); font-weight:700; line-height:1.2; color:var(--text-primary); }

.section-label {
  display:inline-flex; align-items:center; gap:8px;
  font-size:.75rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase;
  color:var(--secondary); margin-bottom:var(--space-sm);
}
.section-label::before { content:''; width:24px; height:3px; background:var(--secondary); border-radius:2px; }

.section-title {
  font-size:clamp(1.8rem,3.5vw,2.6rem); font-weight:800; line-height:1.2;
  color:var(--text-primary); margin-bottom:var(--space-sm);
}
.section-title .gold { color:var(--accent-dark); }
.section-subtitle { font-size:1rem; color:var(--text-secondary); margin-bottom:var(--space-2xl); max-width:620px; }

/* Tagline in Hero & Headers (Crisp High-Contrast Bee Orange) */
.text-script {
  font-family: 'Plus Jakarta Sans', var(--font)!important;
  color: #F26F21!important;
  -webkit-text-fill-color: #F26F21!important;
  font-size: 1.35rem!important;
  font-weight: 800!important;
  text-shadow: none!important;
  letter-spacing: 0.01em;
  display: inline-block;
}

.gradient-text { background: linear-gradient(135deg, #060C3B 0%, #F26F21 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.gradient-title { background: linear-gradient(135deg, #F26F21 0%, #D97706 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.page-banner .gradient-text,
.hero .gradient-text,
.section-navy .gradient-text {
  background: linear-gradient(135deg, #060C3B 0%, #F26F21 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
}
.text-gold { color: #B48000!important; font-weight: 800!important; }
.text-amber { color: #F26F21!important; font-weight: 800!important; }
.text-muted { color: var(--text-muted)!important; }
.text-secondary { color:var(--text-secondary)!important; }
.text-primary { color:var(--primary)!important; }

/* ── 5. RUNNING ANNOUNCEMENT TICKER ───────────────────────── */
/* ── 5. RUNNING ANNOUNCEMENT TICKER ───────────────────────── */
.ticker-wrap {
  background: linear-gradient(90deg, #060C3B 0%, #0F2057 50%, #060C3B 100%);
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  border-bottom: 1px solid rgba(254, 207, 20, 0.3);
}
.ticker-track {
  display: inline-flex; align-items: center; gap: 0;
  animation: ticker 35s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 32px; font-size: 0.82rem; font-weight: 600;
  color: #F8FAFC; white-space: nowrap;
}
.ticker-item-icon { font-size: 0.95rem; color: #FECF14; }
.ticker-sep { color: rgba(254, 207, 20, 0.5); margin: 0 8px; }

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Partner Logo Marquee Slider ── */
.partner-ticker-wrap {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
}
.partner-ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  animation: partnerTicker 28s linear infinite;
}
.partner-ticker-track:hover {
  animation-play-state: paused;
}
.partner-badge {
  background: #FFFFFF;
  border: 1.5px solid rgba(6, 12, 59, 0.12);
  padding: 10px 24px;
  border-radius: 50px;
  color: #0F172A;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(6,12,59,0.06);
  transition: all 0.25s ease;
}
.partner-badge:hover {
  background: #FFF9E5;
  border-color: #F26F21;
  color: #060C3B;
  transform: translateY(-2px);
}
@keyframes partnerTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── 6. HEADER NAVBAR ─────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; left: 0; right: 0; z-index: var(--z-sticky);
  height: 72px; display: flex; align-items: center; padding: 0 var(--space-xl);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6, 12, 59, 0.08);
  box-shadow: 0 4px 20px rgba(6, 12, 59, 0.05);
  transition: all var(--t);
}
.navbar-inner { max-width: 1240px; margin: 0 auto; width: 100%; display: flex; align-items: center; gap: var(--space-lg); }

.navbar-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--accent); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 900; box-shadow: 0 4px 14px var(--accent-glow);
}
.logo-text { font-size: 1.2rem; font-weight: 800; color: #060C3B; letter-spacing: -0.02em; }
.logo-text span { color: #F26F21; }

.navbar-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.nav-link {
  padding: 8px 18px; border-radius: 50px;
  font-size: .88rem; font-weight: 700; color: #334155!important;
  text-decoration: none; transition: all var(--t-fast); white-space: nowrap;
}
.nav-link:hover { color: #F26F21!important; background: rgba(242, 111, 33, 0.08); }
.nav-link.active {
  color: #060C3B !important;
  background: #FFF9E5;
  border: 1.5px solid #FECF14;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(254, 207, 20, 0.25);
}

.navbar-actions { display: flex; align-items: center; gap: var(--space-sm); flex-shrink: 0; }
.navbar-search {
  display: flex; align-items: center; gap: 8px;
  background: #F1F5F9; border: 1px solid var(--border);
  border-radius: var(--radius-full); padding: 6px 14px; transition: all var(--t-fast);
}
.navbar-search input { background: transparent; border: none; color: #0F172A; font-size: .84rem; width: 130px; }
.navbar-search input::placeholder { color: #64748B; }

.zalo-nav-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 22px;
  background: linear-gradient(135deg, #0068FF 0%, #004CBD 100%);
  color: #FFFFFF !important; border-radius: var(--radius-full);
  font-size: .85rem; font-weight: 800; text-decoration: none;
  transition: all var(--t-fast); box-shadow: 0 4px 14px rgba(0, 104, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.zalo-nav-btn:hover {
  background: linear-gradient(135deg, #0055D4 0%, #003B99 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 104, 255, 0.35);
  color: #FFFFFF !important;
}

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 3px; background: #060C3B; border-radius: 2px; transition: all var(--t); }

.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: #FFFFFF; border-bottom: 2px solid #FECF14;
  padding: var(--space-lg) var(--space-xl); flex-direction: column; gap: 8px;
  z-index: calc(var(--z-sticky) - 1); box-shadow: var(--shadow-lg);
}
.mobile-menu .nav-link { color: #334155 !important; }
.mobile-menu .nav-link.active { background: #FFF9E5; color: #060C3B !important; border: 1.5px solid #FECF14; }
.mobile-menu.open { display: flex; }
@media(max-width:1024px){ .navbar-nav,.navbar-search{ display:none; } .hamburger{ display:flex; } }

/* ── 7. HERO SECTION ──────────────────────────────────────── */
.hero {
  padding-top: 60px; padding-bottom: 80px;
  background: var(--grad-hero); color: #0F172A!important;
  position: relative; overflow: hidden;
  border-bottom: 1.5px solid var(--border);
}
.hero h1, .hero p { color: #0F172A; }
.hero .hero-title {
  font-size: clamp(2.4rem,5vw,4.2rem); font-weight: 900; line-height: 1.15;
  color: #060C3B; margin-bottom: var(--space-lg);
}
.hero .hero-title .gold { color: #F26F21; }
.hero-desc { font-size: 1.05rem; color: #334155; line-height: 1.75; margin-bottom: var(--space-2xl); max-width: 620px; }

/* Special High-Contrast Gold Outline Button for Hero */
.btn-hero-outline {
  background: #FFFFFF !important;
  color: #060C3B !important;
  border: 2px solid #060C3B !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 16px rgba(6,12,59,0.12) !important;
}
.btn-hero-outline:hover {
  background: #060C3B !important;
  color: #FECF14 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(6,12,59,0.25) !important;
}

/* Hero Stats Label */
.hero-stat-desc {
  color: #475569 !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  margin-top: 4px;
  display: block;
}

/* ── 8. PAGE BANNER ───────────────────────────────────────── */
.page-banner {
  padding: 50px 0 44px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #FFFDF0 0%, #F8FAFC 100%); color: #0F172A!important; border-bottom: 3px solid #FECF14;
}
.page-banner h1, .page-banner p, .page-banner nav, .page-banner .page-banner-desc { color: #0F172A; }
.page-banner-eyebrow { font-size: .75rem; font-weight: 800; color: #F26F21; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 8px; }
.page-banner-title { font-size: clamp(2rem,4vw,3.2rem); font-weight: 900; color: #060C3B; margin-bottom: 10px; }
.page-banner-desc { font-size: .95rem; color: #334155; max-width: 580px; }
.page-banner-meta { display: flex; gap: var(--space-md); margin-top: var(--space-lg); flex-wrap: wrap; align-items: center; }
.breadcrumb a { color: #F26F21; font-weight: 700; }

/* ── 9. COLORED BORDER CARDS (DUYÊN DIGITAL STYLE) ────────── */
.sc-duan .col-duan-1 { border: 12px solid #98FBE0; border-radius: 28px; background: #FFFFFF; padding: 28px; transition: transform 0.3s ease; box-shadow: 0 8px 24px rgba(0,0,0,0.04); }
.sc-duan .col-duan-2 { border: 12px solid #FBE09B; border-radius: 28px; background: #FFFFFF; padding: 28px; transition: transform 0.3s ease; box-shadow: 0 8px 24px rgba(0,0,0,0.04); }
.sc-duan .col-duan-3 { border: 12px solid #FBB0B0; border-radius: 28px; background: #FFFFFF; padding: 28px; transition: transform 0.3s ease; box-shadow: 0 8px 24px rgba(0,0,0,0.04); }
.sc-duan .col-duan-4 { border: 12px solid #9BB6FB; border-radius: 28px; background: #FFFFFF; padding: 28px; transition: transform 0.3s ease; box-shadow: 0 8px 24px rgba(0,0,0,0.04); }
.sc-duan > div:hover { transform: translateY(-6px); }

/* ── 10. SIGNATURE BOX CONTACT ────────────────────────────── */
.box-contact {
  border-radius: 24px;
  background: #FFFDF0;
  border: 2px solid #FECF14;
  text-align: center;
  color: #0F172A!important;
  position: relative;
  padding: 60px 30px 80px;
  box-shadow: 0 12px 36px rgba(6,12,59,0.06);
  margin-top: 40px;
}
.box-contact .title { font-size: clamp(1.8rem,3vw,2.4rem); font-weight: 900; color: #060C3B; margin-bottom: 12px; }
.box-contact .desc { font-size: 0.95rem; color: #334155; margin-bottom: 30px; }
.box-contact .contact-item {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  padding: 14px 32px; border-radius: 50px; background: #FFFFFF;
  color: #060C3B; border: 2px solid #FECF14; box-shadow: 0 4px 16px rgba(6,12,59,0.08);
}

/* ── 11. BUTTONS, PILLS & BADGES ─────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--radius-full);
  font-family: var(--font); font-size: .9rem; font-weight: 700;
  border: none; cursor: pointer; transition: all var(--t); white-space: nowrap; text-decoration: none;
}
.btn-primary {
  background: var(--accent)!important; color: var(--primary)!important;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); background: #FFE366!important; color: var(--primary)!important; box-shadow: 0 8px 28px var(--accent-glow); }

.btn-secondary {
  background: #FFFFFF!important; color: var(--primary)!important; border: 2px solid var(--primary);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover { background: var(--surface-2)!important; transform: translateY(-1px); }

.btn-ghost {
  background: transparent; color: var(--primary)!important; border: 1.5px solid var(--border);
}
.btn-ghost:hover { background: var(--bg-alt); border-color: var(--primary); }

.btn-zalo { background: #0068FF!important; color: #FFFFFF!important; }
.btn-zalo:hover { background: #0058DD!important; color: #FFFFFF!important; transform: translateY(-2px); }

.btn-sm  { padding: 8px 18px; font-size: .82rem; }
.btn-lg  { padding: 14px 32px; font-size: 1rem; }
.btn-full{ width: 100%; }

/* Pills & Tags */
.pill, .tag, .filter-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 18px; border-radius: var(--radius-full);
  font-size: .84rem; font-weight: 700; background: #FFFFFF;
  border: 1.5px solid var(--border); color: var(--text-primary);
  cursor: pointer; transition: all var(--t-fast);
}
.pill:hover, .tag:hover, .filter-pill:hover { background: var(--surface-2); border-color: var(--primary); color: var(--primary); }
.pill.active, .tag.active, .filter-pill.active {
  background: var(--accent)!important; border-color: var(--accent)!important;
  color: var(--primary)!important; font-weight: 800; box-shadow: 0 4px 14px var(--accent-glow);
}

/* Badges */
.badge {
  background: #F0F4FC; border: 1.5px solid var(--primary);
  color: var(--primary); font-weight: 700; padding: 4px 12px;
  border-radius: var(--radius-full); font-size: 0.76rem; display: inline-block;
}

/* Badge Outline Base (Light Mode) */
.badge-outline {
  background: #F0F4FC; border: 1.5px solid var(--primary);
  color: var(--primary); font-weight: 700; padding: 5px 14px;
  border-radius: var(--radius-full); font-size: 0.78rem; display: inline-block;
}

/* Badge Outline Light Bee Mode */
.page-banner .badge-outline,
.page-banner-meta .badge-outline,
.hero .badge-outline,
.section-navy .badge-outline {
  background: #FFF9E5 !important;
  border: 1.5px solid #FECF14 !important;
  color: #060C3B !important;
  font-weight: 800 !important;
}

.badge-hk1 { background: #EBF2FA; color: var(--primary)!important; border-color: var(--primary); }
.badge-hk2 { background: #FFF9E5; color: #B48000!important; border-color: #FECF14; }
.badge-hk3 { background: #FFE8E8; color: #D26E4B!important; border-color: #D26E4B; }
.badge-hk4 { background: #E1F5FE; color: #0277BD!important; border-color: #0277BD; }
.badge-hk5 { background: #F3E5F5; color: #7B1FA2!important; border-color: #7B1FA2; }
.badge-hk6 { background: #E8F5E9; color: #2E7D32!important; border-color: #2E7D32; }

/* 🎓 Subject Card Master Layout & Perfect Vertical Balance */
#subjects-grid,
.subjects-grid-container {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px !important;
  align-items: stretch !important;
}
@media (max-width: 992px) {
  #subjects-grid,
  .subjects-grid-container {
    grid-template-columns: 1fr !important;
  }
}

.subject-card-item,
#subjects-grid > .card,
.subjects-grid-container > .card {
  background: #FFFFFF !important;
  border: 1.5px solid rgba(6, 12, 59, 0.14) !important;
  border-radius: 24px !important;
  box-shadow: 0 6px 20px rgba(6, 12, 59, 0.04) !important;
  padding: 24px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.subject-card-item:hover,
#subjects-grid > .card:hover,
.subjects-grid-container > .card:hover {
  transform: translateY(-6px) !important;
  border-color: #FECF14 !important;
  box-shadow: 0 16px 36px rgba(6, 12, 59, 0.12), 0 0 0 1px #FECF14 !important;
}

/* Header Row */
.card-header-badge-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  margin-bottom: 18px !important;
  gap: 12px !important;
}

.subject-icon-box {
  width: 50px !important;
  height: 50px !important;
  border-radius: 16px !important;
  background: #F0F4FC !important;
  border: 1.5px solid rgba(6, 12, 59, 0.1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.55rem !important;
  flex-shrink: 0 !important;
  box-shadow: 0 3px 10px rgba(6, 12, 59, 0.06) !important;
}

.subject-code-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #060C3B !important;
  color: #FECF14 !important;
  font-weight: 800 !important;
  font-size: 0.8rem !important;
  padding: 6px 16px !important;
  border-radius: 50px !important;
  border: 1.5px solid #FECF14 !important;
  box-shadow: 0 2px 8px rgba(6, 12, 59, 0.25) !important;
  white-space: nowrap !important;
  letter-spacing: 0.02em !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
  transition: all var(--t-fast) ease;
}

.subject-card-item:hover .subject-code-badge,
.card:hover .subject-code-badge {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(254, 207, 20, 0.4);
}

/* Content Body */
.subject-card-body {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  margin-bottom: 20px !important;
}

.subject-card-title {
  color: #060C3B !important;
  font-weight: 900 !important;
  font-size: 1.2rem !important;
  line-height: 1.35 !important;
  margin-bottom: 10px !important;
  min-height: 2.7em !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.subject-card-desc {
  color: #475569 !important;
  font-size: 0.86rem !important;
  line-height: 1.6 !important;
  margin-bottom: 0 !important;
  min-height: 3.2em !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* Footer Section */
.subject-card-footer {
  margin-top: auto !important;
  padding-top: 16px !important;
  border-top: 1px dashed rgba(6, 12, 59, 0.12) !important;
}

.subject-progress-info {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 0.82rem !important;
  color: #334155 !important;
  margin-bottom: 8px !important;
  font-weight: 600 !important;
}

.subject-progress-percent {
  font-weight: 900 !important;
  color: #060C3B !important;
}

.subject-progress-track {
  height: 9px !important;
  background: #EBF2FA !important;
  border-radius: 50px !important;
  overflow: hidden !important;
  margin-bottom: 20px !important;
  border: 1px solid rgba(6, 12, 59, 0.06) !important;
}

.subject-progress-fill {
  height: 100% !important;
  background: linear-gradient(90deg, #FECF14 0%, #FF9900 100%) !important;
  border-radius: 50px !important;
  transition: width 0.6s ease !important;
}

.subject-card-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  padding: 13px 20px !important;
  font-weight: 800 !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
  border-radius: 50px !important;
  background: #FECF14 !important;
  color: #060C3B !important;
  border: 1.5px solid #060C3B !important;
  box-shadow: 0 4px 14px rgba(254, 207, 20, 0.35) !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
}

.subject-card-btn:hover {
  background: #FFE366 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(254, 207, 20, 0.5) !important;
  color: #060C3B !important;
}

/* Progress Bar */
.progress-bar {
  height: 8px; background: #EBF2FA; border-radius: 50px;
  overflow: hidden; width: 100%;
}
.progress-fill {
  height: 100%; background: linear-gradient(90deg, #FECF14, #FF9900);
  border-radius: 50px; transition: width 0.4s ease;
}

/* ── 12. CARDS & WIDGETS ─────────────────────────────────── */
.card {
  background: var(--surface); border: 1.5px solid var(--border-card);
  border-radius: var(--radius-xl); padding: var(--space-xl);
  box-shadow: var(--shadow-card); transition: all var(--t);
  color: var(--text-primary);
}
.card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow-md); }
.card-hover { transition: all var(--t); }
.card-hover:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow-md); }
.glass-panel { background: var(--surface); border: 1.5px solid var(--border-card); border-radius: var(--radius-xl); padding: var(--space-xl); box-shadow: var(--shadow-xs); }

/* Subject & Exam Cards */
.subject-card {
  background: var(--surface); border: 1.5px solid var(--border-card); border-radius: var(--radius-xl);
  padding: var(--space-xl); display: flex; flex-direction: column; gap: var(--space-md);
  color: var(--text-primary); text-decoration: none;
}
.subject-title { font-size: 1.15rem; font-weight: 800; color: var(--primary); margin-bottom: 6px; }

/* Dashboard Widgets */
.widget-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); margin-bottom: var(--space-2xl); }
@media(max-width:1200px){ .widget-grid{ grid-template-columns: repeat(2,1fr); } }
@media(max-width:640px){ .widget-grid{ grid-template-columns: 1fr; } }

.widget {
  background: var(--surface); border: 1.5px solid var(--border-card); border-radius: var(--radius-xl);
  padding: var(--space-xl); display: flex; flex-direction: column; gap: var(--space-sm);
  transition: all var(--t); box-shadow: var(--shadow-xs);
}
.widget-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; background: var(--surface-3); margin-bottom: var(--space-sm);
}

/* ── 13. FORMS & INPUTS ──────────────────────────────────── */
.select-box, input[type="text"], input[type="number"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%;
  padding: 12px 18px; border-radius: var(--radius-lg);
  border: 1.5px solid var(--border); background: #FFFFFF;
  font-family: var(--font); color: var(--text-primary);
  font-size: .88rem; outline: none; transition: all var(--t-fast);
}
.select-box:focus, input:focus, select:focus, textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Specific Search Box Fix */
.search-box {
  position: relative !important;
  width: 100% !important;
  display: block !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 1.5rem !important;
}
.search-box > input[type="text"],
.search-box > input {
  width: 100% !important;
  padding: 14px 20px 14px 52px !important;
  border-radius: 50px !important;
  border: 1.5px solid var(--border-card) !important;
  background: #FFFFFF !important;
  font-size: 0.94rem !important;
  color: var(--text-primary) !important;
  box-shadow: 0 4px 16px rgba(6,12,59,0.06) !important;
  transition: all var(--t-fast);
}
.search-box > input:focus {
  border-color: var(--accent-dark) !important;
  box-shadow: 0 0 0 3px rgba(254, 207, 20, 0.35) !important;
}
.search-box > .search-icon {
  position: absolute !important;
  left: 20px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 1.15rem !important;
  pointer-events: none !important;
  line-height: 1 !important;
  color: var(--text-muted) !important;
  z-index: 10 !important;
}

.filters-container { display: flex; flex-direction: column; gap: var(--space-md); }
.filter-row { display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap; }
.filter-label { font-size: .86rem; font-weight: 800; color: var(--text-primary); width: 85px; flex-shrink: 0; }
.filter-group { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.sort-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
  padding: 14px 24px !important;
  background: #FFFFFF !important;
  border: 1.5px solid var(--border-card) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-xs) !important;
}
.sort-bar .result-count {
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  color: var(--text-primary) !important;
  white-space: nowrap !important;
}
.sort-bar select,
.sort-bar .select-box {
  width: auto !important;
  min-width: 150px !important;
  padding: 8px 16px !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  border: 1.5px solid var(--border) !important;
  background: #FFFFFF !important;
  color: var(--text-primary) !important;
  cursor: pointer !important;
}

/* ── 14. TAILWIND & UTILITY POLYFILLS ───────────────────── */
.py-12 { padding-top: var(--space-3xl); padding-bottom: var(--space-3xl); }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.p-6 { padding: var(--space-xl); }
.p-4 { padding: var(--space-md); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.border-primary { border-color: var(--primary)!important; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.w-full { width: 100%; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-xs { font-size: .75rem; }
.text-sm { font-size: .875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.flex-1 { flex: 1 1 0%; }
.mx-4 { margin-left: 1rem; margin-right: 1rem; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ── 15. FOOTER ───────────────────────────────────────────── */
footer, #footer-placeholder {
  margin-top: auto !important;
  margin-bottom: 0 !important;
  background: #FFFFFF !important;
  color: #0F172A !important;
  padding: 60px 0 40px !important;
  border-top: 4px solid #FECF14 !important;
  box-shadow: 0 -4px 20px rgba(6,12,59,0.04);
}
footer h4, footer p, footer a, footer span, footer li { color: #334155 !important; }
footer a:hover { color: #F26F21 !important; }

/* ── 16. MOBILE OPTIMIZATION & RESPONSIVE DESIGN SYSTEM ───── */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }

  /* Prevent iOS Input Auto-Zoom */
  input[type="text"], input[type="number"], input[type="tel"], input[type="email"], select, textarea {
    font-size: 16px !important;
  }

  /* Layout & Containers */
  .container, .container-sm, .container-lg {
    padding-left: 14px !important;
    padding-right: 14px !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .section {
    padding: 32px 0 !important;
  }
  .section-sm {
    padding: 20px 0 !important;
  }

  /* Grid System Collapse */
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
  }

  .flex-between {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  h1, h2, h3, h4, h5, h6, p, span, div, a {
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  /* Header & Mobile Drawer */
  .navbar {
    height: 68px !important;
    padding: 0 16px !important;
  }
  .navbar-inner {
    justify-content: space-between;
  }
  .mobile-menu {
    top: 68px !important;
    padding: 16px !important;
    gap: 8px !important;
    background: rgba(6, 12, 59, 0.98) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .mobile-menu .nav-link {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 0.92rem;
    border-radius: 12px;
  }

  /* Hero Section Mobile */
  .hero {
    padding-top: 36px !important;
    padding-bottom: 48px !important;
  }
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .hero .hero-title {
    font-size: clamp(1.75rem, 6.5vw, 2.4rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 16px !important;
  }
  .hero-desc {
    font-size: 0.92rem !important;
    line-height: 1.65 !important;
    margin-bottom: 24px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .hero .flex-center.gap-md.flex-wrap {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100%;
  }
  .btn-lg {
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 0.92rem !important;
    justify-content: center;
    text-align: center;
  }

  /* Section Titles & Typography */
  .section-title {
    font-size: 1.6rem !important;
    line-height: 1.25 !important;
  }
  .section-subtitle {
    font-size: 0.88rem !important;
    margin-bottom: 24px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Partner Marquee Ticker Mobile */
  .partner-badge {
    padding: 8px 18px !important;
    font-size: 0.84rem !important;
  }
  .partner-ticker-track {
    gap: 14px !important;
  }

  /* Cards & Widgets Mobile */
  .card {
    padding: 20px 16px !important;
    border-radius: 18px !important;
  }
  .card p {
    font-size: 0.82rem !important;
  }

  /* Contact Box Mobile */
  .box-contact {
    padding: 32px 16px 40px !important;
    border-radius: 20px !important;
    margin-top: 24px !important;
  }
  .box-contact .title {
    font-size: 1.5rem !important;
  }
  .box-contact .desc {
    font-size: 0.88rem !important;
    margin-bottom: 20px !important;
  }
  .box-contact .contact-item {
    flex-direction: column !important;
    text-align: center !important;
    width: 100% !important;
    padding: 16px !important;
    border-radius: 16px !important;
    gap: 12px !important;
  }
  .box-contact .contact-item .btn {
    width: 100% !important;
  }

  /* Quality Comparison Table Touch Scroll */
  .card.p-8 {
    padding: 20px 14px !important;
  }
  table {
    font-size: 0.78rem !important;
  }
  th, td {
    padding: 10px 10px !important;
  }

  /* Footer Mobile Grid */
  footer {
    padding: 40px 0 30px !important;
  }
  footer .grid-4 {
    gap: 28px !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem !important;
  }
  .section-title {
    font-size: 1.45rem !important;
  }
}

/* ── 17. SEMESTER ROADMAP & CARDS SYSTEM (EXTREMELY HIGHLIGHTED) ── */
.timeline-stepper {
  background: #FFFFFF;
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-2xl);
  padding: 24px 32px;
  box-shadow: 0 8px 30px rgba(6,12,59,0.06);
  margin-bottom: 3rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.timeline-stepper-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 16px;
  min-width: 680px;
}
.timeline-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
  flex: 1;
  min-width: 90px;
  text-decoration: none;
  transition: all var(--t-fast);
  cursor: pointer;
}
.timeline-step-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #F0F4FC;
  border: 2.5px solid var(--border-card);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.88rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all var(--t);
}
.timeline-step-item:hover .timeline-step-badge,
.timeline-step-item.active .timeline-step-badge {
  background: var(--accent) !important;
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  transform: scale(1.12);
  box-shadow: 0 6px 20px rgba(254, 207, 20, 0.55);
}
.timeline-step-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
}
.timeline-step-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Semester Cards */
.semester-card {
  background: #FFFFFF !important;
  border: 2px solid var(--border-card) !important;
  border-radius: var(--radius-2xl) !important;
  padding: 28px !important;
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-height: 360px !important;
  box-shadow: 0 8px 28px rgba(6, 12, 59, 0.05) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.semester-card:hover {
  transform: translateY(-8px) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 20px 45px rgba(6, 12, 59, 0.15) !important;
}
.semester-card .semester-number {
  position: absolute;
  right: -5px;
  top: -20px;
  font-size: 7.5rem;
  font-weight: 900;
  color: rgba(6, 12, 59, 0.05);
  pointer-events: none;
  line-height: 1;
  user-select: none;
  transition: all 0.3s ease;
}
.semester-card:hover .semester-number {
  color: rgba(254, 207, 20, 0.18);
  transform: scale(1.08);
}
.semester-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: #F0F4FC;
  border: 1.5px solid rgba(6,12,59,0.1);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}
.semester-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  margin-bottom: 20px;
}
.semester-tag-chip {
  background: #F0F4FC;
  border: 1px solid rgba(6,12,59,0.1);
  color: #334155;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  transition: all 0.2s ease;
}
.semester-card:hover .semester-tag-chip {
  background: #FFF9E5;
  border-color: rgba(254,207,20,0.5);
  color: #060C3B;
}

/* ── 18. EXAM SYSTEM & MODAL STYLES ──────────────────────── */
.exam-tabs {
  display: flex !important;
  gap: 10px !important;
  margin-bottom: 2.5rem !important;
  overflow-x: auto !important;
  padding-bottom: 8px !important;
  -webkit-overflow-scrolling: touch !important;
}
.exam-tab-btn {
  padding: 10px 24px !important;
  border-radius: 50px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  background: #FFFFFF !important;
  border: 1.5px solid var(--border-card) !important;
  color: var(--text-primary) !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03) !important;
}
.exam-tab-btn:hover {
  background: #F0F4FC !important;
  border-color: #060C3B !important;
  color: #060C3B !important;
}
.exam-tab-btn.active {
  background: #FECF14 !important;
  border-color: #060C3B !important;
  color: #060C3B !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 16px rgba(254, 207, 20, 0.45) !important;
}

.exam-card {
  background: #FFFFFF !important;
  border: 1.5px solid var(--border-card) !important;
  border-radius: 20px !important;
  padding: 24px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 6px 20px rgba(6,12,59,0.04) !important;
  min-height: 280px !important;
}
.exam-card:hover {
  transform: translateY(-6px) !important;
  border-color: #060C3B !important;
  box-shadow: 0 16px 36px rgba(6,12,59,0.12) !important;
}

.exam-badges {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  margin-bottom: 14px !important;
}

.exam-card-title {
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  color: #060C3B !important;
  margin-bottom: 10px !important;
  line-height: 1.4 !important;
}

.exam-meta {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  font-size: 0.82rem !important;
  color: #475569 !important;
  margin-bottom: 18px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px dashed rgba(6,12,59,0.12) !important;
}

.exam-actions {
  display: flex !important;
  gap: 10px !important;
  margin-top: auto !important;
}
.exam-actions .btn {
  flex: 1 !important;
  justify-content: center !important;
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  padding: 10px 14px !important;
  border-radius: 50px !important;
}

/* Quiz & Exam Viewer Modal Overlay */
.exam-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(3, 7, 32, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.exam-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.exam-modal-box {
  background: #FFFFFF;
  border: 2px solid #060C3B;
  border-radius: 24px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.exam-modal-overlay.open .exam-modal-box {
  transform: translateY(0);
}
.exam-modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #F0F4FC;
  border: 1px solid rgba(6,12,59,0.1);
  color: #060C3B;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.exam-modal-close:hover {
  background: #FECF14;
  color: #060C3B;
}

/* ── 17. SEMESTER PAGES SIDEBAR & TAB LAYOUT FIXES ────────────── */
aside.sidebar {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: auto !important;
  overflow: visible !important;
}

.sticky-sidebar {
  position: sticky !important;
  top: 100px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}

.sticky-sidebar .card {
  background: #FFFFFF !important;
  border: 1.5px solid rgba(6,12,59,0.14) !important;
  border-radius: 24px !important;
  padding: 24px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
  color: #060C3B !important;
}

.sticky-sidebar .card h3 {
  color: #060C3B !important;
  font-weight: 900 !important;
  font-size: 1.15rem !important;
}

.sticky-sidebar .text-text-secondary,
.sticky-sidebar span,
.sticky-sidebar p,
.sticky-sidebar li {
  color: #334155 !important;
  font-weight: 600 !important;
}

.sticky-sidebar .progress-ring {
  background: #F0F4FC !important;
  border: 4px solid rgba(6,12,59,0.12) !important;
}

.sticky-sidebar #hk-progress-text {
  color: #060C3B !important;
  font-weight: 900 !important;
}

/* Tab Navigation Contrast & Modern Aesthetic Fixes */
.tab-nav {
  display: flex !important;
  gap: 10px !important;
  border-bottom: 2px solid rgba(6, 12, 59, 0.12) !important;
  margin-bottom: 28px !important;
  padding-bottom: 8px !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}

.tab-btn {
  padding: 10px 24px !important;
  font-weight: 800 !important;
  font-size: 0.9rem !important;
  color: #334155 !important;
  background: #FFFFFF !important;
  border: 1.5px solid rgba(6, 12, 59, 0.14) !important;
  border-radius: 50px !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 8px rgba(6, 12, 59, 0.04) !important;
}

.tab-btn:hover {
  background: #F0F4FC !important;
  color: #060C3B !important;
  border-color: #060C3B !important;
  transform: translateY(-2px);
}

.tab-btn.active {
  background: #060C3B !important;
  color: #FECF14 !important;
  border-color: #060C3B !important;
  box-shadow: 0 6px 20px rgba(6, 12, 59, 0.25) !important;
  font-weight: 900 !important;
}


