/* VAIDYA NEET Academy — site styles */

:root {
  --navy-900: #141d47;
  --navy-800: #1c2a63;
  --navy-700: #24357a;
  --gold-500: #e8b14a;
  --gold-400: #f0c469;
  --cream-50: #fffaf3;
  --cream-100: #fdf3e7;
  --ink: #1a1f2e;
  --muted: #5b6178;
  --white: #ffffff;
  --success: #1f9d55;
  --danger: #d64545;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 10px 30px -12px rgba(20, 29, 71, 0.25);
  --shadow-lift: 0 20px 45px -15px rgba(20, 29, 71, 0.35);
  --container: 1160px;

  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--navy-900);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; color: var(--muted); }

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

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-500);
  background: rgba(232, 177, 74, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-900);
  box-shadow: 0 12px 24px -8px rgba(232, 177, 74, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(232, 177, 74, 0.7); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.18); }

.btn-outline-navy {
  background: transparent;
  color: var(--navy-800);
  border: 1.5px solid var(--navy-700);
}
.btn-outline-navy:hover { background: var(--navy-800); color: var(--white); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 500;
  padding: 14px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255, 250, 243, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
  padding: 8px 0;
}

.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy-900); }
.brand img { height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: 'Poppins', sans-serif; font-size: 1.05rem; }
.brand-text span { font-size: 0.7rem; color: var(--gold-500); font-weight: 600; letter-spacing: 0.06em; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-weight: 600; font-size: 0.92rem; color: var(--navy-800);
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--gold-500); transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-call {
  display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy-900);
  font-size: 0.92rem;
}
.nav-call svg { width: 18px; height: 18px; flex-shrink: 0; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle svg { width: 26px; height: 26px; color: var(--navy-900); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 150px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 85% 10%, rgba(232, 177, 74, 0.18), transparent 60%),
    radial-gradient(55% 50% at 5% 15%, rgba(28, 42, 99, 0.12), transparent 60%),
    var(--cream-50);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
.hero h1 .accent { color: var(--gold-500); }
.hero-lead { font-size: 1.08rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.hero-badge {
  display: flex; align-items: center; gap: 8px;
  background: var(--white); border-radius: 999px; padding: 8px 16px;
  font-size: 0.82rem; font-weight: 600; color: var(--navy-800);
  box-shadow: var(--shadow-soft);
}
.hero-badge svg { width: 16px; height: 16px; color: var(--gold-500); flex-shrink: 0; }

.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-visual .glow {
  position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,177,74,0.35), transparent 70%);
  filter: blur(10px);
}
.hero-visual img {
  position: relative;
  width: min(380px, 80%);
  filter: drop-shadow(0 25px 40px rgba(20, 29, 71, 0.25));
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------- Section shell ---------- */
section { padding: 90px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head p { margin: 0 auto; }
.section-head.left { margin: 0 0 48px; text-align: left; }

/* ---------- Features ---------- */
.features { background: var(--white); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.feature-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--cream-50);
  border: 1px solid rgba(20, 29, 71, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.feature-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; color: var(--gold-400); }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature-card p { font-size: 0.92rem; margin: 0; }

/* ---------- Program ---------- */
.program {
  background: var(--navy-900);
  background-image: radial-gradient(60% 80% at 100% 0%, rgba(232,177,74,0.12), transparent 60%);
  color: var(--white);
}
.program h2, .program .section-head p { color: var(--white); }
.program .section-head p { color: rgba(255,255,255,0.7); }
.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.program-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(6px);
}
.program-card h3 { color: var(--white); font-size: 1.4rem; }
.program-tag {
  display: inline-block; background: var(--gold-500); color: var(--navy-900);
  font-weight: 700; font-size: 0.78rem; padding: 5px 12px; border-radius: 999px;
  margin-bottom: 14px;
}
.check-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.check-list svg { width: 20px; height: 20px; color: var(--gold-400); flex-shrink: 0; margin-top: 1px; }

.crash-card {
  background: linear-gradient(160deg, var(--gold-400), var(--gold-500));
  color: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: 36px;
  height: 100%;
}
.crash-card h3 { color: var(--navy-900); }
.crash-card p { color: rgba(20,29,71,0.75); }

/* ---------- Highlights ---------- */
.highlights { background: var(--cream-100); }
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.highlight-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease;
}
.highlight-card:hover { transform: translateY(-6px); }
.highlight-visual {
  height: 130px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
}
.highlight-visual svg { width: 42px; height: 42px; color: var(--gold-400); }
.highlight-card h3 { padding: 18px 18px 4px; font-size: 1rem; }
.highlight-card p { padding: 0 18px 18px; font-size: 0.88rem; margin: 0; }

/* ---------- Admissions ---------- */
.admissions {
  background: var(--white);
}
.admissions-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg);
  padding: 56px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.admissions-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 90% 10%, rgba(232,177,74,0.25), transparent 60%);
  pointer-events: none;
}
.admissions-copy { position: relative; }
.admissions-copy h2 { color: var(--white); }
.admissions-copy p { color: rgba(255,255,255,0.75); }
.admissions-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

.admissions-info { position: relative; display: grid; gap: 16px; align-content: center; }
.info-row {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.info-row svg { width: 22px; height: 22px; color: var(--gold-400); flex-shrink: 0; }
.info-row strong { display: block; font-size: 0.95rem; }
.info-row span { display: block; font-size: 0.82rem; color: rgba(255,255,255,0.7); }

/* ---------- Footer ---------- */
footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.65);
  padding: 48px 0 24px;
  font-size: 0.88rem;
}
.footer-row {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; }
.footer-brand img { height: 34px; }
.footer-links { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.footer-links a:hover { color: var(--gold-400); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 20px;
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--gold-400); }

/* ---------- Floating call button ---------- */
.floating-call {
  position: fixed; right: 22px; bottom: 22px; z-index: 400;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 28px -8px rgba(232,177,74,0.7);
  animation: pulse 2.4s ease-in-out infinite;
}
.floating-call svg { width: 26px; height: 26px; color: var(--navy-900); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 14px 28px -8px rgba(232,177,74,0.7); }
  50% { box-shadow: 0 14px 28px -8px rgba(232,177,74,0.35), 0 0 0 10px rgba(232,177,74,0.12); }
}

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Visitor gate modal ---------- */
.gate-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: linear-gradient(160deg, rgba(20,29,71,0.92), rgba(28,42,99,0.92));
  backdrop-filter: blur(6px);
}
.gate-overlay[hidden] { display: none; }
body.gate-open { overflow: hidden; }

.gate-card {
  width: 100%; max-width: 420px;
  background: rgba(255, 250, 243, 0.98);
  border-radius: var(--radius-lg);
  padding: 40px 32px 32px;
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.5);
  text-align: center;
  animation: gate-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes gate-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.gate-card img { height: 64px; margin: 0 auto 14px; }
.gate-card h2 { font-size: 1.3rem; margin-bottom: 6px; }
.gate-card p.gate-sub { font-size: 0.9rem; margin-bottom: 22px; }

.field { text-align: left; margin-bottom: 16px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--navy-800); margin-bottom: 6px; }
.field input {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid rgba(20,29,71,0.15); font-size: 0.95rem; font-family: inherit;
  background: var(--white); transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(232,177,74,0.2); }
.field-error { display: none; color: var(--danger); font-size: 0.78rem; margin-top: 6px; }
.field.invalid input { border-color: var(--danger); }
.field.invalid .field-error { display: block; }
.honeypot { position: absolute; left: -9999px; top: -9999px; }

.gate-form-msg { font-size: 0.85rem; margin-top: 14px; display: none; }
.gate-form-msg.show { display: block; }
.gate-form-msg.error { color: var(--danger); }
.gate-form-msg.success { color: var(--success); }

/* ---- Registration section ---- */
.register { background: var(--cream-100); }
.register-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.register-head h2 { margin: 10px 0 12px; }
.register-head p { margin: 0 auto; color: var(--muted); }
.register-card {
  max-width: 760px; margin: 0 auto; background: var(--white);
  border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-soft);
}
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.reg-grid .field { margin-bottom: 0; }
.field .req { color: var(--gold-500); }
.field select {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid rgba(20,29,71,0.15); font-size: 0.95rem; font-family: inherit;
  background: var(--white); transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field select:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(232,177,74,0.2); }
.field.invalid select { border-color: var(--danger); }
.radio-row { display: flex; gap: 18px; flex-wrap: wrap; padding-top: 4px; }
.radio-row .radio {
  display: flex; align-items: center; gap: 7px; font-size: 0.92rem; font-weight: 500;
  color: var(--ink); cursor: pointer; margin: 0;
}
.radio-row .radio input { width: auto; accent-color: var(--gold-500); }
.field-hp { position: absolute; left: -9999px; top: -9999px; }
.register-card .btn-block { margin-top: 26px; }
.reg-note { font-size: 0.8rem; color: var(--muted); text-align: center; margin-top: 14px; }
@media (max-width: 640px) {
  .reg-grid { grid-template-columns: 1fr; }
  .register-card { padding: 24px; }
}

.gate-note {
  margin-top: 18px; font-size: 0.72rem; color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-badges { justify-content: center; }
  .hero-visual { order: -1; }
  .program-grid { grid-template-columns: 1fr; }
  .admissions-wrap { grid-template-columns: 1fr; padding: 36px 24px; }
}

@media (max-width: 760px) {
  .nav-links, .nav-call { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream-50); padding: 16px 24px; box-shadow: var(--shadow-soft);
  }
  .nav-links.open a { padding: 10px 0; width: 100%; }
  section { padding: 64px 0; }
  .hero { padding: 130px 0 70px; }
  .admissions-wrap { border-radius: var(--radius-md); }
}
