:root {
  --primary: #0f4c81;
  --primary-light: #1a6db5;
  --accent: #f7941d;
  --accent2: #e63946;
  --success: #27ae60;
  --bg: #f0f4f8;
  --card-bg: #ffffff;
  --text: #1a1a2e;
  --text-muted: #5a6a7e;
  --border: #dde3ec;
  --nav-bg: #ffffff;
  --nav-shadow: 0 2px 20px rgba(15,76,129,0.12);
  --section-alt: #e8f0fb;
  --footer-bg: #0a1628;
  --footer-text: #b0bec5;
  --badge-live: #e63946;
  --badge-free: #27ae60;
  --hero-grad: linear-gradient(135deg, #0f4c81 0%, #1a6db5 50%, #0e3d6a 100%);
  --card-shadow: 0 4px 24px rgba(15,76,129,0.10);
  --radius: 14px;
  --transition: all 0.35s cubic-bezier(.4,0,.2,1);
}

[data-theme="dark"] {
  --primary: #4a9edd;
  --primary-light: #6ab4f0;
  --accent: #f7941d;
  --accent2: #e63946;
  --bg: #0d1117;
  --card-bg: #161b22;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --border: #30363d;
  --nav-bg: #161b22;
  --nav-shadow: 0 2px 20px rgba(0,0,0,0.5);
  --section-alt: #0d1117;
  --card-shadow: 0 4px 24px rgba(0,0,0,0.4);
  --hero-grad: linear-gradient(135deg, #0d1117 0%, #1a2744 50%, #0a1628 100%);
}

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

body {
  font-family: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background 0.4s, color 0.4s;
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ===== NAVBAR ===== */
.navbar {
  background: var(--nav-bg);
  box-shadow: var(--nav-shadow);
  padding: 0.6rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-logo {
  width: 42px; height: 42px;
  background: var(--hero-grad);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(15,76,129,0.35);
}
.brand-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--card-bg);
  border: 1px solid var(--border);
}
.brand-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}
.brand-text span { color: var(--accent); }
.brand-sub { font-size: 0.68rem; color: var(--text-muted); font-weight: 400; }

.nav-link {
  color: var(--text) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0.85rem !important;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content:'';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: all 0.3s;
  transform: translateX(-50%);
}
.nav-link:hover::after, .nav-link.active::after { width: 60%; }
.nav-link:hover { color: var(--primary) !important; background: rgba(15,76,129,0.07); }

.btn-login {
  background: var(--primary);
  color: #fff !important;
  padding: 0.42rem 1.3rem !important;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid var(--primary);
}
.btn-login:hover {
  background: transparent;
  color: var(--primary) !important;
  transform: translateY(-2px);
}

.theme-toggle {
  background: var(--bg);
  border: 2px solid var(--border);
  color: var(--text);
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}
.theme-toggle:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: rotate(20deg); }

/* ===== OFFCANVAS ===== */
.offcanvas {
  background: var(--card-bg) !important;
  color: var(--text) !important;
}
.offcanvas-header { border-bottom: 1px solid var(--border); }
.offcanvas .nav-link { padding: 0.7rem 1rem !important; border-radius: 10px; margin-bottom: 4px; }
.offcanvas-title { color: var(--primary); font-weight: 700; }
.btn-close-white { filter: invert(1); }
[data-theme="light"] .btn-close-dark { filter: none; }
[data-theme="dark"] .btn-close-dark { filter: invert(1); }

/* ===== HERO SLIDER ===== */
.hero-section {
  background: var(--hero-grad);
  position: relative;
  overflow: hidden;
  min-height: 520px;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-carousel { position: relative; z-index: 1; }
.hero-slide {
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 60px 0;
}
.hero-badge {
  display: inline-block;
  background: rgba(247,148,29,0.2);
  color: var(--accent);
  border: 1px solid rgba(247,148,29,0.4);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}
.hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 16px;
  font-family: 'Noto Sans Bengali', sans-serif;
}
.hero-title .highlight { color: var(--accent); }
.hero-desc { color: rgba(255,255,255,0.82); font-size: 1.05rem; margin-bottom: 30px; line-height: 1.7; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-hero-primary {
  background: var(--accent);
  color: #fff;
  padding: 0.7rem 1.8rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 6px 20px rgba(247,148,29,0.4);
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(247,148,29,0.5); color: #fff; }
.btn-hero-outline {
  background: transparent;
  color: #fff;
  padding: 0.7rem 1.8rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid rgba(255,255,255,0.5);
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.15); color: #fff; }

.hero-stats {
  display: flex; gap: 30px; margin-top: 36px; flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 1.7rem; font-weight: 800; color: var(--accent); line-height: 1; }
.hero-stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.7); margin-top: 3px; }

.hero-image-wrap {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-slide-image {
  width: min(100%, 460px);
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 18px 44px rgba(0,0,0,0.28));
}
.hero-card-float {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 16px;
  padding: 20px 24px;
  color: #fff;
  max-width: 300px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.hero-card-float .hcf-title { font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.hero-card-float .hcf-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 0.88rem;
}
.hcf-icon { width: 32px; height: 32px; background: rgba(247,148,29,0.25); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.hcf-badge { background: var(--accent); color: #fff; font-size: 0.68rem; padding: 2px 8px; border-radius: 50px; margin-left: auto; font-weight: 700; }

.carousel-indicators [data-bs-target] { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); border: none; transition: all 0.3s; }
.carousel-indicators .active { background: var(--accent); width: 24px; border-radius: 4px; }
.carousel-control-prev, .carousel-control-next { width: 44px; height: 44px; background: rgba(255,255,255,0.15); border-radius: 50%; top: 50%; transform: translateY(-50%); backdrop-filter: blur(8px); opacity: 1; }
.carousel-control-prev { left: 20px; }
.carousel-control-next { right: 20px; }

/* ===== SECTION COMMON ===== */
.section-header { text-align: center; margin-bottom: 44px; }
.section-tag {
  display: inline-block;
  background: rgba(15,76,129,0.1);
  color: var(--primary);
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 12px;
  border: 1px solid rgba(15,76,129,0.2);
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--text);
  font-family: 'Noto Sans Bengali', sans-serif;
  line-height: 1.3;
  margin-bottom: 10px;
}
.section-title .accent { color: var(--primary); }
.section-desc { color: var(--text-muted); font-size: 1rem; max-width: 540px; margin: 0 auto; line-height: 1.7; }
.section-divider { width: 60px; height: 4px; background: var(--accent); border-radius: 2px; margin: 14px auto 0; }

/* ===== EXAM CARDS ===== */
.exam-section { padding: 70px 0; background: var(--bg); }
.exam-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  height: 100%;
  position: relative;
}
.exam-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(15,76,129,0.18); }
.exam-card-header {
  padding: 18px 20px 14px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.exam-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}
.badge-live { background: rgba(230,57,70,0.12); color: var(--badge-live); border: 1px solid rgba(230,57,70,0.3); }
.badge-free { background: rgba(39,174,96,0.12); color: var(--badge-free); border: 1px solid rgba(39,174,96,0.25); }
.badge-hot { background: rgba(247,148,29,0.12); color: var(--accent); border: 1px solid rgba(247,148,29,0.3); }
.live-dot { width: 8px; height: 8px; background: var(--badge-live); border-radius: 50%; display: inline-block; animation: pulseDot 1.4s infinite; }
@keyframes pulseDot { 0%,100%{box-shadow:0 0 0 0 rgba(230,57,70,0.4);} 50%{box-shadow:0 0 0 5px rgba(230,57,70,0);} }

.exam-card-body { padding: 18px 20px; }
.exam-title { font-size: 1.02rem; font-weight: 700; color: var(--text); margin-bottom: 8px; line-height: 1.4; }
.exam-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.exam-meta-item { display: flex; align-items: center; gap: 5px; font-size: 0.82rem; color: var(--text-muted); }
.exam-progress-wrap { margin-bottom: 14px; }
.exam-progress-label { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 5px; }
.progress { height: 6px; border-radius: 3px; background: var(--border); }
.progress-bar { background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 3px; }
.exam-card-footer { padding: 14px 20px 18px; }
.btn-exam {
  width: 100%;
  padding: 0.6rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.btn-exam-live { background: var(--badge-live); color: #fff; }
.btn-exam-live:hover { background: #c0323e; transform: translateY(-2px); }
.btn-exam-free { background: var(--success); color: #fff; }
.btn-exam-free:hover { background: #229954; transform: translateY(-2px); }
.btn-exam-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary) !important; }
.btn-exam-outline:hover { background: var(--primary); color: #fff; }

.timer-wrap { display: flex; gap: 6px; align-items: center; margin-bottom: 12px; }
.timer-block { background: var(--primary); color: #fff; border-radius: 6px; padding: 4px 8px; font-size: 0.85rem; font-weight: 700; min-width: 36px; text-align: center; }
.timer-sep { color: var(--primary); font-weight: 700; font-size: 1rem; }

/* ===== SUBJECTIVE SECTION ===== */
.subjective-section { padding: 70px 0; background: var(--section-alt); }
.subj-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 18px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}
.subj-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15,76,129,0.14); border-color: var(--primary); }
.subj-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}
.subj-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  overflow: hidden;
}
.subj-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.subj-content { width: 100%; min-width: 0; }
.subj-title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0; overflow-wrap: anywhere; }
.subj-desc { font-size: 0.84rem; color: var(--text-muted); line-height: 1.55; margin-bottom: 0; }
.subj-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.subj-tag { background: rgba(15,76,129,0.08); color: var(--primary); font-size: 0.75rem; padding: 3px 10px; border-radius: 50px; font-weight: 500; }
.subj-count { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.8rem; color: var(--text-muted); }
.subj-card-actions {
  width: 100%;
  margin-top: 4px;
}
.subj-card-actions .btn-scc-sub {
  grid-column: 1 / -1;
  background: var(--primary);
}
.subj-card-actions .btn-scc-sub:hover {
  background: var(--primary-light);
  color: #fff;
  /* border-color: var(--accent); */
}
.btn-scc-sub {
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
}
.btn-scc-sub:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.subj-card-link,
.subject-card-link {
  color: inherit;
  text-decoration: none;
}
.subj-card-link:hover,
.subject-card-link:hover {
  color: inherit;
}
.btn-subject-load {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  border-radius: 10px;
  padding: 10px 22px;
  font-weight: 700;
  font-family: 'Hind Siliguri', sans-serif;
  transition: var(--transition);
}
.btn-subject-load:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.empty-state-card {
  background: var(--card-bg);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 34px 24px;
  text-align: center;
  color: var(--text-muted);
  box-shadow: var(--card-shadow);
}
.empty-state-card i {
  display: block;
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 10px;
}
.empty-state-card h3 {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

/* ===== MODEL TEST SECTION ===== */
.model-section { padding: 70px 0; background: var(--bg); }
.model-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}
.model-card:hover { transform: translateY(-6px); box-shadow: 0 16px 42px rgba(15,76,129,0.2); }
.model-card-top {
  padding: 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}
.model-card-top::after {
  content: attr(data-num);
  position: absolute; right: -10px; top: -15px;
  font-size: 5rem; font-weight: 900;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  font-family: 'Noto Sans Bengali', sans-serif;
}
.model-exam-type { background: rgba(255,255,255,0.18); color: #fff; font-size: 0.75rem; padding: 3px 12px; border-radius: 50px; display: inline-block; margin-bottom: 10px; font-weight: 600; }
.model-title { color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: 0; }
.model-card-body { padding: 18px 20px; }
.model-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.model-info-item { background: var(--bg); border-radius: 10px; padding: 10px 12px; text-align: center; }
.model-info-val { font-size: 1.1rem; font-weight: 700; color: var(--primary); }
.model-info-key { font-size: 0.73rem; color: var(--text-muted); margin-top: 2px; }
.model-difficulty { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 14px; }
.diff-dot { width: 10px; height: 10px; border-radius: 50%; }
.diff-easy { background: var(--success); }
.diff-mid { background: var(--accent); }
.diff-hard { background: var(--accent2); }

/* ===== PACKAGE / COURSE SECTION ===== */
.package-section { padding: 70px 0; background: var(--section-alt); }
.package-card {
  background: var(--card-bg);
  border-radius: 18px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  height: 100%;
  position: relative;
}
.package-card.featured {
  border-color: var(--primary);
  box-shadow: 0 8px 40px rgba(15,76,129,0.25);
  transform: scale(1.03);
}
.package-card:hover { transform: translateY(-6px) scale(1.01); }
.package-card.featured:hover { transform: translateY(-8px) scale(1.04); }
.popular-tag {
  position: absolute; top: 0; right: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem; font-weight: 700;
  padding: 4px 14px;
  border-radius: 0 0 10px 10px;
  letter-spacing: 0.5px;
}
.pkg-header { padding: 28px 24px 20px; border-bottom: 1px solid var(--border); }
.pkg-icon { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 14px; }
.pkg-name { font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.pkg-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.pkg-price-wrap { padding: 20px 24px 0; }
.pkg-price { font-size: 2rem; font-weight: 800; color: var(--primary); }
.pkg-price sup { font-size: 1rem; vertical-align: top; margin-top: 6px; }
.pkg-price-period { font-size: 0.82rem; color: var(--text-muted); margin-left: 4px; }
.pkg-old-price { font-size: 0.9rem; color: var(--text-muted); text-decoration: line-through; margin-left: 8px; }
.pkg-features { padding: 16px 24px; list-style: none; }
.pkg-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--text); padding: 6px 0; }
.pkg-features li i { color: var(--success); font-size: 0.95rem; margin-top: 2px; flex-shrink: 0; }
.pkg-features li.disabled i { color: var(--text-muted); }
.pkg-features li.disabled { opacity: 0.55; }
.pkg-footer { padding: 6px 24px 24px; }
.btn-pkg {
  width: 100%; padding: 0.7rem; border-radius: 11px;
  font-weight: 700; font-size: 0.95rem; border: none;
  transition: var(--transition); cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.btn-pkg-primary { background: var(--primary); color: #fff; }
.btn-pkg-primary:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-pkg-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary) !important; }
.btn-pkg-outline:hover { background: var(--primary); color: #fff; }

/* ===== REVIEW SECTION ===== */
.review-section { padding: 70px 0; background: var(--bg); }
.review-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
}
.review-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(15,76,129,0.15); }
.review-quote {
  position: absolute; top: -12px; left: 20px;
  background: var(--primary);
  color: #fff;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.review-stars { color: #f7b731; margin-bottom: 12px; font-size: 0.9rem; }
.review-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--hero-grad);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem; font-weight: 700;
  flex-shrink: 0;
}
.reviewer-name { font-size: 0.92rem; font-weight: 700; color: var(--text); }
.reviewer-role { font-size: 0.78rem; color: var(--text-muted); margin-top: 1px; }
.reviewer-badge { background: rgba(39,174,96,0.12); color: var(--success); font-size: 0.7rem; padding: 2px 8px; border-radius: 50px; margin-left: 8px; font-weight: 600; }

/* ===== SEO SECTION ===== */
.seo-section { padding: 70px 0; background: var(--section-alt); }
.seo-content { max-width: 860px; margin: 0 auto; }
.seo-card { background: var(--card-bg); border-radius: var(--radius); border: 1px solid var(--border); padding: 36px 40px; box-shadow: var(--card-shadow); }
.seo-card h2 { font-size: 1.5rem; font-weight: 700; color: var(--text); margin-bottom: 16px; font-family: 'Noto Sans Bengali', sans-serif; }
.seo-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin: 24px 0 10px; }
.seo-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; }
.seo-faq-item { border-bottom: 1px solid var(--border); padding: 16px 0; cursor: pointer; }
.seo-faq-q { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 0.95rem; color: var(--text); }
.seo-faq-a { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin-top: 10px; display: none; }
.seo-faq-item.open .seo-faq-a { display: block; }
.seo-faq-item.open .seo-faq-icon { transform: rotate(180deg); }
.seo-faq-icon { transition: var(--transition); }
.seo-keywords { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.seo-kw { background: rgba(15,76,129,0.08); color: var(--primary); border: 1px solid rgba(15,76,129,0.15); padding: 4px 12px; border-radius: 50px; font-size: 0.8rem; font-weight: 500; transition: var(--transition); }
.seo-kw:hover { background: var(--primary); color: #fff; }

/* ===== FOOTER ===== */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 0 0;
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand { color: #fff; font-size: 1.2rem; font-weight: 700; }
.footer-brand span { color: var(--accent); }
.footer-tagline { font-size: 0.88rem; color: var(--footer-text); line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.9rem; transition: var(--transition); text-decoration: none; }
.footer-social:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.footer-heading { color: #fff; font-size: 0.95rem; font-weight: 700; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-heading::after { content:''; position: absolute; bottom:0; left:0; width:30px; height:2px; background: var(--accent); border-radius: 2px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--footer-text); text-decoration: none; font-size: 0.88rem; transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-links a i { font-size: 0.65rem; color: var(--accent); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 0.88rem; }
.footer-contact-item i { color: var(--accent); margin-top: 2px; font-size: 0.95rem; }
.footer-newsletter { background: rgba(255,255,255,0.05); border-radius: 12px; padding: 20px; margin-top: 6px; }
.footer-newsletter p { font-size: 0.85rem; margin-bottom: 12px; }
.footer-nl-input { display: flex; gap: 0; }
.footer-nl-input input {
  flex: 1; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-right: none; color: #fff; padding: 0.5rem 0.9rem;
  border-radius: 8px 0 0 8px; font-size: 0.85rem; outline: none;
  font-family: 'Hind Siliguri', sans-serif;
}
.footer-nl-input input::placeholder { color: rgba(255,255,255,0.4); }
.footer-nl-input button {
  background: var(--accent); color: #fff; border: none;
  padding: 0.5rem 1rem; border-radius: 0 8px 8px 0;
  font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: var(--transition);
  font-family: 'Hind Siliguri', sans-serif;
}
.footer-nl-input button:hover { background: #e8820e; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  margin-top: 50px;
  text-align: center;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: var(--accent); text-decoration: none; }

/* ===== STATS BAR ===== */
.stats-bar { background: var(--primary); padding: 28px 0; }
.stat-item { text-align: center; }
.stat-num { font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1; }
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.75); margin-top: 4px; }

/* ===== TOP ANNOUNCEMENT ===== */
.top-bar {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 8px;
  font-size: 0.82rem;
  font-weight: 500;
}
.top-bar a { color: var(--accent); font-weight: 700; text-decoration: none; }

/* ===== UTILITIES ===== */
.section-pad { padding: 70px 0; }
/* reveal handled purely by GSAP - no CSS opacity:0 here */

/* ===== DROPDOWN ===== */
.nav-item.dropdown .dropdown-menu {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(15,76,129,0.18);
  padding: 8px;
  min-width: 220px;
  margin-top: 8px;
  animation: dropFade 0.2s ease;
}
@keyframes dropFade { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
.nav-item.dropdown .dropdown-item {
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}
.nav-item.dropdown .dropdown-item:hover {
  background: rgba(15,76,129,0.08);
  color: var(--primary);
}
.nav-item.dropdown .dropdown-item i {
  width: 22px;
  text-align: center;
  color: var(--primary);
  font-size: 0.95rem;
}
.nav-item.dropdown .dropdown-divider { border-color: var(--border); margin: 4px 8px; }
.dropdown-toggle::after { margin-left: 6px; }

/* Offcanvas nested accordion for mobile */
.offcanvas-accordion .accordion-button {
  background: transparent;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  box-shadow: none;
}
.offcanvas-accordion .accordion-button:not(.collapsed) {
  background: rgba(15,76,129,0.08);
  color: var(--primary);
}
.offcanvas-accordion .accordion-body {
  padding: 0 0 8px 0;
}
.offcanvas-accordion .acc-sub-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 24px;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 8px;
  transition: var(--transition);
}
.offcanvas-accordion .acc-sub-link:hover {
  color: var(--primary);
  background: rgba(15,76,129,0.06);
}

/* ===== SUBJECTIVE PAGE ===== */
#subjective-page { display: none; }
#subjective-page.active { display: block; }
.main-content { display: block; }
.main-content.hidden { display: none; }

.subj-page-hero {
  background: var(--hero-grad);
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}
.subj-page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.subj-page-hero .back-btn {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 6px 18px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  text-decoration: none;
}
.subj-page-hero .back-btn:hover { background: rgba(255,255,255,0.25); }
.subject-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: rgba(255,255,255,0.72);
  font-size: 0.86rem;
}
.subject-breadcrumbs a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.subject-grid { padding: 60px 0; background: var(--bg); }
.subject-cat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.subject-cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--card-accent, var(--primary));
  border-radius: 4px 4px 0 0;
}
.subject-cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(15,76,129,0.2);
  border-color: var(--primary);
}
.subject-cat-card.compact {
  padding: 14px 16px;
  min-height: 86px;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.scc-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
  overflow: hidden;
}
.scc-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scc-content {
  flex: 1;
  min-width: 0;
}
.scc-title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 4px; font-family: 'Noto Sans Bengali', sans-serif; overflow-wrap: anywhere; }
.scc-desc { display: none; }
.scc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.scc-btns {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.btn-scc-read {
  flex: 1;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
}
.btn-scc-read:hover { background: var(--primary); color: #fff; }
.btn-scc-exam {
  flex: 1;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 4px 14px rgba(247,148,29,0.3);
  text-decoration: none;
}
.btn-scc-exam:hover { background: #e8820e; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(247,148,29,0.4); }
.subject-action-panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  text-align: center;
  box-shadow: var(--card-shadow);
}
.subject-action-panel h2 {
  color: var(--text);
  font-size: 1.3rem;
  font-weight: 800;
  margin: 12px 0 8px;
}
.subject-action-panel p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 18px;
}
.read-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 18px;
}
.exam-start-overlay {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(6px);
}
.exam-start-overlay[hidden] { display: none; }
.exam-start-dialog {
  position: relative;
  width: min(100%, 430px);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
  padding: 30px;
  text-align: left;
  animation: resultPop 0.28s ease;
}
.exam-start-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.exam-start-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(15,76,129,0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.exam-start-dialog h2 {
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.exam-start-dialog p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.exam-start-form {
  display: grid;
  gap: 14px;
}
.exam-start-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
}
.exam-start-form input,
.exam-start-form select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--bg);
  color: var(--text);
  padding: 10px 12px;
  outline: none;
}
.exam-start-form input:focus,
.exam-start-form select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15,76,129,0.12);
}
.exam-start-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}
.read-question-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--card-shadow);
  margin-bottom: 18px;
}
.read-question-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: 0.86rem;
}
.read-question-head strong {
  color: var(--success);
}
.read-question-text {
  color: var(--text);
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 16px;
}
.read-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.read-option-grid > div {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 13px;
  color: var(--text);
}
.read-option-grid > div.correct {
  border-color: var(--success);
  background: rgba(39,174,96,0.1);
  color: var(--success);
}
.read-explanation {
  border-left: 3px solid var(--accent);
  background: rgba(247,148,29,0.08);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  line-height: 1.7;
  margin-top: 14px;
}

/* ===== MCQ EXAM PAGE ===== */
#exam-page { display: none; }
#exam-page.active { display: block; }

.exam-page-wrap { min-height: 100vh; background: var(--bg); padding: 0; }
.exam-page-header {
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--nav-shadow);
}
.exam-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.exam-subject-badge {
  background: rgba(15,76,129,0.1);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(15,76,129,0.2);
}
.exam-timer-display {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 6px 16px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  font-family: monospace;
}
.exam-timer-display.urgent { border-color: var(--accent2); color: var(--accent2); animation: pulse 1s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.6;} }

.exam-progress-bar-wrap { height: 4px; background: var(--border); }
.exam-progress-bar-fill { height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); transition: width 0.5s; }

.exam-body { padding: 30px 0 60px; }
.exam-q-counter {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}
.exam-question-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 22px;
  box-shadow: var(--card-shadow);
  margin-bottom: 24px;
}
.exam-q-num {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  width: 30px; height: 30px;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-right: 10px;
  flex-shrink: 0;
}
.exam-q-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 20px;
  font-family: 'Noto Sans Bengali', sans-serif;
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.exam-options { display: flex; flex-direction: column; gap: 10px; }
.exam-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--bg);
  position: relative;
  user-select: none;
}
.exam-option-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.exam-option:hover { border-color: var(--primary); background: rgba(15,76,129,0.05); }
.exam-option.selected { border-color: var(--success); background: rgba(39,174,96,0.12); color: var(--success); font-weight: 600; }
.exam-option.correct { border-color: var(--success); background: rgba(39,174,96,0.1); color: var(--success); }
.exam-option.wrong { border-color: var(--accent2); background: rgba(230,57,70,0.08); color: var(--accent2); }
.exam-option.show-correct { border-color: var(--success); background: rgba(39,174,96,0.1); }
.opt-letter {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: var(--transition);
}
.exam-option.selected .opt-letter { background: var(--success); color: #fff; }
.exam-option.correct .opt-letter { background: var(--success); color: #fff; }
.exam-option.wrong .opt-letter { background: var(--accent2); color: #fff; }

.exam-nav-btns {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}
.btn-exam-nav {
  padding: 10px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-exam-prev { background: transparent; color: var(--primary); }
.btn-exam-prev:hover { background: rgba(15,76,129,0.08); }
.btn-exam-next { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-exam-next:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-exam-submit { background: var(--success); color: #fff; border-color: var(--success); }
.btn-exam-submit:hover { background: #229954; }

.exam-q-palette {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--card-shadow);
  position: sticky;
  top: 90px;
}
.palette-title { font-size: 0.88rem; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.palette-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.palette-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 2px solid var(--border);
  background: var(--bg);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.palette-btn.answered { background: var(--primary); border-color: var(--primary); color: #fff; }
.palette-btn.current { border-color: var(--accent); color: var(--accent); }
.palette-legend { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.pal-leg { display: flex; align-items: center; gap: 5px; font-size: 0.75rem; color: var(--text-muted); }
.pal-leg-dot { width: 12px; height: 12px; border-radius: 3px; }

/* Result overlay */
.result-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}
.result-overlay.show { display: flex; }
.result-modal {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 40px 36px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  animation: resultPop 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes resultPop { from { transform: scale(0.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.result-emoji { font-size: 3.5rem; margin-bottom: 10px; display: block; }
.result-score-ring {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: conic-gradient(var(--primary) var(--pct, 0%), var(--border) 0%);
  display: flex; align-items: center; justify-content: center;
  margin: 16px auto;
  position: relative;
}
.result-score-ring::before {
  content: '';
  position: absolute;
  inset: 12px;
  background: var(--card-bg);
  border-radius: 50%;
}
.result-score-text {
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}
.result-stat-row { display: flex; justify-content: center; gap: 24px; margin: 18px 0; }
.res-stat { text-align: center; }
.res-stat-val { font-size: 1.4rem; font-weight: 800; }
.res-stat-key { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.res-correct { color: var(--success); }
.res-wrong { color: var(--accent2); }
.result-extra {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.result-extra span {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 12px;
}
.answer-review-panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  margin-top: 32px;
  padding: 26px;
}
.answer-review-panel h2 {
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.answer-review-panel p {
  color: var(--text-muted);
  margin-bottom: 18px;
}
.answer-review-item {
  border: 1px solid var(--border);
  border-left: 4px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-top: 12px;
  background: var(--bg);
}
.answer-review-item.right { border-left-color: var(--success); }
.answer-review-item.wrong { border-left-color: var(--accent2); }
.answer-review-item.skipped { border-left-color: var(--accent); }
.answer-review-question {
  color: var(--text);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 10px;
}
.answer-review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.86rem;
}
.answer-review-meta strong {
  color: var(--text);
}

.challenge-result-box {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  padding: 12px;
  margin: 12px 0 16px;
  text-align: left;
  font-size: 0.86rem;
}

.challenge-result-list {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.challenge-result-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 6px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .hero-image-wrap { display: none; }
  .package-card.featured { transform: none; }
  body { overflow-x: hidden; }
  .navbar-collapse { overflow-x: hidden; }
}
@media (max-width: 767px) {
  .hero-slide { min-height: 380px; padding: 40px 0; }
  .hero-stats { gap: 18px; }
  .seo-card { padding: 24px 20px; }
  .hero-btns { gap: 8px; }
  .btn-hero-primary, .btn-hero-outline { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
  .exam-q-palette { display: none; }
  .read-option-grid { grid-template-columns: 1fr; }
  body { overflow-x: hidden; }
}
@media (max-width: 576px) {
  body { overflow-x: hidden; max-width: 100vw; }
  .container { max-width: 100%; }
}
