/* ═══════════════════════════════════════════════════════════════
   REMESYS — Premium Editorial Design
   Aesthetic: Clean White · Bold Type · Electric Precision
   Fonts: Syne (display) + DM Sans (body)
   Palette: Cream #FAFAF7 · Ink #0D1117 · Blue #1D4ED8 · Saffron #F97316
═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ─── Variables ─────────────────────────────────────────────── */
:root {
  --cream:    #FAFAF7;
  --ink:      #0D1117;
  --ink2:     #1A2232;
  --muted:    #6B7280;
  --dim:      #9CA3AF;
  --line:     #E5E7EB;
  --line2:    #D1D5DB;

  --blue:     #1D4ED8;
  --blue-lt:  #3B82F6;
  --blue-bg:  #EFF6FF;
  --blue-bdr: #BFDBFE;

  --saffron:  #F97316;
  --saff-bg:  #FFF7ED;
  --saff-bdr: #FED7AA;

  --green:    #059669;
  --red:      #DC2626;

  --font-d:   'Syne', sans-serif;
  --font-b:   'DM Sans', sans-serif;

  --r:        10px;
  --r2:       16px;
  --r3:       24px;
  --sh:       0 1px 3px rgba(13,17,23,.06), 0 4px 16px rgba(13,17,23,.08);
  --sh2:      0 2px 8px rgba(13,17,23,.08), 0 12px 40px rgba(13,17,23,.12);
  --sh3:      0 4px 24px rgba(13,17,23,.15), 0 24px 80px rgba(13,17,23,.12);
  --tr:       .28s cubic-bezier(.4,0,.2,1);
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-b);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul  { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ─── Announcement Bar ──────────────────────────────────────── */
.ann-bar {
  background: var(--ink);
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  font-weight: 500;
  text-align: center;
  padding: 9px 20px;
  letter-spacing: .01em;
  position: relative;
}
.ann-bar strong { color: var(--saffron); }
.ann-bar a { color: #93C5FD; text-decoration: underline; }

/* ─── NAV ───────────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(250,250,247,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--ink);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 22px; height: 22px; }
.logo-text-wrap { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: var(--font-d);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.01em;
}
.logo-sub {
  font-size: .62rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.nav-links a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--muted);
  padding: 7px 13px;
  border-radius: 7px;
  transition: color var(--tr), background var(--tr);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--ink);
  background: var(--line);
}

/* Dropdown */
.nav-drop { position: relative; }
.nav-drop > a { display: flex; align-items: center; gap: 4px; }
.nav-drop > a::after { content: '↓'; font-size: .7rem; opacity: .5; }
.drop-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--line2);
  border-radius: var(--r2);
  padding: 8px;
  box-shadow: var(--sh3);
}
.drop-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 8px;
  font-size: .86rem;
  color: var(--ink2);
}
.drop-menu a:hover { background: var(--cream); color: var(--blue); }
.drop-menu a .dm-icon { font-size: 1rem; width: 24px; text-align: center; }
.nav-drop:hover .drop-menu { display: block; }

.nav-actions { display: flex; gap: 10px; align-items: center; margin-left: auto; }

/* Mobile */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 5px;
  margin-left: auto;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: var(--tr); }
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-nav {
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 16px 28px 24px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink2);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child { border-bottom: none; }

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 8px;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: .84rem;
  letter-spacing: .02em;
  border: none;
  transition: all var(--tr);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn-sm  { padding: 9px 18px; font-size: .8rem; }
.btn-md  { padding: 12px 24px; }
.btn-lg  { padding: 15px 32px; font-size: .95rem; }
.btn-xl  { padding: 18px 40px; font-size: 1rem; }

.btn-ink {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 2px 8px rgba(13,17,23,.2);
}
.btn-ink:hover {
  background: var(--ink2);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13,17,23,.25);
}

.btn-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(29,78,216,.25);
}
.btn-blue:hover {
  background: var(--blue-lt);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(29,78,216,.35);
}

.btn-saffron {
  background: var(--saffron);
  color: #fff;
  box-shadow: 0 2px 8px rgba(249,115,22,.25);
}
.btn-saffron:hover {
  background: #EA6C0C;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(249,115,22,.35);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line2);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.btn-ghost-blue {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue-bdr);
}
.btn-ghost-blue:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ─── Typography helpers ────────────────────────────────────── */
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-d);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
}
.tag-blue   { background: var(--blue-bg);  color: var(--blue);    border: 1px solid var(--blue-bdr); }
.tag-saff   { background: var(--saff-bg);  color: var(--saffron); border: 1px solid var(--saff-bdr); }
.tag-green  { background: #ECFDF5; color: var(--green); border: 1px solid #A7F3D0; }
.tag-ink    { background: var(--ink); color: #fff; }

.eyebrow {
  font-family: var(--font-d);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
  display: block;
}

.display-xl {
  font-family: var(--font-d);
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.04em;
  color: var(--ink);
}
.display-lg {
  font-family: var(--font-d);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--ink);
}
.display-md {
  font-family: var(--font-d);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.025em;
  color: var(--ink);
}
.display-sm {
  font-family: var(--font-d);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--ink);
}

.text-blue   { color: var(--blue); }
.text-saff   { color: var(--saffron); }
.text-muted  { color: var(--muted); }
.text-center { text-align: center; }

/* Italic accent word */
.ital { font-style: italic; color: var(--blue); }

/* ─── Layout ────────────────────────────────────────────────── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 140px 0; }

/* Horizontal rule as design element */
.h-rule { border: none; border-top: 1px solid var(--line); }

/* ─── HERO ──────────────────────────────────────────────────── */
.hero {
  min-height: 94vh;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 100px 28px 60px;
}

.hero-left { max-width: 680px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: rgba(255,255,255,.85);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px 6px 8px;
  border-radius: 50px;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  background: #22C55E;
  border-radius: 50%;
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1}50%{opacity:.3} }

.hero-title {
  font-family: var(--font-d);
  font-size: clamp(3rem, 7.5vw, 7rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.04em;
  color: var(--ink);
  margin-bottom: 28px;
}
.hero-title .line-blue  { color: var(--blue); }
.hero-title .line-saff  { color: var(--saffron); }
.hero-title .line-out   {
  -webkit-text-stroke: 2px var(--ink);
  color: transparent;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 56px; }

.hero-proof {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.proof-item { display: flex; flex-direction: column; }
.proof-num {
  font-family: var(--font-d);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}
.proof-label { font-size: .78rem; color: var(--muted); margin-top: 2px; }

/* Hero right: floating course card */
.hero-right { position: relative; display: flex; justify-content: flex-end; align-items: center; }

.hero-card-wrap {
  position: relative;
  width: 340px;
}

.hc-main {
  background: #fff;
  border: 1px solid var(--line2);
  border-radius: var(--r3);
  padding: 28px;
  box-shadow: var(--sh3);
  animation: float-y 5s ease-in-out infinite;
}
@keyframes float-y { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

.hc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.hc-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-bg); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.hc-hot { background: var(--saffron); color: #fff; font-size: .65rem; font-weight: 800; font-family: var(--font-d); letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 50px; }
.hc-name { font-family: var(--font-d); font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.hc-meta { font-size: .8rem; color: var(--muted); margin-bottom: 18px; }
.hc-prices { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.hc-price { font-family: var(--font-d); font-size: 1.5rem; font-weight: 800; color: var(--blue); }
.hc-mrp   { font-size: .85rem; color: var(--dim); text-decoration: line-through; }
.hc-off   { font-size: .72rem; font-weight: 700; background: #DCFCE7; color: #15803D; padding: 2px 8px; border-radius: 50px; font-family: var(--font-d); }
.hc-bar   { background: var(--line); border-radius: 4px; height: 5px; margin-bottom: 12px; }
.hc-bar-fill { background: var(--blue); height: 5px; border-radius: 4px; width: 68%; }
.hc-seats { font-size: .76rem; color: var(--muted); }

/* floating mini cards */
.hc-mini {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line2);
  border-radius: var(--r2);
  padding: 14px 18px;
  box-shadow: var(--sh2);
  min-width: 150px;
}
.hc-mini-1 { top: -28px; left: -48px; animation: float-y 4s .5s ease-in-out infinite; }
.hc-mini-2 { bottom: -24px; right: -28px; animation: float-y 5s 1s ease-in-out infinite; }
.hcm-lbl { font-size: .68rem; color: var(--muted); margin-bottom: 4px; font-weight: 500; }
.hcm-val { font-family: var(--font-d); font-size: .92rem; font-weight: 700; color: var(--ink); }
.hcm-sub { font-size: .7rem; color: var(--muted); margin-top: 3px; }

/* ─── Ticker / Marquee ──────────────────────────────────────── */
.ticker-wrap {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  padding: 13px 0;
}
.ticker-inner {
  display: flex;
  gap: 0;
  animation: ticker 28s linear infinite;
  width: max-content;
}
.ticker-inner:hover { animation-play-state: paused; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

.ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 32px;
  font-family: var(--font-d);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  white-space: nowrap;
}
.ticker-item .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--saffron);
  flex-shrink: 0;
}
.ticker-item.highlight { color: var(--saffron); }

/* ─── Stats Row ─────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.stat-cell {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  text-align: center;
  transition: background var(--tr);
}
.stat-cell:last-child { border-right: none; }
.stat-cell:hover { background: var(--cream); }
.stat-big {
  font-family: var(--font-d);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--ink);
  display: block;
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-lbl { font-size: .82rem; color: var(--muted); font-weight: 500; }

/* ─── Section heading block ─────────────────────────────────── */
.sh-block { margin-bottom: 56px; }
.sh-block .display-lg { max-width: 700px; }
.sh-block p { font-size: 1.05rem; color: var(--muted); max-width: 560px; margin-top: 16px; line-height: 1.8; }

.sh-block-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.sh-block-row .display-lg { max-width: 560px; }

/* ─── Category grid ─────────────────────────────────────────── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.cat-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  padding: 24px 18px;
  text-align: center;
  transition: all var(--tr);
  display: block;
}
.cat-tile:hover {
  border-color: var(--blue);
  background: var(--blue-bg);
  transform: translateY(-3px);
  box-shadow: var(--sh2);
}
.cat-tile:hover .cat-tile-name { color: var(--blue); }
.cat-tile-icon { font-size: 1.8rem; margin-bottom: 10px; display: block; }
.cat-tile-name {
  font-family: var(--font-d);
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
  transition: color var(--tr);
}
.cat-tile-count { font-size: .73rem; color: var(--muted); }

/* ─── Course Card ───────────────────────────────────────────── */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 20px;
}
.course-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--tr);
  position: relative;
}
.course-card:hover {
  border-color: var(--line2);
  transform: translateY(-5px);
  box-shadow: var(--sh3);
}

.cc-top-bar {
  height: 4px;
  background: var(--line);
}
.cc-top-bar.blue    { background: var(--blue); }
.cc-top-bar.saffron { background: var(--saffron); }
.cc-top-bar.green   { background: var(--green); }
.cc-top-bar.ink     { background: var(--ink); }

.cc-body { padding: 24px; flex: 1; }
.cc-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.cc-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.cc-icon.bg-blue   { background: var(--blue-bg); }
.cc-icon.bg-saff   { background: var(--saff-bg); }
.cc-icon.bg-green  { background: #ECFDF5; }
.cc-icon.bg-ink    { background: #F3F4F6; }

.cc-level {
  font-family: var(--font-d);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 50px;
}
.level-basic { background: #F3F4F6; color: var(--muted); }
.level-int   { background: var(--blue-bg); color: var(--blue); }
.level-adv   { background: var(--saff-bg); color: var(--saffron); }
.level-dip   { background: var(--ink); color: #fff; }

.cc-name {
  font-family: var(--font-d);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.3;
}
.cc-desc { font-size: .84rem; color: var(--muted); line-height: 1.6; }

.cc-meta {
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cc-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .77rem;
  color: var(--muted);
}

.cc-foot {
  padding: 16px 24px 24px;
}
.cc-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.cc-price  { font-family: var(--font-d); font-size: 1.4rem; font-weight: 800; color: var(--ink); }
.cc-mrp    { font-size: .84rem; color: var(--dim); text-decoration: line-through; }
.cc-disc   {
  font-size: .7rem; font-weight: 700; font-family: var(--font-d);
  background: #DCFCE7; color: #15803D;
  padding: 2px 8px; border-radius: 50px;
}
.cc-hot {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--saffron);
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  font-family: var(--font-d);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 50px;
}

/* ─── Filter bar ────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  align-items: center;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: 50px;
  border: 1.5px solid var(--line2);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-d);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: all var(--tr);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

/* ─── About split ───────────────────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-vis {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--ink);
  border-radius: var(--r3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-vis-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px;
  color: rgba(255,255,255,.85);
}
.about-vis-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 36px 36px;
}
.about-vis-num {
  font-family: var(--font-d);
  font-size: 4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}
.about-vis-label { font-size: .85rem; color: rgba(255,255,255,.5); }

.feat-list { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.feat-item { display: flex; gap: 16px; }
.feat-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid var(--line2);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  margin-top: 2px;
  box-shadow: var(--sh);
}
.feat-text h4 { font-family: var(--font-d); font-size: .92rem; font-weight: 700; margin-bottom: 3px; }
.feat-text p  { font-size: .83rem; color: var(--muted); line-height: 1.65; }

/* ─── Why cards ─────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  padding: 32px 24px;
  transition: all var(--tr);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: attr(data-n);
  position: absolute;
  bottom: -16px;
  right: 12px;
  font-family: var(--font-d);
  font-size: 5rem;
  font-weight: 800;
  color: var(--line);
  line-height: 1;
  pointer-events: none;
}
.why-card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--sh2); }
.why-card h3 { font-family: var(--font-d); font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.why-card p  { font-size: .84rem; color: var(--muted); line-height: 1.7; }
.why-card .wc-icon { font-size: 1.5rem; margin-bottom: 14px; display: block; }

/* ─── Portals grid ──────────────────────────────────────────── */
.portals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.portal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  padding: 28px 22px;
  transition: all var(--tr);
  text-align: center;
  position: relative;
}
.portal-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--p-color, var(--blue));
  border-radius: var(--r2) var(--r2) 0 0;
}
.portal-card:hover { border-color: var(--line2); transform: translateY(-4px); box-shadow: var(--sh2); }
.portal-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--blue-bg);
  border: 1px solid var(--blue-bdr);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 16px;
}
.portal-name { font-family: var(--font-d); font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.portal-desc { font-size: .8rem; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.portal-url  { font-size: .72rem; color: var(--blue); font-family: var(--font-d); font-weight: 600; }

/* ─── Testimonial ───────────────────────────────────────────── */
.testi-card {
  background: var(--ink);
  border-radius: var(--r3);
  padding: 48px;
  color: rgba(255,255,255,.85);
  position: relative;
  overflow: hidden;
}
.testi-card::before {
  content: '"';
  position: absolute;
  top: -20px; left: 32px;
  font-family: var(--font-d);
  font-size: 12rem;
  font-weight: 800;
  color: rgba(255,255,255,.05);
  line-height: 1;
  pointer-events: none;
}
.testi-text { font-size: 1.1rem; line-height: 1.8; margin-bottom: 28px; position: relative; z-index: 1; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-av {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--saffron));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-d); font-weight: 700; color: #fff; font-size: .9rem;
  flex-shrink: 0;
}
.testi-name { font-family: var(--font-d); font-weight: 700; font-size: .92rem; color: #fff; }
.testi-role { font-size: .78rem; color: rgba(255,255,255,.45); }

/* ─── CTA full-width ────────────────────────────────────────── */
.cta-band {
  background: var(--ink);
  padding: 100px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.cta-band-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-band .display-lg { color: #fff; }
.cta-band .display-lg .text-blue { color: #60A5FA; }
.cta-band p { color: rgba(255,255,255,.55); margin: 16px 0 36px; font-size: 1.05rem; line-height: 1.75; }
.cta-band .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ────────────────────────────────────────────────── */
.footer-wrap {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 72px 0 32px;
}
.footer-top {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer-brand p { font-size: .85rem; color: var(--muted); line-height: 1.8; margin-top: 14px; max-width: 280px; }
.footer-socials { display: flex; gap: 8px; margin-top: 20px; }
.soc-btn {
  width: 34px; height: 34px;
  border: 1.5px solid var(--line2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 700; color: var(--muted);
  transition: all var(--tr);
}
.soc-btn:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.footer-col h5 {
  font-family: var(--font-d);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: .86rem; color: var(--muted); transition: color var(--tr); }
.footer-col ul a:hover { color: var(--blue); }

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 28px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: var(--muted);
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--blue); }
.footer-btm-links { display: flex; gap: 20px; }

/* ─── Page Header ───────────────────────────────────────────── */
.pg-header {
  background: var(--ink);
  color: #fff;
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.pg-header-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.pg-header-inner { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .8rem; color: rgba(255,255,255,.4); margin-bottom: 12px; }
.breadcrumb a { color: rgba(255,255,255,.4); }
.breadcrumb a:hover { color: rgba(255,255,255,.8); }
.pg-header h1 { color: #fff; }
.pg-header p  { color: rgba(255,255,255,.55); margin-top: 10px; max-width: 540px; font-size: 1.05rem; line-height: 1.7; }

/* ─── Login Page ────────────────────────────────────────────── */
.login-pg {
  min-height: 100vh;
  background: var(--cream);
  display: flex;
  position: relative;
  overflow: hidden;
}
.login-left {
  width: 52%;
  background: var(--ink);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}
.login-left-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.login-left-inner { position: relative; z-index: 1; max-width: 400px; }
.login-left h2 {
  font-family: var(--font-d);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.login-left p { font-size: .95rem; color: rgba(255,255,255,.5); line-height: 1.8; margin-bottom: 36px; }
.login-portal-list { display: flex; flex-direction: column; gap: 10px; }
.login-portal-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 12px 16px;
  color: rgba(255,255,255,.7);
  font-size: .86rem;
  transition: all var(--tr);
}
.login-portal-item:hover { background: rgba(255,255,255,.1); color: #fff; }
.login-portal-item .lpi-icon { font-size: 1.1rem; }
.login-portal-item .lpi-name { font-weight: 600; font-family: var(--font-d); font-size: .84rem; }
.login-portal-item .lpi-url  { font-size: .72rem; color: rgba(255,255,255,.35); margin-left: auto; }
.login-portal-item.active-p { border-color: var(--blue); background: rgba(29,78,216,.15); color: #fff; }

.login-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
}
.login-form-wrap { width: 100%; max-width: 420px; }
.login-form-wrap .logo { margin-bottom: 36px; }
.lf-title { font-family: var(--font-d); font-size: 1.6rem; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.lf-sub   { font-size: .88rem; color: var(--muted); margin-bottom: 32px; }

/* Role tabs */
.role-tabs {
  display: flex;
  gap: 6px;
  background: var(--line);
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 28px;
}
.role-tab {
  flex: 1;
  padding: 9px 8px;
  border-radius: 7px;
  text-align: center;
  font-family: var(--font-d);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .03em;
  cursor: pointer;
  transition: all var(--tr);
  color: var(--muted);
  border: none;
  background: transparent;
}
.role-tab.active { background: var(--ink); color: #fff; box-shadow: var(--sh); }

/* Form elements */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-family: var(--font-d);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink2);
  margin-bottom: 7px;
}
.form-input {
  width: 100%;
  background: #fff;
  border: 1.5px solid var(--line2);
  border-radius: 9px;
  padding: 12px 16px;
  font-family: var(--font-b);
  font-size: .9rem;
  color: var(--ink);
  transition: border-color var(--tr), box-shadow var(--tr);
  outline: none;
}
.form-input::placeholder { color: var(--dim); }
.form-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29,78,216,.12);
}
textarea.form-input { resize: vertical; min-height: 120px; }
select.form-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236B7280' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

.form-hint { font-size: .75rem; color: var(--muted); margin-top: 5px; }

.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 9px;
  font-size: .87rem;
  margin-bottom: 18px;
}
.alert-err  { background: #FEF2F2; border: 1px solid #FECACA; color: #DC2626; }
.alert-ok   { background: #F0FDF4; border: 1px solid #BBF7D0; color: #15803D; }
.alert-info { background: var(--blue-bg); border: 1px solid var(--blue-bdr); color: var(--blue); }

/* ─── Contact ───────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-items { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  padding: 20px;
  transition: all var(--tr);
}
.contact-item:hover { border-color: var(--blue-bdr); box-shadow: var(--sh); }
.contact-item-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--blue-bg);
  border: 1px solid var(--blue-bdr);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-item-text h4 { font-family: var(--font-d); font-size: .88rem; font-weight: 700; margin-bottom: 3px; }
.contact-item-text p, .contact-item-text a { font-size: .84rem; color: var(--muted); }
.contact-item-text a:hover { color: var(--blue); }
.contact-form-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r3);
  padding: 40px;
  box-shadow: var(--sh2);
}

/* ─── Misc ──────────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--line); }

/* Scroll reveal */
.sr { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.sr.vis { opacity: 1; transform: translateY(0); }
.sr.sr-l { transform: translateX(-24px); }
.sr.sr-l.vis { transform: translateX(0); }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .hero-body { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .login-left { display: none; }
  .login-right { padding: 40px 28px; }
  .about-split { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .burger { display: flex; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .course-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-btm-links { justify-content: center; flex-wrap: wrap; }
  .hero-body { padding: 60px 20px 40px; }
  .section { padding: 64px 0; }
  .cta-band { padding: 72px 20px; }
  .role-tabs { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .footer-top { grid-template-columns: 1fr; }
  .stats-row  { grid-template-columns: 1fr; }
  .portals-grid { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
