/* ============================================
   Art of Living Happiness Center - Indiranagar

   Light, airy, unhurried. The tokens below are the
   whole system — if a value isn't here it probably
   shouldn't be used.

   Every foreground/background pair in this file was
   checked against WCAG AA (4.5:1). Lowest pair on the
   page is 4.97:1. If you add a colour, check it.
   ============================================ */

/* ---- Fonts ----
   Self-hosted, latin subset only. Both families are variable fonts, so a
   single file covers 400-600 per family: 3 files, 112KB, instead of the 14
   Google would hand over.

   Self-hosting is a real win now rather than a preference: browsers partition
   their HTTP cache per site, so the old "every visitor already has Google's
   copy cached" argument no longer holds, and this removes two render-blocking
   round-trips to third-party origins along with the privacy exposure.

   → and ★ sit outside the latin subset and fall back to the system font,
   exactly as they did before. */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/lora-var-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lora-var-italic-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-var-latin.woff2') format('woff2');
}

:root {
  /* --- Ground ---
     Sand, not white. A dead-white page reads clinical; a warm off-white
     reads like paper and daylight. */
  --sand: #FAF7F2;
  --sand-deep: #F2EDE4;
  --paper: #FFFFFF;
  --line: #E4DDD2;

  /* --- Ink --- */
  --ink: #2E2A26;
  --ink-soft: #5C564E;

  /* --- Accent ---
     Clay is the official logo's sun orange (#f37021) darkened until it
     passes AA: same hue family, 5.5:1 on white where the brand orange itself
     manages only 2.94:1. The logo keeps its real colour; the UI uses this
     accessible relative of it. Sage is the counterweight. */
  --clay: #A84812;
  --clay-hover: #883A0C;
  --clay-tint: #FAEAE0;
  --sage: #3F5147;
  --sage-tint: #E9EFE9;
  --danger: #A02222;

  /* --- Type --- 6 steps */
  --font-heading: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --fs-xs: 0.78rem;
  --fs-sm: 0.9rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.625rem;
  --fs-title: clamp(1.875rem, 4vw, 2.75rem);
  --fs-display: clamp(2.5rem, 6.5vw, 4.25rem);

  /* --- Shape --- deliberately soft and shallow. No pill buttons: a pill
     is a "buy now" shape. */
  --r-sm: 6px;
  --r: 12px;


  /* Slow and few. Named properties, never `all`. */
  --transition: background-color 0.2s ease, color 0.2s ease,
                border-color 0.2s ease, opacity 0.2s ease;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--ink-soft);
  background: var(--sand);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* height: auto is load-bearing. Images carry width/height attributes to
   reserve their space, but with only max-width set the attribute height stays
   in force while the width shrinks — the picture stretches. */
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.25;
  text-wrap: balance;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}
/* ---- Icons ----
   One inline sprite in the markup, drawn as simple geometry: circles, arcs,
   petals. Replaces 27 emoji that rendered differently on every OS and read
   consumer-app rather than 45-year-old teaching institution. */
.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ---- Accessibility ---- */
:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--clay);
  color: var(--paper);
  padding: 10px 18px;
  font-weight: 600;
  z-index: 2000;
}
.skip-link:focus { left: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.3px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-align: center;
}
.btn-primary { background: var(--clay); color: var(--paper); }
.btn-primary:hover { background: var(--clay-hover); }
.btn-outline {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover { border-color: var(--clay); color: var(--clay); }
.btn-white { background: var(--paper); color: var(--clay); }
.btn-white:hover { background: var(--clay-tint); }
.btn-sm { padding: 10px 20px; }
.btn-lg { padding: 15px 30px; font-size: var(--fs-base); }
.btn-block { width: 100%; }

/* ---- Navbar ----
   Dark type on a light ground from the first pixel — no colour inversion on
   scroll, which is what the old `.scrolled` rules and their !important pile
   existed to manage. */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: transparent;
  transition: var(--transition), padding 0.2s ease;
}
.navbar.scrolled {
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
/* Official logo. Height-driven, so the 2.55:1 lockup keeps its ratio. */
.logo-mark { width: auto; }
.nav-logo .logo-mark { height: 3rem; }
.footer-col .logo-mark { height: 2.1rem; margin-bottom: 14px; }
/* The logo already reads "THE ART OF LIVING", so the only text the lockup
   needs is the locality, set off by a rule. */
.logo-text {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-left: 14px;
  border-left: 1px solid var(--line);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  padding: 8px 14px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--r-sm);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--clay); background: var(--clay-tint); }
.nav-cta { margin-left: 10px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 24px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ---- Hero ----
   No forced 100svh, no dark slab, no scroll-hint mouse. The height comes
   from the content plus generous padding, which also removes the old
   `100vh`-past-the-mobile-chrome bug by deletion rather than by patch. */
.hero {
  position: relative;
  padding: 200px 0 140px;
  text-align: center;
  overflow: hidden;
}
.hero-content { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.hero-subtitle {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: var(--fs-display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 28px;
}
.hero-title .highlight { color: var(--clay); font-style: italic; }
.hero-text {
  font-size: var(--fs-md);
  text-wrap: balance;
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.85;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Stats sit on hairlines, and no longer count up on scroll — an animated
   number is an attention-grab, which is the opposite of the offer. */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 80px auto 0;
  max-width: 720px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { flex: 1; padding: 28px 12px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-number {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 500;
  color: var(--ink);
}
.stat p {
  font-size: var(--fs-xs);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 6px;
}

/* ---- Photographs ----
   A real <img>, not a CSS background: the photo is content — it shows the
   actual room and a real class — so it needs alt text and should be
   indexable. The width/height attributes in the markup reserve its space so
   nothing shifts while it loads.

   3:2 is the file's native ratio, so nothing is cropped. Keep any replacement
   landscape; a portrait slot here would cut the room in half. */
.about-media img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: var(--r);
}

/* ---- Sections ---- */
.section { padding: 120px 0; }
.section-header {
  max-width: 620px;
  margin: 0 auto 72px;
  text-align: center;
}
/* A quiet lettered label, not a coloured pill badge. */
.section-tag {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-title);
  font-weight: 500;
  letter-spacing: -0.3px;
  margin-bottom: 18px;
}
.section-subtitle { font-size: var(--fs-md); text-wrap: balance; }

/* Flush-left variant, so the page has a pulse instead of a beat. Five
   identically centred openings in a row was the most monotonous thing left
   about the layout — and About, the only asymmetric section, was already the
   best-looking one. The rule is content-shaped rather than arbitrary:
   sections that present a LIST (Courses, Upcoming, Contact details) open
   flush-left; sections that make a STATEMENT (Why Us, Testimonials, the CTA
   band) stay centred. */
.section-header.align-left {
  max-width: none;
  text-align: left;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0 64px;
  align-items: end;
  margin-bottom: 56px;
}
.section-header.align-left .section-tag { grid-area: 1 / 1; }
.section-header.align-left .section-title { grid-area: 2 / 1; margin-bottom: 0; }
.section-header.align-left .section-subtitle { grid-area: 2 / 2; }

/* ---- About ---- */
.about { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-text p { margin-bottom: 22px; }
.about-text strong { color: var(--sage); font-weight: 600; }
.about-features {
  margin-top: 36px;
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.about-features li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: var(--fs-sm);
  color: var(--ink);
}
.about-features li::before {
  content: '—';
  color: var(--clay);
  flex-shrink: 0;
}

/* ---- Courses ----
   A hairline list, not a card grid. Three reasons the grid was wrong here:
   two of the three categories hold only two courses, so a 3-up grid left a
   third of every row empty; the tall cards made the section enormous for
   seven items; and "Upcoming Programs" below is already a hairline list, so
   the two sections that both offer things to sign up for now share one
   language instead of arguing. Rows are full-width by definition — there is
   no ragged-edge case left to design around. */
.courses { background: var(--sand); }
.courses-grid {
  display: flex;
  flex-direction: column;
  gap: 76px;
}
.category-header {
  margin-bottom: 0;
  padding-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 32px;
}
.category-header h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 500;
  color: var(--sage);
}
.category-header p { font-size: var(--fs-sm); }
.category-grid { border-top: 1px solid var(--line); }

/* The whole row is the link, so the target is the full width rather than a
   four-word tail. aria-label keeps the announced name short — without it a
   screen reader would read the title, tag, description and CTA as one name. */
.course-row {
  display: grid;
  grid-template-columns: 2rem 1fr 1.6fr auto;
  gap: 6px 28px;
  align-items: start;
  padding: 28px 4px;
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}
.course-row:hover { background: var(--paper); }
/* line-height: 1 matters — an inline <svg> in a box inheriting the body's
   1.75 line-height gets ~30px of phantom space beneath it. */
.course-icon {
  font-size: 1.75rem;
  line-height: 1;
  color: var(--clay);
  margin-top: 2px;
}
.course-head h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 500;
  margin-bottom: 6px;
}
.course-tag {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
/* Two tones, both drawn from the page palette. The old five tag colours
   (green/orange/blue/purple/red) put nine competing hues on one screen. */
.tag-accent { color: var(--clay); }
.tag-calm { color: var(--sage); }
.course-desc { font-size: var(--fs-sm); }
/* Its own column at the right edge rather than a line under each description:
   seven identical calls-to-action stacked beneath seven paragraphs read as
   seven restatements, but aligned in a column they read as one affordance. */
.course-cta {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clay);
  white-space: nowrap;
  transition: var(--transition);
}
.course-row:hover .course-cta { color: var(--clay-hover); }

/* ---- Upcoming Programs ---- */
.upcoming { background: var(--paper); }
.upcoming-list {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.upcoming-card {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 28px 4px;
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}
.upcoming-date {
  flex-shrink: 0;
  width: 62px;
  text-align: center;
}
.upcoming-date .day {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
}
.upcoming-date .month {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clay);
}
.upcoming-info { flex: 1; }
.upcoming-info h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 500;
  margin-bottom: 4px;
}
.upcoming-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 20px;
  font-size: var(--fs-sm);
}
/* Plain type. This used to be red bold with a flame emoji — manufactured
   urgency on a page about not being anxious. */
.seats-left { color: var(--ink-soft); }

/* ---- Why Us ---- */
.why-us { background: var(--sage-tint); }
/* Explicit column counts, not auto-fill: there are exactly four cards, and
   auto-fill drops a lone orphan onto a second row at tablet widths. */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 40px;
}
.why-card { text-align: left; }
.why-icon {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--sage);
  margin-bottom: 20px;
}
.why-card h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 500;
  margin-bottom: 12px;
}
.why-card p { font-size: var(--fs-sm); }

/* ---- Testimonials ---- */
.testimonials { background: var(--sand); }
.testimonial-slider {
  max-width: 720px;
  margin: 0 auto;
  min-height: 240px;
}
.testimonial-slide { display: none; text-align: center; }
.testimonial-slide.active { display: block; }
.testimonial-quote {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 28px;
}
.testimonial-author { font-weight: 600; color: var(--ink); }
.testimonial-role { font-size: var(--fs-sm); }
.testimonial-stars {
  color: var(--clay);
  font-size: var(--fs-sm);
  letter-spacing: 4px;
  margin-bottom: 24px;
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-top: 32px;
}
/* 44px touch target around a 7px mark. Manual only — the carousel no longer
   advances itself every 5 seconds. */
.slider-dot {
  width: 44px; height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  display: grid;
  place-items: center;
}
.slider-dot::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--line);
  transition: var(--transition);
}
.slider-dot.active::before { background: var(--clay); }

/* ---- CTA Banner ----
   The one saturated moment on the page. Flat colour, no gradient. */
.cta-banner {
  background: var(--clay);
  padding: 110px 0;
  text-align: center;
}
.cta-content h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-title);
  font-weight: 500;
  color: var(--paper);
  margin-bottom: 18px;
}
.cta-content p {
  color: rgba(255,255,255,0.88);
  font-size: var(--fs-md);
  margin-bottom: 36px;
}

/* ---- Contact ---- */
.contact { background: var(--paper); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: start;
}
/* Two details side by side under a single rule. The old version stacked them
   as full-width rows, which meant three horizontal rules for two facts. */
.contact-details {
  display: grid;
  /* max-content, not auto: with `auto` the track collapsed under pressure from
     the long email beside it and broke "+91 99863 47648" across two lines,
     underline and all. */
  grid-template-columns: max-content 1fr;
  gap: 12px 48px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-bottom: 32px;
}
.contact-details dt {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 5px;
}
/* Values in ink, not clay. Clay labels plus clay values put the accent colour
   on every line of the column; the hairline carries the "this is a link" job. */
.contact-details a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}
.contact-details a:hover { color: var(--clay); border-bottom-color: var(--clay); }
/* 3:2, matching the About photograph, so the page's two images agree. */
.contact-map {
  display: block;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: var(--transition);
}
.contact-map:hover { border-color: var(--clay); }
.contact-map img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }
.contact-map-label {
  display: block;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line);
}
.contact-map-address {
  display: block;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.contact-map-cta {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clay);
  transition: var(--transition);
}
.contact-map:hover .contact-map-cta { color: var(--clay-hover); }

.social-links { display: flex; gap: 10px; margin-top: 32px; }
.social-links a {
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  transition: var(--transition);
}
.social-links a:hover { border-color: var(--clay); color: var(--clay); }

/* Fill, no border. On a white section the sand is separation enough, and the
   column beside it is now built from hairlines — one less box edge. */
.contact-form {
  background: var(--sand);
  border-radius: var(--r);
  padding: 44px;
}
.contact-form h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 500;
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 7px;
  color: var(--ink);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  transition: var(--transition);
  background: var(--paper);
  color: var(--ink);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(168,72,18,0.14);
}
.form-group textarea { resize: vertical; }
.form-note {
  margin-top: 14px;
  font-size: var(--fs-sm);
  font-weight: 600;
  text-align: center;
  min-height: 22px;
}
.form-note.success { color: var(--sage); }
.form-note.error { color: var(--danger); }

/* ---- Footer ----
   Sand, not a black slab. A dark footer would undo the airiness three
   screens of careful whitespace just built. */
.footer {
  background: var(--sand-deep);
  border-top: 1px solid var(--line);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: 600;
  margin-bottom: 18px;
}
.footer-col h4 small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.footer-col p { font-size: var(--fs-sm); }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a {
  font-size: var(--fs-sm);
  transition: var(--transition);
}
/* No padding shift on hover — animating layout makes the list twitch as the
   pointer crosses it. */
.footer-col ul a:hover { color: var(--clay); }
.footer-map-link { color: var(--clay); font-weight: 600; }
.footer-map-link:hover { color: var(--clay-hover); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  text-align: center;
  font-size: var(--fs-xs);
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

/* The drawer takes over at 1000px, not 768. Between those widths the logo,
   the locality label, six links and the CTA all wanted about 960px and
   overlapped instead: "INDIRANAGAR" sat underneath "Home", and "Enrol Now"
   broke onto two lines. */
@media (max-width: 1000px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero { padding: 160px 0 110px; }
  /* Description drops under the title rather than beside it, staying aligned
     to the text column so the icon keeps its own gutter. Four columns get
     cramped below this width. */
  .course-row { grid-template-columns: 2rem 1fr; gap: 6px 24px; padding: 26px 4px; }
  .course-desc, .course-cta { grid-column: 2; }
  .course-desc { margin-top: 4px; }
  .course-cta { margin-top: 10px; }
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 270px;
    height: 100svh;
    background: var(--sand);
    border-left: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 96px 24px 30px;
    gap: 2px;
    transition: right 0.3s ease;
  }
  .nav-menu.open { right: 0; }
  .nav-menu .nav-link { padding: 13px 16px; }
  .nav-menu .nav-cta { margin: 14px 0 0; }
  .hamburger { display: flex; z-index: 1001; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .section-header { margin-bottom: 52px; }
  /* one column, and the subtitle drops below the title */
  .section-header.align-left { grid-template-columns: 1fr; gap: 14px; margin-bottom: 44px; }
  .section-header.align-left .section-title { grid-area: auto; }
  .section-header.align-left .section-subtitle { grid-area: auto; }
  .section-header.align-left .section-tag { grid-area: auto; }
  .courses-grid { gap: 56px; }
  .why-grid { gap: 40px 32px; }
  .form-row { grid-template-columns: 1fr; }
  .nav-logo .logo-mark { height: 1.9rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 130px 0 80px; }
  .hero-stats { margin-top: 56px; }
  .stat { padding: 20px 8px; }
  .contact-form { padding: 28px; }
}

@media (max-width: 640px) {
  .why-grid { grid-template-columns: 1fr; }
  /* phone + long email side by side overflow this narrow */
  .contact-details { grid-template-columns: 1fr; gap: 18px; }
  .course-row { grid-template-columns: 1fr; }
  .course-desc, .course-cta { grid-column: 1; }
  .hero-stats { flex-direction: column; }
  .stat + .stat { border-left: none; border-top: 1px solid var(--line); }
  .upcoming-card { flex-direction: column; align-items: flex-start; gap: 18px; }
  .upcoming-card .btn { width: 100%; }
  .category-header { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: stretch; }
}
