/* ============================================================
   Radha Madhav Chits Pvt Ltd — site stylesheet
   Mobile-first. Brand greens from the RMC logo, navy accent.
   ============================================================ */

:root {
  --green-900: #046a34;
  --green-700: #068d46;
  --green-500: #1e9e58;
  --green-300: #3cb371;
  --green-050: #eaf7ef;
  --navy-900: #101b46;
  --navy-700: #1b2a6b;
  --ink: #1c2333;
  --muted: #5a6478;
  --line: #e4e8ef;
  --bg: #ffffff;
  --bg-soft: #f6f9f7;
  --cream: #fdf6e9;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 27, 70, 0.10);
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-900); }

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand img { height: 40px; width: auto; }

.brand-name {
  display: none;
  font-weight: 600;
  font-size: 0.78rem;
  line-height: 1.25;
  color: var(--navy-900);
  letter-spacing: 0.02em;
}

.nav-toggle {
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0.5rem;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--navy-900);
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-menu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: none;
  padding: 0.5rem 0;
}

.nav-menu.open { display: block; }

.nav-menu a {
  display: block;
  padding: 0.85rem 6%;
  font-weight: 500;
  color: var(--ink);
}

.nav-menu a:hover { background: var(--green-050); color: var(--green-900); }
.nav-menu a.active { color: var(--green-700); font-weight: 600; }

.nav-cta {
  display: none;
  background: var(--green-700);
  color: #fff !important;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--green-900); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(60, 179, 113, 0.18), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(27, 42, 107, 0.10), transparent 60%),
    linear-gradient(180deg, #f2faf5 0%, #ffffff 100%);
  padding: 3.5rem 0 3rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 2.2rem;
  align-items: center;
}

.hero .namaste {
  display: inline-block;
  background: var(--green-050);
  color: var(--green-900);
  border: 1px solid #cdebd9;
  border-radius: 999px;
  padding: 0.3rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(1.9rem, 6vw, 3.1rem);
  line-height: 1.2;
  color: var(--navy-900);
  font-weight: 700;
}

.hero h1 em {
  font-style: normal;
  color: var(--green-700);
}

.hero .lede {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34rem;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.8rem 1.7rem;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn-primary {
  background: linear-gradient(120deg, var(--green-700), var(--green-500));
  color: #fff;
  box-shadow: 0 8px 20px rgba(6, 141, 70, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); color: #fff; }

.btn-outline {
  border-color: var(--navy-900);
  color: var(--navy-900);
  background: transparent;
}
.btn-outline:hover { background: var(--navy-900); color: #fff; }

.btn-light {
  background: #fff;
  color: var(--green-900);
}
.btn-light:hover { transform: translateY(-2px); color: var(--green-900); }

.hero-card {
  background: var(--navy-900);
  color: #fff;
  border-radius: calc(var(--radius) + 6px);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(60, 179, 113, 0.25);
}

.hero-card .tag {
  color: #7fe6ae;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero-card h2 { font-size: 1.35rem; margin: 0.5rem 0 0.8rem; line-height: 1.35; }
.hero-card p { color: #c6cdea; font-size: 0.95rem; }

.hero-card ul {
  list-style: none;
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
  position: relative;
  z-index: 1;
}

.hero-card li {
  display: flex;
  gap: 0.55rem;
  align-items: baseline;
  font-size: 0.93rem;
  color: #e7ebff;
}

.hero-card li::before {
  content: "✔";
  color: var(--green-300);
  font-size: 0.85rem;
}

/* ---------- Hero figure (poster image) ---------- */
.hero-figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  padding: 0.9rem;
  display: flex;
  justify-content: center;
  max-width: 460px;
  margin-inline: auto;
}

.hero-figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--navy-900);
  color: #fff;
  padding: 1.4rem 0;
}

.trust-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
  text-align: center;
}

.trust-item strong {
  display: block;
  font-size: 1.15rem;
  color: #7fe6ae;
}

.trust-item span { font-size: 0.85rem; color: #c6cdea; }

/* ---------- Sections ---------- */
.section { padding: 3.6rem 0; }
.section.soft { background: var(--bg-soft); }
.section.cream { background: var(--cream); }
.section.navy { background: var(--navy-900); color: #fff; }

.eyebrow {
  color: var(--green-700);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.section.navy .eyebrow { color: #7fe6ae; }

.section h2 {
  font-size: clamp(1.5rem, 4.5vw, 2.2rem);
  color: var(--navy-900);
  line-height: 1.3;
  margin: 0.4rem 0 1rem;
}

.section.navy h2 { color: #fff; }

.section .sub {
  color: var(--muted);
  max-width: 44rem;
}

.section.navy .sub { color: #c6cdea; }

.center { text-align: center; }
.center .sub { margin-inline: auto; }

/* ---------- Cards ---------- */
.card-grid {
  margin-top: 2.2rem;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform 0.18s, box-shadow 0.18s;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: var(--green-050);
  margin-bottom: 1rem;
}

.card h3 { color: var(--navy-900); font-size: 1.08rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Split layout ---------- */
.split {
  display: grid;
  gap: 2.2rem;
  align-items: center;
  margin-top: 2rem;
}

.split .frame {
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.checklist { list-style: none; margin-top: 1.2rem; display: grid; gap: 0.7rem; }

.checklist li {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  color: var(--ink);
}

.checklist li::before {
  content: "✔";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-050);
  color: var(--green-700);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
}

/* ---------- Compare (registered vs non-registered) ---------- */
.compare-grid { display: grid; gap: 1.2rem; margin-top: 2.2rem; }

.compare {
  border-radius: var(--radius);
  padding: 1.7rem;
  border: 1px solid var(--line);
}

.compare.good { background: var(--green-050); border-color: #cdebd9; }
.compare.bad { background: #fdf1f1; border-color: #f2d8d8; }

.compare h3 { color: var(--navy-900); margin-bottom: 0.6rem; }
.compare p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.9rem; }

.compare ul { list-style: none; display: grid; gap: 0.5rem; }
.compare li { display: flex; gap: 0.5rem; font-size: 0.95rem; }
.compare.good li::before { content: "✔"; color: var(--green-700); }
.compare.bad li::before { content: "✖"; color: #c0392b; }

/* ---------- Founder ---------- */
.founder-photo {
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 340px;
  margin-inline: auto;
}

.founder-name {
  margin-top: 1.4rem;
  text-align: center;
}

.founder-name strong { display: block; color: var(--navy-900); font-size: 1.1rem; }
.founder-name span { color: var(--muted); font-size: 0.9rem; }

blockquote.pull {
  border-left: 4px solid var(--green-500);
  background: var(--green-050);
  padding: 1rem 1.3rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--green-900);
  font-weight: 500;
  margin: 1.3rem 0;
}

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin-top: 2rem; position: relative; padding-left: 1.6rem; }

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--green-500), var(--navy-700));
}

.timeline li { position: relative; padding-bottom: 1.6rem; }
.timeline li:last-child { padding-bottom: 0; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -1.6rem;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--green-500);
}

.timeline strong { color: var(--navy-900); display: block; }
.timeline p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Video ---------- */
.video-wrap {
  margin-top: 2rem;
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(600px 300px at 110% -30%, rgba(127, 230, 174, 0.35), transparent 60%),
    linear-gradient(120deg, var(--green-900), var(--green-700));
  color: #fff;
  border-radius: calc(var(--radius) + 8px);
  padding: 2.4rem 1.8rem;
  text-align: center;
}

.cta-band h2 { color: #fff; }
.cta-band p { color: #dff5e8; max-width: 36rem; margin: 0.6rem auto 1.5rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 1.2rem; margin-top: 2.2rem; }

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  text-align: center;
}

.contact-card .icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  background: var(--green-050);
}

.contact-card h3 { color: var(--navy-900); font-size: 1.02rem; margin-bottom: 0.35rem; }
.contact-card p, .contact-card a { font-size: 0.95rem; color: var(--muted); word-break: break-word; }
.contact-card a { color: var(--green-700); font-weight: 600; }

.map-wrap {
  margin-top: 2.2rem;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #c6cdea;
  padding: 3rem 0 1.5rem;
  font-size: 0.93rem;
}

.footer-grid { display: grid; gap: 2rem; }

.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.9rem;
  letter-spacing: 0.03em;
}

.site-footer ul { list-style: none; display: grid; gap: 0.5rem; }
.site-footer a { color: #c6cdea; }
.site-footer a:hover { color: #7fe6ae; }

.footer-brand img { height: 44px; width: auto; }

.footer-brand p { margin-top: 0.9rem; max-width: 26rem; }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 2.2rem;
  padding-top: 1.3rem;
  text-align: center;
  font-size: 0.85rem;
  color: #9aa3c7;
}

/* ---------- Education steps ---------- */
.steps-grid { display: grid; gap: 1.2rem; margin-top: 2.2rem; }

.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  display: block;
  color: var(--ink);
  transition: transform 0.18s, box-shadow 0.18s;
}

.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }

.step-card .num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  background: linear-gradient(130deg, var(--green-700), var(--green-300));
  margin-bottom: 1rem;
}

.step-card h3 { color: var(--navy-900); font-size: 1.05rem; margin-bottom: 0.45rem; }
.step-card p { color: var(--muted); font-size: 0.93rem; }
.step-card .go { display: inline-block; margin-top: 0.8rem; font-weight: 600; color: var(--green-700); font-size: 0.9rem; }

/* ---------- Act facts strip ---------- */
.act-facts { display: grid; gap: 1.2rem; margin-top: 2.2rem; }

.act-fact {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.4rem;
  text-align: center;
}

.act-fact strong { display: block; font-size: 1.7rem; color: #7fe6ae; line-height: 1.2; }
.act-fact span { font-size: 0.88rem; color: #c6cdea; }

.act-note {
  margin-top: 1.6rem;
  text-align: center;
  font-size: 0.85rem;
  color: #9aa3c7;
}
.act-note a { color: #7fe6ae; }

/* ---------- Lead form ---------- */
.lead-wrap {
  display: grid;
  gap: 2rem;
  margin-top: 2.2rem;
  align-items: start;
}

.lead-side h3 { color: var(--navy-900); font-size: 1.25rem; margin-bottom: 0.6rem; }
.lead-side p { color: var(--muted); font-size: 0.96rem; }

.lead-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: 1.8rem;
}

.lead-form .row { display: grid; gap: 1rem; margin-bottom: 1rem; }

.lead-form label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
}

.lead-form label .req { color: #c0392b; }

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(30, 158, 88, 0.15);
  background: #fff;
}

.lead-form textarea { resize: vertical; min-height: 90px; }

.lead-form .btn { width: 100%; justify-content: center; border: 0; }

.form-msg {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 500;
}

.form-msg.ok { display: block; background: var(--green-050); color: var(--green-900); border: 1px solid #cdebd9; }
.form-msg.err { display: block; background: #fdf1f1; color: #a33; border: 1px solid #f2d8d8; }

.form-fineprint { margin-top: 0.9rem; font-size: 0.78rem; color: var(--muted); text-align: center; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.15s;
}

.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Tablet & up
   ============================================================ */
@media (min-width: 640px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
  .compare-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .act-facts { grid-template-columns: repeat(2, 1fr); }
  .lead-form .row.two { grid-template-columns: 1fr 1fr; }
  .brand-name { display: block; }
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }

  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .nav-menu a { padding: 0.5rem 0.9rem; border-radius: 8px; }
  .nav-cta { display: inline-flex; margin-left: 0.6rem; }

  .hero { padding: 5rem 0 4.5rem; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }

  .trust-grid { grid-template-columns: repeat(4, 1fr); text-align: left; }

  .card-grid { grid-template-columns: repeat(3, 1fr); }

  .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .split.rev > .frame { order: 2; }

  .section { padding: 4.8rem 0; }

  .map-wrap { aspect-ratio: 21 / 9; }

  .act-facts { grid-template-columns: repeat(4, 1fr); }
  .lead-wrap { grid-template-columns: 0.9fr 1.1fr; }

  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }

  .cta-band { padding: 3.2rem; }
}
