/* ============================================================
   STYLE.CSS — Bitcrate Internship Portal
   Public Pages: Landing, Auth, FAQ, About, Refund, Verify
   100% Custom CSS — Zero Bootstrap — Mobile First
   ============================================================ */

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  --primary:       #6366f1;
  --primary-dark:  #4f46e5;
  --primary-light: #818cf8;
  --primary-bg:    #eef2ff;
  --primary-border:#c7d2fe;
  --accent:        #8b5cf6;

  --success:    #10b981;  --success-bg: #d1fae5;  --success-text: #065f46;
  --warning:    #f59e0b;  --warning-bg: #fef3c7;  --warning-text: #92400e;
  --danger:     #ef4444;  --danger-bg:  #fee2e2;  --danger-text:  #991b1b;
  --info:       #3b82f6;  --info-bg:    #dbeafe;  --info-text:    #1e40af;

  --text:    #0f172a;
  --text-2:  #334155;
  --muted:   #64748b;
  --border:  #e2e8f0;
  --bg:      #f8fafc;
  --white:   #ffffff;
  --red:     #ef4444;
  --green:   #10b981;
  --yellow:  #f59e0b;
  --blue:    #3b82f6;
  --p:       #6366f1;
  --p2:      #8b5cf6;
  --pl:      #eef2ff;

  --r-sm:   6px;
  --r:      10px;
  --r-lg:   14px;
  --r-xl:   20px;
  --r-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(15,23,42,.07);
  --shadow:    0 4px 12px rgba(15,23,42,.10);
  --shadow-lg: 0 12px 32px rgba(15,23,42,.12);
  --transition: all 0.2s ease;
}

/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ── CONTAINER ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── CUSTOM GRID ────────────────────────────────────────────── */
.row   { display: flex; flex-wrap: wrap; gap: 16px; }
.col-6 { flex: 0 0 calc(50% - 8px); min-width: 0; }
.col-4 { flex: 0 0 calc(33.333% - 11px); min-width: 0; }
.col-3 { flex: 0 0 calc(25% - 12px); min-width: 0; }

/* Bootstrap-compat grid — used in legacy blade classes */
.row.g-3 { gap: 12px; }
.row.g-4 { gap: 20px; }

/* All col-* default: full width on mobile */
.col-1,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-10,.col-11,.col-12,
.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,
.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,
.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12 {
  min-width: 0;
  flex: 0 0 100%;
}

/* col (no breakpoint) — always fixed */
.col-6  { flex: 0 0 calc(50% - 8px); }
.col-4  { flex: 0 0 calc(33.333% - 11px); }
.col-3  { flex: 0 0 calc(25% - 12px); }

/* sm breakpoint: ≥576px */
@media (min-width: 576px) {
  .col-sm-6 { flex: 0 0 calc(50% - 8px); }
  .col-sm-4 { flex: 0 0 calc(33.333% - 11px); }
  .col-sm-3 { flex: 0 0 calc(25% - 12px); }
}

/* md breakpoint: ≥768px */
@media (min-width: 768px) {
  .col-md-3  { flex: 0 0 calc(25%    - 12px); }
  .col-md-4  { flex: 0 0 calc(33.333% - 11px); }
  .col-md-5  { flex: 0 0 calc(41.666% - 9px);  }
  .col-md-6  { flex: 0 0 calc(50%    - 8px);  }
  .col-md-7  { flex: 0 0 calc(58.333% - 7px);  }
  .col-md-8  { flex: 0 0 calc(66.666% - 6px);  }
  .col-md-12 { flex: 0 0 100%; }
}

/* lg breakpoint: ≥992px */
@media (min-width: 992px) {
  .col-lg-2  { flex: 0 0 calc(16.666% - 14px); }
  .col-lg-3  { flex: 0 0 calc(25%    - 12px); }
  .col-lg-4  { flex: 0 0 calc(33.333% - 11px); }
  .col-lg-5  { flex: 0 0 calc(41.666% - 9px);  }
  .col-lg-6  { flex: 0 0 calc(50%    - 8px);  }
  .col-lg-8  { flex: 0 0 calc(66.666% - 6px);  }
  .col-lg-9  { flex: 0 0 calc(75%    - 4px);  }
  .col-lg-12 { flex: 0 0 100%; }
}

/* ── SECTION SPACING ────────────────────────────────────────── */
.section { padding: 72px 0; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: var(--r);
  font-size: .875rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-sm  { padding: 6px 14px; font-size: .8rem; }
.btn-lg  { padding: 13px 28px; font-size: .95rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(99,102,241,.35);
}
.btn-secondary {
  background: var(--bg);
  color: var(--text-2);
  border-color: var(--border);
}
.btn-secondary:hover { background: #f1f5f9; border-color: #cbd5e1; }

.btn-success {
  background: var(--success);
  color: #fff;
  border-color: var(--success);
}
.btn-success:hover { background: #059669; }

.btn-warning {
  background: var(--warning);
  color: #fff;
  border-color: var(--warning);
}
.btn-warning:hover { background: #d97706; }

.btn-outline {
  background: transparent;
  color: var(--text-2);
  border-color: var(--border);
}
.btn-outline:hover { background: var(--bg); border-color: #94a3b8; }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--bg); color: var(--text); }

.btn-hero-outline {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.3);
  backdrop-filter: blur(4px);
}
.btn-hero-outline:hover { background: rgba(255,255,255,.18); }

/* Consent Letter download button (below hero CTAs) */
.btn-consent-dl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  border: 1.5px dashed rgba(255,255,255,.35);
  border-radius: var(--r-full);
  padding: 9px 22px;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s;
  backdrop-filter: blur(4px);
}
.btn-consent-dl:hover {
  background: rgba(255,255,255,.2);
  color: #fff;
  border-color: rgba(255,255,255,.6);
  transform: translateY(-1px);
}

/* ── ALERTS ─────────────────────────────────────────────────── */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 16px;
  border-radius: var(--r);
  font-size: .875rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  margin-bottom: 16px;
}
.alert-success { background: var(--success-bg); color: var(--success-text); border-color: #a7f3d0; }
.alert-danger   { background: var(--danger-bg);  color: var(--danger-text);  border-color: #fca5a5; }
.alert-warning  { background: var(--warning-bg); color: var(--warning-text); border-color: #fde68a; }
.alert-info     { background: var(--info-bg);    color: var(--info-text);    border-color: #93c5fd; }

/* ── FORMS ──────────────────────────────────────────────────── */
.form-group  { margin-bottom: 18px; }

.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-2);
  margin-bottom: 6px;
  letter-spacing: -.01em;
}

.form-control,
.form-select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-size: .9rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%2364748b' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99,102,241,.1);
}
.form-control.is-invalid,
.form-select.is-invalid { border-color: var(--danger); }
.invalid-feedback { color: var(--danger); font-size: .78rem; font-weight: 600; margin-top: 4px; display: block; }
.form-text        { font-size: .75rem; color: var(--muted); margin-top: 4px; }
.form-check       { display: flex; align-items: flex-start; gap: 10px; }
.form-check-input { width: 16px; height: 16px; margin-top: 2px; cursor: pointer; accent-color: var(--primary); flex-shrink: 0; }
.form-check-label { font-size: .875rem; cursor: pointer; }

.input-wrap { position: relative; }
.inp-icon    { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: .9rem; pointer-events: none; }
.input-wrap .form-control { padding-left: 40px; }
.inp-icon-right { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #94a3b8; cursor: pointer; font-size: .9rem; padding: 4px; transition: color .15s; }
.inp-icon-right:hover { color: var(--primary); }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ── NAVBAR ─────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo img { height: 36px; width: auto; display: block; }

.nav-menu {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav-menu a {
  padding: 7px 14px;
  border-radius: var(--r);
  font-size: .875rem;
  font-weight: 600;
  color: var(--muted);
  transition: var(--transition);
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: var(--primary-bg);
}

.nav-actions { display: flex; gap: 8px; }

.btn-nav-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-2);
  transition: var(--transition);
}
.btn-nav-login:hover { border-color: var(--primary); color: var(--primary); }

.btn-nav-register {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: var(--r);
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  transition: var(--transition);
}
.btn-nav-register:hover { background: var(--primary-dark); }

.nav-mobile-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text);
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

/* Mobile drawer */
.nav-drawer {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--border);
  background: #fff;
}
.nav-drawer a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-2);
  transition: var(--transition);
}
.nav-drawer a:hover,
.nav-drawer a.active { background: var(--primary-bg); color: var(--primary); }
.drawer-actions { display: flex; gap: 8px; margin-top: 8px; }
.nav-drawer.open { display: flex; }

@media (max-width: 768px) {
  .nav-menu, .nav-actions { display: none; }
  .nav-mobile-btn { display: block; }
}

/* ── HERO SECTION ────────────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 55%, #312e81 100%);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-orb-1 { width: 500px; height: 500px; top: -200px; right: -100px; background: radial-gradient(circle, rgba(99,102,241,.18), transparent 70%); }
.hero-orb-2 { width: 350px; height: 350px; bottom: -150px; left: -80px;  background: radial-gradient(circle, rgba(139,92,246,.15), transparent 70%); }

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99,102,241,.2);
  border: 1px solid rgba(165,180,252,.3);
  color: #a5b4fc;
  padding: 5px 14px;
  border-radius: var(--r-full);
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #f8fafc;
  line-height: 1.2;
  letter-spacing: -.03em;
  margin-bottom: 16px;
}
.hero-title .accent { color: #818cf8; }

.hero-desc {
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat strong { font-size: 1.4rem; font-weight: 900; color: #f8fafc; letter-spacing: -.02em; }
.hero-stat span   { font-size: .72rem; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .05em; }

/* Hero image */
.hero-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img-ring {
  position: absolute;
  inset: -24px;
  border-radius: 50%;
  border: 2px dashed rgba(165,180,252,.25);
  animation: spin-slow 20s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

.hero-img {
  width: 340px;
  height: 340px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(99,102,241,.4);
  box-shadow: 0 0 60px rgba(99,102,241,.3);
  position: relative;
  z-index: 1;
}

/* Floating cards */
.hero-float {
  position: absolute;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-radius: var(--r-lg);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  white-space: nowrap;
}
.hero-float-tl { top:    8%; left:  -20px; }
.hero-float-tr { top:    8%; right: -20px; }
.hero-float-bl { bottom: 8%; left:  -20px; }
.hero-float-br { bottom: 8%; right: -20px; }

.hf-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.hf-text strong { display: block; font-size: .82rem; font-weight: 800; color: var(--text); }
.hf-text span   { font-size: .7rem; color: var(--muted); }

.hero-float-badge {
  position: absolute;
  top: 50%;
  right: -36px;
  transform: translateY(-50%);
  background: linear-gradient(135deg,#6366f1,#8b5cf6);
  color: #fff;
  border-radius: var(--r-full);
  padding: 7px 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  box-shadow: 0 4px 16px rgba(99,102,241,.4);
  z-index: 2;
  white-space: nowrap;
}
.hero-float-badge strong { font-weight: 900; font-size: .9rem; }
.hero-float-badge span   { font-size: .68rem; opacity: .8; }

@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-desc  { margin: 0 auto 28px; }
  .hero-cta   { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-right { display: none; }
}

/* ── SECTION HEADERS ─────────────────────────────────────────── */
.section-head   { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-bg);
  color: var(--primary);
  padding: 5px 14px;
  border-radius: var(--r-full);
  font-size: .75rem;
  font-weight: 700;
  margin-bottom: 14px;
  border: 1px solid var(--primary-border);
}
.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
.section-sub {
  font-size: .95rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── DOMAIN CARDS ────────────────────────────────────────────── */
.domain-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: var(--transition);
}
.domain-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.domain-card-top {
  padding: 20px 16px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.domain-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--primary-bg);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.domain-name  { font-size: .9rem; font-weight: 800; color: var(--text); }
.domain-card-body { padding: 0 16px 16px; }
.domain-meta  { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.domain-fee   { font-size: 1.1rem; font-weight: 900; color: var(--primary); }
.domain-duration { font-size: .75rem; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.cat-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg); border: 1.5px solid var(--border);
  color: var(--muted); padding: 5px 14px; border-radius: var(--r-full);
  font-size: .78rem; font-weight: 700;
}

/* ── STATS BAR ───────────────────────────────────────────────── */
.stats-bar {
  background: linear-gradient(135deg,#0f172a,#1e1b4b);
  padding: 40px 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 40px;
  text-align: center;
}
.stat-item i      { font-size: 1.4rem; color: #818cf8; margin-bottom: 4px; }
.stat-item strong { font-size: 1.5rem; font-weight: 900; color: #fff; letter-spacing: -.02em; }
.stat-item span   { font-size: .72rem; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .05em; }
.stat-divider     { width: 1px; height: 48px; background: rgba(255,255,255,.1); }

@media (max-width: 576px) {
  .stat-item { padding: 0 20px; }
  .stat-divider { display: none; }
}

/* ── FEATURE CARDS ───────────────────────────────────────────── */
.feature-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: var(--transition);
  height: 100%;
}
.feature-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.fi-blue   { background: var(--info-bg);    color: var(--info);    }
.fi-red    { background: var(--danger-bg);  color: var(--danger);  }
.fi-green  { background: var(--success-bg); color: var(--success); }
.fi-yellow { background: var(--warning-bg); color: var(--warning); }
.fi-purple { background: #f3e8ff; color: #7c3aed; }
.fi-gray   { background: #f1f5f9; color: #64748b; }
.feature-card h6 { font-size: .95rem; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.feature-card p  { font-size: .85rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* ── HOW IT WORKS STEPS ──────────────────────────────────────── */
.step-item {
  text-align: center;
  padding: 24px 16px;
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary-bg);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 14px;
}
.step-item h6 { font-size: .9rem; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.step-item p  { font-size: .83rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* ── TESTIMONIALS ────────────────────────────────────────────── */
.testi-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  height: 100%;
  transition: var(--transition);
}
.testi-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.testi-stars { color: var(--warning); display: flex; gap: 3px; margin-bottom: 14px; font-size: .85rem; }
.testi-text  { font-size: .88rem; color: var(--text-2); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg,#6366f1,#8b5cf6);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 800;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: .88rem; font-weight: 800; color: var(--text); }
.testi-author span   { font-size: .75rem; color: var(--muted); }

/* ── FAQ ACCORDION ───────────────────────────────────────────── */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1.5px solid var(--border); border-radius: var(--r-lg); margin-bottom: 10px; overflow: hidden; }
.accordion-button {
  width: 100%;
  background: #fff;
  border: none;
  padding: 16px 20px;
  text-align: left;
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.accordion-button::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--primary);
  line-height: 1;
  flex-shrink: 0;
}
.accordion-button.collapsed::after { content: '+'; }
.accordion-button:not(.collapsed)::after { content: '−'; }
.accordion-button:hover { background: var(--bg); }
.accordion-collapse { display: none; }
.accordion-collapse.open { display: block; }
.accordion-body { padding: 4px 20px 18px; font-size: .875rem; color: var(--muted); line-height: 1.7; }

/* ── CTA BOX ─────────────────────────────────────────────────── */
.cta-box {
  background: linear-gradient(135deg,#4f46e5,#7c3aed);
  border-radius: var(--r-xl);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
}
.cta-box h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
.cta-box p  { color: rgba(255,255,255,.7); margin-bottom: 28px; font-size: .95rem; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 56px 0 24px;
}

/* Footer logo — force size, prevent any injection stretching */
.site-footer img {
  height: 36px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain;
}

/* Footer grid — use CSS Grid for reliable 4-column layout */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 40px;
  padding-bottom: 40px;
}
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

.site-footer h6 {
  font-size: .78rem;
  font-weight: 800;
  color: #f1f5f9;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: .85rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .15s;
}
.footer-links a:hover { color: #818cf8; }
.social-row { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  color: #94a3b8;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}
.social-btn:hover { background: var(--primary); color: #fff; }
.footer-divider { height: 1px; background: rgba(255,255,255,.07); margin-bottom: 20px; }
.site-footer a { color: #64748b; transition: color .15s; }
.site-footer a:hover { color: #818cf8; }

/* Refund footer button */
.footer-refund-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(99,102,241,.12);
  border: 1px solid rgba(99,102,241,.25);
  border-radius: var(--r-lg);
  padding: 12px 16px;
  margin-top: 16px;
  color: #a5b4fc;
  transition: var(--transition);
}
.footer-refund-btn:hover { background: rgba(99,102,241,.2); color: #c7d2fe; }
.footer-refund-btn strong { display: block; font-size: .85rem; font-weight: 800; color: #e0e7ff; }
.footer-refund-btn small  { font-size: .73rem; color: #818cf8; }
.footer-refund-arrow { margin-left: auto; font-size: .85rem; }

/* Page paragraph style (footer text) */
.site-footer p { font-size: .875rem; color: #64748b; line-height: 1.7; margin-bottom: 0; }

/* ── AUTH PAGES (student login / forgot / reset / OTP) ───────── */
.auth-page { padding: 60px 0; }

.auth-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.auth-left {
  background: linear-gradient(135deg,#0f172a,#1e1b4b,#312e81);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
}
.al-logo   { height: 36px; width: auto; margin-bottom: 24px; }
.auth-left h2 { font-size: 1.5rem; font-weight: 900; color: #f1f5f9; letter-spacing: -.02em; margin-bottom: 12px; }
.auth-left p  { font-size: .875rem; color: #94a3b8; line-height: 1.7; margin-bottom: 28px; }

.al-feature {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.al-dot {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(99,102,241,.2); color: #818cf8;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; flex-shrink: 0;
}
.al-feature span { font-size: .85rem; color: #a5b4fc; }
.al-footer { margin-top: auto; padding-top: 32px; }
.al-footer p { font-size: .8rem; color: #475569; margin-bottom: 4px; }
.al-footer a { font-size: .85rem; font-weight: 700; color: #818cf8; display: flex; align-items: center; gap: 5px; }
.al-footer a:hover { color: #a5b4fc; }

.auth-right {
  padding: 48px 40px;
}
.auth-right h3    { font-size: 1.4rem; font-weight: 900; color: var(--text); letter-spacing: -.02em; margin-bottom: 6px; }
.auth-sub         { font-size: .875rem; color: var(--muted); margin-bottom: 24px; }

/* Tab switch */
.tab-switch { display: flex; gap: 4px; background: var(--bg); border-radius: var(--r); padding: 4px; margin-bottom: 24px; }
.tab-btn {
  flex: 1; padding: 8px 12px; border: none; border-radius: 7px;
  font-size: .82rem; font-weight: 700; font-family: inherit;
  color: var(--muted); background: transparent; cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 5px;
}
.tab-btn.active { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }

/* Reg info box */
.reg-info-box {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 14px 16px;
  margin-top: 20px; transition: var(--transition);
}
.reg-info-box:hover { border-color: var(--primary); background: var(--primary-bg); }
.reg-info-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--primary-bg); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.reg-info-text strong { display: block; font-size: .85rem; font-weight: 800; color: var(--text); }
.reg-info-text small  { font-size: .75rem; color: var(--muted); }
.reg-info-arrow { margin-left: auto; color: var(--primary); font-size: .85rem; }

@media (max-width: 768px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-left  { display: none; }
  .auth-right { padding: 32px 24px; }
}

/* ── REGISTRATION MULTI-STEP FORM ────────────────────────────── */
.reg-page { background: var(--bg); min-height: 100vh; }

.reg-hero {
  background: linear-gradient(135deg,#0f172a,#1e1b4b);
  padding: 36px 0;
  text-align: center;
}

.reg-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}

/* Stepper */
.stepper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 12px;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.step-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.step-bubble {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 800; color: var(--muted);
  transition: var(--transition);
  flex-shrink: 0;
}
.step-bubble.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 0 0 5px rgba(99,102,241,.18); }
.step-bubble.done   { background: var(--success); border-color: var(--success); color: #fff; }

.step-label { font-size: .7rem; font-weight: 700; color: var(--muted); text-align: center; }
.step-label.active { color: var(--primary); }
.step-label.done   { color: var(--success); }

.step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin-top: 17px;
  transition: background .3s;
}
.step-line.done { background: var(--success); }

.progress-track { height: 3px; background: var(--border); border-radius: 99px; overflow: hidden; }
.progress-fill  { height: 100%; background: var(--primary); border-radius: 99px; transition: width .35s ease; }

/* Step panels */
.step-panel { display: none; }
.step-panel.active { display: block; }
.step-heading { margin-bottom: 24px; }
.step-heading h5 { font-size: 1rem; font-weight: 900; color: var(--text); margin-bottom: 4px; }
.step-heading p  { font-size: .82rem; color: var(--muted); }

/* Step nav buttons */
.step-nav { display: flex; align-items: center; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }

/* Radio card (gender / mode / degree) */
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card label {
  display: flex; align-items: center; justify-content: center;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-size: .85rem; font-weight: 700;
  color: var(--text-2);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  width: 100%;
  gap: 5px;
}
.radio-card input:checked + label { border-color: var(--primary); background: var(--primary-bg); color: var(--primary); }

/* Payment box */
.payment-box { background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--r-lg); padding: 24px; margin-bottom: 20px; }
.qr-img { width: 180px; height: 180px; object-fit: contain; border-radius: var(--r); margin-bottom: 12px; }
.fee-badge { display: inline-block; background: var(--primary); color: #fff; padding: 6px 20px; border-radius: var(--r-full); font-size: 1.1rem; font-weight: 900; }

/* Registration guide sticky btn */
.reg-form-guide-btn {
  display: flex; align-items: center; gap: 12px;
  border: 1.5px dashed var(--border); border-radius: var(--r-lg);
  padding: 14px 16px; margin-top: 20px;
  color: var(--muted); transition: var(--transition);
}
.reg-form-guide-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-bg); }
.reg-fg-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--primary-bg); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.reg-fg-text strong { display: block; font-size: .85rem; font-weight: 800; color: var(--text); }
.reg-fg-text small  { font-size: .73rem; color: var(--muted); }
.reg-fg-arrow { margin-left: auto; color: var(--primary); }

@media (max-width: 576px) {
  .reg-card { padding: 24px 16px; }
  .step-label { font-size: .62rem; }
}

/* ── PAGE HERO (About / FAQ / CMS pages) ─────────────────────── */
.page-hero {
  background: linear-gradient(135deg,#0f172a,#1e1b4b);
  padding: 56px 0;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.4rem,3vw,2rem);
  font-weight: 900;
  color: #f8fafc;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.page-hero p  { color: #94a3b8; font-size: .9rem; }
.page-hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(99,102,241,.2); color: #a5b4fc;
  padding: 4px 14px; border-radius: var(--r-full);
  font-size: .75rem; font-weight: 700; margin-bottom: 12px;
}

/* ── CARD ────────────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: #fff;
  gap: 12px;
}
.card-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
}

/* ── BADGES ──────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
}
.badge-verified { background: var(--success-bg); color: var(--success-text); }
.badge-pending  { background: var(--warning-bg); color: var(--warning-text); }
.badge-rejected { background: var(--danger-bg);  color: var(--danger-text);  }
.badge-info     { background: var(--info-bg);     color: var(--info-text);   }

/* ── VERIFY CERTIFICATE PAGE ─────────────────────────────────── */
.verify-page { padding: 60px 0; }
.verify-card {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.verify-card h2 { font-size: 1.4rem; font-weight: 900; margin-bottom: 8px; }
.verify-card p  { font-size: .875rem; color: var(--muted); margin-bottom: 28px; }

/* ── REFUND REQUEST PAGE ─────────────────────────────────────── */
.refund-page  { padding: 60px 0; }
.refund-card  {
  max-width: 760px; margin: 0 auto;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--r-xl); padding: 40px 36px;
  box-shadow: var(--shadow);
}
.refund-section-title {
  font-size: .78rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .06em; color: var(--primary);
  margin-bottom: 16px; padding-bottom: 8px;
  border-bottom: 1.5px solid var(--primary-border);
  display: flex; align-items: center; gap: 7px;
}

/* ── BREADCRUMB ──────────────────────────────────────────────── */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0; }
.breadcrumb-item { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.breadcrumb-item + .breadcrumb-item::before { content: '/'; color: var(--border); }
.breadcrumb-item a   { color: var(--primary); }
.breadcrumb-item.active { color: var(--muted); }

/* ── d-flex / gap / display helpers ──────────────────────────── */
.d-flex      { display: flex !important; }
.align-items-center { align-items: center !important; }
.justify-content-between { justify-content: space-between !important; }
.flex-wrap   { flex-wrap: wrap !important; }
.gap-2       { gap: 8px !important; }
.gap-3       { gap: 12px !important; }
.mb-4        { margin-bottom: 24px !important; }
.mt-2        { margin-top: 8px !important; }
.mt-4        { margin-top: 24px !important; }
.ms-auto     { margin-left: auto !important; }
.me-2        { margin-right: 6px !important; }
.text-center { text-align: center; }
.w-100       { width: 100%; }
.fw-700      { font-weight: 700; }

/* ── UTILITIES: show/hide ────────────────────────────────────── */
@media (max-width: 768px) {
  .d-md-none   { display: none !important; }
  .d-md-block  { display: none !important; }
}
@media (min-width: 769px) {
  .d-none      { display: none; }
  .d-md-block  { display: block !important; }
}

/* ── ABOUT / CMS PAGE COMPONENTS ─────────────────────────────── */
.stat-pill {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 14px 12px;
  text-align: center;
  transition: var(--transition);
}
.stat-pill:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.stat-pill strong { display: block; font-size: 1.4rem; font-weight: 900; color: var(--primary); letter-spacing: -.02em; margin-bottom: 2px; }
.stat-pill span   { font-size: .7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

.value-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}
.value-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.value-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 16px;
}

/* CMS page content */
.page-content {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  font-size: .9rem;
  line-height: 1.8;
  color: var(--text-2);
}
.page-content h2 { font-size: 1.3rem; font-weight: 900; color: var(--text); margin: 28px 0 14px; letter-spacing: -.02em; }
.page-content h2:first-child { margin-top: 0; }
.page-content h3 { font-size: 1.1rem; font-weight: 800; color: var(--text); margin: 20px 0 10px; }
.page-content p  { margin-bottom: 16px; }
.page-content ul { margin: 16px 0 16px 24px; }
.page-content li { margin-bottom: 8px; }
.page-content strong { font-weight: 700; color: var(--text); }

/* Legal sidebar */
.legal-sidebar { display: flex; flex-direction: column; gap: 4px; }
.legal-sidebar a {
  display: flex; align-items: center;
  padding: 10px 12px; border-radius: var(--r);
  font-size: .85rem; font-weight: 600;
  color: var(--text-2); transition: var(--transition);
}
.legal-sidebar a:hover,
.legal-sidebar a.active { background: var(--primary-bg); color: var(--primary); }

.card-body { padding: 20px; }
.card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--r-lg); }

/* ── CARD ────────────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: #fff;
  gap: 12px;
}
.card-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
}

/* ── BADGES ──────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
}
.badge-verified { background: var(--success-bg); color: var(--success-text); }
.badge-pending  { background: var(--warning-bg); color: var(--warning-text); }
.badge-rejected { background: var(--danger-bg);  color: var(--danger-text);  }
.badge-info     { background: var(--info-bg);     color: var(--info-text);   }

/* ── VERIFY CERTIFICATE PAGE ─────────────────────────────────── */
.verify-page { padding: 60px 0; min-height: 70vh; }
.verify-card {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.verify-card h2 { font-size: 1.4rem; font-weight: 900; margin-bottom: 8px; }
.verify-card p  { font-size: .875rem; color: var(--muted); margin-bottom: 28px; }

/* ── BREADCRUMB ──────────────────────────────────────────────── */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0; }
.breadcrumb-item { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.breadcrumb-item + .breadcrumb-item::before { content: '/'; color: #cbd5e1; }
.breadcrumb-item a   { color: #818cf8; }
.breadcrumb-item.active { color: #94a3b8; }
.page-hero .breadcrumb-item { color: #64748b; }
.page-hero .breadcrumb-item a { color: #a5b4fc; }

/* ── d-flex / gap / display helpers ──────────────────────────── */
.d-flex      { display: flex !important; }
.align-items-center { align-items: center !important; }
.justify-content-between { justify-content: space-between !important; }
.flex-wrap   { flex-wrap: wrap !important; }
.gap-2       { gap: 8px !important; }
.gap-3       { gap: 12px !important; }
.gap-4       { gap: 20px !important; }
.gap-5       { gap: 28px !important; }
.mb-4        { margin-bottom: 24px !important; }
.mt-2        { margin-bottom: 8px !important; }
.mt-4        { margin-top: 24px !important; }
.ms-auto     { margin-left: auto !important; }
.me-2        { margin-right: 6px !important; }
.text-center { text-align: center; }
.w-100       { width: 100%; }
.fw-700      { font-weight: 700; }
.g-5         { gap: 28px; }

/* ── UTILITIES: show/hide ────────────────────────────────────── */
@media (max-width: 768px) {
  .d-md-none   { display: none !important; }
  .d-md-block  { display: none !important; }
}
@media (min-width: 769px) {
  .d-none      { display: none; }
  .d-md-block  { display: block !important; }
}

/* ── CMS PAGE LAYOUT (Terms / Privacy / Study Terms) ────────── */
.cms-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}
.cms-sidebar { display: block; }
.cms-content { min-width: 0; }
.cms-mobile-switch { display: none; }

@media (max-width: 992px) {
  .cms-layout { grid-template-columns: 1fr; }
  .cms-sidebar { display: none; }
  .cms-mobile-switch { display: block; }
}

/* ── ABOUT PAGE: row g-5 ─────────────────────────────────────── */
.row.g-5 { gap: 28px; }

/* ── FORGOT PASSWORD: vertically centered ────────────────────── */
.auth-page { padding: 60px 0; }
.auth-centered {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
}

/* ── MISSING RADIUS TOKENS ───────────────────────────────────── */
.card { border-radius: var(--r-lg); }
:root { --r-2xl: 24px; }

/* ── REFUND PAGE ─────────────────────────────────────────────── */
.refund-page  { padding: 60px 0; }
.refund-card  {
  max-width: 760px; margin: 0 auto;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--r-xl); padding: 40px 36px;
  box-shadow: var(--shadow);
}
.refund-section-title {
  font-size: .78rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .06em; color: var(--primary);
  margin-bottom: 16px; padding-bottom: 8px;
  border-bottom: 1.5px solid var(--primary-border);
  display: flex; align-items: center; gap: 7px;
}

/* ── VALUES GRID (About page — 4 columns) ────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 992px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .values-grid { grid-template-columns: 1fr 1fr; } }

/* ── FEATURE GRID (Home — 3 columns) ─────────────────────────── */
/* Already uses .row.g-4 with col-md-4 col-sm-6 — fixed via grid system above */
/* Explicit override for feature section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 768px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .features-grid { grid-template-columns: 1fr; } }

/* ── HOW IT WORKS GRID (Home — 4 columns) ────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 768px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── TESTIMONIALS GRID (Home — 3 columns) ───────────────────── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 768px) { .testi-grid { grid-template-columns: 1fr; } }

/* ── DOMAIN GRID (Home page — 4 columns) ─────────────────────── */
.domain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
@media (max-width: 992px) { .domain-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .domain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .domain-grid { grid-template-columns: 1fr 1fr; } }

/* ── NAVBAR: Logged-in Student Pill ─────────────────────────── */
.nav-student-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-bg);
  border: 1.5px solid var(--primary-border);
  border-radius: var(--r-full);
  padding: 5px 14px 5px 5px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
.nav-student-pill:hover {
  background: #e0e7ff;
  border-color: var(--primary);
  box-shadow: 0 2px 10px rgba(99,102,241,.2);
}
.nav-student-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 800;
  flex-shrink: 0;
}
.nav-student-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nav-student-name {
  max-width: 90px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
