/* ============================================================
   Disha Academy — Bhiwandi | Bright-Academic-Energetic Theme
   Palette: indigo #3730A3 · sky #EEF2FF · amber #F59E0B · ink #1E1B4B
   Fonts: Poppins (headings) · Nunito Sans (body)
   ============================================================ */

:root {
  --indigo: #3730A3;
  --indigo-dark: #29237e;
  --indigo-soft: #4f46b8;
  --sky: #EEF2FF;
  --amber: #F59E0B;
  --amber-soft: #FDE68A;
  --ink: #1E1B4B;
  --muted: #55518a;
  --white: #ffffff;
  --line: #dfe3f8;
  --wa: #25D366;
  --wa-dark: #1eb658;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 8px 24px rgba(30, 27, 75, 0.09);
  --shadow-lift: 0 16px 36px rgba(30, 27, 75, 0.16);
  --font-head: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Nunito Sans', 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--ink);
}

h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }

p { margin-bottom: 1rem; }
a { color: var(--indigo); }
ul { list-style: none; }
img, svg { vertical-align: middle; }

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

section { padding: 4rem 0; }

.section-sky { background: var(--sky); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.section-head p { color: var(--muted); }

.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--ink);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  transform: rotate(-2deg);
  margin-bottom: 0.9rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }

.btn-whatsapp { background: var(--wa); color: #fff; }
.btn-whatsapp:hover { background: var(--wa-dark); }

.btn-primary { background: var(--indigo); color: #fff; }
.btn-primary:hover { background: var(--indigo-dark); }

.btn-amber { background: var(--amber); color: var(--ink); }

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

.btn-light { background: #fff; color: var(--indigo); }

/* ---------- Badge chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.75rem 0 1.25rem; }
.chip {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--indigo);
  background: var(--sky);
  border: 1.5px solid var(--indigo);
  border-radius: 999px;
  padding: 0.25rem 0.85rem;
}
.chip-amber { color: var(--ink); background: var(--amber-soft); border-color: var(--amber); }

/* ---------- Sticky header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #ffffffee;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.logo-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  transform: rotate(-6deg);
}
.logo-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--ink);
  line-height: 1.1;
}
.logo-name span { display: block; font-size: 0.72rem; font-weight: 600; color: var(--amber); letter-spacing: 0.08em; text-transform: uppercase; }

.main-nav ul { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2.5px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.main-nav a:hover { color: var(--indigo); }
.main-nav a.active { color: var(--indigo); border-bottom-color: var(--amber); }
.main-nav .nav-cta {
  background: var(--indigo);
  color: #fff;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border-bottom: none;
}
.main-nav .nav-cta:hover { background: var(--indigo-dark); color: #fff; }

.hamburger {
  display: none;
  background: none;
  border: 2px solid var(--indigo);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 9px;
}
.hamburger span {
  display: block;
  height: 2.5px;
  background: var(--indigo);
  border-radius: 2px;
  margin: 4.5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Admissions ribbon ---------- */
.ribbon {
  position: sticky;
  top: 72px;
  z-index: 50;
  background: var(--amber);
  color: var(--ink);
  text-align: center;
  padding: 0.55rem 1rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
}
.ribbon a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ribbon svg { margin-right: 0.35rem; }

/* ---------- Hero ---------- */
.hero {
  background: var(--sky);
  padding: 4.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 60px;
  background: var(--amber-soft);
  opacity: 0.55;
  transform: rotate(18deg);
  top: -140px; right: -120px;
}
.hero::after {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 48px;
  background: var(--indigo);
  opacity: 0.08;
  transform: rotate(-14deg);
  bottom: -110px; left: -80px;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 em { font-style: normal; color: var(--indigo); position: relative; }
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 3px;
  height: 10px;
  background: var(--amber-soft);
  z-index: -1;
  transform: rotate(-1deg);
}
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 34rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.6rem; }
.hero-note { font-size: 0.9rem; color: var(--muted); margin-top: 1rem; }

/* ---------- Image placeholders (styled divs) ---------- */
.ph {
  border-radius: var(--radius);
  background: linear-gradient(135deg, #e4e9ff 0%, #f6f8ff 55%, #fdf3dd 100%);
  border: 2px dashed #b9c0ee;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 1rem;
  min-height: 220px;
}
.ph svg { opacity: 0.9; }
.ph-tall { min-height: 320px; }
.ph-tilt { transform: rotate(2deg); box-shadow: var(--shadow); }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem;
  position: relative;
  border-top: 5px solid var(--indigo);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-5px) rotate(-0.4deg); box-shadow: var(--shadow-lift); }
.card.card-amber { border-top-color: var(--amber); }
.card h3 { margin: 0.85rem 0 0.5rem; }
.card p { color: var(--muted); font-size: 0.97rem; margin-bottom: 0.75rem; }
.card .card-link { font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.card .card-link:hover { text-decoration: underline; }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--sky);
  display: flex; align-items: center; justify-content: center;
  transform: rotate(-5deg);
}
.card-amber .card-icon { background: var(--amber-soft); }

/* ---------- Why / feature list ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.feature {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--amber);
}
.feature h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.05rem; margin-bottom: 0.5rem; }
.feature p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- Numbers strip ---------- */
.stats {
  background: var(--indigo);
  color: #fff;
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  font-weight: 700;
  color: var(--amber);
  line-height: 1.1;
}
.stat-label { font-size: 0.98rem; color: #dcd9ff; margin-top: 0.3rem; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.2rem 1.5rem 1.6rem;
  position: relative;
}
.step-num {
  position: absolute;
  top: -22px; left: 1.4rem;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  transform: rotate(-7deg);
  box-shadow: var(--shadow);
}
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--muted); font-size: 0.96rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--indigo) 0%, var(--indigo-dark) 100%);
  border-radius: 26px;
  padding: 3rem 2.5rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 190px; height: 190px;
  background: var(--amber);
  opacity: 0.16;
  border-radius: 40px;
  transform: rotate(24deg);
  top: -70px; left: -50px;
}
.cta-band h2 { color: #fff; margin-bottom: 0.6rem; }
.cta-band p { color: #d6d3f7; max-width: 40rem; margin: 0 auto 1.5rem; }
.cta-band .btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.97rem;
  min-width: 480px;
}
caption {
  caption-side: top;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  padding: 0.9rem 1rem 0.5rem;
  background: #fff;
  color: var(--ink);
}
th, td { padding: 0.8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
thead th {
  background: var(--indigo);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}
tbody tr:nth-child(even) { background: var(--sky); }
tbody tr:last-child td { border-bottom: none; }

/* ---------- Course detail sections ---------- */
.course-block {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.2rem;
  margin-bottom: 2.5rem;
  border-top: 6px solid var(--indigo);
}
.course-block:nth-of-type(even) { border-top-color: var(--amber); }
.course-block-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.course-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 1.25rem 0;
}
.course-cols h3 { font-size: 1.02rem; margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.5rem; }
.tick-list li {
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.97rem;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45em;
  width: 9px; height: 9px;
  background: var(--amber);
  border-radius: 3px;
  transform: rotate(45deg);
}
.fee-note {
  background: var(--sky);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.2rem;
  font-size: 0.95rem;
  color: var(--muted);
  border-left: 4px solid var(--indigo);
  margin: 1.2rem 0;
}
.fee-note strong { color: var(--ink); }

/* ---------- About page ---------- */
.profile-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}
.quote-box {
  background: var(--sky);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  border-left: 5px solid var(--amber);
  font-size: 1.08rem;
  font-style: italic;
  color: var(--ink);
  margin: 1.5rem 0;
}
.quote-box cite { display: block; font-style: normal; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; margin-top: 0.6rem; color: var(--indigo); }

/* ---------- Results page ---------- */
.sample-banner {
  background: var(--amber-soft);
  border: 2px dashed var(--amber);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.3rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  text-align: center;
  margin-bottom: 2rem;
}
.result-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.result-card .tag-sample {
  position: absolute;
  top: 14px; right: -34px;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.2rem 2.6rem;
  transform: rotate(38deg);
}
.result-avatar {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--sky);
  border: 2.5px solid var(--indigo);
  margin: 0 auto 0.9rem;
  display: flex; align-items: center; justify-content: center;
}
.result-score {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--indigo);
}
.result-card h3 { font-size: 1.05rem; margin: 0.2rem 0; }
.result-card p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.form-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  border-top: 6px solid var(--amber);
}
.form-field { margin-bottom: 1.2rem; }
.form-field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--indigo);
}
.map-frame {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.info-card {
  background: var(--sky);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  margin-bottom: 1.5rem;
}
.info-card h3 { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.6rem; }
.info-card p, .info-card li { color: var(--muted); font-size: 0.97rem; }
.info-card a { font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #c9c6ec;
  padding: 3.5rem 0 0;
  margin-top: 4rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.9rem;
}
.site-footer a { color: #c9c6ec; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.site-footer li { margin-bottom: 0.5rem; }
.footer-logo { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.9rem; }
.footer-logo .logo-name { color: #fff; }
.footer-bottom {
  border-top: 1px solid #35316b;
  padding: 1.2rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: #8f8bc0;
}
.footer-bottom a { color: var(--amber); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.18s ease;
}
.wa-float:hover { transform: scale(1.08); background: var(--wa-dark); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--sky);
  padding: 3.2rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 240px; height: 240px;
  border-radius: 48px;
  background: var(--amber-soft);
  opacity: 0.6;
  transform: rotate(20deg);
  top: -100px; right: -70px;
}
.page-hero h1 { position: relative; z-index: 1; }
.page-hero p { position: relative; z-index: 1; color: var(--muted); max-width: 42rem; margin: 0.6rem auto 0; }

/* ---------- Doodle helpers ---------- */
.doodle-star { animation: twinkle 2.6s ease-in-out infinite; transform-origin: center; }
@keyframes twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .profile-grid, .contact-grid { grid-template-columns: 1fr; }
  .course-cols { grid-template-columns: 1fr; gap: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .hamburger { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0;
  }
  .main-nav li { border-bottom: 1px solid var(--sky); }
  .main-nav li:last-child { border-bottom: none; }
  .main-nav a {
    display: block;
    padding: 0.9rem 1.4rem;
    border-bottom: none;
  }
  .main-nav .nav-cta { margin: 0.7rem 1.4rem; text-align: center; border-radius: var(--radius-sm); }
  .ribbon { top: 72px; font-size: 0.85rem; }
  section { padding: 3rem 0; }
  .cta-band { padding: 2.4rem 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

/* ---------- Vide Web Co. scroll reveals ---------- */
@media (prefers-reduced-motion:no-preference){
  html.vw-anim .vw-reveal{
    opacity:0;transform:translateY(26px);
    transition:opacity .7s cubic-bezier(.16,1,.3,1),transform .7s cubic-bezier(.16,1,.3,1);
  }
  html.vw-anim .vw-reveal.vw-in{opacity:1;transform:none}
}
