/* ==========================================================================
   Brilliant.org Exact Clone Stylesheet
   Faithful replication of https://brilliant.org/courses/
   ========================================================================== */

:root {
  --bg-primary: #031427;
  --bg-header: rgba(2, 11, 22, 0.88);
  --bg-container: #0a1826;
  --bg-card: #0e1c2b;
  --bg-card-hover: #132437;
  --bg-input: #081624;
  --border-subtle: #1b2b3f;
  --border-hover: #29405d;
  
  --brilliant-blue: #2f6fee;
  --brilliant-blue-hover: #4582f6;
  --brilliant-gold: #f59e0b;
  --brilliant-flame: #ff7b00;
  --brilliant-green: #22c55e;
  --brilliant-purple: #8b5cf6;
  --brilliant-sky: #38bdf8;
  
  --text-primary: #ffffff;
  --text-secondary: #a9b8cc;
  --text-muted: #8fa5bf;
  --text-dim: #64748b;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(47, 111, 238, 0.3);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font-family: inherit;
  color: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--border-hover);
}

/* ==========================================================================
   Brilliant Header & Navigation
   ========================================================================== */
.brilliant-header {
  width: 100%;
  background: var(--bg-header);
  border-bottom: 1px solid rgba(56, 189, 248, 0.12);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.header-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.brand-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  border-radius: 9px;
}

/* Two-tone wordmark, matching the QN logo */
.qn-word-a,
.qn-word-b {
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.qn-word-a {
  background-image: linear-gradient(180deg, #1a8fe0 0%, #00d4f0 100%);
}

.qn-word-b {
  background-image: linear-gradient(180deg, #ffffff 0%, #c4cad3 100%);
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
}

.nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-item.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-item.active svg {
  color: #38bdf8;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.5));
}

.nav-indicator {
  display: none !important;
}

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

.pill-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background-color: #141f2d;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
}

.pill-stat:hover {
  border-color: var(--border-hover);
  background-color: #1c2b3d;
  transform: translateY(-1px);
}

.pill-stat.streak-pill svg {
  color: var(--brilliant-flame);
}

.pill-stat.energy-pill svg {
  color: var(--brilliant-sky);
}

.upgrade-btn {
  background: var(--brilliant-green);
  color: #042f1a;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.upgrade-btn:hover {
  background: #34d399;
  box-shadow: 0 2px 10px rgba(52, 211, 153, 0.4);
}

.avatar-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f5df5, #f59e0b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border: 2px solid var(--border-subtle);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.avatar-btn:hover {
  transform: scale(1.05);
}

/* ==========================================================================
   Navbar Authentication Controls & User Dropdown
   ========================================================================== */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

/* ==========================================================================
   Student Progress Bars (Header, Path Sections, Profile)
   ========================================================================== */
.header-progress-widget {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 6px 14px;
  min-width: 150px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.header-progress-widget:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-1px);
}

.header-progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
}

.header-progress-label {
  color: var(--text-muted, #94a3b8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.header-progress-val {
  color: #38bdf8;
}

.header-progress-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.header-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #22c55e);
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.path-progress-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(8, 22, 36, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 8px 14px;
  margin-top: 8px;
}

.path-progress-track {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.path-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4f5df5, #38bdf8);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.nav-signin-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent; /* same as the navbar */
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav-signin-btn .nav-signin-icon {
  flex-shrink: 0;
  color: #38bdf8;
  transition: transform 0.2s ease;
}

.nav-signin-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.nav-signin-btn:hover .nav-signin-icon {
  transform: translateX(2px);
}

.nav-signin-btn:focus-visible {
  outline: 2px solid rgba(147, 197, 253, 0.8);
  outline-offset: 3px;
}

.nav-signup-btn {
  background: linear-gradient(135deg, #3b82f6, #4f5df5);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.35);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-signup-btn:hover {
  background: linear-gradient(135deg, #2563eb, #4338ca);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.5);
  transform: translateY(-1px);
}

.user-menu-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.user-menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.15));
  padding: 4px 12px 4px 6px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.user-menu-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 280px;
  background: #0b1726;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.15));
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
  padding: 16px;
  z-index: 1000;
  display: none;
  animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-dropdown.show {
  display: block;
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.dropdown-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--text-secondary, #cbd5e1);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.dropdown-item.danger:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

/* Auth Modal Specific Styles */
.auth-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 24px;
}

.auth-tab-btn {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  color: var(--text-secondary, #cbd5e1);
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-tab-btn.active {
  background: #3b82f6;
  color: #fff;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.auth-form-group {
  margin-bottom: 16px;
  text-align: left;
}

.auth-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted, #94a3b8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.auth-input {
  width: 100%;
  padding: 12px 14px;
  background: #06111e;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.auth-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.auth-message {
  margin-bottom: 16px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
}

.auth-message[hidden] {
  display: none;
}

.auth-message-error {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fca5a5;
}

.auth-message-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
}

.auth-link-btn {
  background: none;
  border: none;
  padding: 0;
  color: #38bdf8;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.auth-link-btn:hover {
  text-decoration: underline;
}

.social-auth-btn:disabled,
.nav-signup-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.social-login-row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-auth-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: #081624;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.social-auth-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   Page Main Container
   ========================================================================== */
.page-main {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 40px 32px 80px;
  flex: 1 0 auto;
  box-sizing: border-box;
}

footer {
  margin-top: auto;
  width: 100%;
}

.page-hero {
  margin-bottom: 32px;
}

.page-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 6px;
}

.page-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Subject Filter Buttons & Controls */
.learning-paths-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 -12px 32px;
  padding: 12px;
  position: sticky;
  top: var(--header-h, 72px);
  z-index: 40;
  background: rgba(3, 20, 39, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.subject-filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin-bottom: 0;
}

.subject-filter-row::-webkit-scrollbar {
  display: none;
}

.subject-filter-btn {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.subject-switch-btn:focus-visible,
.subject-filter-btn:focus-visible,
.course-tile:focus-visible,
.continue-strip:focus-visible {
  outline: 2px solid var(--brilliant-sky);
  outline-offset: 3px;
}

.subject-filter-btn:hover {
  color: #fff;
  border-color: var(--border-hover);
  background: #142232;
}

.subject-filter-btn.active {
  background: #fff;
  color: #031427;
  border-color: #fff;
  font-weight: 700;
}

/* ==========================================================================
   Learning Path Track Row (Horizontal Scroll)
   ========================================================================== */
.path-section {
  margin-bottom: 48px;
}

.path-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.path-section-text {
  display: flex;
  flex-direction: column;
}

.path-section-meta {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.path-section-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 1px 0;
}

.path-section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

.path-progress-wrap {
  min-width: 180px;
  text-align: right;
}

.path-progress-label {
  font-size: 12px;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 4px;
}


.path-section-desc {
  font-size: 13px;
  color: var(--text-secondary);
}

.path-track-container {
  background-color: var(--bg-container);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.course-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex-shrink: 0;
  text-decoration: none;
  scroll-snap-align: start;
  transition: transform 0.2s ease;
}

.course-tile:hover {
  transform: translateY(-4px);
}

.tile-box {
  width: 160px;
  height: 160px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.course-tile:hover .tile-box,
.course-tile:focus-visible .tile-box {
  border-color: var(--brilliant-blue);
  box-shadow: 0 8px 24px rgba(47, 111, 238, 0.4);
}

.course-tile.is-done .tile-box {
  border-color: #22c55e;
}

.course-tile.is-current .tile-box {
  border-color: var(--brilliant-sky);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.35), 0 4px 14px rgba(0, 0, 0, 0.25);
}

.tile-done-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #22c55e;
  color: #031427;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.5);
}

.tile-meta {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: -4px;
}

.course-tile.is-done .tile-meta {
  color: #22c55e;
}

.course-tile.is-current .tile-meta {
  color: var(--brilliant-sky);
}

.tile-title mark {
  background: rgba(250, 204, 21, 0.35);
  color: #fff;
  border-radius: 3px;
  padding: 0 1px;
}

.tile-icon-wrap {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  border: none;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.course-tile:hover .tile-icon-wrap {
  transform: scale(1.05);
}

.tile-box .tile-icon-wrap svg {
  width: 100% !important;
  height: 100% !important;
  display: block;
  padding: 16px;
  box-sizing: border-box;
}

.tile-box .tile-icon-wrap svg.kinematics-svg,
.tile-box .tile-icon-wrap svg.full-bleed-svg {
  padding: 8px;
}

.tile-box .tile-icon-wrap svg.edge-svg {
  padding: 0;
}

.modal-head .tile-icon-wrap svg {
  width: 100% !important;
  height: 100% !important;
  display: block;
  padding: 4px;
  box-sizing: border-box;
}

.chapters-showcase-container {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  width: 250px;
  height: 250px;
  max-width: 100%;
  background-color: var(--bg-container);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 20px;
  margin-top: 8px;
  margin-bottom: 48px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.tile-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  max-width: 160px;
  line-height: 1.35;
  min-height: 2.7em; /* reserve two lines so tiles line up */
}

/* ==========================================================================
   Browse All Courses Catalog Section
   ========================================================================== */
.catalog-section {
  margin-top: 56px;
}

.catalog-header {
  margin-bottom: 24px;
}

.catalog-title {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.catalog-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--bg-container);
  border: 1px solid var(--border-subtle);
  padding: 16px 20px;
  border-radius: 14px;
  margin-bottom: 28px;
}

.search-field {
  position: relative;
  flex: 1;
  min-width: 280px;
  max-width: 480px;
}

.search-field svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 18px;
  height: 18px;
}

.search-input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input:focus {
  border-color: var(--brilliant-blue);
  box-shadow: 0 0 12px rgba(47, 111, 238, 0.3);
}

.catalog-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tab {
  padding: 8px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-tab:hover {
  background: #142232;
  color: #fff;
}

.filter-tab.active {
  background: var(--brilliant-blue);
  color: #fff;
  border-color: var(--brilliant-blue);
  box-shadow: 0 2px 10px rgba(47, 111, 238, 0.35);
}

/* ==========================================================================
   Catalog Course Cards Grid
   ========================================================================== */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.catalog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  cursor: pointer;
}

.catalog-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.card-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.card-tags {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tag-subject {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(47, 111, 238, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(47, 111, 238, 0.3);
}

.tag-level {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

.card-bookmark-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.card-bookmark-btn:hover {
  color: var(--brilliant-gold);
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.35;
}

.card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-sections-box {
  background: #081624;
  border: 1px solid rgba(27, 43, 63, 0.6);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #cbd5e1;
}

.card-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.action-start-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brilliant-blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.action-start-btn:hover {
  background: var(--brilliant-blue-hover);
  box-shadow: 0 0 14px rgba(47, 111, 238, 0.4);
}

/* ==========================================================================
   Modals & Popovers
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 20, 39, 0.88);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-dialog {
  background: #0a1826;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: modalPop 0.2s ease-out;
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.modal-head {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0d1e30;
}

.modal-tabs-bar {
  display: flex;
  gap: 8px;
  padding: 12px 32px;
  background: #081624;
  border-bottom: 1px solid var(--border-subtle);
}

.tab-btn {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.tab-btn:hover {
  color: #fff;
}

.tab-btn.active {
  background: var(--brilliant-blue);
  color: #fff;
}

.modal-content-area {
  padding: 32px;
  overflow-y: auto;
  flex: 1;
}

/* ==========================================================================
   Simulators, Formulas & Quizzes
   ========================================================================== */
.sim-panel {
  background: #06111d;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  margin: 16px 0;
}

.sim-viewport {
  width: 100%;
  height: 340px;
  background: #020b15;
  border: 1px solid #142233;
  border-radius: 12px;
  display: block;
}

.sim-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding: 12px 16px;
  background: #0a1826;
  border-radius: 10px;
}

.formula-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.formula-box {
  background: #0e1c2b;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 16px;
}

.formula-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--brilliant-sky);
  margin-bottom: 6px;
}

.formula-equation {
  font-family: "Cambria Math", "Times New Roman", serif;
  font-size: 17px;
  color: #fef08a;
}

.quiz-card {
  background: #0e1c2b;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 18px;
}

.quiz-choice {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  margin-top: 8px;
  background: #081624;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 14px;
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.15s ease;
}

.quiz-choice:hover {
  background: #122436;
  border-color: var(--border-hover);
}

.quiz-choice.correct {
  background: rgba(34, 197, 94, 0.2);
  border-color: #22c55e;
  color: #86efac;
  font-weight: 600;
}

.quiz-choice.wrong {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #fca5a5;
}

/* ==========================================================================
   Legacy Animation Utilities
   ========================================================================== */
.site-view {
  animation: fadeIn 0.25s ease-in-out;
}

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

/* Home Hero Section */
.home-hero-wrap {
  text-align: center;
  padding: 36px 0 56px;
  max-width: 1020px;
  margin: 0 auto;
}

.home-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(47, 111, 238, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--brilliant-sky);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.home-badge-pill .pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.home-main-title {
  font-size: 46px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 20px;
}

.home-main-title .gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-lead-text {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 36px;
}

.home-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.home-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #2f6fee, #1d4ed8);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(47, 111, 238, 0.4);
  transition: all 0.2s ease;
}

.home-btn-primary:hover {
  background: linear-gradient(135deg, #4582f6, #2563eb);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(47, 111, 238, 0.6);
}

.home-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.2s ease;
}

.home-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* Hero Key Pillars Bar */
.home-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
  text-align: left;
}

.home-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 20px;
  transition: border-color 0.2s ease;
}

.home-stat-card:hover {
  border-color: var(--border-hover);
}

.home-stat-num {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-stat-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Section Common Styling */
.home-section {
  padding: 64px 0;
  border-top: 1px solid var(--border-subtle);
}

.home-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.home-section-badge {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--brilliant-sky);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.home-section-title {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.home-section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* The 4 Ways Grid */
.home-ways-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.home-way-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.home-way-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.home-way-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.home-way-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.home-way-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.home-way-tagline {
  font-size: 14px;
  font-weight: 600;
  color: var(--brilliant-sky);
  margin-bottom: 14px;
}

.home-way-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.home-way-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.home-way-perks li {
  font-size: 13px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-way-perks li svg {
  flex-shrink: 0;
  color: var(--brilliant-green);
}

/* Interactive Sandbox Container on Homepage */
.home-sandbox {
  background: var(--bg-container);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 16px;
}

.home-sandbox-header {
  background: #06111e;
  border-bottom: 1px solid var(--border-subtle);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.home-sandbox-topic {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-sandbox-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.home-sandbox-tab {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--border-subtle);
  background: #081624;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.home-sandbox-tab:hover {
  color: #fff;
  border-color: var(--border-hover);
}

.home-sandbox-tab.active {
  background: var(--brilliant-blue);
  color: #fff;
  border-color: var(--brilliant-blue);
  box-shadow: 0 2px 10px rgba(47, 111, 238, 0.4);
}

.home-sandbox-body {
  padding: 28px;
  min-height: 360px;
}

/* Comparison Table Section */
.home-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.home-comp-card {
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--border-subtle);
}

.home-comp-card.bad {
  background: rgba(239, 68, 68, 0.04);
  border-color: rgba(239, 68, 68, 0.2);
}

.home-comp-card.good {
  background: rgba(34, 197, 94, 0.04);
  border-color: rgba(34, 197, 94, 0.3);
  position: relative;
}

.home-comp-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-comp-list li {
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* Curriculum Tracks Grid on Home */
.home-tracks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.home-track-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
}

.home-track-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

/* Bottom CTA Banner */
.home-bottom-banner {
  background: linear-gradient(135deg, #07192f 0%, #0d284a 50%, #0f1c33 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  margin-top: 32px;
}

/* ==========================================================================
   Responsive Design System - Tablets & Mobile Devices
   ========================================================================== */

/* Large Tablets & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  .header-inner {
    padding: 0 20px;
    height: 60px;
  }
  .page-main {
    padding: 28px 20px 60px;
  }
  .page-title {
    font-size: 28px;
  }
  .learning-paths-controls {
    gap: 14px;
  }
  .path-track-container {
    padding: 20px 18px;
    gap: 14px;
  }
  .tile-box {
    width: 148px;
    height: 148px;
  }
  .tile-title {
    max-width: 148px;
    font-size: 13.5px;
  }
}

/* Medium Tablets & iPads (max-width: 860px) */
@media (max-width: 860px) {
  .learning-paths-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .search-field {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .path-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .path-section-text {
    width: 100%;
  }
  .path-section-text > div {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 8px;
  }
  .path-section-text > div > div:last-child {
    width: 100%;
    min-width: 0 !important;
    text-align: left !important;
  }
}

/* Standard Mobile Devices & Phablets (max-width: 768px) */
@media (max-width: 768px) {
  .header-inner {
    padding: 0 16px;
    height: 56px;
  }
  .brand-name {
    font-size: 17px;
  }
  .brand-icon svg,
  .brand-icon img {
    width: 34px;
    height: 34px;
  }
  .nav-links {
    display: flex;
    gap: 8px;
  }
  .nav-item {
    padding: 6px 10px;
    font-size: 13px;
  }
  .header-right {
    gap: 8px;
  }
  .nav-signin-btn,
  .nav-signup-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
  .nav-signin-btn {
    padding: 10px 18px;
    font-size: 14px;
    gap: 8px;
  }
  .nav-signin-btn .nav-signin-icon {
    width: 16px;
    height: 16px;
  }
  .header-progress-widget {
    min-width: 110px;
    padding: 4px 8px;
  }

  .page-main {
    padding: 20px 16px 44px;
  }
  .page-hero {
    margin-bottom: 20px;
  }
  .page-title {
    font-size: 24px;
  }
  .page-subtitle {
    font-size: 14px;
  }

  .subject-filter-row {
    gap: 8px;
    padding-bottom: 4px;
    width: 100%;
  }
  .subject-filter-btn {
    padding: 8px 14px;
    font-size: 12.5px;
  }

  .path-section {
    margin-bottom: 32px;
  }
  .path-section-title {
    font-size: 17px;
  }
  .path-section-desc {
    font-size: 12px;
  }

  .path-track-container {
    padding: 14px 12px;
    gap: 12px;
    border-radius: 14px;
  }
  .course-tile {
    gap: 8px;
  }
  .tile-box {
    width: 132px;
    height: 132px;
    border-radius: 14px;
  }
  .tile-box .tile-icon-wrap svg {
    padding: 12px;
  }
  .tile-box .tile-icon-wrap svg.kinematics-svg,
  .tile-box .tile-icon-wrap svg.full-bleed-svg {
    padding: 6px;
  }
  .tile-title {
    font-size: 12.5px;
    max-width: 132px;
    line-height: 1.35;
  }

  .modal-dialog {
    width: 95%;
    max-height: 90vh;
    border-radius: 14px;
    margin: 12px auto;
  }
  .modal-head {
    padding: 14px 16px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .modal-head h2 {
    font-size: 18px !important;
  }
  .modal-tabs-bar {
    padding: 0 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    scrollbar-width: none;
  }
  .modal-tabs-bar::-webkit-scrollbar {
    display: none;
  }
  .modal-tabs-bar .tab-btn {
    padding: 10px 14px;
    font-size: 12.5px;
    flex-shrink: 0;
  }
  .modal-content-area {
    padding: 16px;
  }

  footer {
    padding: 32px 16px !important;
  }
  footer > div {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 16px !important;
  }
}

/* Small Mobile Screens (max-width: 480px) */
@media (max-width: 480px) {
  .header-inner {
    padding: 0 12px;
  }
  .brand-name {
    font-size: 15.5px;
  }
  .page-main {
    padding: 16px 12px 36px;
  }
  .page-title {
    font-size: 21px;
  }
  .page-subtitle {
    font-size: 13px;
  }
  .chapters-showcase-container {
    width: 200px;
    height: 200px;
    padding: 16px;
    border-radius: 16px;
  }
  .tile-box {
    width: 118px;
    height: 118px;
    border-radius: 12px;
  }
  .tile-box .tile-icon-wrap svg {
    padding: 10px;
  }
  .tile-title {
    font-size: 11.5px;
    max-width: 118px;
  }
  .path-track-container {
    padding: 12px 10px;
    gap: 10px;
  }
  .subject-filter-btn {
    padding: 6px 11px;
    font-size: 11.5px;
  }
  .search-field {
    height: 40px;
  }
  .search-input {
    font-size: 12.5px;
    padding-left: 36px;
  }
  .action-start-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto 48px;
  align-items: start;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 24px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.contact-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon.whatsapp {
  background: rgba(37, 211, 102, 0.12);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.25);
}

.contact-card-icon.email {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.contact-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: 4px;
}

.contact-action-btn.whatsapp-btn {
  background: #25D366;
  color: #031427;
}

.contact-action-btn.whatsapp-btn:hover {
  background: #20ba59;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.contact-action-btn.email-btn {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.contact-action-btn.email-btn:hover {
  background: rgba(56, 189, 248, 0.25);
  border-color: #38bdf8;
  color: #fff;
  transform: translateY(-1px);
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.contact-form-group {
  margin-bottom: 20px;
}

.contact-form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.contact-form-input,
.contact-form-select,
.contact-form-textarea {
  width: 100%;
  box-sizing: border-box;
  background: #061322;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: #fff;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.contact-form-input:focus,
.contact-form-select:focus,
.contact-form-textarea:focus {
  border-color: var(--brilliant-blue);
  box-shadow: 0 0 0 3px rgba(47, 111, 238, 0.25);
  background: #08182b;
}

.contact-form-select option {
  background: #081624;
  color: #ffffff;
  padding: 8px 12px;
}

.contact-form-textarea {
  min-height: 120px;
  resize: vertical;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .contact-grid > * {
    min-width: 0;
  }
  .contact-form-card {
    padding: 24px;
  }
}





/* ==========================================================================
   Courses page refinements: overall progress, continue strip, empty state,
   desktop grid layout
   ========================================================================== */
.overall-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-secondary);
}

.overall-progress strong {
  color: #fff;
}

.overall-progress-bar {
  width: 140px;
  height: 6px;
  border-radius: 999px;
  background: var(--border-subtle);
  overflow: hidden;
}

.overall-progress-bar span {
  display: block;
  height: 100%;
  background: #22c55e;
  border-radius: inherit;
  transition: width 0.4s ease;
}

.continue-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  margin-bottom: 32px;
  background: var(--bg-container);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--brilliant-sky);
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.continue-strip:hover {
  border-color: var(--brilliant-sky);
  transform: translateY(-2px);
}

.continue-thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
}

.continue-thumb svg {
  width: 100%;
  height: 100%;
  display: block;
}

.continue-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.continue-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brilliant-sky);
}

.continue-title {
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.continue-cta {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--brilliant-blue);
  padding: 8px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.search-results-note {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-container);
  border-radius: 16px;
  border: 1px dashed var(--border-subtle);
  margin-top: 20px;
}

.empty-state h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* Wide screens: show every chapter in a track at once instead of scrolling */
@media (min-width: 900px) {
  .path-track-container {
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 24px 20px;
  }
}

@media (max-width: 480px) {
  .learning-paths-controls {
    margin: 0 -8px 24px;
    padding: 8px;
  }
  .overall-progress-bar {
    width: 96px;
  }
  .continue-cta {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .course-tile,
  .tile-icon-wrap,
  .continue-strip {
    transition: none;
  }
  .course-tile:hover,
  .course-tile:hover .tile-icon-wrap {
    transform: none;
  }
}

/* Narrow phones: keep the Sign In button on screen */
@media (max-width: 560px) {
  .header-inner {
    padding: 0 12px;
  }
  .brand-name {
    display: none;
  }
  .nav-item {
    padding: 6px 8px;
  }
}

/* Subject dividers (Physics / Mathematics) when several subjects are shown */
.subject-heading {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin: 8px 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.path-section + .subject-heading {
  margin-top: 56px;
}

/* Subject switch (segmented control) and wrapped track chips */
.subject-switch {
  display: inline-flex;
  padding: 4px;
  gap: 2px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  flex-shrink: 0;
}

.subject-switch-btn {
  padding: 8px 20px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.subject-switch-btn:hover {
  color: #fff;
}

.subject-switch-btn.active {
  background: #fff;
  color: #031427;
}

.track-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -12px 0 28px;
}

.track-filter-row[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .subject-switch {
    width: 100%;
  }
  .subject-switch-btn {
    flex: 1;
    padding: 9px 8px;
    font-size: 13px;
  }
  .learning-paths-controls .search-field {
    min-width: 0;
    max-width: none;
    flex-basis: 100%;
  }
  .track-filter-row {
    margin-top: 0;
    gap: 8px;
  }
}


/* ==========================================================================
   Home page: welcome screen and learning dashboard
   ========================================================================== */
.home-hero {
  padding: 40px 32px;
  margin-bottom: 24px;
  background: var(--bg-container);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
}

.home-hero-text {
  max-width: 560px;
  margin: 12px 0 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-secondary-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--border-hover);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.home-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.home-subject-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.home-subject-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px;
  background: var(--bg-container);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.home-subject-card:hover {
  border-color: var(--brilliant-blue);
  transform: translateY(-2px);
}

.home-subject-card strong {
  font-size: 20px;
}

.home-subject-card span {
  font-size: 13px;
  color: var(--text-secondary);
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}

.home-stat {
  padding: 20px;
  background: var(--bg-container);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--tone, var(--brilliant-blue));
  border-radius: 14px;
}

.home-stat-green { --tone: #22c55e; }
.home-stat-blue { --tone: #38bdf8; }
.home-stat-amber { --tone: #f59e0b; }
.home-stat-purple { --tone: #a78bfa; }

.home-stat-value {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.home-stat-label {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.home-stat-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.home-block {
  margin-bottom: 36px;
}

.home-block-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.home-subjects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.home-subject {
  padding: 18px 20px;
  background: var(--bg-container);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
}

.home-subject-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}

.home-subject-head strong {
  color: #fff;
  font-size: 15px;
}

.home-explore-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}

.home-explore-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px 12px 12px;
  background: var(--bg-container);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.home-explore-card:hover,
.home-explore-card:focus-visible {
  border-color: var(--brilliant-sky);
  transform: translateY(-2px);
  outline: none;
}

.home-explore-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
}

.home-explore-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.home-explore-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.home-explore-title {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-explore-meta,
.home-explore-time {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-explore-time {
  color: var(--brilliant-sky);
  font-weight: 700;
}

.home-explore-cta {
  font-size: 13px;
  font-weight: 700;
  color: var(--brilliant-sky);
  white-space: nowrap;
}

.home-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-chip {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.home-chip:hover {
  background: rgba(34, 197, 94, 0.22);
}

/* Dashboard: header, cloud-sync status, chapter progress rows */
.home-dash-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.home-sync {
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 100%;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 6px 12px;
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-container);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.home-sync-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
}

.home-sync-ok .home-sync-dot { background: #22c55e; }
.home-sync-bad .home-sync-dot { background: #ef4444; }
.home-sync-busy .home-sync-dot { animation: home-sync-pulse 1s ease-in-out infinite; }

@keyframes home-sync-pulse {
  50% { opacity: 0.3; }
}

@media (prefers-reduced-motion: reduce) {
  .home-sync-busy .home-sync-dot { animation: none; }
}

.home-sync-btn {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-hover);
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.home-sync-btn:hover,
.home-sync-btn:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.home-chapter-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 14px;
}

.home-chapter-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px 12px 12px;
  background: var(--bg-container);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

a.home-chapter-row:hover,
a.home-chapter-row:focus-visible {
  border-color: var(--brilliant-sky);
  transform: translateY(-2px);
  outline: none;
}

.home-chapter-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.home-chapter-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.home-chapter-head .home-explore-title {
  min-width: 0;
}

.home-chapter-pct {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--brilliant-sky);
}

.home-chapter-pct.is-done {
  color: #86efac;
}

.home-chapter-track {
  display: block;
  height: 6px;
  flex: none;
}

.home-chapter-track .path-progress-fill {
  display: block;
}

.home-lock-note,
.home-footnote {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--text-secondary);
}

.home-footnote {
  margin: 14px 0 0;
}

@media (max-width: 640px) {
  .home-hero {
    padding: 28px 20px;
  }
  .home-subjects,
  .home-subject-cards {
    grid-template-columns: 1fr;
  }
  .home-explore-list,
  .home-chapter-list {
    grid-template-columns: 1fr;
  }
  .home-explore-cta {
    display: none;
  }
  .home-stat-value {
    font-size: 28px;
  }
}

.nav-signin-btn {
  white-space: nowrap;
}

/* Three nav links on a phone: show labels only for the current page */
@media (max-width: 560px) {
  .nav-links {
    gap: 2px;
  }
  .nav-item:not(.active) span {
    display: none;
  }
  .header-progress-widget {
    display: none;
  }
}

/* ==========================================================================
   Continue Learning Banner & Learning Journey Card States
   ========================================================================== */
.continue-learning-section {
  width: 100%;
  margin-bottom: 28px;
}

.continue-learning-card {
  background: linear-gradient(135deg, rgba(14, 28, 43, 0.95), rgba(7, 21, 43, 0.95));
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 18px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.continue-learning-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #38bdf8, #2f6fee);
}

.continue-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 280px;
}

.continue-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  flex-shrink: 0;
}
.continue-info {
  flex: 1;
}
.continue-header-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #38bdf8;
  margin-bottom: 4px;
}

.continue-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.continue-meta {
  font-size: 13px;
  color: var(--text-secondary);
}

.continue-progress-wrap {
  width: 100%;
  max-width: 220px;
  margin-top: 8px;
}

.continue-progress-bar {
  width: 100%;
  height: 6px;
  background: #081624;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.continue-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #2f6fee, #38bdf8);
  border-radius: 8px;
}

.continue-resume-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brilliant-blue);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(47, 111, 238, 0.4);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 46px;
}

.continue-resume-btn:hover {
  background: var(--brilliant-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47, 111, 238, 0.55);
}

/* Card Progress & Status Badges */
.tile-status-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  margin-top: 2px;
  text-align: center;
  display: inline-block;
}

.tile-status-badge.completed {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.tile-status-badge.in-progress {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.tile-status-badge.not-started {
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
}

.tile-progress-mini {
  width: 140px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 4px;
}

.tile-progress-mini-fill {
  height: 100%;
  background: #38bdf8;
  border-radius: 4px;
}

.tile-progress-mini-fill.completed {
  background: #22c55e;
}

/* ==========================================================================
   Locked chapters (see chapter-lock.js)
   ========================================================================== */
.course-tile.is-locked {
  cursor: not-allowed;
}

.course-tile.is-locked .tile-icon-wrap {
  filter: grayscale(0.9) brightness(0.5);
}

.course-tile.is-locked:hover .tile-icon-wrap {
  transform: none;
}

.course-tile.is-locked:hover .tile-box,
.course-tile.is-locked:focus-visible .tile-box {
  border-color: var(--border-subtle);
  box-shadow: none;
  transform: none;
}

.course-tile.is-locked .tile-title,
.course-tile.is-locked .tile-meta {
  color: var(--text-dim);
}

.tile-lock-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 20, 39, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
}

.qn-locked-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #031427;
}

.qn-locked-card {
  max-width: 420px;
  text-align: center;
}

.qn-locked-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 2px solid rgba(56, 189, 248, 0.35);
}

.qn-locked-card h1 {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.qn-locked-card p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.qn-locked-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 14px;
  background: #3b6cff;
  box-shadow: 0 4px 0 #2447c4;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.qn-locked-btn:hover {
  background: #4f7bff;
}

/* ==========================================================================
   Privacy policy / legal pages
   ========================================================================== */
.legal-main {
  width: 100%;
  flex: 1;
  padding: 48px 24px 96px;
}

.legal-article {
  max-width: 780px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.7;
}

.legal-title {
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}

.legal-updated {
  margin: 8px 0 28px;
  font-size: 13px;
  color: var(--text-muted);
}

.legal-article h2 {
  margin: 36px 0 10px;
  font-size: 21px;
  font-weight: 800;
  color: #fff;
}

.legal-article h3 {
  margin: 20px 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #e2e8f0;
}

.legal-article p {
  margin-bottom: 12px;
}

.legal-article ul {
  margin: 0 0 12px 22px;
}

.legal-article li {
  margin-bottom: 6px;
}

.legal-article strong {
  color: #fff;
}

.legal-article a {
  color: #38bdf8;
  text-decoration: none;
}

.legal-article a:hover {
  text-decoration: underline;
}

.legal-summary {
  margin: 24px 0 8px;
  padding: 18px 22px;
  background: rgba(47, 111, 238, 0.08);
  border: 1px solid rgba(47, 111, 238, 0.35);
  border-radius: 16px;
}

.legal-summary > strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4f8cff;
}

.legal-summary ul {
  margin-bottom: 0;
}

.auth-legal-note {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

.auth-legal-note a {
  color: #38bdf8;
  text-decoration: none;
}

.auth-legal-note a:hover {
  text-decoration: underline;
}

/* Progress is saved in the database, so visitors without an account are told how to keep it */
.nav-auth-loading {
  display: inline-block;
  width: 110px;
  height: 44px;
}

.overall-progress-note {
  font-size: 12.5px;
  color: var(--text-secondary, #a9b8cc);
}

.overall-progress-link {
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 700;
  color: #38bdf8;
  text-decoration: underline;
  cursor: pointer;
}

.overall-progress-link:hover { color: #7dd3fc; }
