/* ===================== Design Tokens ===================== */
:root {
  --bg: #0c0a15;
  --bg-alt: #100d1c;
  --surface: #161228;
  --surface-2: #1c1730;
  --border: rgba(245, 185, 66, 0.16);
  --text: #f5f0e6;
  --text-dim: #b8ae9c;
  --text-faint: #766f5f;

  --primary: #f5b942;
  --primary-dim: #d99f2e;
  --accent: #ffd580;
  --accent-2: #f2994a;
  --warn: #ff6b6b;

  --gradient-primary: linear-gradient(135deg, #f5b942 0%, #ffd580 100%);
  --gradient-hero: radial-gradient(circle at 20% 20%, rgba(245,185,66,0.28), transparent 45%),
                    radial-gradient(circle at 80% 30%, rgba(242,153,74,0.18), transparent 45%),
                    radial-gradient(circle at 50% 90%, rgba(245,185,66,0.14), transparent 50%);
  --shadow-soft: 0 20px 60px -20px rgba(0,0,0,0.7);
  --shadow-glow: 0 0 0 1px rgba(245,185,66,0.3), 0 20px 50px -15px rgba(245,185,66,0.45);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-heading: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.02em; font-family: var(--font-heading); }
p { margin: 0 0 1em; color: var(--text-dim); }
section { position: relative; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-primary);
  color: #0c0a15;
  box-shadow: 0 10px 30px -8px rgba(245,185,66,0.55);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -10px rgba(245,185,66,0.7); }
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ===================== Header / Navbar ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 10, 21, 0.55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.scrolled {
  background: rgba(12, 10, 21, 0.85);
  border-bottom-color: var(--border);
}
.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  margin-right: auto;
  font-family: var(--font-heading);
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--gradient-primary);
  color: #0c0a15;
  font-weight: 900;
}
.brand-accent { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.94rem;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gradient-primary);
  transition: width 0.25s ease;
  border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { margin-left: 4px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  padding: 20px 8px 15px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
  animation: heroDrift 16s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  0% { transform: scale(1) translateY(0); }
  100% { transform: scale(1.08) translateY(-15px); }
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 24px;
}
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 1.15rem;
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats .stat-num { font-size: 1.8rem; font-weight: 800; }
.hero-stats .stat-label { font-size: 0.85rem; color: var(--text-faint); }

.hero-visual {
  position: relative;
  height: 420px;
}
.floaty-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  animation: floaty 5s ease-in-out infinite;
}
.floaty-card.c1 { top: 0; left: 10%; width: 230px; animation-delay: 0s; }
.floaty-card.c2 { top: 42%; right: 0; width: 240px; animation-delay: 1.2s; }
.floaty-card.c3 { bottom: 0; left: 0; width: 220px; animation-delay: 2.1s; }
.floaty-card .icon { font-size: 1.6rem; margin-bottom: 8px; }
.floaty-card strong { display: block; font-size: 1.1rem; }
.floaty-card span { font-size: 0.82rem; color: var(--text-faint); }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.hero-orb {
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: var(--gradient-primary);
  filter: blur(70px);
  opacity: 0.5;
  top: 30%;
  left: 30%;
  animation: orbMove 10s ease-in-out infinite alternate;
}
@keyframes orbMove {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(30px,-20px) scale(1.15); }
}

/* ===================== Section Headers ===================== */
.section {
  padding: 50px 0;
}
.section-alt { background: var(--bg-alt); }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 28px;
}
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.section-head p { font-size: 1.05rem; }
.section-head .eyebrow { margin-bottom: 18px; }

/* ===================== Cards Grid ===================== */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
  border-radius: inherit;
  padding: 1px;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-glow); border-color: rgba(245,185,66,0.4); }
.card > * { position: relative; z-index: 1; }

.icon-badge {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: rgba(245,185,66,0.15);
  margin-bottom: 18px;
}

/* ===================== Course Cards ===================== */
.course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.course-card .badge-row { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,213,128,0.15);
  color: var(--accent);
}
.badge.alt { background: rgba(242,153,74,0.15); color: var(--accent-2); }
.course-card .course-emoji { font-size: 2.4rem; margin-bottom: 14px; }
.course-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.course-card .meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-faint);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: auto;
}
.course-card .meta-row span:first-child { min-width: 0; overflow-wrap: anywhere; }
.course-card .meta-row .fee { flex-shrink: 0; }
.course-card .fee { font-weight: 800; color: var(--text); font-size: 1.05rem; }
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
}
.filter-chip {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}
.filter-chip:hover { border-color: var(--primary); color: var(--text); }
.filter-chip.active { background: var(--gradient-primary); color: #0c0a15; border-color: transparent; }

/* ===================== Stats Strip ===================== */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding: 48px 0;
}
.stat-box { text-align: center; }
.stat-box .num {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-box .label { color: var(--text-faint); font-size: 0.9rem; margin-top: 6px; }

/* ===================== Timeline / Values ===================== */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* ===================== Logos ===================== */
.logo-marquee {
  display: flex;
  gap: 40px;
  overflow: hidden;
  padding: 30px 0;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.logo-track {
  display: flex;
  gap: 40px;
  animation: scrollLogos 22s linear infinite;
  flex-shrink: 0;
}
.logo-pill {
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-dim);
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.logo-pill:hover { border-color: var(--primary); transform: translateY(-2px); background: var(--surface-2); }
.logo-pill .logo-circle {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}
.logo-pill img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.logo-pill span { color: var(--text); }
@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Recruiter logo cards (placements page) */
.recruiter-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 26px 20px;
}
.recruiter-card .logo-box {
  width: 64px; height: 64px;
  border-radius: 14px;
  background: #ffffff;
  display: grid;
  place-items: center;
  padding: 10px;
}
.recruiter-card .logo-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.recruiter-card .logo-box .fallback-text { display: none; font-weight: 800; color: var(--bg); font-size: 1.4rem; }

/* ===================== Team ===================== */
.team-card { text-align: center; }
.team-photo {
  width: 96px; height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 18px;
  border: 2px solid var(--border);
  background: var(--surface-2);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.team-role { color: var(--accent); font-size: 0.82rem; font-weight: 700; margin-bottom: 10px; }
.team-card p { font-size: 0.88rem; }

/* ===================== Testimonials ===================== */
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.testimonial-card .quote-mark { font-size: 2.4rem; color: var(--primary); line-height: 1; margin-bottom: 10px; }
.testimonial-card .person { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gradient-primary);
  color: #0c0a15;
  font-weight: 800;
}
.person strong { display: block; font-size: 0.95rem; }
.person span { font-size: 0.8rem; color: var(--text-faint); }

/* ===================== CTA Band ===================== */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
  margin: 0 24px;
}
.cta-band::before {
  content: "";
  position: absolute; inset: -40%;
  background: var(--gradient-hero);
  animation: heroDrift 14s ease-in-out infinite alternate;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 14px; }
.cta-band .btn-row { display: flex; gap: 16px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

/* ===================== Forms ===================== */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; min-width: 0; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; min-width: 0; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 0.88rem; font-weight: 600; color: var(--text-dim); }
input, select, textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--text-faint) 50%),
                     linear-gradient(135deg, var(--text-faint) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 15px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245,185,66,0.2);
}
textarea { resize: vertical; min-height: 100px; }

#contactForm input, #contactForm textarea,
#bookingForm input, #bookingForm select, #bookingForm textarea {
  padding: 10px 14px;
  font-size: 0.9rem;
}
#contactForm textarea, #bookingForm textarea { min-height: 70px; }
#contactForm .form-group, #bookingForm .form-group { margin-bottom: 4px; gap: 4px; }
#contactForm .error-text, #bookingForm .error-text { min-height: 0; }
#contactForm .form-grid, #bookingForm .form-grid { gap: 12px; }
#contactForm button, #bookingForm .form-panel > button,
#bookingForm .form-panel > div[style] { margin-top: 4px; }
.form-card:has(#contactForm) {
  padding: 26px;
  max-width: 460px;
}
.contact-info-card {
  padding: 18px 22px;
}
.contact-info-card .icon-badge { margin-bottom: 10px; width: 40px; height: 40px; font-size: 1.1rem; }
.contact-info-card h3 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-card p { margin-bottom: 0; font-size: 0.85rem; }
.error-text { color: #ff6b6b; font-size: 0.78rem; min-height: 16px; }
.field-error input, .field-error select, .field-error textarea { border-color: #ff6b6b; }

.step-indicator { display: flex; align-items: center; gap: 10px; margin-bottom: 36px; }
.step {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-faint);
  font-size: 0.85rem;
  font-weight: 600;
}
.step .circle {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  font-size: 0.85rem;
}
.step.active { color: var(--text); }
.step.active .circle { background: var(--gradient-primary); color: #0c0a15; border-color: transparent; }
.step.done .circle { background: rgba(255,213,128,0.2); color: var(--accent); border-color: var(--accent); }
.step-line { flex: 1; height: 1px; background: var(--border); }

.summary-box {
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 24px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 8px 0;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
}
.summary-row:last-child { border-bottom: none; }
.summary-row span:first-child { color: var(--text-faint); flex-shrink: 0; }
.summary-row span:last-child {
  text-align: right;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.success-panel {
  text-align: center;
  padding: 60px 20px;
}
.success-icon {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: rgba(255,213,128,0.15);
  color: var(--accent);
  display: grid; place-items: center;
  font-size: 2.6rem;
  margin: 0 auto 24px;
  animation: successPop 0.5s cubic-bezier(.34,1.56,.64,1);
}
@keyframes successPop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ===================== Detail Page ===================== */
.detail-hero {
  padding: 90px 0 50px;
  border-bottom: 1px solid var(--border);
}
.breadcrumb { font-size: 0.85rem; color: var(--text-faint); margin-bottom: 20px; }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--primary); }
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
  padding: 60px 0;
}
.detail-layout-equal { grid-template-columns: 1fr 1fr; }
.stats-strip-3 { grid-template-columns: repeat(3, 1fr); }
.sticky-panel { position: sticky; top: 100px; }
.list-check { display: flex; flex-direction: column; gap: 14px; margin: 20px 0; }
.list-check li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-dim); font-size: 0.95rem; }
.list-check .tick {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,213,128,0.15);
  color: var(--accent);
  display: grid; place-items: center;
  font-size: 0.75rem;
  margin-top: 2px;
}
.syllabus-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 12px;
  font-size: 0.93rem;
  display: flex;
  gap: 12px;
  align-items: center;
}
.syllabus-item .num {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(245,185,66,0.15);
  color: var(--primary);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ===================== Table (Admin bookings) ===================== */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); }
table { width: 100%; border-collapse: collapse; min-width: 800px; }
th, td { text-align: left; padding: 14px 18px; font-size: 0.88rem; border-bottom: 1px solid var(--border); }
th { color: var(--text-faint); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.05em; background: var(--surface-2); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(245,185,66,0.05); }
.status-pill { padding: 4px 12px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; background: rgba(255,213,128,0.15); color: var(--accent); }
.empty-state { text-align: center; padding: 80px 20px; color: var(--text-faint); }
.empty-state .icon { font-size: 3rem; margin-bottom: 16px; }

/* ===================== Reveal Animations ===================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal.delay-1.in-view { transition-delay: 0.1s; }
.reveal.delay-2.in-view { transition-delay: 0.2s; }
.reveal.delay-3.in-view { transition-delay: 0.3s; }
.reveal.delay-4.in-view { transition-delay: 0.4s; }

/* ===================== Footer ===================== */
.site-footer {
  position: relative;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 70px 24px 0;
  overflow: hidden;
}
.footer-glow {
  position: absolute;
  width: 500px; height: 300px;
  background: var(--gradient-primary);
  filter: blur(120px);
  opacity: 0.12;
  top: -100px; left: 50%;
  transform: translateX(-50%);
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  position: relative;
  z-index: 1;
  padding-bottom: 50px;
}
.footer-col h4 { font-size: 0.95rem; margin-bottom: 18px; }
.footer-col a { display: block; color: var(--text-dim); font-size: 0.9rem; margin-bottom: 12px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-col p { font-size: 0.88rem; margin-bottom: 10px; }
.footer-brand p { max-width: 300px; }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  font-size: 0.85rem;
  margin-bottom: 0;
}
.social-row a:hover { background: var(--gradient-primary); color: #0c0a15; border-color: transparent; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-faint);
  max-width: 1200px;
  margin: 0 auto;
}

/* ===================== Misc / Utility ===================== */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ===================== Responsive ===================== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 300px; margin-top: 20px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(3, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .sticky-panel { position: static; }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(8,9,26,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 0 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.2s ease;
  }
  .nav-links.open {
    max-height: 400px;
    padding: 20px 24px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .grid-3, .grid-4, .grid-2, .values-grid, .form-grid, .stats-strip,
  .stats-strip-3, .detail-layout-equal { grid-template-columns: 1fr; }
  .section { padding: 35px 0; }
  .hero { padding: 36px 20px 30px; }
  .form-card { padding: 24px; }
  .hero-visual { height: auto; padding: 10px 0 30px; }
  .floaty-card { position: static; width: 100% !important; margin-bottom: 14px; animation: none; }
  .floaty-card:last-child { margin-bottom: 0; }
  .hero-orb { display: none; }
  .step-indicator { gap: 6px; margin-bottom: 28px; }
  .step { font-size: 0; gap: 0; }
  .step .circle { font-size: 0.85rem; }
  .step-line { flex: 0 0 16px; }
  .cta-band { padding: 40px 20px; margin: 0 12px; }
  .logo-pill { padding: 10px 16px; font-size: 0.82rem; }
  .logo-pill span:last-child { display: none; }

  /* Tighter hero internal rhythm on mobile */
  .eyebrow { margin-bottom: 14px; font-size: 0.76rem; padding: 6px 14px; }
  .hero h1 { font-size: 2rem; line-height: 1.25; margin-bottom: 14px; }
  .hero p.lead { font-size: 1rem; margin-bottom: 22px; }
  .hero-actions { margin-bottom: 26px; gap: 12px; }
  .hero-stats { gap: 22px; }
  .hero-stats .stat-num { font-size: 1.4rem; }
  .hero-stats .stat-label { font-size: 0.78rem; }

  /* Mobile typography scale */
  .section-head { margin: 0 auto 20px; }
  .section-head h2 { font-size: 1.5rem; }
  .section-head p { font-size: 0.92rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.05rem; }
  body { font-size: 0.94rem; }
  .btn { font-size: 0.88rem; padding: 11px 22px; }
  .card { padding: 22px; }
  .course-card .course-emoji { font-size: 2rem; }
  .cta-band h2 { font-size: 1.5rem; }
}
@media (max-width: 420px) {
  .hero-stats { gap: 20px; }
  .hero-actions .btn { flex: 1 1 auto; text-align: center; justify-content: center; }
}
