/* ============================================================
   RedHawk Reading Lab — Global Stylesheet
   Brand: Navy #0B1F3A | Red #C62828 | Gold #F4B400 | White #FFFFFF
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy:   #0B1F3A;
  --red:    #C62828;
  --red-dark: #9B1B1B;
  --gold:   #F4B400;
  --gold-light: #FDE68A;
  --white:  #FFFFFF;
  --grey-50:  #F8FAFC;
  --grey-100: #F1F5F9;
  --grey-200: #E2E8F0;
  --grey-400: #94A3B8;
  --grey-600: #475569;
  --grey-800: #1E293B;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.12);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.16);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  background: radial-gradient(circle at top left, #F8FAFC, #F1F5F9);
  background-attachment: fixed;
  color: var(--grey-800);
  line-height: 1.6;
  font-size: 16px;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(#CBD5E1 0.5px, transparent 0.5px);
  background-size: 24px 24px;
  opacity: 0.25;
  z-index: -1;
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
p  { line-height: 1.75; color: var(--grey-600); }

/* ---------- Utility ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.text-gold   { color: var(--gold) !important; }
.text-red    { color: var(--red) !important; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  border: none;
  box-shadow: 0 4px 12px rgba(198, 40, 40, 0.25);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198,40,40,.35);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: #e0a500;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244,180,0,.4);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-sm { padding: 9px 18px; font-size: .875rem; }

/* ---------- Navigation ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 5%;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.3px;
}
.nav-logo .logo-icon { font-size: 2rem; }
.nav-logo .logo-sub {
  font-size: .7rem;
  font-weight: 400;
  color: var(--gold);
  display: block;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: rgba(255,255,255,.8);
  font-size: .95rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-flag { font-size: 1.8rem; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- Section Wrappers ---------- */
.section {
  padding: 80px 5%;
}
.section-alt {
  background: var(--grey-100);
}
.section-navy {
  background: var(--navy);
  color: var(--white);
}
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,.75); }
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title .eyebrow {
  display: inline-block;
  background: rgba(198,40,40,.1);
  color: var(--red);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.section-title h2 { margin-bottom: 14px; }
.section-title p { max-width: 600px; margin: 0 auto; }

/* ---------- Cards ---------- */
.card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(198,40,40,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}

/* ---------- Grid Layouts ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

/* ---------- Progress Bars ---------- */
.progress-wrap { margin: 8px 0; }
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--grey-600);
}
.progress-track {
  background: var(--grey-200);
  border-radius: 50px;
  height: 10px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transition: width 1s ease;
}

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .5px;
}
.badge-gold   { background: var(--gold-light); color: #92400E; }
.badge-red    { background: #FEE2E2; color: var(--red-dark); }
.badge-navy   { background: #DBEAFE; color: var(--navy); }
.badge-green  { background: #D1FAE5; color: #065F46; }

/* ---------- Stat Cards ---------- */
.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--red);
}
.stat-card .stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-card .stat-label {
  font-size: .95rem;
  color: var(--grey-600);
  font-weight: 500;
}

/* ---------- Rocky SVG Mascot ---------- */
.rocky-mascot svg { filter: drop-shadow(0 8px 24px rgba(0,0,0,.2)); }

/* ---------- Forms & Inputs ---------- */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: .95rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition);
  background: var(--white);
  color: var(--grey-800);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(198,40,40,.12);
}

/* ---------- Assessment Specific ---------- */
.assessment-header {
  background: var(--navy);
  color: var(--white);
  padding: 20px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.assessment-header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}
.progress-steps {
  display: flex;
  gap: 8px;
  align-items: center;
}
.step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  transition: background var(--transition);
}
.step-dot.active { background: var(--gold); }
.step-dot.done   { background: #4ADE80; }
.timer-display {
  background: rgba(255,255,255,.12);
  padding: 6px 14px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  color: var(--gold);
}

.assessment-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 5%;
}
.section-intro {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
}
.section-intro .section-icon { font-size: 3.5rem; margin-bottom: 16px; }
.section-intro h2 { margin-bottom: 12px; }
.section-intro p { max-width: 520px; margin: 0 auto 24px; }

.question-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.question-number {
  font-size: .8rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.question-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.5;
}
.options-list { display: flex; flex-direction: column; gap: 10px; }
.option-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  text-align: left;
  transition: all var(--transition);
  color: var(--grey-800);
}
.option-btn:hover {
  border-color: var(--red);
  background: #FFF5F5;
}
.option-btn.selected {
  border-color: var(--red);
  background: #FFF5F5;
  color: var(--red-dark);
  font-weight: 600;
}
.option-btn.correct {
  border-color: #16A34A;
  background: #F0FDF4;
  color: #15803D;
}
.option-btn.incorrect {
  border-color: var(--red);
  background: #FEF2F2;
  color: var(--red-dark);
}
.option-letter {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--grey-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}
.option-btn.selected .option-letter { background: var(--red); color: var(--white); }

/* Passage */
.passage-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  border-left: 5px solid var(--gold);
}
.passage-card h3 {
  color: var(--navy);
  margin-bottom: 6px;
}
.passage-meta {
  font-size: .85rem;
  color: var(--grey-400);
  margin-bottom: 20px;
  display: flex;
  gap: 16px;
}
.passage-text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--grey-800);
}
.passage-text p { margin-bottom: 14px; color: var(--grey-800); }

.reading-timer {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.reading-timer .timer-label { font-size: .9rem; opacity: .8; }
.reading-timer .timer-value { font-size: 1.5rem; font-weight: 800; color: var(--gold); }

/* ---------- Results Page ---------- */
.results-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6b 100%);
  color: var(--white);
  padding: 60px 5%;
  text-align: center;
}
.results-hero h1 { color: var(--white); margin-bottom: 10px; }
.reading-age-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,.1);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 24px 40px;
  margin: 30px auto;
}
.reading-age-badge .age-number {
  font-size: 4rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.reading-age-badge .age-label {
  font-size: 1rem;
  color: rgba(255,255,255,.8);
  margin-top: 6px;
}
.level-badge {
  background: var(--red);
  color: var(--white);
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-block;
  margin-top: 14px;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 40px 0;
}
.score-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.score-item .score-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}
.score-item .score-name {
  font-size: .85rem;
  color: var(--grey-600);
  font-weight: 600;
}

/* ---------- Dashboard ---------- */
.dashboard-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: calc(100vh - 60px);
}
.sidebar {
  background: var(--navy);
  color: var(--white);
  padding: 30px 20px;
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
}
.sidebar-avatar {
  text-align: center;
  padding: 20px 0 28px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 24px;
}
.avatar-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 12px;
  border: 3px solid rgba(255,255,255,.2);
}
.sidebar-avatar .student-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.sidebar-avatar .student-level {
  font-size: .8rem;
  color: var(--gold);
  margin-top: 4px;
}
.sidebar-nav { display: flex; flex-direction: column; gap: 4px; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.7);
  font-size: .95rem;
  font-weight: 500;
  transition: all var(--transition);
}
.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: rgba(255,255,255,.1);
  color: var(--white);
}
.sidebar-nav a.active { border-left: 3px solid var(--gold); }
.sidebar-nav .nav-icon { font-size: 1.2rem; width: 24px; text-align: center; }

.dashboard-main {
  padding: 36px 4%;
  background: var(--grey-50);
}
.dashboard-greeting {
  margin-bottom: 32px;
}
.dashboard-greeting h1 {
  font-size: 1.8rem;
  margin-bottom: 4px;
}
.dashboard-greeting p { color: var(--grey-600); }

.xp-bar-wrap {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.xp-icon { font-size: 2rem; }
.xp-info { flex: 1; }
.xp-info .xp-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--grey-600);
  margin-bottom: 6px;
}
.xp-info .xp-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.quick-stat {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.quick-stat .qs-icon { font-size: 1.8rem; margin-bottom: 8px; }
.quick-stat .qs-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.quick-stat .qs-label {
  font-size: .8rem;
  color: var(--grey-600);
  margin-top: 4px;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
}
.achievement-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.achievement-item:hover { transform: translateY(-3px); }
.achievement-item.locked { opacity: .4; filter: grayscale(1); }
.achievement-item .ach-icon { font-size: 2.2rem; margin-bottom: 8px; }
.achievement-item .ach-name { font-size: .75rem; font-weight: 700; color: var(--navy); }
.achievement-item .ach-desc { font-size: .68rem; color: var(--grey-400); margin-top: 3px; }

.journey-map {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}
.journey-track {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 800px;
  padding: 20px 0;
}
.journey-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}
.journey-node::before {
  content: '';
  position: absolute;
  top: 22px;
  right: -50%;
  width: 100%;
  height: 4px;
  background: var(--grey-200);
  z-index: 0;
}
.journey-node:last-child::before { display: none; }
.journey-node.done::before { background: var(--gold); }
.node-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grey-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .9rem;
  color: var(--grey-600);
  z-index: 1;
  border: 3px solid var(--grey-200);
  transition: all var(--transition);
}
.journey-node.done .node-circle {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.journey-node.current .node-circle {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  box-shadow: 0 0 0 6px rgba(198,40,40,.2);
}
.node-label {
  font-size: .7rem;
  font-weight: 600;
  color: var(--grey-600);
  margin-top: 8px;
  text-align: center;
}
.journey-node.done .node-label { color: var(--navy); }
.journey-node.current .node-label { color: var(--red); font-weight: 700; }

/* ---------- Modals ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: modalIn .3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.9) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-box .modal-icon { font-size: 3.5rem; margin-bottom: 16px; }
.modal-box h2 { margin-bottom: 12px; }
.modal-box p  { margin-bottom: 24px; }

/* ---------- Toast Notifications ---------- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--navy);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  font-weight: 500;
  animation: toastIn .3s ease;
  max-width: 340px;
}
.toast.success { border-left: 4px solid #4ADE80; }
.toast.warning { border-left: 4px solid var(--gold); }
.toast.error   { border-left: 4px solid var(--red); }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ---------- Chart Containers ---------- */
.chart-wrap {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.chart-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}
.radar-chart { max-width: 320px; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 60px 5% 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand p { font-size: .9rem; line-height: 1.7; }
.footer-col h4 {
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
}
.footer-langs {
  display: flex;
  gap: 16px;
}
.footer-langs span {
  background: rgba(255,255,255,.08);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: .8rem;
  color: rgba(255,255,255,.7);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar {
    position: static;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
  }
  .sidebar-avatar { border-bottom: none; padding: 0; margin: 0; }
  .sidebar-nav { flex-direction: row; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 20px 5%;
    gap: 16px;
    box-shadow: var(--shadow-md);
  }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .assessment-header { flex-wrap: wrap; gap: 10px; }
  .journey-track { min-width: 600px; }
}

@media (max-width: 480px) {
  .section { padding: 50px 5%; }
  .assessment-body { padding: 24px 4%; }
  .question-card { padding: 22px 18px; }
  .passage-card { padding: 22px 18px; }
  .modal-box { padding: 28px 20px; }
}
