:root {
  --rose: #e11d48;
  --rose-dark: #be123c;
  --rose-light: #fdf2f8;
  --text: #1f2328;
  --muted: #6b7280;
  --bg: #f8fafc;
  --border: #eee;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

/* ===== Nav ===== */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
nav .logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--rose);
  letter-spacing: 0.3px;
}
nav .nav-links {
  display: flex;
  gap: 0.5rem;
}
nav .nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
nav .nav-links a:hover {
  background: #f87171;
  color: #fff;
}
nav .nav-links a.active {
  background: var(--rose);
  color: #fff;
}

/* Inter has no Devanagari glyphs, so the Hindi pages layer Noto Sans
   Devanagari in front of it. font-family inherits, and body is the only
   place it's declared, so this one rule covers the whole page. */
body.lang-hi {
  font-family: 'Noto Sans Devanagari', 'Inter', Arial, sans-serif;
}

/* ===== Language switch ===== */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: 0.5rem;
  padding-left: 0.6rem;
  border-left: 1px solid var(--border);
}
.lang-switch a {
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 0.2s, color 0.2s;
}
.lang-switch a:hover {
  background: var(--rose-light);
  color: var(--rose);
}
.lang-switch a.is-current {
  background: var(--rose-light);
  color: var(--rose);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.98rem;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.btn-primary {
  background: var(--rose);
  color: #fff;
}
.btn-primary:hover {
  background: var(--rose-dark);
}
.btn-outline {
  background: #fff;
  color: var(--rose);
  border: 2px solid var(--rose);
}
.btn-outline:hover {
  background: var(--rose-light);
}

/* ===== Home hero ===== */
.hero {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem 2rem;
}
.hero-text {
  flex: 1;
  min-width: 280px;
}
.kicker {
  color: var(--rose);
  font-weight: 600;
  letter-spacing: 0.4px;
  margin: 0 0 0.6rem 0;
  font-size: 0.95rem;
}
.hero h1 {
  font-size: 2.4rem;
  line-height: 1.2;
  margin: 0 0 1rem 0;
}
.hero-sub {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 1.8rem;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-image {
  flex: 1;
  min-width: 280px;
}
.slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(225, 29, 72, 0.15);
  background: var(--bg);
}
.slideshow .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.9s ease-in-out;
}
.slideshow .slide.is-active {
  opacity: 1;
  z-index: 1;
}

.slideshow-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.9rem;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  z-index: 3;
}
.slideshow-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.slideshow-dots button:hover {
  background: rgba(255, 255, 255, 0.85);
}
.slideshow-dots button.is-current {
  background: #fff;
  transform: scale(1.35);
}

/* Honour reduced motion: swap instantly instead of cross-fading,
   but keep showing every photo rather than freezing on the first. */
@media (prefers-reduced-motion: reduce) {
  .slideshow .slide {
    transition: none;
  }
}

/* ===== Highlights ===== */
.highlights {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem 4rem 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.highlight-card {
  background: var(--bg);
  border-radius: 12px;
  padding: 1.6rem;
}
.highlight-card h3 {
  color: var(--rose);
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}
.highlight-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

/* ===== About teaser (home) ===== */
.about-teaser {
  background: var(--bg);
  padding: 3.5rem 2rem;
}
.about-teaser-text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.about-teaser-text h2 {
  color: var(--rose);
  margin-top: 0;
}
.about-teaser-text p {
  color: var(--muted);
}
.link-arrow {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--rose);
  font-weight: 600;
  text-decoration: none;
}
.link-arrow:hover {
  text-decoration: underline;
}

/* ===== CTA band ===== */
.cta-band {
  text-align: center;
  padding: 4rem 2rem;
}
.cta-band h2 {
  margin: 0 0 0.5rem 0;
}
.cta-band p {
  color: var(--muted);
  margin: 0 0 1.5rem 0;
}

/* ===== Footer ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
footer .footer-links {
  margin-top: 0.6rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
footer .footer-links a {
  text-decoration: none;
  color: var(--muted);
}
footer .footer-links a:hover {
  color: var(--rose);
}

/* ===== Simple page hero (About / Classes / Contact) ===== */
.page-hero {
  text-align: center;
  padding: 3rem 1.5rem 1rem 1.5rem;
}
.page-hero h1 {
  color: var(--rose);
  margin-bottom: 0.4rem;
}
.page-hero p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
}

/* ===== Teacher page ===== */
.teacher-name {
  color: var(--rose);
  font-size: 1.85rem;
  margin: 0 0 0.4rem 0;
  text-align: center;
}
.credentials {
  color: var(--muted);
  font-size: 0.97rem;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1.5rem;
}

.section-block {
  max-width: 820px;
  margin: 2.6rem auto 0 auto;
  padding: 0 1.5rem;
}
.section-block h2 {
  color: var(--rose);
  font-size: 1.25rem;
  margin: 0 0 1rem 0;
}
.section-block p {
  color: var(--muted);
  margin: 0 0 1rem 0;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.cert-grid li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: var(--rose-light);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}
.cert-grid li::before {
  content: "\2713";
  color: var(--rose);
  font-weight: 700;
  flex-shrink: 0;
}

.mantra {
  margin: 1.2rem 0 0 0;
  padding: 1.1rem 1.3rem;
  border-left: 3px solid var(--rose);
  background: var(--bg);
  border-radius: 0 10px 10px 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.9;
  color: var(--text);
}

/* Collapsed by default so the certifications above stay the focus. */
.reveal details {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.reveal summary {
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-weight: 600;
  color: var(--rose);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.reveal summary::-webkit-details-marker {
  display: none;
}
.reveal summary::after {
  content: "+";
  font-size: 1.35rem;
  line-height: 1;
}
.reveal details[open] summary::after {
  content: "\2013";
}
.reveal summary:hover {
  background: var(--rose-light);
}
.reveal .reveal-body {
  padding: 0 1.2rem 1.2rem 1.2rem;
  color: var(--muted);
}
.reveal .reveal-body p {
  margin: 0 0 1rem 0;
}
.reveal .reveal-body p:last-child {
  margin-bottom: 0;
}

/* ===== About page ===== */
.story {
  max-width: 720px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  color: var(--text);
  font-size: 1.05rem;
}
.story p {
  margin-bottom: 1.2rem;
}
.gallery {
  max-width: 1000px;
  margin: 1rem auto 4rem auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.gallery img {
  border-radius: 14px;
  width: 100%;
  height: 340px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* ===== Classes page ===== */
.classes-grid {
  max-width: 1000px;
  margin: 1rem auto 4rem auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.class-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.6rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}
.class-card h3 {
  margin: 0 0 0.6rem 0;
  font-size: 1.15rem;
}
.class-card p {
  color: var(--muted);
  margin: 0 0 1.1rem 0;
}
.class-card .class-note {
  color: var(--rose);
  font-style: italic;
  font-size: 0.9rem;
  margin-top: -0.4rem;
}
.class-card .btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

/* ===== Contact page ===== */
.contact-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.5rem 4rem 1.5rem;
}
.contact-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(225, 29, 72, 0.08);
  padding: 1.75rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border);
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0.5rem;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}
.contact-row:hover {
  background: var(--rose-light);
}
.contact-row + .contact-row {
  border-top: 1px solid #f1f1f1;
}
.icon-circle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--rose-light);
}
.icon-circle svg {
  width: 22px;
  height: 22px;
  fill: var(--rose);
}
.contact-text {
  text-align: left;
}
.contact-label {
  display: block;
  font-weight: 600;
  color: #111;
  font-size: 1rem;
}
.contact-value {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.1rem;
}
.socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
.insta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--rose);
  border-radius: 50%;
  transition: box-shadow 0.2s, background 0.2s;
  background: #fff;
}
.insta-icon:hover {
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.13);
  background: var(--rose-light);
}
.insta-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--rose);
}

/* ===== Testimonials page ===== */
/* Written testimonials on the left, the WhatsApp screenshot collage on the
   right. The right column is fixed-width because the screenshots are all
   738x1600 phone captures and shouldn't stretch. */
.testimonials-layout {
  max-width: 1050px;
  margin: 1.5rem auto 4rem auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
}
.column-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rose);
  margin: 0 0 1rem 0;
}
.testimonials-words {
  display: grid;
  gap: 1.4rem;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.6rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 1rem;
}
.testimonial-avatar {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--rose-light);
}
.testimonial-avatar-fallback {
  display: none;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--rose-light);
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.testimonial-quote {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  font-style: italic;
}
.testimonial-name {
  display: block;
  margin-top: 0.6rem;
  font-style: normal;
  font-weight: 600;
  color: var(--rose);
  font-size: 0.9rem;
}

/* WhatsApp screenshot collage — same crossfade idea as the home slideshow,
   but the frame matches the 738x1388 screenshots so nothing gets cropped. */
.shots-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 738 / 1388;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  background: #0f1512;
}
.shots-frame .shot {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.9s ease-in-out;
  display: block;
}
.shots-frame .shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.shots-frame .shot.is-active {
  opacity: 1;
  z-index: 1;
}
.shots-hint {
  margin: 0.7rem 0 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}

/* ===== Responsive ===== */
@media (max-width: 800px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 2.5rem;
  }
  .hero-cta {
    justify-content: center;
  }
  .highlights {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .classes-grid {
    grid-template-columns: 1fr;
  }
  .cert-grid {
    grid-template-columns: 1fr;
  }
  /* Stack the two columns, and stop the tall phone screenshot from
     filling the whole screen once it has the full width to grow into. */
  .testimonials-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .testimonials-shots {
    max-width: 300px;
    margin: 0 auto;
    width: 100%;
  }
}
@media (max-width: 600px) {
  nav {
    padding: 1rem;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    text-align: center;
  }
  /* Five nav items don't fit one phone-width row, so let them wrap
     instead of running off both edges of the screen. */
  nav .nav-links {
    gap: 0.2rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  nav .nav-links a {
    padding: 0.45rem 0.7rem;
  }
  /* The divider only reads correctly on one unbroken row. */
  .lang-switch {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
}
