/* =========================================================================
   Excellence School Bhopal — Design System
   Forest green + heritage gold, Playfair Display + Plus Jakarta Sans
   ========================================================================= */

:root {
  /* Greens */
  --green-900: #07321f;
  --green-800: #0b4429;
  --green-700: #11603c;
  --green-600: #19764c;
  --green-500: #2a8a5e;

  /* Gold */
  --gold-700: #a37d1b;
  --gold-600: #b8901f;
  --gold-500: #c9a23a;
  --gold-400: #dcc068;
  --gold-300: #ecd9a0;

  /* Neutrals */
  --ivory: #f8f5ec;
  --cream: #fcfaf4;
  --paper: #ffffff;
  --ink: #16201a;
  --muted: #5c6b60;
  --line: rgba(17, 96, 60, 0.14);
  --line-soft: rgba(17, 96, 60, 0.08);

  --shadow-sm: 0 2px 10px rgba(11, 68, 41, 0.06);
  --shadow-md: 0 14px 40px -18px rgba(11, 68, 41, 0.30);
  --shadow-lg: 0 40px 90px -40px rgba(7, 50, 31, 0.45);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;

  --container: 1200px;
  --ff-display: "Playfair Display", Georgia, serif;
  --ff-body: "Plus Jakarta Sans", "Hind", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--ivory);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--green-900);
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

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

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-700);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before,
.eyebrow.center::after {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold-500);
}
.eyebrow.center { justify-content: center; }
.eyebrow.light { color: var(--gold-300); }
.eyebrow.light::before, .eyebrow.light.center::after { background: var(--gold-400); }

/* ---------- Section heads ---------- */
.section { padding: clamp(48px, 7vw, 100px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(34px, 5vw, 54px);
  margin-top: 18px;
}
.section-head p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: scale(1.04); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  color: var(--green-900);
  box-shadow: 0 10px 26px -12px rgba(168, 130, 24, 0.8);
}
.btn-gold:hover { box-shadow: 0 16px 34px -12px rgba(168, 130, 24, 0.9); }
.btn-green { background: var(--green-700); color: #fff; }
.btn-green:hover { background: var(--green-800); }
.btn-outline { border-color: var(--green-700); color: var(--green-800); background: transparent; }
.btn-outline:hover { background: var(--green-700); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.06); }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); }
.btn-arrow::after { content: "→"; font-size: 16px; }

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .28s cubic-bezier(.16,1,.3,1), box-shadow .28s ease, border-color .28s ease;
}
.card:hover { transform: translateY(-8px) scale(1.012); box-shadow: var(--shadow-md); border-color: rgba(201,162,58,.4); }

/* ---------- Image placeholder (for design preview only) ---------- */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(17,96,60,.05) 0 11px, rgba(17,96,60,.09) 11px 22px),
    var(--cream);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--green-700);
}
.ph::after {
  content: attr(data-label);
  font-family: "Courier New", monospace;
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(17,96,60,.6);
  background: rgba(248,245,236,.85);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.ph.dark {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 11px, rgba(255,255,255,.08) 11px 22px),
    var(--green-800);
}
.ph.dark::after { color: var(--gold-300); background: rgba(7,50,31,.5); border-color: rgba(220,192,104,.3); }

/* ---------- Crest seal ---------- */
.crest { border-radius: 50%; object-fit: cover; background: var(--green-900); }

/* ---------- Stat ---------- */
.stat-num {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(44px, 6vw, 66px);
  line-height: 1;
  color: var(--green-700);
}
.stat-num .suffix { color: var(--gold-600); }
.stat-label { margin-top: 8px; color: var(--muted); font-weight: 500; font-size: 15px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Divider with diamond ---------- */
.rule-diamond { display: flex; align-items: center; gap: 14px; color: var(--gold-500); }
.rule-diamond::before, .rule-diamond::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.diamond { width: 9px; height: 9px; background: var(--gold-500); transform: rotate(45deg); }

/* ---------- Utility ---------- */
.grid { display: grid; gap: 26px; }
.muted { color: var(--muted); }
.gold-text { color: var(--gold-600); }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(17,96,60,.07);
  color: var(--green-700);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.pill.gold { background: rgba(201,162,58,.12); color: var(--gold-700); border-color: rgba(201,162,58,.3); }
a.pill.gold:hover { background: rgba(201,162,58,.22); border-color: rgba(201,162,58,.5); }

/* ---------- Footer ---------- */
.footer { background: var(--green-900); color: rgba(255,255,255,.74); }
.footer a { color: rgba(255,255,255,.74); }
.footer a:hover { color: var(--gold-300); }
.footer h4 {
  color: #fff;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-widgets {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px;
  margin-top: 44px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.12);
}
.footer-widget { min-width: 0; }
.footer-widget img, .footer-widget iframe, .footer-widget table { max-width: 100%; }
.footer-widget a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); }

/* Events Calendar widget on the dark footer background */
.footer-widget .tribe-events-widget,
.footer-widget .tribe-common {
  background: transparent; color: rgba(255,255,255,.74); --tribe-common-font-family: var(--ff-body);
}
.footer-widget .tribe-events-widget-events-list__header-title,
.footer-widget .tribe-events-widget a,
.footer-widget .tribe-events-widget h1,
.footer-widget .tribe-events-widget h2,
.footer-widget .tribe-events-widget h3 { color: #fff; }
.footer-widget .tribe-events-widget a:hover { color: var(--gold-300); }
.footer-widget .tribe-events-c-messages__message,
.footer-widget .tribe-events-c-messages__message-text,
.footer-widget .tribe-events-calendar-list__event-date-tag,
.footer-widget .tribe-events-calendar-list__event-title,
.footer-widget .tribe-events-calendar-list__event-datetime { color: rgba(255,255,255,.74); }
.footer-widget .tribe-common-c-svgicon { fill: rgba(255,255,255,.5); stroke: rgba(255,255,255,.5); }
.footer-widget .tribe-events-widget-events-list__event { border-color: rgba(255,255,255,.12); }
/* Events List widget (footer) — explicit contrast on dark bg */
.footer-widget .tribe-events-widget-events-list__event-title,
.footer-widget .tribe-events-widget-events-list__event-title a,
.footer-widget .tribe-events-widget-events-list__event-date-tag-daynum { color: #fff; }
.footer-widget .tribe-events-widget-events-list__event-title a:hover { color: var(--gold-300); }
.footer-widget .tribe-events-widget-events-list__event-date-tag-month,
.footer-widget .tribe-events-widget-events-list__event-datetime,
.footer-widget .tribe-events-widget-events-list__event-datetime-wrapper { color: var(--gold-300); }
.footer-widget .tribe-events-widget-events-list__event-row { border-color: rgba(255,255,255,.12); }
.footer-widget .tribe-events-widget-events-list__view-more-link { color: var(--gold-300); font-weight: 600; }

/* Custom footer events mini-calendar */
.esb-cal { max-width: 320px; }
.esb-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.esb-cal-title { font-family: var(--ff-display); font-size: 18px; color: #fff; font-weight: 600; }
.esb-cal-nav {
  width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px; color: rgba(255,255,255,.75); font-size: 20px; line-height: 1;
  text-decoration: none; transition: background-color .15s ease, color .15s ease;
}
.esb-cal-nav:hover { background: rgba(255,255,255,.1); color: var(--gold-300); }
.esb-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.esb-cal-wd {
  text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  color: rgba(255,255,255,.4); padding-bottom: 6px; text-transform: uppercase;
}
.esb-cal-day {
  aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: rgba(255,255,255,.55); border-radius: 6px; text-decoration: none;
}
.esb-cal-day.esb-cal-empty { visibility: hidden; }
.esb-cal-day.esb-cal-has {
  color: var(--green-900); background: var(--gold-400); font-weight: 700;
  transition: background-color .15s ease, transform .15s ease;
}
.esb-cal-day.esb-cal-has:hover { background: var(--gold-300); transform: translateY(-1px); }
.esb-cal-more {
  display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 600;
  color: var(--gold-300); text-decoration: none;
}
.esb-cal-more:hover { color: #fff; }
.footer-rule { height: 1px; background: rgba(255,255,255,.12); margin: 44px 0 28px; }
.social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, transform .2s;
}
.social:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--green-900); transform: translateY(-3px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--green-900);
  color: rgba(255,255,255,.82);
  font-size: 13px;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 42px; gap: 20px;
}
.topbar a { color: rgba(255,255,255,.82); }
.topbar a:hover { color: var(--gold-300); }
.topbar .tb-left { display: flex; gap: 22px; align-items: center; }
.topbar .tb-right { display: flex; gap: 16px; align-items: center; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold-500); }

/* ---------- Site header ---------- */
.siteheader {
  position: sticky; top: 0; z-index: 60;
  background: rgba(248,245,236,.88);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
.siteheader.scrolled { box-shadow: var(--shadow-sm); background: rgba(248,245,236,.96); }
.siteheader .container { display: flex; align-items: center; gap: 24px; height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.brand img { width: 54px; height: 54px; }
.brand-text { display: block; }
.brand .bn1 {
  display: block;
  font-family: var(--ff-display); font-weight: 700; font-size: 21px;
  color: var(--green-900); line-height: 1.15; letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand .bn2 {
  display: block;
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-700); font-weight: 600; line-height: 1; margin-top: 4px;
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 15px; font-weight: 500; color: var(--green-900);
  position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold-500); transition: width .22s cubic-bezier(.16,1,.3,1);
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--green-700); }

/* ---------- Nav dropdowns (desktop) ---------- */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { display: flex; align-items: center; gap: 7px; }
.nav-caret {
  width: 7px; height: 7px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s ease;
}
.nav-dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translate(-50%, 8px);
  min-width: 230px; background: var(--paper); border-radius: 14px;
  border-top: 16px solid var(--paper);
  box-shadow: 0 18px 48px rgba(7,50,31,.16), 0 2px 10px rgba(7,50,31,.06);
  padding: 10px; z-index: 70;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.nav .nav-item:hover .nav-dropdown,
.nav .nav-item:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.nav .nav-item:hover .nav-caret,
.nav .nav-item:focus-within .nav-caret { transform: rotate(225deg); margin-top: 3px; }
.nav-dropdown a {
  display: block; padding: 11px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--ink);
  white-space: nowrap; transition: background .18s, color .18s;
}
.nav-dropdown a::after { display: none; }
.nav-dropdown a:hover, .nav-dropdown a.active {
  background: var(--ivory); color: var(--green-700);
}

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px;
  overflow: hidden; background: var(--paper);
}
.lang-toggle button {
  font-family: var(--ff-body); font-weight: 600; font-size: 13px;
  border: 0; background: transparent; color: var(--muted);
  padding: 8px 13px; cursor: pointer; transition: background .2s, color .2s;
}
.lang-toggle button.active { background: var(--green-700); color: #fff; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: transparent; border: 0; cursor: pointer; padding: 8px;
}
.hamburger span { width: 24px; height: 2px; background: var(--green-900); border-radius: 2px; transition: .25s; }

/* ---------- Mobile drawer ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 80;
  visibility: hidden; pointer-events: none;
}
.drawer.open { visibility: visible; pointer-events: auto; }

.drawer-scrim {
  position: absolute; inset: 0;
  background: rgba(7,50,31,.65);
  opacity: 0; transition: opacity .32s ease;
  backdrop-filter: blur(2px);
}
.drawer.open .drawer-scrim { opacity: 1; }

.drawer-panel {
  position: absolute; top: 0; right: 0; height: 100%;
  width: min(88%, 380px);
  background: var(--green-900);
  box-shadow: -12px 0 48px rgba(0,0,0,.4);
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.16,1,.3,1);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.drawer.open .drawer-panel { transform: translateX(0); }

/* Drawer header */
.drawer-panel .dh {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  flex-shrink: 0;
}
.drawer-brand {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
}
.drawer-brand img { width: 40px; height: 40px; }
.drawer-name {
  font-family: var(--ff-display); font-size: 16px; font-weight: 700;
  color: #fff; line-height: 1.2; max-width: 200px;
}
.drawer-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 0;
  color: #fff; font-size: 20px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background .2s;
}
.drawer-close:hover { background: rgba(255,255,255,.2); }

/* Drawer nav links (scrollable middle) */
.drawer-nav {
  flex: 1; overflow-y: auto; padding: 6px 0;
}
.drawer-nav .nav-item {
  display: flex; flex-direction: column; align-items: stretch; position: static;
}
.drawer-nav > a,
.drawer-nav > .nav-item > .nav-link {
  font-family: var(--ff-body); font-size: 16px; font-weight: 600;
  color: rgba(255,255,255,.85);
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px;
  padding: 15px 22px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color .2s, background .2s;
  text-decoration: none;
  outline: none;
}
.drawer-nav > a:focus-visible,
.drawer-nav > .nav-item > .nav-link:focus-visible {
  outline: 2px solid var(--gold-400); outline-offset: -2px;
}
.drawer-nav > .nav-item > a::after,
.drawer-nav > .nav-item > .nav-link::after {
  content: "→"; font-size: 15px; color: var(--gold-500);
  opacity: 0; transform: translateX(-6px);
  transition: opacity .2s, transform .2s;
}
.drawer-nav > a.active,
.drawer-nav > .nav-item > .nav-link.active {
  color: var(--gold-400);
  background: rgba(201,162,58,.1);
  border-left: 3px solid var(--gold-500);
  padding-left: 19px;
}
.drawer-nav > a.active::after,
.drawer-nav > .nav-item > .nav-link.active::after { opacity: 1; transform: translateX(0); }

/* Hover effects only for devices with a real pointer — avoids "stuck" gold
   highlights left behind on touchscreens after a tap. */
@media (hover: hover) and (pointer: fine) {
  .drawer-nav > a:hover,
  .drawer-nav > .nav-item > .nav-link:hover {
    color: var(--gold-300);
    background: rgba(255,255,255,.05);
  }
  .drawer-nav > a:hover::after,
  .drawer-nav > .nav-item > .nav-link:hover::after { opacity: 1; transform: translateX(0); }
}

/* Drawer dropdowns (accordion) — expand inline, not as a floating overlay */
.drawer-nav .nav-item.has-children > .nav-link::after { content: none; }
.drawer-nav .nav-caret {
  width: 8px; height: 8px; margin-top: -2px; flex-shrink: 0;
  border-right: 1.5px solid var(--gold-400); border-bottom: 1.5px solid var(--gold-400);
  transform: rotate(45deg); transition: transform .25s ease;
}
.drawer-nav .nav-item.open > .nav-link .nav-caret { transform: rotate(225deg); margin-top: 2px; }
.drawer-nav .nav-dropdown {
  position: static; top: auto; left: auto; transform: none;
  width: 100%; min-width: 0; border-radius: 0; border-top: 0;
  box-shadow: none; padding: 0; z-index: auto;
  opacity: 1; visibility: visible; pointer-events: auto;
  max-height: 0; overflow: hidden;
  background: rgba(255,255,255,.04);
  transition: max-height .35s ease;
}
.drawer-nav .nav-item.open .nav-dropdown { max-height: 600px; }
.drawer-nav .nav-dropdown a {
  display: block;
  padding: 13px 22px 13px 40px; font-size: 14.5px; font-weight: 500;
  color: rgba(255,255,255,.92);
  background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.06);
  border-radius: 0; white-space: normal;
  outline: none;
  transition: color .2s, background .2s, padding-left .2s;
}
.drawer-nav .nav-dropdown a:focus-visible {
  outline: 2px solid var(--gold-400); outline-offset: -2px;
}
.drawer-nav .nav-dropdown a::after { content: none; }
.drawer-nav .nav-dropdown a.active {
  background: rgba(201,162,58,.12);
  color: var(--gold-400);
  border-left: 3px solid var(--gold-500);
  padding-left: 37px;
}
.drawer-nav .nav-dropdown a:last-child { border-bottom: 0; }

@media (hover: hover) and (pointer: fine) {
  .drawer-nav .nav-dropdown a:hover {
    background: rgba(255,255,255,.08);
    padding-left: 46px; color: var(--gold-300);
  }
}

/* Drawer footer: lang toggle + CTA */
.drawer-footer {
  padding: 16px 20px 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-shrink: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.drawer-lang-wrap { display: flex; }
.drawer-footer .lang-toggle {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
}
.drawer-footer .lang-toggle button {
  color: rgba(255,255,255,.65); font-size: 13px;
}
.drawer-footer .lang-toggle button.active {
  background: var(--gold-500);
  color: var(--green-900);
}
.drawer-footer .btn { width: 100%; justify-content: center; }

/* ---------- Page hero (interior pages) ---------- */
.pagehero {
  position: relative; background: var(--green-900); color: #fff;
  padding: clamp(44px, 7vw, 96px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.pagehero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 120% at 80% -10%, rgba(201,162,58,.22), transparent 55%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 14px, rgba(255,255,255,.05) 14px 28px);
  pointer-events: none;
}
.pagehero .container { position: relative; }
.pagehero h1 {
  color: #fff;
  font-size: clamp(32px, 5.5vw, 68px);
  margin-top: 14px;
  line-height: 1.08;
}
.pagehero p {
  color: rgba(255,255,255,.82);
  margin-top: 14px;
  font-size: clamp(16px, 2vw, 19px);
  max-width: 600px;
  line-height: 1.7;
}
.pagehero .pill { display: inline-flex; margin-top: 14px; margin-bottom: 4px; }
.breadcrumb {
  font-size: 13px; color: rgba(255,255,255,.55); letter-spacing: .04em;
  margin-bottom: 6px;
}
.breadcrumb a:hover { color: var(--gold-300); }

/* ---------- Footer columns ---------- */
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: clamp(56px,7vw,88px) 0 0; }
.footer .fbrand { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.footer .fbrand img { width: 56px; height: 56px; }
.footer .fbrand .n1 { font-family: var(--ff-display); font-size: 22px; color: #fff; line-height: 1.05; }
.footer .fbrand .n2 { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); margin-top: 4px; }
.footer .fdesc { font-size: 14.5px; line-height: 1.65; max-width: 38ch; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 14.5px; }
.footer .socials { display: flex; gap: 12px; margin-top: 22px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 34px; font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav, .topbar .tb-left { display: none; }
  .hamburger { display: flex; }
  /* Hide Apply Now from header — it lives in the drawer on mobile */
  .header-actions .btn-gold { display: none; }
  /* Tighten header spacing so brand name has room */
  .siteheader .container { gap: 12px; height: 74px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; align-items: center; }
}
@media (max-width: 560px) {
  .topbar .container { justify-content: center; }
  /* Hide lang toggle from header on small screens — it's in the drawer */
  .header-actions .lang-toggle { display: none; }
  .siteheader .container { gap: 8px; }
  .brand { gap: 10px; }
  .brand img { width: 40px; height: 40px; }
  .brand .bn1 { font-size: 16px; }
  .brand .bn2 { display: none; }
  .container { padding: 0 18px; }
  .footer-top { grid-template-columns: 1fr; }
}

/* ---------- Bilingual Visibility ---------- */
[data-lang-show="hi"] { display: none; }
html[data-lang="hi"] [data-lang-show="en"] { display: none; }
html[data-lang="hi"] [data-lang-show="hi"] { display: block; }
