/* =========================================================
   SkillParkho — Contact page (energized version)
   Palette + fonts match the rest of the site.
   ========================================================= */

:root {
  --spk-navy: #0B1026;
  --spk-panel: #141B3D;
  --spk-panel-2: #1B234A;
  --spk-red: #EF4444;
  --spk-red-soft: rgba(239, 68, 68, 0.14);
  --spk-green: #22c55e;               /* only for the "online" dot + success */

  --spk-white: #FFFFFF;
  --spk-muted: rgba(255, 255, 255, 0.62);
  --spk-faint: rgba(255, 255, 255, 0.40);
  --spk-border: rgba(255, 255, 255, 0.09);

  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

  --wrap: 1120px;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--spk-navy);
  color: var(--spk-white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--spk-red); }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--spk-red);
  margin-bottom: 14px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--spk-red); color: var(--spk-white); box-shadow: 0 8px 24px rgba(239,68,68,0.28); }
.btn-primary:hover { background: #dc2f2f; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(239,68,68,0.4); }
.btn-ghost { background: transparent; color: var(--spk-white); border-color: var(--spk-border); }
.btn-ghost:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.25); }

/* shimmering sweep for the WhatsApp buttons */
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: "";
  position: absolute;
  top: 0; left: -140%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  animation: shine 3.4s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { left: -140%; } 100% { left: 150%; } }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 16, 38, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--spk-border);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.brand span { color: var(--spk-red); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-size: 15px; color: var(--spk-muted); transition: color .15s ease; }
.nav a:hover, .nav a.is-active { color: var(--spk-white); }
.header-cta { padding: 10px 20px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 76px 0 60px; overflow: hidden; }
.hero-content { position: relative; z-index: 2; }

/* animated aurora background */
.aurora { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; }
.blob-1 { width: 460px; height: 460px; top: -160px; right: -80px;
  background: radial-gradient(circle, rgba(239,68,68,0.55), transparent 70%);
  animation: drift1 16s ease-in-out infinite; }
.blob-2 { width: 380px; height: 380px; top: 40px; left: -120px;
  background: radial-gradient(circle, rgba(120,80,255,0.35), transparent 70%);
  animation: drift2 20s ease-in-out infinite; }
.blob-3 { width: 300px; height: 300px; bottom: -120px; left: 40%;
  background: radial-gradient(circle, rgba(239,68,68,0.30), transparent 70%);
  animation: drift3 18s ease-in-out infinite; }
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-40px,30px) scale(1.1); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(50px,-20px) scale(1.15); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-30px,-40px) scale(0.9); } }

/* online status pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(34,197,94,0.10);
  border: 1px solid rgba(34,197,94,0.35);
  color: #86efac;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
  margin-bottom: 22px;
}
.live-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--spk-green);
  box-shadow: 0 0 0 0 rgba(34,197,94,0.6);
  animation: livepulse 1.8s infinite;
}
@keyframes livepulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.hero-title {
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 20ch;
}
.hero-sub { font-size: clamp(16px, 2.2vw, 19px); color: var(--spk-muted); max-width: 54ch; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

/* quick chips */
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 30px; }
.chips-label { color: var(--spk-faint); font-size: 14px; font-family: var(--font-head); font-weight: 600; }
.qchip {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--spk-border);
  background: rgba(255,255,255,0.03);
  color: var(--spk-muted);
  cursor: pointer;
  transition: all .16s ease;
}
.qchip:hover {
  color: var(--spk-white);
  border-color: var(--spk-red);
  background: var(--spk-red-soft);
  transform: translateY(-2px);
}

/* trust strip */
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--spk-muted); font-size: 15px; }
.trust b { color: var(--spk-white); font-family: var(--font-head); }
.trust .sep { color: var(--spk-faint); }

/* ---------- contact grid ---------- */
.section { padding: 44px 0 64px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items: start;
}
.block-title { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.block-note { color: var(--spk-muted); font-size: 15px; margin-bottom: 22px; }

.contact-form-wrap, .contact-info {
  background: var(--spk-panel);
  border: 1px solid var(--spk-border);
  border-radius: 20px;
  padding: 30px 28px;
}

/* form fields */
.field { margin-bottom: 16px; }
.field-row { display: flex; gap: 14px; }
.field-row .field { flex: 1; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--spk-muted);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--spk-border);
  background: var(--spk-navy);
  color: var(--spk-white);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--spk-red);
  box-shadow: 0 0 0 3px var(--spk-red-soft);
}
.field input::placeholder, .field textarea::placeholder { color: var(--spk-faint); }
.field select { appearance: none; cursor: pointer; }

.form-error { color: var(--spk-red); font-size: 14px; margin-bottom: 14px; }
.form-submit { width: 100%; margin-top: 6px; }
.form-submit:disabled { opacity: .6; cursor: default; }

/* animated success */
#successPanel { padding: 20px 0; text-align: center; animation: fadeUp .4s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.check-svg { width: 76px; height: 76px; margin: 0 auto 12px; display: block; }
.check-circle { stroke: var(--spk-green); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: drawCircle .5s ease forwards; }
.check-mark { stroke: var(--spk-green); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; animation: drawCheck .35s .45s ease forwards; }
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }

/* contact info rows */
.info-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--spk-border);
  transition: transform .15s ease;
}
.info-row:last-child { border-bottom: none; }
a.info-row:hover { transform: translateX(5px); }
a.info-row:hover .info-arrow { opacity: 1; transform: translateX(0); }
.info-arrow { margin-left: auto; color: var(--spk-red); opacity: 0; transform: translateX(-6px); transition: all .15s ease; font-weight: 700; }
.info-icon {
  position: relative;
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--spk-red-soft);
  font-size: 20px;
}
/* pulse ring on WhatsApp icon */
.info-row--wa .info-icon::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 12px;
  box-shadow: 0 0 0 0 rgba(239,68,68,0.5);
  animation: livepulse 2s infinite;
}
.info-text { display: flex; flex-direction: column; min-width: 0; }
.info-label { font-size: 12px; color: var(--spk-faint); text-transform: uppercase; letter-spacing: 0.05em; }
.info-value { font-size: 15.5px; font-weight: 600; color: var(--spk-white); word-break: break-word; }

/* ---------- map ---------- */
.map-section { padding: 0 0 8px; }
.map-frame {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  line-height: 0;
}
.map-frame iframe { display: block; border-radius: 20px; filter: grayscale(0.15) contrast(1.05); border: 1px solid var(--spk-border) !important; }

/* ---------- CTA band ---------- */
.cta-band { padding: 40px 0 90px; }
.cta-inner {
  background: linear-gradient(135deg, var(--spk-panel), #2a1230);
  border: 1px solid var(--spk-border);
  border-radius: 24px;
  padding: 54px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: "";
  position: absolute; top: -60px; right: -40px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(239,68,68,0.25), transparent 70%);
  pointer-events: none;
}
.cta-inner h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin-bottom: 12px; position: relative; }
.cta-inner p { color: var(--spk-muted); max-width: 46ch; margin: 0 auto 24px; font-size: 16px; position: relative; }
.cta-btn { position: relative; font-size: 16px; padding: 15px 30px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--spk-border); padding: 40px 0; }
.footer-inner { text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.footer-tag { color: var(--spk-muted); font-size: 15px; }
.footer-copy { color: var(--spk-faint); font-size: 13px; }

/* ---------- scroll reveal (with soft stagger) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.hero-content .reveal:nth-child(1).is-visible { transition-delay: .00s; }
.hero-content .reveal:nth-child(2).is-visible { transition-delay: .06s; }
.hero-content .reveal:nth-child(3).is-visible { transition-delay: .12s; }
.hero-content .reveal:nth-child(4).is-visible { transition-delay: .18s; }
.hero-content .reveal:nth-child(5).is-visible { transition-delay: .24s; }
.hero-content .reveal:nth-child(6).is-visible { transition-delay: .30s; }
.hero-content .reveal:nth-child(7).is-visible { transition-delay: .36s; }

/* ---------- responsive ---------- */
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .hero { padding: 52px 0 44px; }
  .hero-actions .btn { flex: 1; }
  .map-frame { padding: 0 16px; }
  .trust { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .info-row, .qchip { transition: none; }
  .blob, .btn-shine::after, .live-dot, .info-row--wa .info-icon::before,
  .check-circle, .check-mark { animation: none; }
  .check-circle, .check-mark { stroke-dashoffset: 0; }
}

/* =========================================================
   "Crazy" upgrade — interactive effects
   ========================================================= */

/* particle canvas + cursor glow sit behind hero content */
.particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-content { position: relative; z-index: 3; }
.aurora { z-index: 0; }

.cursor-glow {
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,68,68,0.20), transparent 62%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity .3s ease;
  mix-blend-mode: screen;
}

/* typewriter headline */
.hero-title { min-height: 1.25em; }
.type-caret {
  color: var(--spk-red);
  font-weight: 800;
  margin-left: 2px;
  animation: caretBlink 1s steps(1) infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }

/* 3D tilt cards */
.contact-grid { perspective: 1100px; }
.cta-band { perspective: 1100px; }
.tilt { transition: transform .18s ease, box-shadow .18s ease; transform-style: preserve-3d; will-change: transform; }

/* confetti overlay */
#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 200; }

@media (prefers-reduced-motion: reduce) {
  .cursor-glow, .particles { display: none; }
  .type-caret { animation: none; }
  .tilt { transition: none; }
}

/* on touch screens, skip the pointer-only effects */
@media (pointer: coarse) {
  .cursor-glow { display: none; }
}

/* =========================================================
   WhatsApp student testimonial card
   ========================================================= */
.contact-col { display: flex; flex-direction: column; gap: 20px; perspective: 1100px; }

.wa-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--spk-border);
  box-shadow: 0 18px 44px rgba(0,0,0,0.4);
  background: #0b141a;
}

/* header (authentic WhatsApp green) */
.wa-head {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #075E54;
  padding: 11px 14px;
  color: #fff;
}
.wa-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #EF4444, #f59e0b);
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
}
.wa-head-text { display: flex; flex-direction: column; line-height: 1.25; margin-right: auto; }
.wa-name { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.wa-status { font-size: 12px; color: #b9e5dd; }
.wa-head-icons { font-size: 14px; opacity: 0.9; letter-spacing: 2px; }

/* chat body (light wallpaper so it reads as a real screenshot) */
.wa-body {
  background-color: #E5DDD5;
  background-image:
    radial-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: 0 0, 11px 11px;
  padding: 14px 12px;
  max-height: 330px;
  overflow-y: auto;
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wa-day {
  align-self: center;
  background: #d7e6ea;
  color: #4a6b73;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 8px;
  margin-bottom: 4px;
}

/* message bubbles */
.wa-msg {
  position: relative;
  max-width: 82%;
  padding: 7px 10px 18px;
  border-radius: 9px;
  font-size: 14px;
  line-height: 1.4;
  color: #111b21;
  box-shadow: 0 1px 1px rgba(0,0,0,0.12);
  /* start hidden; JS reveals them one-by-one */
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition: opacity .25s ease, transform .25s ease;
}
.wa-msg.show { opacity: 1; transform: none; }
.wa-in  { align-self: flex-start; background: #ffffff; border-top-left-radius: 2px; }
.wa-out { align-self: flex-end;   background: #DCF8C6; border-top-right-radius: 2px; }
.wa-time {
  position: absolute;
  right: 9px; bottom: 4px;
  font-size: 10.5px;
  color: #667781;
}
.wa-ticks { color: #53BDEB; }

/* typing indicator bubble */
.wa-typing {
  align-self: flex-start;
  background: #fff;
  border-radius: 9px;
  border-top-left-radius: 2px;
  padding: 11px 12px;
  display: none;
  gap: 4px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.12);
}
.wa-typing.show { display: inline-flex; }
.wa-typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #9aa6ac;
  animation: waDot 1.2s infinite ease-in-out;
}
.wa-typing span:nth-child(2) { animation-delay: .2s; }
.wa-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes waDot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

.wa-caption {
  background: #0b141a;
  color: var(--spk-muted);
  font-size: 12.5px;
  text-align: center;
  padding: 11px 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

@media (prefers-reduced-motion: reduce) {
  .wa-msg { opacity: 1; transform: none; transition: none; }
  .wa-typing span { animation: none; }
}

/* =========================================================
   Hero two-column layout (content + WhatsApp card)
   ========================================================= */
.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}
.hero-aside { display: flex; justify-content: center; }
.hero-aside .wa-card {
  width: 100%;
  max-width: 400px;
  animation: floatCard 6s ease-in-out infinite;
}
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* hide the chat scrollbar so it reads like a real phone screen */
.wa-body::-webkit-scrollbar { width: 0; height: 0; }
.wa-body { scrollbar-width: none; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-aside { justify-content: flex-start; }
  .hero-aside .wa-card { max-width: 420px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-aside .wa-card { animation: none; }
}

/* =========================================================
   MOBILE CLEAN-UP  (UI/UX polish for phones)
   ========================================================= */

/* hamburger hidden on desktop */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--spk-border);
  color: var(--spk-white);
  width: 42px; height: 42px;
  border-radius: 10px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 720px) {
  /* ---- header + mobile menu ---- */
  .header-inner { gap: 12px; }
  .header-cta { margin-left: auto; padding: 9px 15px; font-size: 13.5px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  /* nav becomes a dropdown panel under the header */
  .nav {
    display: flex;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 6px 24px 14px;
    background: #0d1330;
    border-bottom: 1px solid var(--spk-border);
    box-shadow: 0 16px 30px rgba(0,0,0,0.4);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .site-header.open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav a {
    padding: 13px 2px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav a:last-child { border-bottom: none; }

  /* ---- hero tighten ---- */
  .hero { padding: 40px 0 40px; }
  .hero-grid { gap: 26px; }
  .status-pill { font-size: 12.5px; padding: 6px 13px; margin-bottom: 16px; }
  .hero-title { font-size: clamp(30px, 8.5vw, 40px); margin-bottom: 16px; min-height: auto; }
  .type-caret { display: inline; }            /* show typing cursor on phones too */
  .hero-sub { font-size: 15.5px; margin-bottom: 22px; }
  .hero-actions { gap: 10px; margin-bottom: 22px; }
  .hero-actions .btn { flex: 1; padding: 12px 16px; font-size: 14.5px; }

  /* chips: one clean swipeable row instead of wrapping */
  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    margin-bottom: 22px;
    padding-bottom: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chips-label { flex: 0 0 auto; }
  .qchip { flex: 0 0 auto; white-space: nowrap; }

  /* stats on one calm line, no stray separators */
  .trust { gap: 6px 14px; font-size: 13.5px; }
  .trust .sep { display: none; }

  /* calmer card: no floating bob on phones */
  .hero-aside .wa-card { animation: none; max-width: 100%; }
  .wa-body { max-height: 300px; }
}

@media (max-width: 400px) {
  .hero-actions .btn { padding: 12px 10px; }
}

/* =========================================================
   FLUID MOBILE TYPOGRAPHY
   Text scales with screen width (clamp = min, grows-with-screen, max)
   so it fits perfectly on every phone size, no overflow.
   ========================================================= */
@media (max-width: 720px) {
  /* nothing can push past the screen edge */
  html, body { max-width: 100%; overflow-x: hidden; }
  .wrap { padding-left: 18px; padding-right: 18px; }

  /* hero */
  .status-pill { font-size: clamp(11px, 3.2vw, 13px); }
  .eyebrow     { font-size: clamp(11px, 3vw, 13px); }
  .hero-title  { font-size: clamp(24px, 7vw, 40px); line-height: 1.12; }
  .hero-sub    { font-size: clamp(13.5px, 3.9vw, 16.5px); overflow-wrap: break-word; }
  .hero-actions .btn { font-size: clamp(13px, 3.6vw, 15px); padding: clamp(10px,3vw,13px) clamp(12px,4vw,20px); }
  .chips-label { font-size: clamp(12px, 3.3vw, 13.5px); }
  .qchip       { font-size: clamp(12px, 3.3vw, 13.5px); padding: 8px clamp(11px,3.5vw,15px); }
  .trust       { font-size: clamp(12px, 3.4vw, 14px); }

  /* section headings + notes */
  .block-title { font-size: clamp(18px, 5.2vw, 24px); }
  .block-note  { font-size: clamp(13px, 3.7vw, 15px); overflow-wrap: break-word; }

  /* form */
  .field label { font-size: clamp(12.5px, 3.4vw, 14px); }
  .field input, .field select, .field textarea { font-size: clamp(15px, 4vw, 16px); }
  .form-submit { font-size: clamp(14px, 3.8vw, 15px); }
  .form-error, .form-success { font-size: clamp(12.5px, 3.4vw, 14px); }

  /* contact info rows */
  .info-label { font-size: clamp(10.5px, 2.9vw, 12px); }
  .info-value { font-size: clamp(13.5px, 3.7vw, 15.5px); overflow-wrap: anywhere; }

  /* WhatsApp card */
  .wa-name    { font-size: clamp(13.5px, 3.9vw, 15px); }
  .wa-status  { font-size: clamp(10.5px, 3vw, 12px); }
  .wa-msg     { font-size: clamp(12.5px, 3.6vw, 14px); overflow-wrap: break-word; }
  .wa-time    { font-size: clamp(9.5px, 2.7vw, 10.5px); }
  .wa-caption { font-size: clamp(11px, 3.1vw, 12.5px); }
  .wa-day     { font-size: clamp(10px, 2.8vw, 11px); }

  /* CTA band */
  .cta-inner   { padding: clamp(28px,7vw,44px) clamp(18px,5vw,30px); }
  .cta-inner h2 { font-size: clamp(21px, 5.8vw, 34px); }
  .cta-inner p  { font-size: clamp(14px, 3.9vw, 16px); overflow-wrap: break-word; }
  .cta-btn      { font-size: clamp(14px, 3.9vw, 16px); }
}

/* extra breathing room reclaimed on the smallest phones */
@media (max-width: 380px) {
  .wrap { padding-left: 15px; padding-right: 15px; }
  .hero-actions { gap: 8px; }
}

/* =========================================================
   FIX: stop the hero grid from overflowing on mobile.
   Grid/flex items default to min-width:auto and refuse to
   shrink below their content — this forces them to shrink.
   ========================================================= */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid > * { min-width: 0; max-width: 100%; }
  .hero-content, .hero-aside { min-width: 0; max-width: 100%; }
  .hero-aside .wa-card { max-width: 100%; }
  .chips { min-width: 0; }
  .wa-card, .wa-head, .wa-body, .wa-msg { max-width: 100%; }
  .wa-msg { overflow-wrap: break-word; word-break: break-word; }
}

/* =========================================================
   CHIPS on mobile: clean 2-column grid (no cut-off, no scroll)
   ========================================================= */
@media (max-width: 720px) {
  .chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    overflow: visible;            /* cancel the horizontal scroll */
  }
  .chips-label {
    grid-column: 1 / -1;          /* label on its own line above */
    margin-bottom: 2px;
  }
  .qchip {
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;          /* wrap instead of clip */
    padding: 10px 10px;
    line-height: 1.25;
  }
}

/* =========================================================
   CHIPS: always a clean 2x2 matrix (every screen size).
   Same shape on desktop and mobile — never uneven.
   ========================================================= */
.chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
  overflow: visible;
  max-width: 520px;                 /* keep chips from stretching too wide on big screens */
}
.chips-label { grid-column: 1 / -1; }   /* label on its own line above */
.qchip {
  width: 100%;
  justify-content: center;
  text-align: center;
  white-space: normal;
  flex: none;
}

/* =========================================================
   CHIPS: keep every label on ONE line (shrink to fit)
   ========================================================= */
@media (max-width: 720px) {
  .qchip {
    white-space: nowrap;
    font-size: clamp(9.5px, 3vw, 13.5px);
    padding: 9px 5px;
    gap: 4px;
    letter-spacing: -0.2px;
    overflow: hidden;
  }
}

/* =========================================================
   TRUST STATS: keep all three on ONE row (shrink to fit)
   ========================================================= */
@media (max-width: 720px) {
  .trust {
    flex-wrap: nowrap;
    white-space: nowrap;
    justify-content: flex-start;
    gap: 5px;
    font-size: clamp(8px, 2.5vw, 13px);
    letter-spacing: -0.3px;
    overflow: hidden;
    max-width: 100%;
  }
  .trust .sep { display: inline; color: var(--spk-faint); }
}

/* =========================================================
   STUDENT SHORTS (3D cover-flow) — matched to navy/red theme
   ========================================================= */
.reels-sec{
  --coral:#EF4444;
  --coral-lt:#ff8f88;
  --line:rgba(255,255,255,.09);
  --display:"Plus Jakarta Sans",system-ui,sans-serif;
  --mono:"JetBrains Mono",ui-monospace,monospace;

  background:#0B1026;                        /* match the page navy */
  border-block:1px solid var(--line);
  padding:64px 0 56px;
  color:#fff;
  overflow:hidden;
}
.reels-head{max-width:640px;margin:0 auto 8px;padding:0 24px;text-align:center;}
.reels-eyebrow{font-family:var(--display);font-weight:700;font-size:13px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--coral);margin:0 0 12px;}
.reels-head h2{font-family:var(--display);font-weight:800;
  font-size:clamp(1.5rem,4.4vw,2.3rem);margin:0 0 10px;line-height:1.15;}
.reels-head p{color:rgba(255,255,255,.6);font-size:1rem;margin:0;line-height:1.55;}

.rf-wrap{position:relative;max-width:1100px;margin:8px auto 0;padding:0 12px;}
.rf-stage{position:relative;height:clamp(430px,62vw,530px);perspective:1600px;
  overflow:hidden;touch-action:pan-y;}
.rf-glow{position:absolute;top:50%;left:50%;width:340px;height:340px;
  transform:translate(-50%,-50%);pointer-events:none;filter:blur(26px);
  background:radial-gradient(circle,rgba(239,68,68,.30),transparent 65%);}
.rf-track{position:absolute;inset:0;transform-style:preserve-3d;transition:transform .35s ease;}

.rf-card{position:absolute;top:50%;left:50%;width:clamp(215px,64vw,272px);aspect-ratio:9/16;
  transform:translate(-50%,-50%);border-radius:20px;overflow:hidden;background:#141B3D;
  border:1px solid rgba(255,255,255,.14);box-shadow:0 30px 70px rgba(0,0,0,.55);
  transition:transform .55s cubic-bezier(.22,.61,.36,1),opacity .5s ease,filter .5s ease;
  cursor:pointer;will-change:transform,opacity;}
.rf-card.is-active{border-color:rgba(239,68,68,.5);
  box-shadow:0 30px 70px rgba(0,0,0,.6),0 0 60px rgba(239,68,68,.25);}

.rf-media{position:absolute;inset:0;background:linear-gradient(160deg,#1B234A,#0B1026);}
.rf-media img,.rf-media iframe{position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;border:0;display:block;}
.rf-scrim{position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(transparent 50%,rgba(4,6,14,.85));}
.rf-top{position:absolute;top:10px;right:10px;color:#fff;opacity:.92;}
.rf-ig{width:22px;height:22px;display:block;}
.rf-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,.95);
  display:grid;place-items:center;box-shadow:0 8px 30px rgba(0,0,0,.45);}
.rf-play::after{content:"";border-left:17px solid #0d0d1a;
  border-top:11px solid transparent;border-bottom:11px solid transparent;margin-left:4px;}
.rf-touch{position:absolute;inset:0;}
.rf-card.playing .rf-scrim,
.rf-card.playing .rf-play,
.rf-card.playing .rf-top,
.rf-card.playing .rf-touch{display:none;}

.rf-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:20;
  width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.08);
  border:1px solid var(--line);color:#fff;font-size:1.5rem;cursor:pointer;
  display:grid;place-items:center;transition:all .18s ease;}
.rf-nav:hover{background:var(--coral);border-color:var(--coral);}
.rf-nav[disabled]{opacity:.3;cursor:default;}
.rf-nav.prev{left:6px;}
.rf-nav.next{right:6px;}

.rf-dots{display:flex;justify-content:center;align-items:center;gap:7px;
  flex-wrap:wrap;max-width:70vw;margin:22px auto 0;}
.rf-dot{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.28);
  cursor:pointer;transition:all .2s ease;}
.rf-dot.on{background:var(--coral);width:22px;border-radius:99px;}

@media (max-width:560px){
  .rf-nav{width:42px;height:42px;font-size:1.3rem;}
  .rf-nav.prev{left:2px;}
  .rf-nav.next{right:2px;}
}
@media (prefers-reduced-motion: reduce){ .rf-card,.rf-track{transition:none;} }

/* =========================================================
   MOBILE: centre the hero text + cap the sub at 3 lines
   ========================================================= */
@media (max-width: 720px) {
  .hero-content { text-align: center; }
  .hero-title  { max-width: none; }          /* let the centred headline use full width */
  .hero-actions { justify-content: center; }
  .trust { justify-content: center; }

  .hero-sub {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(11.5px, 3.5vw, 15px);   /* shrinks to fit */
    display: -webkit-box;                    /* never more than 3 lines */
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* =========================================================
   PORTRAIT TABLETS (≤900px, where the hero is 1 column):
   centre the hero so it isn't left-heavy.
   (Font-shrink / 3-line clamp stay phone-only at ≤720.)
   ========================================================= */
@media (max-width: 900px) {
  .hero-content { text-align: center; }
  .hero-title  { max-width: none; margin-left: auto; margin-right: auto; }
  .hero-sub    { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .trust        { justify-content: center; }
  .chips        { margin-left: auto; margin-right: auto; }
  .hero-aside   { justify-content: center; }
}

/* =========================================================
   Phone field: fixed +91 prefix
   ========================================================= */
.phone-wrap{
  display:flex;
  align-items:stretch;
  border:1px solid var(--spk-border);
  border-radius:10px;
  background:var(--spk-navy);
  overflow:hidden;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.phone-wrap:focus-within{ border-color:var(--spk-red); box-shadow:0 0 0 3px var(--spk-red-soft); }
.phone-prefix{
  display:flex; align-items:center;
  padding:0 12px;
  font-family:var(--font-head); font-weight:700; font-size:15px;
  color:var(--spk-white);
  background:rgba(255,255,255,.05);
  border-right:1px solid var(--spk-border);
  flex:none;
}
.phone-wrap input{
  border:none; background:transparent; border-radius:0;
  padding:12px 14px; flex:1; min-width:0;
}
.phone-wrap input:focus{ border:none; box-shadow:none; outline:none; }

/* on small phones give Phone + Email their own rows so +91 fits comfortably */
@media (max-width:520px){
  .field-row{ flex-direction:column; gap:0; }
}

/* =========================================================
   WhatsApp card caption: keep on a single line (shrink to fit)
   ========================================================= */
@media (max-width: 720px) {
  .wa-caption {
    white-space: nowrap;
    font-size: clamp(10px, 3vw, 12.5px);
    padding-left: 8px;
    padding-right: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* =========================================================
   Form intro note: keep on a single line (mobile)
   ========================================================= */
@media (max-width: 720px) {
  #formFields .block-note {
    white-space: nowrap;
    font-size: clamp(10px, 3vw, 15px);
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* =========================================================
   Email value: keep on a single line (shrink to fit)
   ========================================================= */
@media (max-width: 720px) {
  .info-text { min-width: 0; }
  #valEmail {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    font-size: clamp(10.5px, 3.6vw, 15.5px);
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* =========================================================
   Hours value: keep on a single line (shrink to fit)
   ========================================================= */
@media (max-width: 720px) {
  #valHours {
    white-space: nowrap;
    font-size: clamp(9.5px, 3.3vw, 15.5px);
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* =========================================================
   CTA band: control the headline + paragraph line counts
   ========================================================= */
/* Desktop: paragraph max 2 lines */
.cta-inner p{
  max-width: 64ch;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
/* Mobile: headline on ONE line; paragraph max 3 lines */
@media (max-width: 720px){
  .cta-inner h2{
    white-space: nowrap;
    font-size: clamp(13px, 4vw, 24px);
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .cta-inner p{
    max-width: none;
    font-size: clamp(11px, 3.4vw, 15px);
    -webkit-line-clamp: 3;
  }
}

/* =========================================================
   Reels dots: keep all on ONE row on mobile (shrink to fit)
   ========================================================= */
@media (max-width: 720px){
  .rf-dots{
    flex-wrap: nowrap;
    max-width: 100%;
    gap: clamp(3px, 1.3vw, 6px);
    padding: 0 6px;
    overflow: hidden;
  }
  .rf-dot{ width: clamp(4px, 1.3vw, 7px); height: clamp(4px, 1.3vw, 7px); }
  .rf-dot.on{ width: clamp(12px, 4vw, 22px); }
}

/* =========================================================
   Student Shorts heading: single row on mobile
   ========================================================= */
@media (max-width: 720px){
  .reels-head h2{
    white-space: nowrap;
    font-size: clamp(15px, 5vw, 2rem);
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* =========================================================
   Student Shorts description: max 2 lines on mobile
   ========================================================= */
@media (max-width: 720px){
  .reels-head p{
    font-size: clamp(11px, 3.6vw, 15px);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* =========================================================
   Student Shorts description: single line on desktop/tablet
   ========================================================= */
@media (min-width: 721px){
  .reels-head{ max-width: none; }
  .reels-head p{
    white-space: nowrap;
    font-size: clamp(13px, 1.8vw, 16px);
  }
}

/* =========================================================
   Student Shorts eyebrow: match the red "CONTACT US" eyebrow
   (the .reels-head p rules were bleeding onto it)
   ========================================================= */
.reels-head .reels-eyebrow{
  color: var(--coral);          /* #EF4444 — same red as CONTACT US */
  font-size: 13px;
  display: block;
  white-space: normal;
  overflow: visible;
  -webkit-line-clamp: unset;
}

/* =========================================================
   Reels tap zones: left edge = prev, right edge = next
   (centre ~40% stays free so the centre card can play)
   ========================================================= */
.rf-tap{
  position: absolute;
  top: 0;
  bottom: 52px;              /* leave the dots row clickable */
  width: 30%;
  z-index: 15;               /* above the stage, below the arrows (z 20) */
  cursor: pointer;
}
.rf-tap-left{ left: 0; }
.rf-tap-right{ right: 0; }

/* =========================================================
   BUDGET-PHONE PERFORMANCE PASS
   On touch devices, stop the GPU-heavy animated blur (aurora)
   and the continuous button shimmer. Static versions stay,
   so it still looks good but runs smooth on low-end phones.
   ========================================================= */
@media (pointer: coarse){
  .blob          { animation: none !important; }   /* keep the glow, drop the animated blur */
  .btn-shine::after { animation: none !important; } /* no continuous shimmer sweep */
  .hero-aside .wa-card { animation: none !important; } /* no floating bob (already off ≤720, belt-and-braces) */
}


/* === Site typography: small labels use JetBrains Mono; headings and body use Plus Jakarta Sans === */
.info-label,.status-pill,.eyebrow,.chips-label,.reels-eyebrow{font-family:'JetBrains Mono',ui-monospace,monospace !important}
