/* ============================================================
   EduBild public site — "Sunlit Classroom" design system
   Hand-rolled, no frameworks. Brand palette derived from the
   Original brand palette only: logo blues (dark/light), brand yellow, white, grey.
   (Orange retired 2026-08-24 per owner; --orange tokens now map to brand yellow.)
   Scope: landing, student, corporates, institutes, about, auth
   ============================================================ */

:root {
  --blue: #2291cc;          /* brand blue (logo) */
  --blue-dark: #16437e;     /* deep blue (logo) */
  --navy: #16437e;          /* headings + dark sections */
  --ink: #17263b;
  --muted: #45566e;
  --soft: #5b6b80;
  --bg: #ffffff;
  --bg-soft: #f2f8fd;       /* light sky surface */
  --bg-tint: #e3f0fa;
  --border: #d4e4f2;
  --orange: #f5c518;        /* brand yellow — primary CTA */
  --orange-dark: #e3b512;
  --orange-tint: #fffbec;
  --orange-border: #eedda0;
  --orange-ink: #8a6d1c;
  --yellow: #f5c518;        /* sparing highlight */
  --green: #12805c;
  --amber: #b45309;
  --danger: #c0392b;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 4px 24px rgba(22, 67, 126, 0.08);
  --shadow-lg: 0 12px 40px rgba(22, 67, 126, 0.13);
  --font: "Mukta", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --font-display: "Bricolage Grotesque", "Mukta", "Segoe UI", Arial, sans-serif;
  --maxw: 1160px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16.5px;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--blue-dark); text-decoration: none; }
a:hover { color: #0e2f5c; text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.12;
  font-weight: 800;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); font-weight: 700; }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--muted); }
.accent-orange { color: var(--blue); } /* emphasis text = brand blue; yellow is for fills/CTAs only */
.hl-yellow { background: linear-gradient(transparent 62%, rgba(245, 197, 24, 0.55) 62%); }
.section-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: var(--bg-tint);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 14px;
}
.section-head { text-align: center; max-width: 740px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); margin-top: 12px; }

/* ---------- Buttons (rounded-full, warm primary) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  padding: 13px 28px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--orange);
  color: var(--ink) !important;
  box-shadow: 0 6px 18px rgba(245, 197, 24, 0.35);
}
.btn-primary:hover { background: var(--orange-dark); box-shadow: 0 8px 24px rgba(245, 197, 24, 0.5); transform: translateY(-1px); }
.btn-outline {
  background: #fff;
  color: var(--blue-dark) !important;
  border-color: var(--blue-dark);
}
.btn-outline:hover { background: var(--bg-tint); }
.btn-ghost { background: transparent; color: var(--blue-dark) !important; }
.btn-ghost:hover { background: var(--bg-tint); }
.btn-blue {
  background: var(--blue-dark);
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(22, 67, 126, 0.3);
}
.btn-blue:hover { background: #0e2f5c; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 9px 20px; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 248, 253, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 70px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
.brand { display: flex; align-items: center; text-decoration: none !important; }
.brand img.brand-logo { height: 32px; width: auto; }
.brand img.brand-logo-footer { height: 26px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links > li > a {
  display: block;
  padding: 9px 14px;
  border-radius: 999px;
  color: #34455c;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  text-decoration: none !important;
}
.nav-links > li > a:hover { background: var(--bg-tint); color: var(--blue-dark); }
.nav-links > li > a.active { color: var(--blue-dark); background: var(--bg-tint); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 10px;
}
.nav-toggle:hover { background: var(--bg-tint); }
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--navy); }

@media (max-width: 1099px) {
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 12px 20px 20px;
  }
  .nav-menu.open { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links > li > a { padding: 12px 14px; font-size: 1rem; border-radius: 10px; }
  .nav-cta { flex-direction: column; align-items: stretch; margin-top: 12px; gap: 8px; }
  .nav-cta .btn { width: 100%; }
  .nav-menu { max-height: calc(100vh - 70px); overflow-y: auto; }
}
@media (min-width: 1100px) {
  .nav-menu { display: flex; align-items: center; gap: 20px; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 460px at 90% -10%, rgba(34, 145, 204, 0.14), transparent 60%),
    var(--bg-soft);
  padding: 68px 0 56px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { margin: 18px 0 16px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lead { max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.hero-note { font-size: 0.92rem; color: var(--soft); font-weight: 600; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 999px; padding: 7px 16px;
  font-size: 0.85rem; font-weight: 700; color: var(--blue-dark);
  box-shadow: var(--shadow);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

/* language chips */
.lang-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.lang-chips span {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 13px;
  font-size: 0.85rem;
  color: var(--ink);
}

/* Riya card */
.riya-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 300px;
}
.riya-label {
  font-size: 0.8rem; font-weight: 700; color: var(--blue-dark);
  letter-spacing: 0.06em;
}
.riya-avatar {
  height: 190px;
  border-radius: 12px;
  background: linear-gradient(160deg, #dcebfa, #b9d8f2);
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--blue-dark);
}
/* Real portrait of the interviewer students meet in the session (frame from
   the avatar clip), not an initial. */
.riya-avatar .riya-face {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.riya-line { font-size: 0.92rem; color: var(--muted); line-height: 1.5; }
.riya-listening { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--soft); font-weight: 600; }
.riya-listening i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  display: inline-block;
}

/* hero floating cards (segment pages) */
.hero-visual { position: relative; min-height: 380px; }
.hv-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 18px 20px;
}
.hv-card h4 { font-size: 0.95rem; margin-bottom: 6px; font-family: var(--font); font-weight: 700; }
.hv-card .hv-sub { font-size: 0.8rem; color: var(--muted); }
.hv-score { top: 8%; right: 4%; width: 240px; }
.hv-score .score-ring { display: flex; align-items: center; gap: 14px; }
.hv-score .ring {
  width: 74px; height: 74px; border-radius: 50%;
  background: conic-gradient(var(--blue) 0 78%, var(--bg-tint) 78% 100%);
  display: grid; place-items: center;
}
.hv-score .ring > div {
  width: 56px; height: 56px; border-radius: 50%; background: #fff;
  display: grid; place-items: center;
  font-weight: 800; color: var(--navy); font-size: 1.05rem;
  font-family: var(--font-display);
}
.hv-interview { top: 42%; left: 0; width: 250px; }
.hv-interview .hv-row { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; }
.hv-avatar {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue-dark);
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 0.75rem;
  overflow: hidden;
}
.hv-bubble {
  background: var(--bg-soft); border-radius: 10px;
  padding: 8px 12px; font-size: 0.82rem; color: var(--ink);
}
.hv-job { bottom: 4%; right: 10%; width: 250px; }
.hv-job .hv-tag {
  display: inline-block; background: #e7f6ee; color: var(--green);
  font-size: 0.74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .hero { padding: 44px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { min-height: 300px; }
  .hv-score { right: 0; width: 220px; }
  .hv-interview { width: 230px; }
  .hv-job { width: 230px; right: 4%; }
  .riya-card { max-width: 100%; }
}
@media (max-width: 480px) {
  .hero-visual { min-height: 430px; }
  .hv-score { top: 0; right: 0; }
  .hv-interview { top: 37%; left: 0; }
  .hv-job { bottom: 0; right: 0; }
  .hero-ctas .btn { width: 100%; }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #1c5a9e 100%);
  color: #eaf3fc;
}
.section-navy h2, .section-navy h3 { color: #fff; }
@media (max-width: 700px) { .section { padding: 52px 0; } }

/* ---------- Journey ribbon + chapter cards ---------- */
.journey-ribbon {
  background: var(--blue-dark);
  border-radius: var(--radius);
  padding: 26px 28px;
  color: #eaf3fc;
  box-shadow: var(--shadow-lg);
  margin-bottom: 44px;
}
.journey-ribbon h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.journey-pills {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  font-size: 0.88rem; font-weight: 600;
}
.journey-pills .pill { background: var(--blue); border-radius: 999px; padding: 6px 15px; color: #fff; }
.journey-pills .pill-yellow { background: var(--yellow); color: var(--ink); }
.journey-pills .arrow { color: #9cc4e8; }

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.journey-step {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.journey-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.journey-num {
  position: absolute;
  top: -16px; left: 20px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink); /* ink on brand yellow — white-on-yellow failed contrast (owner flag, 2026-08-25) */
  font-weight: 800;
  font-family: var(--font-display);
  display: grid; place-items: center;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(245, 197, 24, 0.45);
}
.journey-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--bg-tint);
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.journey-icon svg { width: 24px; height: 24px; stroke: var(--blue-dark); }
.journey-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.journey-step p { font-size: 0.92rem; color: var(--muted); }
.journey-step.step-highlight { border-color: var(--yellow); background: #fffdf2; }
.journey-step.step-highlight .journey-num { background: var(--yellow); color: var(--ink); box-shadow: 0 4px 12px rgba(245, 197, 24, 0.5); }
@media (max-width: 900px) { .journey-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .journey-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Offer cards ("What you get") ---------- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.offer-card {
  border: 1.5px solid var(--border);
  background: #fff;
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.offer-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.offer-card h3 {
  font-family: var(--font);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--blue-dark);
}
.offer-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.5; }
.offer-card.offer-yellow { border-color: var(--yellow); background: #fffbec; }
.offer-card.offer-yellow h3 { color: #8a6d1c; }
.offer-card.offer-yellow p { color: #5c5233; }
@media (max-width: 900px) { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .offer-grid { grid-template-columns: 1fr; } }

.hero-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue-dark);
}
.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--orange-ink);
}
.ribbon-note { font-size: 0.88rem; color: #b9d8f2; margin-top: 12px; }

/* ---------- Segment cards ---------- */
.segment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.segment-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.segment-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.segment-emoji,
.segment-icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--bg-tint);
  display: grid; place-items: center;
  font-size: 1.5rem;
  color: var(--blue-dark);
  margin-bottom: 14px;
}
/* inline vector icons inherit the tile colour and scale with the tile */
.segment-emoji > svg,
.segment-icon > svg { width: 56%; height: 56%; display: block; }
.segment-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--blue-dark); }
.segment-card p { font-size: 0.9rem; color: var(--soft); flex: 1; margin-bottom: 16px; }
.segment-card .btn { align-self: flex-start; }
.segment-card.segment-warm { border-color: var(--orange-border); background: var(--orange-tint); }
.segment-card.segment-warm h3 { color: var(--orange-ink); }
.segment-card.segment-warm .segment-emoji,
.segment-card.segment-warm .segment-icon { background: #fdf3cf; color: var(--orange-ink); }
@media (max-width: 1000px) { .segment-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .segment-grid { grid-template-columns: 1fr; } }

/* institution band — warm tinted */
.inst-band {
  margin-top: 26px;
  background: var(--orange-tint);
  border: 1.5px solid var(--orange-border);
  border-radius: var(--radius);
  padding: 36px 34px;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 24px;
  align-items: center;
  color: #7a5a41;
  box-shadow: var(--shadow);
}
.inst-band h3 { color: var(--orange-ink); font-size: 1.4rem; margin-bottom: 10px; }
.inst-band p { font-size: 0.98rem; }
.inst-band .section-kicker { background: #fdf3cf; color: var(--orange-ink); }
.inst-band ul { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.inst-band li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.93rem; }
.inst-band li svg { flex: none; width: 18px; height: 18px; stroke: var(--orange); margin-top: 3px; }
.inst-band-cta { display: flex; flex-direction: column; gap: 10px; }
.inst-band-cta .btn-outline { background: transparent; color: var(--orange-ink) !important; border-color: var(--orange-ink); }
.inst-band-cta .btn-outline:hover { background: #fdf3cf; }
@media (max-width: 800px) {
  .inst-band { grid-template-columns: 1fr; padding: 28px 22px; }
}

/* ---------- Stats + story ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}
.stat { padding: 24px 10px; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}
.stat-label { margin-top: 4px; font-size: 0.95rem; color: #a8c9ea; font-weight: 600; }
@media (max-width: 600px) { .stats-grid { grid-template-columns: 1fr; gap: 4px; } .stat { padding: 16px 10px; } }

.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}
.story-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 28px;
}
.story-quote {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 700;
  color: var(--yellow);
  line-height: 1.35;
  margin-bottom: 14px;
}
.story-who { font-size: 0.92rem; color: #cfe2f5; }
.story-note { margin-top: 10px; font-size: 0.75rem; color: #9cc4e8; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
@media (max-width: 850px) { .story-grid { grid-template-columns: 1fr; } }

/* ---------- Feature split rows ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split + .split { margin-top: 72px; }
.split h2 { margin-bottom: 14px; }
.split p { color: var(--muted); margin-bottom: 12px; }
.split ul { list-style: none; display: grid; gap: 10px; margin: 18px 0 22px; }
.split li { display: flex; gap: 10px; align-items: flex-start; }
.split li svg { flex: none; width: 20px; height: 20px; stroke: var(--green); margin-top: 3px; }
.split-visual {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 26px;
}
@media (max-width: 850px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.rev .split-visual { order: -1; }
  .split + .split { margin-top: 56px; }
}

/* small progress-style visuals used inside split-visual */
.meter { margin-bottom: 16px; }
.meter:last-child { margin-bottom: 0; }
.meter-head { display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.meter-bar { height: 10px; border-radius: 999px; background: var(--bg-tint); overflow: hidden; }
.meter-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--blue-dark)); }

/* ---------- Checklist ---------- */
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list li svg { flex: none; width: 20px; height: 20px; stroke: var(--green); margin-top: 3px; }

/* ---------- Quote cards ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote-card {
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.quote-card p { font-size: 0.95rem; color: var(--ink); margin-bottom: 16px; }
.quote-who { display: flex; align-items: center; gap: 12px; }
.quote-who .hv-avatar { width: 40px; height: 40px; font-size: 0.9rem; }
.quote-who strong { display: block; font-size: 0.92rem; color: var(--navy); }
.quote-who span { font-size: 0.8rem; color: var(--muted); }
@media (max-width: 850px) { .quote-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: start; }
.contact-info h2 { margin-bottom: 12px; }
.contact-info p { color: var(--muted); margin-bottom: 20px; }
.contact-info .check-list { margin-top: 8px; }
.contact-form {
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 30px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.form-control {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(34, 145, 204, 0.18);
}
textarea.form-control { resize: vertical; min-height: 110px; }
select.form-control { appearance: auto; }
.field-error { display: block; color: var(--danger); font-size: 0.82rem; margin-top: 5px; font-weight: 600; }
@media (max-width: 850px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Flash messages ---------- */
.flash {
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 18px;
}
.flash-success { background: #e7f6ee; color: var(--green); border: 1px solid #b7e4cd; }
.flash-error { background: #fdeceb; color: var(--danger); border: 1px solid #f5c6c2; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #1c5a9e 100%);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 { color: #fff; margin-bottom: 10px; }
.cta-banner p { color: #d3e7f8; max-width: 560px; margin: 0 auto 26px; }
.cta-banner .btn { background: var(--orange); color: var(--ink) !important; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); }
.cta-banner .btn:hover { background: var(--orange-dark); transform: translateY(-1px); }
@media (max-width: 600px) { .cta-banner { padding: 36px 22px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-dark); color: #b9d2ea; padding: 56px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-brand p { font-size: 0.9rem; margin-top: 14px; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; font-family: var(--font); font-weight: 700; }
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col a { color: #b9d2ea; font-size: 0.9rem; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.85rem;
}
.footer-bottom a { color: #b9d2ea; }
@media (max-width: 850px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Auth pages (login / OTP verification)
   ============================================================ */
.auth-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 480px at 90% -10%, rgba(34, 145, 204, 0.14), transparent 60%),
    var(--bg-soft);
}
.auth-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}
.auth-top .btn { background: #fff; }
.auth-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 20px 16px 48px;
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 34px 30px;
}
.auth-logo { height: 34px; width: auto; margin: 0 auto 20px; }
.auth-card h1 { font-size: 1.55rem; margin-bottom: 6px; }
.auth-card .auth-sub { color: var(--muted); font-size: 0.93rem; margin-bottom: 22px; }
.auth-journey {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 0 0 22px;
}
.auth-journey span {
  font-size: 0.72rem; font-weight: 700; color: var(--blue-dark);
  background: var(--bg-tint); border-radius: 999px; padding: 4px 10px;
}
.phone-row { display: flex; gap: 10px; }
.phone-row select { flex: 0 0 108px; }
.phone-row .phone-input { flex: 1; }
.auth-toggle {
  background: none; border: none; cursor: pointer;
  color: var(--blue-dark); font-weight: 700; font-size: 0.85rem;
  font-family: var(--font);
  padding: 0; text-decoration: underline;
}
.auth-hint { font-size: 0.82rem; color: var(--muted); margin-top: 7px; }
.auth-divider {
  display: flex; align-items: center; gap: 14px;
  color: var(--muted); font-size: 0.82rem; font-weight: 600;
  margin: 20px 0;
}
.auth-divider::before, .auth-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--border);
}
.auth-social {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  border: 1.5px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 12px;
  font-family: var(--font);
  font-weight: 700; font-size: 0.95rem; color: var(--ink);
  cursor: pointer;
  text-decoration: none !important;
}
.auth-social:hover { background: var(--bg-soft); }
.auth-foot { text-align: center; margin-top: 20px; font-size: 0.9rem; color: var(--muted); }
.auth-links { display: flex; justify-content: center; gap: 18px; margin-top: 10px; font-size: 0.85rem; }
.recaptcha-wrap { margin: 18px 0; display: flex; justify-content: center; }
@media (max-width: 400px) {
  .auth-card { padding: 26px 18px; }
  .recaptcha-wrap { transform: scale(0.88); transform-origin: center; }
}

/* OTP inputs */
.otp-row { display: flex; gap: 12px; justify-content: center; margin: 22px 0 8px; }
.otp-box {
  width: 58px; height: 62px;
  text-align: center;
  font-size: 1.5rem; font-weight: 800;
  color: var(--navy);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.otp-box:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(34, 145, 204, 0.18);
}
.otp-target {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-tint); color: var(--navy);
  border-radius: 999px; padding: 6px 16px;
  font-weight: 700; font-size: 0.95rem;
  margin: 4px 0 6px;
}
.otp-resend { text-align: center; margin-top: 16px; font-size: 0.9rem; color: var(--muted); }
.otp-resend button {
  background: none; border: none; cursor: pointer;
  color: var(--blue-dark); font-weight: 700; font-family: var(--font); font-size: 0.9rem;
  text-decoration: underline; padding: 0;
}
.otp-resend button:disabled { color: var(--muted); text-decoration: none; cursor: default; }
@media (max-width: 400px) {
  .otp-row { gap: 8px; }
  .otp-box { width: 52px; height: 56px; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.hidden { display: none !important; }

/* ===== SEO page sections (content-deck pages) ===== */
.seo-hero { background: var(--bg-soft); padding: 64px 0 48px; }
.seo-hero .hero-eyebrow { color: var(--orange-ink); }
.seo-hero h1 { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.9rem); color: var(--navy); line-height: 1.12; margin-bottom: 10px; }
.seo-hero .seo-sub { font-size: 1.15rem; color: var(--muted); max-width: 58ch; }
/* Answer-first intro under the H1 (seo-modernization.md A3): plain-prose direct answer */
.seo-answer { font-size: 1.05rem; color: var(--navy); max-width: 68ch; margin-top: 14px; line-height: 1.55; }
.seo-answer strong { color: var(--blue-dark); }
.seo-hero [style*="text-align:center"] .seo-answer, .seo-answer.center { margin-left: auto; margin-right: auto; text-align: left; }
.seo-hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 36px; align-items: center; }
.seo-hero-media { background: var(--bg-tint); border: 1.5px solid var(--border); border-radius: var(--radius); min-height: 240px; display: flex; align-items: center; justify-content: center; color: var(--blue-dark); font-weight: 600; text-align: center; padding: 18px; }

/* --- Placeholder containers holding a real visual (2026-08-25) ---------------
   .is-shot  = a real product screenshot: fills the frame edge to edge.
   .is-illus = a brand SVG illustration: sits on the sky tint with breathing room.
   Both drop the fixed min-height so the frame follows the artwork's aspect. */
.seo-hero-media.is-shot,
.seo-hero-media.is-illus { min-height: 0; font-weight: 400; }
.seo-hero-media.is-shot { padding: 0; background: #fff; overflow: hidden; }
.seo-hero-media.is-shot img { width: 100%; height: auto; display: block; border-radius: calc(var(--radius) - 2px); }
.seo-hero-media.is-illus { padding: 20px; }
.seo-hero-media.is-illus img { width: 100%; max-width: 620px; height: auto; display: block; }
.seo-hero-media.is-shot.tall img { max-height: 620px; width: auto; margin: 0 auto; border-radius: 0; }
.seo-hero-media.is-shot.tall { padding: 16px; background: var(--bg-soft); }
@media (max-width: 720px) {
  .seo-hero-media.is-shot.tall img { max-height: 420px; }
}

.stat-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat-trio .stat-card { background: var(--blue-dark); color: #fff; border-radius: var(--radius); padding: 26px 20px; text-align: center; }
.stat-trio .stat-card b { display: block; font-family: var(--font-display); font-size: 2rem; margin-bottom: 6px; }
.stat-trio .stat-card span { font-size: 0.95rem; opacity: 0.9; }
.seo-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.seo-cards.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seo-card { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 20px; background: #fff; }
.seo-card h3 { color: var(--blue-dark); font-size: 1.05rem; margin-bottom: 8px; }
.seo-card p, .seo-card li { font-size: 0.95rem; color: var(--muted); }
.seo-card.highlight { border-color: var(--orange-border); background: var(--orange-tint); }
.seo-card.highlight h3 { color: var(--orange-ink); }
.faq-list { max-width: 780px; }
.faq-item { border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: #fff; margin-bottom: 10px; }
.faq-item summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--blue); font-size: 1.3rem; font-weight: 700; flex: none; line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-a { padding: 0 18px 14px; color: var(--muted); font-size: 0.97rem; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.compare-table th, .compare-table td { border: 1px solid var(--border); padding: 12px 14px; text-align: left; }
.compare-table th { background: var(--blue-dark); color: #fff; font-weight: 600; }
.compare-table tr:nth-child(even) td { background: var(--bg-soft); }
.compare-table td.yes { color: var(--green); font-weight: 700; }
.compare-table td.no { color: var(--danger); }
.tool-panel { border: 2px solid var(--blue-dark); border-radius: var(--radius); padding: 28px; background: #fff; text-align: center; }
.tool-panel .tool-drop { border: 2px dashed var(--border); border-radius: var(--radius-sm); padding: 34px 20px; margin: 18px 0; background: var(--bg-soft); }
.seo-breadcrumb { font-size: 0.85rem; color: var(--soft); padding: 14px 0 0; }
.seo-breadcrumb a { color: var(--blue-dark); }
.section-pad { padding: 44px 0; }
.section-pad.alt { background: var(--bg-soft); }
@media (max-width: 860px) {
  .seo-hero-grid { grid-template-columns: 1fr; }
  .stat-trio, .seo-cards, .seo-cards.cols-2 { grid-template-columns: 1fr; }
  .compare-table { display: block; overflow-x: auto; }
}

/* Nav dropdowns / mega-menus */
.nav-drop { position: relative; }
.nav-drop .drop-caret { font-size: 0.7em; opacity: 0.7; margin-left: 2px; }
.nav-drop .drop-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  margin-top: 2px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 14px 16px;
  z-index: 60;
}
.nav-drop:hover > .drop-menu,
.nav-drop:focus-within > .drop-menu { display: grid; }
/* Escape key closes an open menu until the pointer/focus leaves it */
.nav-drop[data-esc] > .drop-menu { display: none !important; }

.drop-menu.mega { grid-template-columns: repeat(var(--mega-cols, 1), minmax(210px, 1fr)); gap: 6px 28px; }
.drop-menu.mega-1 { --mega-cols: 1; }
.drop-menu.mega-2 { --mega-cols: 2; }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-head {
  margin: 0 0 4px; padding: 0 10px;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: #7d8ba0;
}
.mega-head-gap { margin-top: 14px; }
.drop-menu .mega-col li a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  color: var(--ink);
  text-decoration: none !important;
}
.drop-menu .mega-col li a:hover,
.drop-menu .mega-col li a:focus-visible { background: var(--bg-soft); color: var(--blue-dark); }
.mega-tag {
  display: inline-block; margin-left: 6px; padding: 1px 6px;
  border-radius: 999px; background: var(--orange); color: var(--navy);
  font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  vertical-align: middle;
}

/* Subdued secondary CTA */
.nav-cta-link {
  color: #5a6b82;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none !important;
  padding: 8px 4px;
  white-space: nowrap;
}
.nav-cta-link:hover { color: var(--blue-dark); text-decoration: underline !important; }

@media (max-width: 1099px) {
  /* Mobile drawer: mega-menus collapse into the stacked accordion */
  .nav-drop .drop-menu {
    position: static; display: grid !important;
    border: none; box-shadow: none; border-radius: 0;
    padding: 2px 0 6px 12px; margin-top: 0;
    grid-template-columns: 1fr !important;
  }
  .nav-drop[data-esc] > .drop-menu { display: grid !important; }
  .drop-menu .mega-col li a { white-space: normal; padding: 9px 10px; font-size: 0.95rem; }
  .mega-head { padding-left: 10px; margin-top: 8px; }
  .nav-cta-link { text-align: center; padding: 10px 4px; }
}

/* Country-code picker: India-first, searchable (login/signup) */
.cc-picker { position: relative; }
.cc-trigger { display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; text-align: left; background: #fff; }
.cc-caret { opacity: 0.6; font-size: 0.8em; }
.cc-menu { position: absolute; z-index: 80; top: calc(100% + 6px); left: 0; width: 290px; max-width: 80vw; background: #fff; border: 1.5px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 10px; }
.cc-search { width: 100%; padding: 9px 12px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 0.95rem; margin-bottom: 8px; }
.cc-search:focus { outline: none; border-color: var(--blue); }
.cc-list { list-style: none; margin: 0; padding: 0; max-height: 260px; overflow-y: auto; }
.cc-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: 0.94rem; }
.cc-list li:hover, .cc-list li.is-active { background: var(--bg-soft); }
.cc-list li.is-selected { background: var(--bg-tint); font-weight: 600; }
.cc-list .cc-code { color: var(--soft); font-variant-numeric: tabular-nums; }
.cc-empty { padding: 10px; margin: 0; color: var(--soft); font-size: 0.9rem; text-align: center; }

/* ============================================================
   Portal auth pages (employer / institution / admin)
   Shares the student auth system: same card, same tokens.
   Adds a two-column split with a branded marketing panel and a
   password visibility toggle.
   ============================================================ */
.auth-split { display: grid; grid-template-columns: 1.02fr 1fr; min-height: 100vh; }
.auth-aside {
  background:
    radial-gradient(700px 380px at 15% 0%, rgba(245, 197, 24, 0.16), transparent 62%),
    linear-gradient(160deg, var(--blue-dark) 0%, #1c5a9e 100%);
  color: #fff;
  padding: 34px 40px 40px;
  display: flex;
  flex-direction: column;
}
.auth-aside .auth-aside-logo { height: 32px; width: auto; }
.auth-aside-tag {
  margin-top: 26px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--orange);
}
.auth-slides { flex: 1; display: grid; place-items: center; padding: 26px 0 0; }
.auth-slide { display: none; text-align: center; max-width: 400px; }
.auth-slide.is-active { display: block; }
.auth-slide img { height: 168px; width: auto; margin: 0 auto 24px; object-fit: contain; }
.auth-slide h2 { color: #fff; font-size: 1.3rem; margin-bottom: 8px; }
.auth-slide p { color: #cfe4f7; font-size: 0.95rem; }
.auth-dots { display: flex; gap: 8px; justify-content: center; margin-top: 28px; }
.auth-dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, 0.34); cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}
.auth-dot.is-active { background: var(--orange); width: 24px; }
.auth-dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.auth-pane { display: flex; flex-direction: column; background: var(--bg-soft); }
.auth-pane .auth-main { padding: 12px 16px 40px; }
@media (max-width: 900px) {
  .auth-split { grid-template-columns: 1fr; min-height: 100dvh; }
  .auth-aside { display: none; }
  .auth-pane {
    background:
      radial-gradient(900px 480px at 90% -10%, rgba(34, 145, 204, 0.14), transparent 60%),
      var(--bg-soft);
  }
}

/* Password field with a show/hide toggle */
.pw-field { position: relative; }
.pw-field .form-control { padding-right: 62px; }
.pw-toggle {
  position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; cursor: pointer;
  color: var(--soft); font-family: var(--font); font-weight: 700; font-size: 0.78rem;
  padding: 7px 10px; border-radius: 8px;
}
.pw-toggle:hover { color: var(--blue-dark); background: var(--bg-soft); }
.pw-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }

/* Right-aligned helper link above the submit button */
.auth-inline-link { display: flex; justify-content: flex-end; margin: -6px 0 18px; font-size: 0.86rem; }
.auth-inline-link a { font-weight: 700; }

/* ------------------------------------------------------------
   Hirenex.AI theme (employer portal)
   The employer portal is a separate brand from EduBild. It reuses
   the layout/craft of this auth system but re-tokenises the palette
   and type to Hirenex: electric blue #236dea primary, Sora display.
   Applied via class="theme-hirenex" on <body>.
   ------------------------------------------------------------ */
.theme-hirenex {
  --blue: #236dea;
  --blue-dark: #1a55b8;
  --navy: #0e1133;
  --ink: #131313;
  --muted: #636363;
  --soft: #757575;
  --bg-soft: #f5f5f7;
  --bg-tint: #e8f0fd;
  --border: #e3e5e9;
  --font: "Montserrat", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --font-display: "Sora", "Montserrat", "Segoe UI", Arial, sans-serif;
  --shadow: 0 4px 24px rgba(14, 17, 51, 0.08);
  --shadow-lg: 0 12px 40px rgba(14, 17, 51, 0.14);
}
.theme-hirenex .btn-primary {
  background: #236dea;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(35, 109, 234, 0.32);
}
.theme-hirenex .btn-primary:hover { background: #1a55b8; box-shadow: 0 8px 24px rgba(35, 109, 234, 0.45); }
.theme-hirenex .auth-aside {
  background:
    radial-gradient(700px 380px at 15% 0%, rgba(251, 195, 4, 0.18), transparent 62%),
    linear-gradient(160deg, #236dea 0%, #1a55b8 100%);
}
.theme-hirenex .auth-aside-tag { color: #fbc304; }
.theme-hirenex .auth-dot.is-active { background: #fbc304; }
.theme-hirenex .auth-pane {
  background:
    radial-gradient(900px 480px at 90% -10%, rgba(35, 109, 234, 0.10), transparent 60%),
    var(--bg-soft);
}
@media (max-width: 900px) {
  .theme-hirenex .auth-pane {
    background:
      radial-gradient(900px 480px at 90% -10%, rgba(35, 109, 234, 0.10), transparent 60%),
      var(--bg-soft);
  }
}
.theme-hirenex .otp-box { color: #236dea; }

/* ---------- Legal / long-form documents (terms, privacy, refund, disclaimer, FAQs) ---------- */
.page-hero { background: var(--bg-soft); padding: 52px 0 40px; border-bottom: 1.5px solid var(--border); }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.7rem); }
.page-hero .page-hero-sub { font-size: 1.08rem; color: var(--muted); max-width: 62ch; margin-top: 12px; }

.legal-doc { max-width: 78ch; }
.legal-doc > section + section { margin-top: 34px; }
.legal-doc h2 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  color: var(--blue-dark);
  font-weight: 700;
  margin-bottom: 10px;
}
.legal-doc p { color: var(--muted); margin-bottom: 12px; }
.legal-doc p:last-child { margin-bottom: 0; }
.legal-doc ul, .legal-doc ol { margin: 10px 0 12px; padding-left: 22px; display: grid; gap: 7px; color: var(--muted); }
.legal-doc li { padding-left: 2px; }
.legal-doc strong, .legal-doc b { font-weight: 600; color: var(--ink); }
.legal-doc a { color: var(--blue-dark); text-decoration: underline; }
.legal-doc .legal-address { border-left: 3px solid var(--border); padding-left: 16px; margin-top: 12px; }
