/* ===========================================================
   SAMRIYA CLASSES — JVZoo-style landing page
   =========================================================== */
:root {
  --navy: #0f1f3d;
  --navy-2: #142a55;
  --gold: #f5b50a;
  --gold-2: #ffd95a;
  --red: #ee2d3c;
  --green: #16a34a;
  --bg: #f6f8fc;
  --ink: #0c1933;
  --ink-2: #475569;
  --line: #e6ebf3;
  --radius: 18px;
  --shadow-sm: 0 6px 18px rgba(15,31,61,.08);
  --shadow-md: 0 18px 40px rgba(15,31,61,.12);
  --shadow-lg: 0 30px 80px rgba(15,31,61,.20);
  --grad-warm: linear-gradient(135deg,#ff7a18 0%,#ee2d3c 50%,#a01a7d 100%);
  --grad-gold: linear-gradient(135deg,#f5b50a 0%,#ffd95a 50%,#f5b50a 100%);
  --grad-navy: linear-gradient(135deg,#0f1f3d 0%,#1e3a8a 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5 { font-family: 'Poppins', system-ui, sans-serif; margin: 0 0 .35em; line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 700; }
h4 { font-size: 1.12rem; font-weight: 700; }
h5 { font-size: .82rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: 1rem; }
p { line-height: 1.6; color: var(--ink-2); margin: 0 0 .75em; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.muted { color: var(--ink-2); }
.small { font-size: .92rem; }

.grad-text {
  background: var(--grad-warm);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.grad-text-light {
  background: linear-gradient(135deg,#ffd95a,#fff,#ffd95a);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.underline-yellow { position: relative; display: inline-block; }
.underline-yellow::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .05em;
  height: .35em; background: var(--gold); opacity: .55; z-index: -1; border-radius: 4px;
  transform: skew(-8deg);
}

/* ───────────── NAV ───────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s, background .25s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  width: min(1180px, 94%); margin: 0 auto;
  display: flex; align-items: center; gap: 1rem;
  padding: .65rem 0;
}
.brand { display: flex; align-items: center; gap: .65rem; }
.brand img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; box-shadow: var(--shadow-sm); }
.brand strong { display: block; font-family: 'Poppins',sans-serif; font-weight: 800; color: var(--navy); line-height: 1; font-size: 1.05rem; }
.brand em { font-style: normal; font-size: .72rem; color: var(--ink-2); }
.nav-links { display: flex; gap: 1.25rem; margin-left: auto; }
.nav-links a {
  font-weight: 600; font-size: .94rem; color: var(--ink);
  position: relative; padding: .25rem 0;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--grad-warm); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

.cta-glow {
  position: relative;
  border: 0; cursor: pointer;
  padding: .7rem 1.1rem;
  font-weight: 800; font-size: .85rem; letter-spacing: .04em;
  color: #fff;
  background: var(--grad-warm);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(238,45,60,.35);
  overflow: hidden;
  transition: transform .2s, box-shadow .25s;
}
.cta-glow::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.4) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s;
}
.cta-glow:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(238,45,60,.5); }
.cta-glow:hover::before { transform: translateX(120%); }

.mobile-toggle { display: none; background: none; border: 0; font-size: 1.6rem; }

/* ───────────── HERO (shared components only — hero section itself removed) ───────────── */
.pulse-dot {
  width: 9px; height: 9px; background: var(--green); border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(22,163,74,.65); animation: pulse 1.7s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(22,163,74,.65); }
  70%{ box-shadow: 0 0 0 14px rgba(22,163,74,0); }
  100%{ box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}
.btn-primary {
  border: 0; cursor: pointer;
  padding: 1rem 1.4rem;
  font: 700 1rem 'Plus Jakarta Sans', sans-serif;
  color: #fff;
  background: var(--grad-warm);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(238,45,60,.32);
  transition: transform .2s, box-shadow .25s;
}
.btn-primary.big { padding: 1.15rem 2rem; font-size: 1.1rem; border-radius: 999px; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(238,45,60,.48); }
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--navy); background: transparent;
  color: var(--navy);
  padding: .9rem 1.3rem;
  font: 700 1rem 'Plus Jakarta Sans',sans-serif;
  border-radius: 14px; cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn-secondary:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

.form-tagline {
  display: inline-block;
  margin: .35rem 0 .45rem;
  padding: .4rem .8rem;
  background: linear-gradient(135deg,#dcfce7,#bbf7d0);
  color: #0d6e34;
  border: 1px dashed #16a34a;
  border-radius: 999px;
  font-size: .88rem; font-weight: 700;
}
.form-tagline b { color: #064e22; }
.urgency-pill {
  display: inline-block; margin: .7rem 0 1rem;
  padding: .5rem .9rem; border-radius: 999px;
  background: linear-gradient(135deg,#fff5d6,#ffe7a8);
  color: #8c5a00; font-weight: 700; font-size: .85rem;
  border: 1px dashed #d9a900;
  animation: throb 2.2s ease-in-out infinite;
}
@keyframes throb { 0%,100%{transform:scale(1)} 50%{transform:scale(1.025)} }

#popupForm { display: grid; gap: .55rem; }
#popupForm input, #popupForm select, #popupForm textarea {
  width: 100%; padding: .85rem .95rem;
  border: 1.5px solid var(--line); border-radius: 11px;
  /* 16px font-size prevents iOS Safari from zooming on focus */
  font: 500 16px 'Plus Jakarta Sans', sans-serif;
  background: #fafbfd;
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
#popupForm input:focus, #popupForm select:focus, #popupForm textarea:focus {
  outline: 0; border-color: var(--red); background: #fff;
  box-shadow: 0 0 0 4px rgba(238,45,60,.12);
}
.btn-reserve {
  margin-top: .3rem;
  width: 100%;
  padding: 1rem;
  border: 0; cursor: pointer;
  font: 800 1rem 'Plus Jakarta Sans',sans-serif;
  color: #fff;
  background: linear-gradient(135deg,#16a34a,#0d8a3d);
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(22,163,74,.32);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn-reserve:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(22,163,74,.45); filter: brightness(1.06); }
.trust-line { font-size: .78rem; color: var(--ink-2); text-align: center; margin: .3rem 0 0; }
.form-success { text-align: center; padding: 1.5rem 0; }
.form-success .check {
  width: 64px; height: 64px; border-radius: 50%;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg,#16a34a,#0d8a3d);
  color: #fff; font-size: 2rem; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 24px rgba(22,163,74,.32);
  animation: pop .5s cubic-bezier(.2,1.4,.4,1) both;
}
@keyframes pop { from{transform:scale(.3); opacity:0} to{transform:scale(1); opacity:1} }

/* ───────────── TRUST BAR ───────────── */
.trust-bar { background: var(--navy); color: #fff; padding: .9rem 0; overflow: hidden; }
.marquee { width: 100%; overflow: hidden; }
.marquee-track {
  display: flex; gap: 3rem; white-space: nowrap;
  animation: scroll 28s linear infinite;
  font-weight: 700; font-size: .95rem; opacity: .94;
}
.marquee-track span { display: inline-block; padding-left: 1rem; }
@keyframes scroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ───────────── SECTIONS ───────────── */
section { padding: 5rem 0; }
.tag {
  display: inline-block;
  background: linear-gradient(135deg,#ffe7a8,#fff5d6);
  color: #8c5a00; border: 1px solid #f3d57a;
  padding: .35rem .85rem; border-radius: 999px;
  font-size: .75rem; font-weight: 800; letter-spacing: .15em;
  margin-bottom: 1rem;
}
.tag.light { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.35); }
.section-sub { max-width: 700px; margin: .5rem 0 2.4rem; font-size: 1.05rem; }

/* Reveal-on-scroll — only hides until JS attaches IntersectionObserver.
   Without JS (e.g. file:// load or JS error), the rule never applies and
   the page renders normally with no animation. */
.js-on .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.js-on .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-on .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .pulse-dot, .urgency-pill, .host-ctas .btn-primary { animation: none; }
}

/* ───────────── RANKERS ───────────── */
.rankers {
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(245,181,10,.12), transparent 60%),
    #fff;
}
.rankers .container { text-align: center; }
.rankers .section-sub { max-width: 700px; margin-left: auto; margin-right: auto; }
.legacy-kicker {
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  color: var(--navy);
  margin-bottom: .2rem;
}
.rank-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(4, 1fr); margin-top: 2rem; }
.rank-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 1.2rem 1rem 1.3rem;
  text-align: center;
  border: 1px solid var(--line);
  transition: transform .35s ease, box-shadow .35s ease;
  overflow: hidden;
}
.rank-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(160px 100px at 50% 0%, rgba(245,181,10,.18), transparent 70%);
  pointer-events: none;
}
.rank-card:hover { transform: translateY(-6px) scale(1.015); box-shadow: 0 28px 50px rgba(15,31,61,.16); }
.glow-card {
  background:
    linear-gradient(#fff,#fff) padding-box,
    linear-gradient(135deg,#f5b50a,#ffd95a,#f5b50a) border-box;
  border: 2px solid transparent;
}
.rank-flag {
  position: absolute; top: 12px; left: 12px;
  padding: .3rem .65rem; border-radius: 999px;
  font: 800 .72rem 'Poppins', sans-serif; color: #fff;
  letter-spacing: .06em;
  box-shadow: 0 6px 14px rgba(0,0,0,.15);
  z-index: 2;
}
.rank-flag.gold { background: linear-gradient(135deg,#f5b50a,#c98a00); }
.rank-flag.silver { background: linear-gradient(135deg,#94a3b8,#475569); }
.rank-flag.bronze { background: linear-gradient(135deg,#d97706,#9a3412); }
.photo-wrap {
  width: 100%; aspect-ratio: 1/1;
  overflow: hidden; border-radius: 14px;
  background: linear-gradient(135deg,#fff8e1,#fff);
  margin-bottom: .8rem;
}
.photo-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.rank-card:hover .photo-wrap img { transform: scale(1.06); }
.rank-card h4 { margin: .3rem 0 .15rem; color: var(--navy); }
.rank-card p { font-size: .9rem; margin: 0; }
.rank-card p b { color: var(--red); }

.more-card {
  background: linear-gradient(135deg, var(--navy), #1e3a8a);
  color: #fff; border: 0;
  display: flex; align-items: center; justify-content: center;
}
.more-card::before { display: none; }
.more-card h4, .more-card p { color: #fff; }
.more-inner { text-align: center; padding: 1rem; }
.big-emoji { font-size: 2.4rem; margin-bottom: .5rem; }
.more-card .btn-secondary { border-color: #fff; color: #fff; margin-top: .8rem; }
.more-card .btn-secondary:hover { background: #fff; color: var(--navy); }

/* ───────────── WHY ───────────── */
.why { background: var(--bg); }
.why-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(3, 1fr); margin-top: 2rem; }
.why-card {
  background: #fff;
  padding: 1.6rem 1.3rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.why-card::after {
  content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--grad-warm); transition: width .4s ease;
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.why-card:hover::after { width: 100%; }
.why-card .ico {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  background: linear-gradient(135deg,#fff5d6,#ffe7a8);
  border-radius: 14px; margin-bottom: 1rem;
  transition: transform .3s;
}
.why-card:hover .ico { transform: rotate(-6deg) scale(1.06); }
.why-card h4 { color: var(--navy); margin-bottom: .35rem; }
.why-card p { margin: 0; font-size: .95rem; }

/* ───────────── SYLLABUS ───────────── */
.syllabus { background: #fff; }
.paper-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(3, 1fr); margin-top: 2rem; }
.paper-card {
  position: relative;
  background: linear-gradient(180deg,#fff,#fafbfd);
  border: 1px solid var(--line); border-radius: 16px;
  padding: 1.6rem 1.2rem 1.4rem;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.paper-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.paper-num {
  font: 900 3rem 'Poppins',sans-serif;
  color: transparent;
  -webkit-text-stroke: 2px rgba(238,45,60,.25);
  line-height: 1;
}
.paper-marks {
  display: inline-block;
  background: var(--navy); color: #fff;
  padding: .25rem .65rem;
  border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .08em;
  margin: .4rem 0 .9rem;
}
.paper-card h4 { color: var(--navy); }
.paper-card p { margin: 0; font-size: .92rem; }

/* ───────────── FACULTY ───────────── */
.faculty { background: var(--bg); }
.faculty-card {
  display: grid; grid-template-columns: 280px 1fr; gap: 2rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 1.8rem;
  margin-top: 2rem;
  align-items: center;
  border: 1px solid var(--line);
}
.faculty-photo { position: relative; }
.faculty-photo img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}
.exp-badge {
  position: absolute; bottom: -16px; right: -16px;
  background: var(--grad-warm); color: #fff;
  padding: .7rem .9rem; border-radius: 14px;
  font: 800 1rem 'Poppins',sans-serif; text-align: center; line-height: 1.1;
  box-shadow: 0 14px 26px rgba(238,45,60,.35);
}
.exp-badge small { display: block; font-weight: 600; font-size: .65rem; letter-spacing: .12em; opacity: .9; margin-top: 2px; }
.faculty-body h3 { color: var(--navy); }
.faculty-body .role { color: var(--red); font-weight: 700; margin-bottom: 1rem; }
.faculty-stats { display: flex; gap: 2rem; margin-top: 1.2rem; flex-wrap: wrap; }
.faculty-stats b {
  display: block; font: 800 1.6rem 'Poppins',sans-serif;
  background: var(--grad-warm);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.faculty-stats span { font-size: .8rem; color: var(--ink-2); font-weight: 600; }

/* ───────────── JAIPUR SPOTLIGHT ───────────── */
.jaipur-spotlight {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(245,181,10,.18), transparent 55%),
    radial-gradient(700px 400px at 0% 100%, rgba(238,45,60,.10), transparent 50%),
    var(--bg);
  padding: 4.5rem 0 4.5rem;
}
.spotlight-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.4rem;
  align-items: center;
  background: linear-gradient(135deg,#0f1f3d 0%,#142a55 55%,#1e3a8a 100%);
  color: #fff;
  border-radius: 24px;
  padding: 2.6rem 2.4rem;
  box-shadow: 0 30px 80px rgba(15,31,61,.28);
  overflow: hidden;
  isolation: isolate;
}
.spotlight-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(420px 220px at -10% 10%, rgba(245,181,10,.22), transparent 60%),
    radial-gradient(380px 220px at 110% 90%, rgba(238,45,60,.22), transparent 60%);
}
.spotlight-glow {
  position: absolute; inset: -2px; z-index: -2; border-radius: 26px;
  background: linear-gradient(135deg,#f5b50a,#ee2d3c,#a01a7d,#f5b50a);
  background-size: 300% 300%;
  filter: blur(22px); opacity: .55;
  animation: glowShift 9s ease infinite;
}
@keyframes glowShift {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.spotlight-card h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.spotlight-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  padding: .45rem .9rem; border-radius: 999px;
  font-size: .74rem; font-weight: 800; letter-spacing: .14em;
  margin-bottom: 1rem;
}
.spotlight-pill .pulse-dot { background: var(--gold-2); box-shadow: 0 0 0 0 rgba(255,217,90,.7); }
.spotlight-sub { color: rgba(255,255,255,.88); font-size: 1.05rem; max-width: 620px; }
.spotlight-features {
  list-style: none; padding: 0; margin: 1.4rem 0 1.6rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.2rem;
}
.spotlight-features li {
  display: flex; align-items: flex-start; gap: .55rem;
  color: rgba(255,255,255,.93); font-size: .95rem;
}
.ico-check {
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#16a34a,#0d8a3d); color: #fff;
  font-size: .8rem; font-weight: 800; flex-shrink: 0; margin-top: 2px;
}
.spotlight-ctas {
  display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.2rem;
}
.spotlight-secondary {
  border-color: rgba(255,255,255,.45); color: #fff;
}
.spotlight-secondary:hover { background: #fff; color: var(--navy); }

.campus-card {
  background: #fff; color: var(--ink);
  border-radius: 18px; padding: 1.4rem 1.3rem;
  box-shadow: 0 24px 50px rgba(0,0,0,.22);
  transform: rotate(-1deg);
  transition: transform .35s ease;
}
.campus-card:hover { transform: rotate(0deg) translateY(-4px); }
.campus-head { display: flex; gap: .8rem; align-items: center; margin-bottom: .8rem; }
.addr-emoji {
  font-size: 1.7rem;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg,#fff5d6,#ffe7a8);
  flex-shrink: 0;
}
.campus-head b { display: block; color: var(--navy); font-family: 'Poppins',sans-serif; }
.campus-head span { font-size: .82rem; color: var(--ink-2); }
.campus-addr {
  background: var(--bg);
  border-left: 3px solid var(--gold);
  padding: .7rem .85rem;
  border-radius: 8px;
  font-size: .9rem; color: var(--ink); line-height: 1.5;
}
.campus-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem;
  margin: 1rem 0 1rem;
}
.campus-meta > div {
  background: var(--bg); border-radius: 10px; padding: .55rem .5rem;
  text-align: center;
}
.campus-meta b { display: block; font-size: .78rem; color: var(--navy); }
.campus-meta span { font-size: .72rem; color: var(--ink-2); }
.campus-call {
  display: block; text-align: center;
  background: linear-gradient(135deg,#16a34a,#0d8a3d); color: #fff;
  font-weight: 800; padding: .9rem; border-radius: 12px;
  box-shadow: 0 12px 24px rgba(22,163,74,.32);
  transition: transform .2s, box-shadow .2s;
}
.campus-call:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(22,163,74,.45); }

.nav-flagship {
  background: linear-gradient(135deg,#fff5d6,#ffe7a8);
  color: #8c5a00 !important;
  padding: .35rem .7rem !important;
  border-radius: 999px;
  border: 1px solid #f3d57a;
}
.nav-flagship::after { display: none !important; }

@media (max-width: 980px) {
  .spotlight-card { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
  .spotlight-features { grid-template-columns: 1fr; }
  .campus-card { transform: none; }
}

/* ───────────── TESTIMONIALS ───────────── */
.testimonials { background: var(--bg); }
.test-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(3, 1fr); margin-top: 2rem; }
.test-card {
  position: relative;
  background: #fff;
  border-radius: 16px; padding: 1.6rem 1.4rem 1.3rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.test-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.quote {
  position: absolute; top: -8px; right: 18px;
  font: 900 5rem 'Poppins',sans-serif;
  color: var(--gold); opacity: .35; line-height: 1;
}
.test-card p { font-size: .95rem; color: var(--ink); }
.test-foot { display: flex; align-items: center; gap: .7rem; margin-top: 1rem; }
.test-foot img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.test-foot b { display: block; color: var(--navy); font-size: .95rem; }
.test-foot span { font-size: .8rem; color: var(--ink-2); }

/* ───────────── FAQ ───────────── */
.faq { background: #fff; }
.faq .container { text-align: center; }
.accordion { margin-top: 1.6rem; max-width: 900px; text-align: left; }
.acc-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: .7rem; overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
.acc-item.open { box-shadow: var(--shadow-sm); border-color: #ffd07a; background: #fff; }
.acc-q {
  width: 100%; text-align: left;
  background: none; border: 0; cursor: pointer;
  padding: 1.05rem 1.2rem;
  font: 700 1.02rem 'Plus Jakarta Sans',sans-serif;
  color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.acc-q .plus {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--grad-warm); color: #fff;
  font-weight: 800; font-size: 1.1rem; flex-shrink: 0;
  transition: transform .3s;
}
.acc-item.open .plus { transform: rotate(135deg); }
.acc-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
  padding: 0 1.2rem;
}
.acc-item.open .acc-a { max-height: 320px; padding-bottom: 1rem; }
.acc-a p { margin: 0; }

/* ───────────── FINAL CTA ───────────── */
.final-cta {
  position: relative;
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(255,217,90,.25), transparent 60%),
    var(--grad-navy);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.final-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(238,45,60,.25), transparent 50%);
}
.final-cta .container { position: relative; }
.final-cta h2 { color: #fff; }
.final-cta p { color: rgba(255,255,255,.85); max-width: 640px; margin: 0 auto 1.6rem; font-size: 1.08rem; }
.final-cta .btn-primary { background: linear-gradient(135deg,#ffd95a,#f5b50a); color: var(--navy); box-shadow: 0 18px 40px rgba(245,181,10,.4); }
.final-cta .btn-primary:hover { box-shadow: 0 24px 50px rgba(245,181,10,.55); }

/* ───────────── FOOTER ───────────── */
.site-footer { background: #0a1530; color: #cfd8e8; padding: 3.5rem 0 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-brand { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; }
.footer-brand img { width: 34px; height: 34px; border-radius: 8px; }
.footer-brand strong { color: #fff; font-family: 'Poppins',sans-serif; font-size: 1.1rem; }
.site-footer p, .site-footer li { color: #a3b1c9; font-size: .92rem; }
.site-footer .addr { font-size: .85rem; opacity: .8; }
.site-footer h5 { color: #fff; letter-spacing: .08em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .35rem 0; }
.site-footer a:hover { color: var(--gold-2); }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a {
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,.08); color: #fff;
  transition: background .2s, transform .2s;
}
.socials a:hover { background: var(--grad-warm); transform: translateY(-2px); }
.copy {
  text-align: center; margin-top: 2.5rem; padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .82rem; color: #7d8aa8;
}

/* ───────────── POPUP ───────────── */
.popup {
  position: fixed; inset: 0; z-index: 100;
  display: none; align-items: center; justify-content: center;
  padding: 1rem;
}
.popup[aria-hidden="false"] { display: flex; animation: fadeIn .25s ease; }
.popup-backdrop {
  position: absolute; inset: 0;
  background: rgba(10,21,48,.62); backdrop-filter: blur(4px);
}
.popup-card {
  position: relative;
  background: #fff; border-radius: 18px;
  width: min(460px, 100%);
  padding: 1.8rem 1.5rem 1.4rem;
  box-shadow: var(--shadow-lg);
  animation: popIn .35s cubic-bezier(.2,1.4,.4,1);
  max-height: 92vh; overflow-y: auto;
}
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes popIn { from{opacity:0; transform:scale(.92) translateY(20px)} to{opacity:1; transform:none} }
.popup-close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px;
  background: var(--bg); border: 0; border-radius: 50%; cursor: pointer;
  font-size: 1rem; color: var(--navy);
}
.popup-ribbon {
  display: inline-block; background: var(--grad-warm); color: #fff;
  padding: .35rem .85rem; border-radius: 999px;
  font: 800 .7rem 'Poppins',sans-serif; letter-spacing: .12em;
  margin-bottom: .7rem;
}
.popup-card h3 { color: var(--navy); margin-bottom: .25rem; }
.popup-card #popupForm textarea { resize: vertical; min-height: 70px; }

.acados-mount {
  margin-top: .8rem;
  min-height: 360px;
  position: relative;
}
.acados-mount::before {
  content: 'Loading form…';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2); font-size: .9rem;
  pointer-events: none;
}
.acados-mount iframe { position: relative; z-index: 1; }

/* ───────────── STICKY MOBILE CTA ───────────── */
.mobile-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  text-align: center;
  padding: .95rem;
  background: var(--grad-warm); color: #fff;
  font: 700 1rem 'Plus Jakarta Sans',sans-serif;
  box-shadow: 0 -10px 30px rgba(0,0,0,.18);
  cursor: pointer;
}

/* ───────────── RESPONSIVE ───────────── */
@media (max-width: 980px) {
  .rank-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .paper-grid { grid-template-columns: repeat(2, 1fr); }
  .test-grid { grid-template-columns: 1fr; }
  .faculty-card { grid-template-columns: 1fr; text-align: center; }
  .faculty-photo { max-width: 240px; margin: 0 auto; }
  .faculty-stats { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .mobile-toggle { display: inline-block; margin-left: auto; }
  .mobile-toggle + .cta-glow { display: none; }
  .cta-glow { font-size: .78rem; padding: .55rem .9rem; }
  section { padding: 3.2rem 0; }
  .mobile-cta { display: block; }
  body { padding-bottom: 60px; }
  .rank-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .paper-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .rank-grid { grid-template-columns: 1fr; }
}

/* ───────────── MOBILE POPUP / FORM POLISH ───────────── */
@media (max-width: 720px) {
  /* Popup: top-align so iOS keyboard doesn't crop the form,
     full-width with tiny side gutter, safe-area for notch/home-bar. */
  .popup {
    padding: 0;
    align-items: flex-start;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .popup-card {
    width: 100%;
    max-width: 100%;
    max-height: none;
    min-height: 100vh;
    border-radius: 18px 18px 0 0;
    margin: 8vh 0 0;            /* small top gap so close-btn is reachable */
    padding: 1.4rem 1.1rem calc(2rem + env(safe-area-inset-bottom));
    animation: slideUp .3s cubic-bezier(.2,1.2,.4,1);
    overflow-y: visible;
  }
  @keyframes slideUp { from{transform:translateY(40px); opacity:0} to{transform:none; opacity:1} }

  /* Bigger tap target for close (Apple HIG: ≥44px) */
  .popup-close {
    width: 44px; height: 44px;
    font-size: 1.2rem;
    top: 8px; right: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
  }

  /* Tighter spacing inside popup */
  .popup-ribbon { font-size: .65rem; padding: .3rem .7rem; }
  .popup-card h3 { font-size: 1.25rem; line-height: 1.25; padding-right: 48px; }
  .urgency-pill { font-size: .78rem; padding: .45rem .75rem; }
  .form-tagline { font-size: .82rem; padding: .35rem .7rem; }

  /* Tap-friendly inputs + buttons */
  #popupForm input, #popupForm select, #popupForm textarea {
    padding: .95rem 1rem;
    border-radius: 12px;
  }
  .btn-reserve { padding: 1.05rem; font-size: 1.02rem; min-height: 52px; }

  /* Sticky CTA bar respects iPhone home-bar safe area */
  .mobile-cta {
    padding: .9rem .9rem calc(.9rem + env(safe-area-inset-bottom));
    font-size: .95rem;
  }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }

  /* Body lock when popup open is handled by JS; ensure popup itself isn't hidden behind sticky CTA */
  .popup-card { padding-bottom: calc(2rem + 60px + env(safe-area-inset-bottom)); }
}

/* Very small phones */
@media (max-width: 360px) {
  .popup-card { padding-left: .9rem; padding-right: .9rem; }
  .popup-card h3 { font-size: 1.15rem; }
  .urgency-pill { font-size: .72rem; }
  .form-tagline { font-size: .78rem; }
}

/* ═══════════════════════════════════════════════════════════
   FREE WEBINAR — "Crack CA Inter Both Groups in First Attempt"
   ═══════════════════════════════════════════════════════════ */

/* ───────────── ANNOUNCEMENT BAR ───────────── */
.announce-bar {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: .55rem 1rem;
  padding: .6rem 1rem;
  background: linear-gradient(110deg,#0f1f3d 0%,#1e3a8a 45%,#a01a7d 100%);
  background-size: 200% 100%;
  animation: announceShift 12s ease infinite;
  color: #fff; text-align: center;
  font-size: .86rem; line-height: 1.35;
  border-bottom: 2px solid var(--gold);
}
@keyframes announceShift { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }
.announce-bar:hover .announce-cta { background: #fff; color: var(--navy); }
.announce-live {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(238,45,60,.9);
  padding: .22rem .6rem; border-radius: 999px;
  font-size: .68rem; font-weight: 800; letter-spacing: .12em;
  white-space: nowrap;
}
.announce-live .pulse-dot { background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.8); }
.announce-text { color: rgba(255,255,255,.95); }
.announce-text b { color: var(--gold-2); }
.announce-date {
  font-weight: 800; color: #fff;
  border-left: 1px solid rgba(255,255,255,.3);
  padding-left: 1rem; white-space: nowrap;
}
.announce-cta {
  font-weight: 800; font-size: .78rem;
  border: 1.5px solid rgba(255,255,255,.6);
  padding: .28rem .75rem; border-radius: 999px;
  white-space: nowrap;
  transition: background .2s, color .2s;
}

/* ───────────── NAV PILL ───────────── */
.nav-webinar {
  display: inline-flex !important; align-items: center; gap: .38rem;
  background: linear-gradient(135deg,#ee2d3c,#a01a7d);
  color: #fff !important;
  padding: .35rem .75rem !important;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(238,45,60,.3);
}
.nav-webinar::after { display: none !important; }
.nav-webinar .pulse-dot { background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.8); width: 7px; height: 7px; }

/* ───────────── SECTION SHELL ───────────── */
/* .webinar is now the page's first section (occupies the old hero slot) —
   trimmed top padding + tighter head spacing keep the host banner close
   to the fold instead of pushed down by the old mid-page spacing. */
.webinar { padding-top: 1.8rem; }
.webinar {
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(238,45,60,.10), transparent 55%),
    radial-gradient(800px 500px at 95% 30%, rgba(245,181,10,.16), transparent 55%),
    var(--bg);
}
.webinar-head { text-align: center; margin-bottom: .2rem; }
.webinar-head .tag { margin-bottom: .6rem; }
.webinar-head h2 { color: var(--navy); margin-bottom: 0; }
.section-sub.center { margin-left: auto; margin-right: auto; text-align: center; max-width: 760px; }
.live-tag {
  display: inline-flex !important; align-items: center; gap: .45rem;
  background: linear-gradient(135deg,#ffe3e5,#fff0f1);
  color: #b3121f; border-color: #f6b6bc;
}
.live-tag .pulse-dot { background: var(--red); box-shadow: 0 0 0 0 rgba(238,45,60,.65); }

/* ───────────── HOST BANNER ───────────── */
.host-banner {
  position: relative;
  display: grid; grid-template-columns: .78fr 1.22fr;
  gap: 1.6rem; align-items: center;
  background: linear-gradient(135deg,#0f1f3d 0%,#142a55 55%,#1e3a8a 100%);
  color: #fff;
  border-radius: 24px;
  padding: 1.5rem 1.8rem;
  box-shadow: 0 30px 80px rgba(15,31,61,.28);
  overflow: hidden; isolation: isolate;
  margin-top: 1rem;
}
.host-banner::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(420px 240px at 0% 0%, rgba(245,181,10,.24), transparent 62%),
    radial-gradient(400px 240px at 100% 100%, rgba(238,45,60,.24), transparent 62%);
}
.host-glow {
  position: absolute; inset: -2px; z-index: -2; border-radius: 26px;
  background: linear-gradient(135deg,#f5b50a,#ee2d3c,#a01a7d,#f5b50a);
  background-size: 300% 300%;
  filter: blur(22px); opacity: .55;
  animation: glowShift 9s ease infinite;
}
.host-photo {
  position: relative; margin: 0;
  border-radius: 20px; overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 55px rgba(0,0,0,.35);
  border: 3px solid rgba(255,255,255,.5);
}
.host-photo img { width: 100%; height: 280px; object-fit: cover; object-position: top center; display: block; }
.host-live {
  position: absolute; top: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(238,45,60,.95); color: #fff;
  padding: .32rem .7rem; border-radius: 999px;
  font: 800 .66rem 'Poppins',sans-serif; letter-spacing: .1em;
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
}
.host-live .pulse-dot { background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.8); width: 7px; height: 7px; }
.host-body h3 { color: #fff; font-size: clamp(1.4rem,2.4vw,1.9rem); margin: 0 0 .2rem; }
.host-role { color: var(--gold-2); font-weight: 700; font-size: .9rem; margin-bottom: .5rem; }
.host-note { color: rgba(255,255,255,.9); font-size: .95rem; max-width: 640px; margin-bottom: .5em; }
.host-note b { color: var(--gold-2); }

.host-stats {
  display: grid; grid-template-columns: repeat(4,1fr); gap: .6rem;
  margin: .8rem 0 .8rem;
}
.host-stats > div {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px; padding: .6rem .4rem; text-align: center;
}
.host-stats b {
  display: block; font-family: 'Poppins',sans-serif; font-size: 1.25rem; font-weight: 800;
  color: var(--gold-2); line-height: 1.1;
}
.host-stats span { font-size: .7rem; color: rgba(255,255,255,.82); font-weight: 600; }

/* Date / time / platform tiles */
.webinar-meta {
  display: grid; grid-template-columns: repeat(5,1fr); gap: .55rem;
  margin-bottom: .8rem;
}
.webinar-meta > div {
  background: #fff; color: var(--ink);
  border-radius: 12px; padding: .6rem .45rem; text-align: center;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}
.wm-ico { display: block; font-size: 1.1rem; line-height: 1.4; }
.webinar-meta b { display: block; font: 800 .84rem 'Poppins',sans-serif; color: var(--navy); }
.webinar-meta small { font-size: .68rem; color: var(--ink-2); }
.wm-free { background: linear-gradient(135deg,#16a34a,#0d8a3d) !important; }
.wm-free b { color: #fff !important; }
.wm-free small { color: rgba(255,255,255,.85) !important; }

/* Countdown */
.countdown {
  background: rgba(0,0,0,.22);
  border: 1px dashed rgba(255,217,90,.5);
  border-radius: 14px; padding: .6rem .9rem;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-bottom: .9rem;
}
.cd-label {
  font-size: .76rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-2);
}
.cd-units { display: flex; gap: .5rem; }
.cd-unit {
  min-width: 56px; text-align: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px; padding: .38rem .3rem;
}
.cd-unit b {
  display: block; font: 800 1.2rem 'Poppins',sans-serif; color: #fff;
  font-variant-numeric: tabular-nums; line-height: 1.15;
}
.cd-unit span { font-size: .62rem; color: rgba(255,255,255,.75); font-weight: 700; letter-spacing: .06em; }
.countdown.is-live { border-color: var(--red); background: rgba(238,45,60,.25); }

.host-ctas { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-top: .2rem; }
.host-ctas .btn-primary {
  text-decoration: none; display: inline-block;
  background: #fff; color: var(--navy);
  box-shadow: 0 14px 30px rgba(0,0,0,.25);
  animation: seatPulse 2s ease-in-out infinite;
}
@keyframes seatPulse {
  0%, 100% { box-shadow: 0 14px 30px rgba(0,0,0,.25), 0 0 0 0 rgba(255,255,255,.55); }
  50%      { box-shadow: 0 14px 30px rgba(0,0,0,.25), 0 0 0 12px rgba(255,255,255,0); }
}
.host-ctas .btn-primary:hover { box-shadow: 0 20px 40px rgba(0,0,0,.32); animation-play-state: paused; }
.seats-note { font-size: .84rem; color: rgba(255,255,255,.88); }
.seats-note b { color: var(--gold-2); }

/* ───────────── AGENDA ───────────── */
.agenda-head { text-align: center; margin: 3.2rem 0 1.6rem; }
.agenda-head h3 { color: var(--navy); }
.agenda-head .muted { max-width: 620px; margin: 0 auto; }
.agenda-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.agenda-item {
  display: flex; gap: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 16px;
  padding: 1.25rem 1.3rem;
  transition: transform .3s, box-shadow .3s, border-left-color .3s;
}
.agenda-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--red);
}
.ag-num {
  flex-shrink: 0;
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font: 800 1rem 'Poppins',sans-serif; color: #fff;
  background: linear-gradient(135deg,var(--navy),#1e3a8a);
  box-shadow: 0 8px 18px rgba(15,31,61,.22);
}
.agenda-item h4 { color: var(--navy); margin-bottom: .3rem; }
.agenda-item p { font-size: .92rem; margin: 0; }
.agenda-item p b { color: var(--navy); }

/* ───────────── WHO IT'S FOR ───────────── */
.for-whom { margin-top: 3.2rem; text-align: center; }
.for-whom h3 { color: var(--navy); margin-bottom: 1.4rem; }
.whom-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.whom-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 1.4rem 1.1rem;
  text-align: left;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.whom-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.whom-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg,#fff5d6,#ffe7a8);
  font-size: 1.35rem; margin-bottom: .7rem;
}
.whom-card p { font-size: .92rem; margin: 0; }
.whom-card p b { color: var(--navy); }

/* ───────────── REGISTRATION ───────────── */
.webinar-register {
  margin-top: 3.2rem;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 2.2rem; align-items: center;
  background: linear-gradient(135deg,#0f1f3d 0%,#142a55 60%,#1e3a8a 100%);
  color: #fff;
  border-radius: 24px;
  padding: 2.4rem;
  box-shadow: 0 30px 80px rgba(15,31,61,.28);
  scroll-margin-top: 90px;
  position: relative; overflow: hidden; isolation: isolate;
}
.webinar-register::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(430px 250px at 0% 100%, rgba(245,181,10,.22), transparent 62%),
    radial-gradient(400px 240px at 100% 0%, rgba(238,45,60,.2), transparent 62%);
}
.reg-left h3 { color: #fff; font-size: clamp(1.5rem,2.8vw,2.2rem); }
.reg-left > p { color: rgba(255,255,255,.88); font-size: 1.02rem; }
.reg-benefits { list-style: none; padding: 0; margin: 1.3rem 0 1.2rem; display: grid; gap: .6rem; }
.reg-benefits li {
  display: flex; align-items: flex-start; gap: .6rem;
  color: rgba(255,255,255,.93); font-size: .95rem;
}
.reg-benefits li b { color: var(--gold-2); }
.reg-fineprint { font-size: .8rem; color: rgba(255,255,255,.7); margin: 0; }

.reg-card {
  position: relative;
  background: #fff; color: var(--ink);
  border-radius: 18px;
  padding: 1.6rem 1.4rem 1.4rem;
  box-shadow: 0 26px 55px rgba(0,0,0,.3);
}
.reg-ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg,#16a34a,#0d8a3d); color: #fff;
  font: 800 .72rem 'Poppins',sans-serif; letter-spacing: .1em;
  padding: .38rem .95rem; border-radius: 999px;
  box-shadow: 0 10px 22px rgba(22,163,74,.35);
  white-space: nowrap;
}
.reg-card h4 { color: var(--navy); margin-top: .5rem; font-size: 1.25rem; }
#webinarForm { display: grid; gap: .55rem; }
#webinarForm input, #webinarForm select {
  width: 100%; padding: .85rem .95rem;
  border: 1.5px solid var(--line); border-radius: 11px;
  /* 16px prevents iOS Safari zoom-on-focus */
  font: 500 16px 'Plus Jakarta Sans', sans-serif;
  background: #fafbfd;
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
#webinarForm input:focus, #webinarForm select:focus {
  outline: 0; border-color: var(--red); background: #fff;
  box-shadow: 0 0 0 4px rgba(238,45,60,.12);
}

/* ───────────── RESPONSIVE ───────────── */
@media (max-width: 1080px) {
  .whom-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 980px) {
  .host-banner { grid-template-columns: 1fr; padding: 1.8rem 1.4rem; }
  .host-photo { max-width: 380px; margin: 0 auto; }
  .webinar-register { grid-template-columns: 1fr; padding: 2rem 1.4rem; }
  .agenda-list { grid-template-columns: 1fr; }
  .webinar-meta { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 720px) {
  .announce-bar { font-size: .78rem; padding: .55rem .8rem; gap: .4rem .7rem; }
  .announce-date { border-left: 0; padding-left: 0; }
  .announce-text { flex-basis: 100%; }
  .host-stats { grid-template-columns: repeat(2,1fr); }
  .countdown { justify-content: center; gap: .6rem; }
  .cd-label { flex-basis: 100%; text-align: center; }
  .cd-units { width: 100%; justify-content: space-between; }
  .cd-unit { flex: 1; min-width: 0; }
  .host-ctas { flex-direction: column; align-items: stretch; text-align: center; }
  .host-ctas .btn-primary { width: 100%; }
}
@media (max-width: 560px) {
  .whom-grid { grid-template-columns: 1fr; }
  .webinar-meta { grid-template-columns: repeat(2,1fr); }
  .agenda-item { padding: 1.1rem 1rem; gap: .8rem; }
  .ag-num { width: 36px; height: 36px; font-size: .88rem; }
  #webinarForm input, #webinarForm select { padding: .95rem 1rem; border-radius: 12px; }
}

/* ───────────── NAV FIT (webinar pill added a 9th link) ───────────── */
.nav-links { gap: .95rem; }
.nav-links a { font-size: .88rem; white-space: nowrap; }
/* Between the mobile breakpoint and a wide desktop the bar gets tight —
   drop the three links that are also reachable from the footer. */
@media (min-width: 901px) and (max-width: 1279px) {
  .nav-links .nav-secondary { display: none; }
}

/* ───────────── AGENDA DAY DIVIDERS (2-evening format) ───────────── */
.agenda-day {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
  margin: .6rem 0 -.1rem;
  padding-bottom: .6rem;
  border-bottom: 2px dashed #dbe3ef;
}
.agenda-list > .agenda-day:first-child { margin-top: 0; }
.ad-pill {
  background: linear-gradient(135deg,var(--navy),#1e3a8a); color: #fff;
  font: 800 .7rem 'Poppins',sans-serif; letter-spacing: .12em;
  padding: .32rem .7rem; border-radius: 999px;
  box-shadow: 0 8px 18px rgba(15,31,61,.2);
}
.agenda-day b { font: 800 1rem 'Poppins',sans-serif; color: var(--navy); }
.agenda-day em {
  font-style: normal; font-size: .86rem; font-weight: 700; color: #8c5a00;
  background: linear-gradient(135deg,#ffe7a8,#fff5d6);
  border: 1px solid #f3d57a; border-radius: 999px; padding: .22rem .7rem;
}
