/* ============================================================
   Gurudwara Sahib Durham Region — app.css
   @import MUST be first line in file
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* ── Design tokens ────────────────────────────────────────── */
:root {
  --navy:          #0A192F;   /* Footer background */
  --navy-darker:   #060f1e;   /* Copyright bar */
  --navy-header:   rgba(10, 25, 47, 0.15); /* Header tint */
  --gold:          #D4AF37;
  --gold-bright:   #FFD700;
  --gold-dim:      #B8941F;
  --white-glass:   rgba(255, 255, 255, 0.82);
  --header-h:      130px;     /* Tall enough for 140px logo + overlap */
  --header-h-md:   95px;      /* Tablet */
  --header-h-sm:   78px;      /* Mobile */
  --nav-max:       1200px;    /* Matches footer max-width exactly */
  --font:          'Montserrat', sans-serif;
  --transition:    0.3s ease;
}

/* ── Global reset ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

/* Push page content below fixed header */
/* main#content — no top padding needed; alert banner (above main)
   already provides clearance from the fixed header */
main#content {
  padding-top: 0;
}

/* ══════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════ */
.premium-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  font-family: var(--font);
  background: var(--white-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.30);
  /* Allow logo circle to visually overflow below the header border */
  overflow: visible;
}

/* Spec: max-width 1200px for nav group, 30px top padding */
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: relative;
  /* Allow logo to overflow below header bottom edge */
  overflow: visible;
}

/* ── Navigation zones ─────────────────────────────────────── */
.nav-zone {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  flex: 1;
  /* Must be below logo z-index (100) */
  position: relative;
  z-index: 1;
}

.nav-left  { justify-content: flex-end;   padding-right: 120px; }
.nav-right { justify-content: flex-start; padding-left: 120px; }

.nav-link {
  color: #1e3a8a;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
  transition: color var(--transition);
}

/* Spec: metallic gold underline for active/hover state */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-bright), var(--gold-dim));
  transform: translateX(-50%);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active { color: #1e3a8a; }

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* ── Header Donate button (solid gold — header CTA) ──────── */
.nav-donate-btn {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #1a2f6e;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 7px;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  box-shadow: 0 3px 14px rgba(212,175,55,0.35);
  white-space: nowrap;
}

.nav-donate-btn:hover {
  background: linear-gradient(135deg, var(--gold-dim), #e6c200);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(212,175,55,0.50);
}

/* ── Central logo anchor ──────────────────────────────────── */
/*
 * KEY FIX: logo-anchor needs its own stacking context at a z-index
 * HIGHER than the nav links (which are in normal flow). Setting
 * isolation: isolate + z-index here creates that context so the
 * logo always paints on top of nav text.
 */
.logo-anchor {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  /* Push well above nav links and header border */
  z-index: 100;
  /* Prevent the anchor from being a flex/block child that competes */
  pointer-events: none;
}

/* Re-enable pointer events on the actual link inside */
.logo-link {
  display: block;
  pointer-events: all;
}

/* Spec: logo dominant, slightly overlaps bottom of header */
.circular-logo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  /* Shift down so logo overlaps the header bottom border */
  margin-top: 28px;
  border: 3px solid rgba(212,175,55,0.50);
  box-shadow:
    0 4px 18px rgba(0,0,0,0.14),
    0 0 28px rgba(212,175,55,0.22);
  transition: transform var(--transition), box-shadow var(--transition);
  background: #fff; /* fallback while image loads */
}

.circular-logo:hover {
  transform: scale(1.05);
  box-shadow:
    0 6px 24px rgba(0,0,0,0.18),
    0 0 36px rgba(212,175,55,0.38);
}

.circular-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Mobile vertical sticky donate tab ───────────────────── */
.mobile-sticky-donate {
  display: none;
  position: fixed;
  left: -32px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center center;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #1a2f6e;
  text-decoration: none;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 0 0 20px 20px;
  z-index: 997;
  white-space: nowrap;
  transition: left var(--transition), box-shadow var(--transition);
  box-shadow: 2px 3px 12px rgba(212,175,55,0.40);
}

.mobile-sticky-donate:hover {
  left: -26px;
  box-shadow: 2px 5px 18px rgba(212,175,55,0.55);
}

/* ── Mobile hamburger toggle ──────────────────────────────── */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: rgba(255,255,255,0.90);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 8px;
  cursor: pointer;
  padding: 10px;
  /* On mobile it moves into the header container as an absolute elem */
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  transition: background var(--transition);
  z-index: 999;
}

.mobile-menu-toggle:hover {
  background: rgba(255,255,255,0.98);
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #1e3a8a;
  border-radius: 2px;
  transition: opacity var(--transition), transform var(--transition);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile navigation drawer ─────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  max-width: 82vw;
  height: 100vh;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(212,175,55,0.30);
  box-shadow: -4px 0 28px rgba(0,0,0,0.12);
  flex-direction: column;
  padding: 1.75rem;
  gap: 0.25rem;
  overflow-y: auto;
  transition: right 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
}

.mobile-nav.active {
  display: flex;
  right: 0;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(212,175,55,0.20);
}

.mobile-nav-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e3a8a;
  letter-spacing: 0.05em;
}

.mobile-close-btn {
  width: 34px;
  height: 34px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: background var(--transition), transform var(--transition);
}

.mobile-close-btn:hover {
  background: rgba(212,175,55,0.10);
  transform: rotate(90deg);
}

.mobile-close-btn::before,
.mobile-close-btn::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 16px; height: 2px;
  background: #1e3a8a;
  border-radius: 2px;
  transform-origin: center;
}

.mobile-close-btn::before { transform: translate(-50%, -50%) rotate(45deg); }
.mobile-close-btn::after  { transform: translate(-50%, -50%) rotate(-45deg); }

.mobile-nav-link {
  display: block;
  color: #1e3a8a;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.mobile-nav-link:hover {
  background: rgba(212,175,55,0.10);
  color: var(--gold-dim);
  transform: translateX(4px);
}

.mobile-nav-donate {
  display: block;
  margin-top: 1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #1a2f6e;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.9rem 1.25rem;
  border-radius: 8px;
  box-shadow: 0 3px 14px rgba(212,175,55,0.30);
  transition: transform var(--transition), box-shadow var(--transition);
}

.mobile-nav-donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(212,175,55,0.45);
}

/* ── Mobile overlay ───────────────────────────────────────── */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.52);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  z-index: 1000;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ══════════════════════════════════════════════════════════
   FOOTER — Modern Dark Mode Anchor
   Spec: background #0A192F
══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--navy);
  color: #c9d3e0;
  font-family: var(--font);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 2rem 56px;
}

/* ── Footer top row: logo · mission · ghost donate ────────── */
.footer-top {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Spec: circular logo, links home + scroll-to-top */
.footer-logo-link {
  flex-shrink: 0;
  display: block;
  transition: transform var(--transition);
}

.footer-logo-link:hover {
  transform: scale(1.06);
}

.footer-logo-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(212,175,55,0.45);
  box-shadow: 0 0 18px rgba(212,175,55,0.18);
}

.footer-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer-mission {
  flex: 1;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #8fa3bc;
}

.footer-mission em {
  color: var(--gold);
  font-style: normal;
}

/* Spec: ghost button — gold border, transparent background */
.footer-ghost-donate {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 10px 26px;
  border: 2px solid var(--gold);
  border-radius: 7px;
  background: transparent;
  color: var(--gold);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.footer-ghost-donate:hover {
  background: rgba(212,175,55,0.10);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

/* ── Footer divider ───────────────────────────────────────── */
.footer-divider {
  border: none;
  border-top: 1px solid rgba(212,175,55,0.20);
  margin: 0 0 3rem;
}

/* ── 4-column grid ────────────────────────────────────────── */
.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-heading {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(212,175,55,0.22);
}

.footer-body {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.70;
  color: #8fa3bc;
}

/* ── Quick links list ─────────────────────────────────────── */
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-link {
  color: #8fa3bc;
  text-decoration: none;
  font-size: 0.88rem;
  display: inline-block;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-link:hover {
  color: var(--gold);
  padding-left: 5px;
}

/* ── Weekly schedule list ─────────────────────────────────── */
.footer-schedule { gap: 0.6rem; }

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed rgba(212,175,55,0.12);
}

.schedule-item:last-child { border-bottom: none; }

.schedule-label {
  font-size: 0.88rem;
  color: #c9d3e0;
  font-weight: 500;
}

.schedule-time {
  font-size: 0.80rem;
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
}

/* ── Contact list ─────────────────────────────────────────── */
.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.87rem;
  color: #8fa3bc;
  line-height: 1.55;
}

.footer-contact-item i {
  color: var(--gold);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.footer-note {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.76rem;
  color: #607080;
  font-style: italic;
  line-height: 1.4;
}

/* ── Social icons (minimalist gold-outlined circles) ─────── */
.footer-social {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(212,175,55,0.50);
  color: var(--gold);
  font-size: 0.88rem;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition),
              transform var(--transition);
}

.social-icon:hover {
  background: rgba(212,175,55,0.12);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
}

/* ── WhatsApp CTA ─────────────────────────────────────────── */
.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  color: #25D366;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color var(--transition);
}

.whatsapp-cta i {
  font-size: 1.1rem;
}

.whatsapp-cta:hover {
  color: #1fad55;
}

/* ── Copyright bar ────────────────────────────────────────── */
/* Spec: thin gold line above + copyright text */
.footer-bottom {
  background: var(--navy-darker);
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(212,175,55,0.25); /* spec: thin gold line */
}

.footer-copyright {
  margin: 0;
  font-size: 0.82rem;
  color: #3d5166;
  letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
══════════════════════════════════════════════════════════ */

/* ── Tablet (≤ 1024px) ────────────────────────────────────── */
@media screen and (max-width: 1024px) {
  .nav-zone { gap: 1.5rem; }
  .nav-link  { font-size: 0.85rem; }

  .nav-left  { padding-right: 60px; }
  .nav-right { padding-left:  60px; }

  .circular-logo {
    width: 120px;
    height: 120px;
    margin-top: 24px;
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* ── Phablet / large mobile (≤ 768px) ────────────────────── */
@media screen and (max-width: 768px) {
  :root { --header-h: var(--header-h-md); }

  .header-container {
    padding: 0 1rem;
  }

  /* Hide desktop nav, show hamburger */
  .nav-zone             { display: none; }
  .mobile-menu-toggle   { display: flex; }
  .mobile-sticky-donate { display: block; }

  .circular-logo {
    width: 90px;
    height: 90px;
    margin-top: 18px;
  }

  /* Footer top row stacks */
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

  .footer-inner {
    padding: 56px 1.5rem 40px;
  }
}

/* ── Small mobile (≤ 480px) ──────────────────────────────── */
@media screen and (max-width: 480px) {
  :root { --header-h: var(--header-h-sm); }

  .header-container { padding: 15px 0.75rem 0; }

  .circular-logo {
    width: 68px;
    height: 68px;
    margin-top: 10px;
  }

  .mobile-menu-toggle { right: 0.75rem; }

  /* Footer stacks to 1 column */
  .footer-top { align-items: center; text-align: center; }
  .footer-mission { text-align: center; }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-col      { align-items: center; text-align: center; }
  .footer-heading  { text-align: center; }
  .footer-list     { align-items: center; }

  .footer-contact-item {
    justify-content: center;
    text-align: left;
  }

  .schedule-item {
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    text-align: center;
  }

  .footer-social { justify-content: center; }

  .footer-inner { padding: 48px 1rem 36px; }

  .footer-bottom-inner { padding: 1rem; }

  .footer-copyright { font-size: 0.76rem; }
}
/* ══════════════════════════════════════════════════════════
   CONTACT PAGE — Alert Banner
══════════════════════════════════════════════════════════ */
/* Alert banner: fixed below the header, full-width, always on top of page panels.
   margin-top pushes it below the fixed .premium-header without sticky quirks.
   opacity + visibility transitions enable the no-layout-shift dismiss animation. */
.alert-banner {
  position: relative;
  margin-top: var(--header-h);   /* clears the fixed header */
  z-index: 900;
  background: linear-gradient(90deg, #1a2a0a 0%, #1e3200 40%, #2a1a00 100%);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 2px 16px rgba(212, 175, 55, 0.18);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.alert-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.alert-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.78rem;
}

.alert-text {
  flex: 1;
  margin: 0;
  font-family: var(--font);
  font-size: 0.875rem;
  line-height: 1.55;
  color: #e8d68a;
  letter-spacing: 0.01em;
}

.alert-text strong {
  color: var(--gold-bright);
  font-weight: 700;
}

.alert-dismiss {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  color: rgba(212, 175, 55, 0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  padding: 0;
}

.alert-dismiss:hover {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-bright);
  transform: rotate(90deg);
}

/* ── Alert banner: dismissed state ────────────────────────────
   opacity + visibility hide the banner visually while
   preserving its full height and margin in the document flow.
   pointer-events:none prevents accidental interaction.
   The page content below never shifts — zero layout jump.      */
.alert-banner--dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* ══════════════════════════════════════════════════════════
   CONTACT — Shared Layout & Typography
══════════════════════════════════════════════════════════ */
.contact-section {
  font-family: var(--font);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.4rem;
}

.section-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #0d1f3c;
  line-height: 1.2;
  margin: 0 0 1.1rem;
  letter-spacing: -0.02em;
}

/* ══════════════════════════════════════════════════════════
   CONTACT — 1. Sunday Diwan Schedule Block
══════════════════════════════════════════════════════════ */
.schedule-block {
  background:
    /* Radial gold glow — top centre */
    radial-gradient(ellipse 70% 55% at 50% -10%, rgba(212,175,55,0.18) 0%, transparent 65%),
    /* Radial blue depth — bottom */
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(30,58,138,0.30) 0%, transparent 65%),
    /* SVG geometric trellis — classic Sikh jaali pattern */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cg fill='none' stroke='rgba(212,175,55,0.07)' stroke-width='1'%3E%3Crect x='10' y='10' width='40' height='40' rx='2'/%3E%3Cline x1='30' y1='0' x2='30' y2='60'/%3E%3Cline x1='0' y1='30' x2='60' y2='30'/%3E%3Ccircle cx='30' cy='30' r='8'/%3E%3C/g%3E%3C/svg%3E") repeat,
    /* Base navy */
    linear-gradient(160deg, #0b1d38 0%, #091629 50%, #0d1f3c 100%);
  padding: 5.5rem 2rem;
  position: relative;
  overflow: hidden;
}

/* Large faint Ik Onkar watermark behind content */
.schedule-block::before {
  content: 'ੴ';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(16rem, 28vw, 26rem);
  line-height: 1;
  color: rgba(212, 175, 55, 0.045);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.schedule-block-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.schedule-block-inner .section-eyebrow {
  display: inline-flex;
  align-items: center;
  padding-left: 1.4rem;
}

/* Override title color for dark background */
.schedule-block .section-title {
  color: #f0e6c0;
}

.schedule-subtext {
  font-size: 1rem;
  line-height: 1.75;
  color: #8fa3bc;
  margin: 0 0 2.25rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.schedule-subtext strong {
  color: #e8d68a;
}

.whatsapp-primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 14px 30px;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.whatsapp-primary-btn i {
  font-size: 1.25rem;
}

.whatsapp-primary-btn:hover {
  background: #1fad55;
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.45);
}

/* ══════════════════════════════════════════════════════════
   CONTACT — 2. Dual-Map Section
══════════════════════════════════════════════════════════ */
.maps-section {
  background: #f4f6fb;
  padding: 5rem 2rem;
  border-top: 1px solid #e8ecf2;
  border-bottom: 1px solid #e8ecf2;
}

.maps-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* ── Map Card ─────────────────────────────────────────── */
.map-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

.map-card:hover {
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.11);
  transform: translateY(-4px);
}

.map-card-header {
  padding: 1.5rem 1.75rem 1.25rem;
}

.map-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.map-badge--active {
  background: rgba(37, 211, 102, 0.12);
  color: #16a34a;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.map-badge--construction {
  background: rgba(234, 179, 8, 0.12);
  color: #92400e;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

/* Animated pulse dot for active location */
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #25D366;
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulse-ring 1.8s ease-out infinite;
}

@keyframes pulse-ring {
  0%   { opacity: 0.8; transform: scale(0.8); }
  100% { opacity: 0;   transform: scale(1.8); }
}

.map-card-title {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0d1f3c;
  letter-spacing: -0.01em;
}

.map-card-address {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-style: normal;
  font-size: 0.88rem;
  color: #4a5568;
  line-height: 1.6;
}

.map-card-address i {
  color: var(--gold-dim);
  margin-top: 3px;
  flex-shrink: 0;
}

.map-embed-wrapper {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.map-embed-wrapper iframe {
  display: block;
}

/* Greyscale filter on future site map */
.map-embed-wrapper--greyscale iframe {
  filter: grayscale(100%) opacity(0.55);
  pointer-events: none;
}

/* Construction overlay on future site map */
.map-construction-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(10, 25, 47, 0.45);
  color: #fff;
  pointer-events: none;
}

.map-construction-overlay i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.map-construction-overlay p {
  margin: 0;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.map-construction-overlay .overlay-sub {
  font-size: 0.78rem;
  font-weight: 400;
  opacity: 0.75;
}

.map-card-footer {
  padding: 1.1rem 1.75rem;
  border-top: 1px solid #f0f2f6;
  display: flex;
  align-items: center;
}

.map-card-footer--muted {
  background: #fafbfc;
}

.map-directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #1e3a8a;
  text-decoration: none;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  padding: 8px 18px;
  border-radius: 8px;
  border: 1.5px solid rgba(30, 58, 138, 0.25);
  transition: background var(--transition), border-color var(--transition),
              color var(--transition), transform var(--transition);
}

.map-directions-btn:hover {
  background: #1e3a8a;
  border-color: #1e3a8a;
  color: #fff;
  transform: translateY(-1px);
}

.construction-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.8rem;
  color: #718096;
  line-height: 1.55;
}

.construction-note i {
  color: #e0a020;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   CONTACT — 3. International Student Outreach
══════════════════════════════════════════════════════════ */
.student-outreach-block {
  background: #fff;
  padding: 5rem 2rem;
}

.student-outreach-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.outreach-eyebrow { color: #3b82f6; }
.outreach-eyebrow::before { background: #3b82f6; }

.outreach-title { color: #0d1f3c; }

.outreach-body {
  font-size: 1rem;
  line-height: 1.78;
  color: #4a5568;
  margin: 0 0 2rem;
}

.outreach-body strong {
  color: #0d1f3c;
  font-weight: 600;
}

.whatsapp-student-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #16a34a;
  text-decoration: none;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 11px 22px;
  border-radius: 8px;
  border: 2px solid rgba(37, 211, 102, 0.4);
  background: rgba(37, 211, 102, 0.06);
  transition: background var(--transition), border-color var(--transition),
              color var(--transition), transform var(--transition);
}

.whatsapp-student-btn i { font-size: 1.15rem; }

.whatsapp-student-btn:hover {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
  transform: translateY(-2px);
}

/* Decorative cultural cards */
.outreach-deco-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}

.outreach-deco-card {
  width: 100%;
  max-width: 280px;
  background: linear-gradient(135deg, #0A192F 0%, #112240 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(10, 25, 47, 0.15);
  transition: transform var(--transition), box-shadow var(--transition);
}

.outreach-deco-card--offset {
  transform: translateX(2rem);
}

.outreach-deco-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10, 25, 47, 0.22);
}

.outreach-deco-card--offset:hover {
  transform: translateX(2rem) translateY(-4px);
}

.outreach-deco-icon,
.outreach-deco-ik {
  font-size: 2.4rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
  line-height: 1;
  display: block;
}

.outreach-deco-word {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
}

.outreach-deco-translation {
  font-size: 0.78rem;
  color: #7a9bbf;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════════
   CONTACT — 4. Glassmorphism Inquiry Form
══════════════════════════════════════════════════════════ */
.form-section {
  background: linear-gradient(135deg, #060f1e 0%, #0A192F 50%, #0d2040 100%);
  padding: 5.5rem 2rem;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative radial glow */
.form-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.form-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(30, 58, 138, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.form-section-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.form-eyebrow { color: var(--gold); }
.form-eyebrow::before { background: var(--gold); }

.form-title {
  color: #fff;
}

.form-subtext {
  font-size: 0.97rem;
  color: #7a9bbf;
  line-height: 1.72;
  margin: 0 0 2.5rem;
}

/* Glass card wrapping the form */
.glass-form-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 2.5rem;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.85);
}

.form-input,
.form-select,
.form-textarea {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #e2e8f0;
  font-family: var(--font);
  font-size: 0.92rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--transition), background var(--transition),
              box-shadow var(--transition);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(212, 175, 55, 0.6);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: rgba(239, 68, 68, 0.7);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Custom select wrapper */
.form-select-wrapper {
  position: relative;
}

.form-select {
  cursor: pointer;
  padding-right: 2.5rem;
}

.form-select option {
  background: #0d1f3c;
  color: #e2e8f0;
}

.form-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(212, 175, 55, 0.6);
  font-size: 0.7rem;
  pointer-events: none;
  transition: transform var(--transition);
}

.form-select-wrapper:focus-within .form-select-arrow {
  transform: translateY(-50%) rotate(180deg);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-error {
  font-size: 0.76rem;
  color: #f87171;
  min-height: 1rem;
  display: block;
}

/* Gold gradient submit button */
.form-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold-bright), var(--gold-dim));
  background-size: 200% 200%;
  background-position: left center;
  color: #0d1f3c;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: 10px;
  padding: 14px 32px;
  cursor: pointer;
  align-self: flex-end;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
  transition: background-position 0.5s ease, transform var(--transition),
              box-shadow var(--transition);
}

.form-submit-btn:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.50);
}

.form-submit-btn:active {
  transform: translateY(0);
}

.form-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-icon { font-size: 0.9rem; }

/* Success message */
.form-success-msg {
  display: none;  /* hidden by default; JS removes [hidden] attr and we use this rule below */
  align-items: center;
  gap: 0.65rem;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  color: #86efac;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Only show when [hidden] has been removed by JS */
.form-success-msg:not([hidden]) {
  display: flex;
}

.form-success-msg i { color: #4ade80; font-size: 1.1rem; flex-shrink: 0; }

/* ── Contact form: error banner ─────────────────────────────
   Shown when the server returns a non-success JSON response.
   Red-tinted glass panel — matches the glassmorphism card
   language of the rest of the form section.
   display:none by default via the hidden attribute pattern;
   shown by removing the hidden attr in JS, same as success.  */
.form-error-banner {
  display: none;
  align-items: flex-start;
  gap: 0.65rem;
  background: rgba(239, 68, 68, 0.10);
  border: 1px solid rgba(239, 68, 68, 0.30);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  color: #fca5a5;
  font-family: var(--font);
  font-size: 0.9rem;
  line-height: 1.55;
}

.form-error-banner:not([hidden]) {
  display: flex;
}

.form-error-banner i {
  color: #f87171;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ══════════════════════════════════════════════════════════
   CONTACT — RESPONSIVE
══════════════════════════════════════════════════════════ */
@media screen and (max-width: 1024px) {
  .maps-section-inner {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  .map-card:hover {
    transform: none;
  }

  .student-outreach-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .outreach-deco-col {
    flex-direction: row;
    justify-content: center;
  }

  .outreach-deco-card--offset {
    transform: translateX(0);
  }

  .outreach-deco-card--offset:hover {
    transform: translateY(-4px);
  }
}

@media screen and (max-width: 768px) {
  .alert-banner {
    margin-top: var(--header-h-md);
  }

  .alert-banner-inner {
    padding: 0.65rem 1.25rem;
    gap: 0.65rem;
  }

  .alert-text { font-size: 0.82rem; }

  .schedule-block,
  .maps-section,
  .student-outreach-block,
  .form-section {
    padding: 3.5rem 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-submit-btn { align-self: stretch; }

  .glass-form-card { padding: 1.75rem 1.25rem; }

  .outreach-deco-col { flex-direction: column; align-items: center; }

  .outreach-deco-card,
  .outreach-deco-card--offset {
    max-width: 100%;
    width: 100%;
    transform: none;
  }
}

@media screen and (max-width: 480px) {
  .alert-banner {
    margin-top: var(--header-h-sm);
  }

  .maps-section-inner { gap: 1.5rem; }

  .map-card-header { padding: 1.25rem; }

  .map-card-footer { padding: 0.9rem 1.25rem; }
}

/* ══════════════════════════════════════════════════════════
   ABOUT US — Section
   Sub-sections:
     1. Hero          (.about-hero)
     2. Timeline      (.about-timeline-section)
     3. Three Tenets  (.about-tenets-section)
     4. Mission       (.about-mission-section)
   All colours use the shared design tokens from :root.
══════════════════════════════════════════════════════════ */


/* ── Shared About utilities ───────────────────────────── */

/* Eyebrow label — small uppercase tag above each heading */
.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.7rem;
}

/* Gold variant used on dark backgrounds */
.about-eyebrow--gold { color: var(--gold); }

/* Primary section heading — dark bg or light bg variants below */
.about-heading {
  font-family: var(--font);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: #0d1f3c;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0 0 1.1rem;
}

/* White variant for dark section backgrounds */
.about-heading--white { color: #f5f0e8; }

/* Centred heading block used in timeline and tenets */
.about-section-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

/* Light variant — used on dark backgrounds */
.about-section-heading--light .about-eyebrow { color: var(--gold); }
.about-section-heading--light .about-heading { color: #f5f0e8; }


/* ══════════════════════════════════════════════════════════
   1. ABOUT HERO
   Full-viewport dark panel.
   Background: deep navy gradient + subtle gold light bloom.
   Swap in the architectural render once available by setting
   background-image on .about-hero in a <style> tag or via JS.
══════════════════════════════════════════════════════════ */

.about-hero {
  position: relative;
  min-height: 92vh;       /* tall hero without triggering svh layout recalcs */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  /* Placeholder background — replace with architectural render asset:
     background-image: url('assets/building-render.jpg');
     background-size: cover;
     background-position: center top; */
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%,   rgba(212,175,55,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 100%,  rgba(30,58,138,0.35)  0%, transparent 60%),
    linear-gradient(170deg, #060f1e 0%, #0A192F 55%, #0e2244 100%);
}

/* Semi-transparent overlay — darkens any real background image */
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6, 15, 30, 0.55) 0%,
    rgba(6, 15, 30, 0.35) 50%,
    rgba(6, 15, 30, 0.85) 100%
  );
  pointer-events: none;
}

/* Giant Khanda watermark — decorative only, aria-hidden in HTML */
.about-hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(18rem, 36vw, 38rem);
  line-height: 1;
  color: rgba(212, 175, 55, 0.035);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* Centred content block — sits above overlay via z-index */
.about-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
}

.about-hero-eyebrow {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.5rem;
  opacity: 0.9;
}

.about-hero-headline {
  font-family: var(--font);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #f0ece2;
  margin: 0 0 1.5rem;
}

/* Gold word in headline */
.about-hero-headline-gold {
  color: var(--gold);
  display: block;
}

.about-hero-sub {
  font-family: var(--font);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.72;
  color: rgba(200, 215, 235, 0.80);
  margin: 0 auto;
  max-width: 640px;
}

/* ── Scroll cue ─────────────────────────────────────────── */
/* Fixed at the bottom of the hero, pulses to invite scrolling */
.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.scroll-cue-label {
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.65);
}

.scroll-cue-arrow {
  color: var(--gold);
  font-size: 1.1rem;
  animation: bounce-arrow 2s ease-in-out infinite;
}

@keyframes bounce-arrow {
  0%, 100% { transform: translateY(0);    opacity: 0.7; }
  50%       { transform: translateY(8px); opacity: 1;   }
}


/* ══════════════════════════════════════════════════════════
   2. TIMELINE — Our Journey
   White background with a single gold vertical spine.
   Cards alternate: left item pushes card left of spine,
   right item pushes card right of spine.
   The .tl-node sits on the spine for both orientations.
══════════════════════════════════════════════════════════ */

.about-timeline-section {
  background: #fff;
  padding: 6rem 2rem;
}

.about-timeline-inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* The vertical gold spine — rendered as a before pseudo on .timeline-track */
.timeline-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem 0;
}

.timeline-track::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(212,175,55,0.4) 8%,
    rgba(212,175,55,0.4) 92%,
    transparent 100%
  );
  transform: translateX(-50%);
}

/* ── Timeline item — base ─────────────────────────────── */
.tl-item {
  display: grid;
  /* Two equal columns; node column is fixed at 60px in the centre */
  grid-template-columns: 1fr 60px 1fr;
  align-items: center;
  gap: 0;
  min-height: 180px;
  margin-bottom: 2.5rem;
}

/* Left-side card: card | node | empty */
.tl-item--left {
  grid-template-areas: "card node .";
}
.tl-item--left .tl-card { grid-area: card; text-align: right; padding-right: 2.5rem; }
.tl-item--left .tl-node  { grid-area: node; }

/* Right-side card: empty | node | card */
.tl-item--right {
  grid-template-areas: ". node card";
}
.tl-item--right .tl-node  { grid-area: node; }
.tl-item--right .tl-card  { grid-area: card; text-align: left;  padding-left: 2.5rem; }

/* ── Timeline card ────────────────────────────────────── */
.tl-card {
  background: #fff;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.055);
  transition: box-shadow var(--transition), transform var(--transition);
}

.tl-card:hover {
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.14);
  transform: translateY(-3px);
}

/* Year stamp — top of each card */
.tl-year {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
  background: rgba(212, 175, 55, 0.09);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 50px;
  padding: 3px 12px;
  margin-bottom: 0.85rem;
}

/* Gurmukhi script label — appears above English title */
.tl-gurmukhi {
  display: block;
  font-size: 1.1rem;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 0.2rem;
  font-family: sans-serif;   /* system Gurmukhi font fallback */
}

.tl-title {
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 700;
  color: #0d1f3c;
  margin: 0 0 0.65rem;
  line-height: 1.3;
}

.tl-body {
  font-family: var(--font);
  font-size: 0.92rem;
  line-height: 1.72;
  color: #4a5568;
  margin: 0;
}

.tl-body strong { color: #0d1f3c; font-weight: 600; }

/* Active milestone badge */
.tl-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #16a34a;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: 50px;
  padding: 4px 12px;
}

/* ── Timeline node (dot on the spine) ────────────────── */
.tl-node {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.tl-node-dot {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px rgba(212,175,55,0.50);
  transition: transform var(--transition), box-shadow var(--transition);
}

/* Active node — gold ring pulse */
.tl-node--active .tl-node-dot {
  background: var(--gold);
  box-shadow:
    0 0 0 3px rgba(212,175,55,0.30),
    0 0 14px rgba(212,175,55,0.40);
  animation: node-pulse 2.4s ease-in-out infinite;
}

@keyframes node-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(212,175,55,0.30), 0 0 14px rgba(212,175,55,0.40); }
  50%       { box-shadow: 0 0 0 6px rgba(212,175,55,0.12), 0 0 22px rgba(212,175,55,0.55); }
}


/* ══════════════════════════════════════════════════════════
   3. THREE TENETS — Glassmorphism Cards
   Midnight navy base. Cards use backdrop-filter glass effect.
   Hover: inner gold glow + 6px lift.
══════════════════════════════════════════════════════════ */

.about-tenets-section {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%,   rgba(212,175,55,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 100%,  rgba(30,58,138,0.20) 0%, transparent 60%),
    linear-gradient(160deg, #060f1e 0%, #0A192F 60%, #0d2040 100%);
  padding: 6.5rem 2rem;
}

.about-tenets-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.about-tenets-sub {
  font-family: var(--font);
  font-size: 0.97rem;
  line-height: 1.72;
  color: rgba(200, 215, 235, 0.65);
  max-width: 560px;
  margin: 0 auto;
}

/* Three-column card grid */
.tenets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 1rem;
}

/* ── Individual tenet card ────────────────────────────── */
.tenet-card {
  /* Glassmorphism: translucent panel with blur */
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition), background var(--transition);
}

/* Top gold gradient accent strip */
.tenet-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
  transition: opacity var(--transition);
}

/* Hover: gold glow + lift + brighter strip */
.tenet-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(212, 175, 55, 0.40);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(212, 175, 55, 0.20),
    inset 0 0 40px rgba(212, 175, 55, 0.06);
}

.tenet-card:hover::before { opacity: 1; }

/* Gurmukhi icon in a gold-ringed circle */
.tenet-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1.5px solid rgba(212,175,55,0.35);
  background: rgba(212,175,55,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: border-color var(--transition), background var(--transition);
}

.tenet-card:hover .tenet-icon-wrap {
  border-color: var(--gold);
  background: rgba(212,175,55,0.14);
}

/* Gurmukhi word inside the icon circle */
.tenet-gurmukhi {
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
  font-family: sans-serif;   /* system Gurmukhi font */
}

.tenet-title {
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 700;
  color: #f0ece2;
  margin: 0 0 0.3rem;
  letter-spacing: 0.01em;
}

/* Gurmukhi subtitle under the English title */
.tenet-punjabi {
  font-size: 0.9rem;
  color: var(--gold);
  opacity: 0.70;
  margin: 0 0 1rem;
  font-family: sans-serif;
}

.tenet-body {
  font-family: var(--font);
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(200, 215, 235, 0.70);
  margin: 0;
}


/* ══════════════════════════════════════════════════════════
   4. MISSION — Sarbat Da Bhala
   White background. Two-column: text | progress tracker.
   Progress bars start at 0 width and animate to data-width
   when the section enters the viewport (see app.js).
══════════════════════════════════════════════════════════ */

.about-mission-section {
  background: #fff;
  padding: 6rem 2rem;
}

.about-mission-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* ── Left: mission text ───────────────────────────────── */
.mission-heading {
  color: #0d1f3c;
  margin-bottom: 1.4rem;
}

/* Gold phrase inside the heading */
.mission-heading-gold { color: var(--gold-dim); }

.mission-body {
  font-family: var(--font);
  font-size: 0.97rem;
  line-height: 1.80;
  color: #4a5568;
  margin: 0 0 1.1rem;
}

/* Gold gradient CTA button */
.mission-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold-bright));
  color: #0d1f3c;
  text-decoration: none;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(212,175,55,0.32);
  transition: transform var(--transition), box-shadow var(--transition);
}

.mission-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212,175,55,0.50);
}

/* ── Right: progress tracker ──────────────────────────── */
.progress-col-heading {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin: 0 0 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(212,175,55,0.18);
}

/* Each phase row */
.progress-item {
  margin-bottom: 2rem;
}

.progress-item:last-child { margin-bottom: 0; }

/* Label row: icon + text on the left, percentage on the right */
.progress-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.55rem;
}

.progress-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  color: #0d1f3c;
}

/* State-based icon colours */
.progress-icon         { font-size: 0.85rem; }
.progress-icon--done   { color: #16a34a; }
.progress-icon--active { color: var(--gold-dim); }
.progress-icon--pending{ color: #94a3b8; }

.progress-pct {
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-dim);
}

/* Grey track */
.progress-track {
  height: 7px;
  border-radius: 50px;
  background: #e8ecf2;
  overflow: hidden;
}

/* Animated fill — starts at 0, animates to data-width via JS */
.progress-fill {
  height: 100%;
  width: 0;                          /* start state — JS sets width */
  border-radius: 50px;
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Colour variants per phase state */
.progress-fill--complete {
  background: linear-gradient(90deg, #16a34a, #4ade80);
}

.progress-fill--active {
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-bright));
}

.progress-fill--pending {
  background: #cbd5e1;
}

/* Small note below the track */
.progress-note {
  margin: 0.4rem 0 0;
  font-family: var(--font);
  font-size: 0.76rem;
  color: #94a3b8;
  font-style: italic;
}


/* ══════════════════════════════════════════════════════════
   ABOUT — RESPONSIVE BREAKPOINTS
══════════════════════════════════════════════════════════ */

/* ── Tablet (≤ 1024px) ────────────────────────────────── */
@media screen and (max-width: 1024px) {

  .tenets-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .about-mission-inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  /* Timeline: collapse to single column on tablet */
  .timeline-track::before { left: 30px; transform: none; }

  .tl-item {
    grid-template-columns: 60px 1fr;
    grid-template-areas: "node card" !important;
    min-height: auto;
    margin-bottom: 2rem;
  }

  .tl-item--left .tl-card,
  .tl-item--right .tl-card {
    grid-area: card;
    text-align: left;
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }

  .tl-item--left .tl-node,
  .tl-item--right .tl-node { grid-area: node; justify-content: flex-start; }
}

/* ── Phablet / large mobile (≤ 768px) ────────────────── */
@media screen and (max-width: 768px) {

  .about-timeline-section,
  .about-tenets-section,
  .about-mission-section { padding: 4rem 1.25rem; }

  .tenets-grid { grid-template-columns: 1fr; max-width: 440px; margin: 1rem auto 0; }

  .about-hero-headline { font-size: clamp(2rem, 8vw, 3rem); }

  .scroll-cue { bottom: 1.5rem; }
}

/* ── Small mobile (≤ 480px) ──────────────────────────── */
@media screen and (max-width: 480px) {

  .about-hero-content { padding: 0 1.25rem; }

  .tl-card { padding: 1.25rem; }

  .progress-label { font-size: 0.82rem; }
}

/* ══════════════════════════════════════════════════════════
   SPA PAGE ROUTER — Panel visibility
   JS toggles .show() / .hide() (jQuery) on each panel.
   No opacity transition needed — instant switch prevents
   the display/opacity conflict that caused the lag.
══════════════════════════════════════════════════════════ */

/* Hidden by default — JS shows the active panel on load */
.page-panel {
  display: none;
}

/* JS .show() sets display:block — no class needed,
   kept here as a reference only */
.page-panel--active {
  display: block;
}

/* ══════════════════════════════════════════════════════════
   UPCOMING EVENTS — Section
   Sub-sections:
     1. Heading wrap    (.events-heading-wrap)
     2. Split panel     (.events-panel)
        — Poster col    (.event-poster-col)
        — Metadata col  (.event-meta-col)
     3. Roadmap card    (.events-roadmap-wrap)
   All dynamic content is injected by events-config.js.
   This file only handles layout, colour, and motion.
══════════════════════════════════════════════════════════ */

.events-section {
  font-family: var(--font);
  background: #fff;
}


/* ── 1. Section Heading ───────────────────────────────── */

.events-heading-wrap {
  background: #fff;
  padding: 4.5rem 2rem 2.5rem;
  border-bottom: 1px solid #edf0f7;
}

.events-heading-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

/* Reuse .section-eyebrow and .section-title from shared rules.
   The sub-headline below the title is events-specific. */
.events-heading-sub {
  font-size: 0.97rem;
  line-height: 1.72;
  color: #4a5568;
  margin: 0;
  max-width: 560px;
  margin-inline: auto;
}


/* ── 2. Split Panel ───────────────────────────────────── */

.events-panel {
  background: #f4f6fb;
  padding: 4rem 2rem 4.5rem;
}

.events-panel-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}


/* ── Poster column ──────────────────────────────────── */

.event-poster-col {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

/* Wrapper that clips the image and applies the hover scale */
.event-poster-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0d1f3c;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(212, 175, 55, 0.18);
  aspect-ratio: 3 / 4;    /* standard poster proportion */
}

/* The actual poster image — scale on hover via transform */
.event-poster-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  z-index: 1;
}

.event-poster-frame:hover .event-poster-img {
  transform: scale(1.06);
}

/* Placeholder overlay shown before/if the real image loads */
.event-poster-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(212, 175, 55, 0.45);
  font-family: var(--font);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 0;
}

.event-poster-placeholder i { font-size: 2.5rem; }

/* Download button — sits directly below the poster frame */
.event-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 11px 20px;
  border-radius: 10px;
  border: 1.5px solid rgba(212, 175, 55, 0.40);
  background: rgba(212, 175, 55, 0.06);
  color: #7a6010;
  text-decoration: none;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background var(--transition), border-color var(--transition),
              color var(--transition), transform var(--transition);
}

.event-download-btn:hover {
  background: var(--gold-dim);
  border-color: var(--gold-dim);
  color: #0d1f3c;
  transform: translateY(-2px);
}

.event-download-btn i { font-size: 0.9rem; }


/* ── Metadata column ────────────────────────────────── */

.event-meta-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 0.5rem;
}

/* Dynamic event title — gold, prominent */
.event-title {
  font-family: var(--font);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--gold-dim);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 2rem;
}

/* Icon-label metadata rows */
.event-meta-list {
  list-style: none;
  margin: 0 0 2.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.event-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid #edf0f7;
}

.event-meta-item:first-child { border-top: 1px solid #edf0f7; }

/* Gold icon circle */
.event-meta-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.10);
  border: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dim);
  font-size: 0.82rem;
  margin-top: 2px;
}

/* Label + value stacked */
.event-meta-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.event-meta-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
}

.event-meta-value {
  font-size: 0.96rem;
  font-weight: 600;
  color: #0d1f3c;
  line-height: 1.45;
}

/* CTA button row */
.event-cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* WhatsApp button — bright green, pulsing ring */
.event-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 14px 24px;
  border-radius: 50px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  position: relative;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
  transition: background var(--transition), transform var(--transition),
              box-shadow var(--transition);
}

/* Animated outer pulse ring on the WhatsApp button */
.event-whatsapp-btn::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50px;
  border: 2px solid rgba(37, 211, 102, 0.45);
  animation: whatsapp-pulse 2.2s ease-out infinite;
  pointer-events: none;
}

@keyframes whatsapp-pulse {
  0%   { opacity: 0.9; transform: scale(1);    }
  70%  { opacity: 0;   transform: scale(1.08); }
  100% { opacity: 0;   transform: scale(1.08); }
}

.event-whatsapp-btn i { font-size: 1.25rem; }

.event-whatsapp-btn:hover {
  background: #1fad55;
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.45);
}

/* Directions button — gold outline, transparent fill */
.event-directions-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 12px 24px;
  border-radius: 50px;
  border: 2px solid rgba(212, 175, 55, 0.50);
  background: transparent;
  color: #7a6010;
  text-decoration: none;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: background var(--transition), border-color var(--transition),
              color var(--transition), transform var(--transition);
}

.event-directions-btn:hover {
  background: var(--gold-dim);
  border-color: var(--gold-dim);
  color: #0d1f3c;
  transform: translateY(-2px);
}


/* ── 3. Future Roadmap Card ──────────────────────────── */

.events-roadmap-wrap {
  background: linear-gradient(160deg, #060f1e 0%, #0A192F 60%, #0d2040 100%);
  padding: 4.5rem 2rem;
}

.events-roadmap-inner {
  max-width: 860px;
  margin: 0 auto;
}

/* Glassmorphism card — matches the contact form card pattern */
.roadmap-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(212, 175, 55, 0.20);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 2.75rem 3rem;
  text-align: center;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Gold hard-hat in a bordered circle */
.roadmap-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 55, 0.38);
  background: rgba(212, 175, 55, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.roadmap-icon {
  font-size: 1.6rem;
  color: var(--gold);
}

.roadmap-heading {
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 700;
  color: #f0ece2;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.roadmap-body {
  font-family: var(--font);
  font-size: 0.95rem;
  line-height: 1.78;
  color: rgba(200, 215, 235, 0.68);
  margin: 0 0 2rem;
  max-width: 640px;
  margin-inline: auto;
}

.roadmap-body em {
  color: rgba(212, 175, 55, 0.80);
  font-style: normal;
  font-weight: 500;
}

/* WhatsApp CTA inside the roadmap card */
.roadmap-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 11px 26px;
  border-radius: 50px;
  background: rgba(37, 211, 102, 0.12);
  border: 1.5px solid rgba(37, 211, 102, 0.35);
  color: #4ade80;
  text-decoration: none;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  transition: background var(--transition), border-color var(--transition),
              color var(--transition), transform var(--transition);
}

.roadmap-whatsapp-btn i { font-size: 1.1rem; }

.roadmap-whatsapp-btn:hover {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
  transform: translateY(-2px);
}


/* ══════════════════════════════════════════════════════════
   EVENTS — RESPONSIVE BREAKPOINTS
══════════════════════════════════════════════════════════ */

/* ── Tablet (≤ 1024px) ────────────────────────────────── */
@media screen and (max-width: 1024px) {
  .events-panel-inner {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .event-poster-frame {
    aspect-ratio: 4 / 3;   /* wider ratio better suits a single column */
  }
}

/* ── Mobile (≤ 768px) ─────────────────────────────────── */
@media screen and (max-width: 768px) {

  .events-heading-wrap,
  .events-panel,
  .events-roadmap-wrap { padding-inline: 1.25rem; }

  .events-heading-wrap { padding-top: 3rem; }

  .roadmap-card { padding: 2rem 1.5rem; }

  .event-cta-row { gap: 0.75rem; }
}

/* ── Small mobile (≤ 480px) ──────────────────────────── */
@media screen and (max-width: 480px) {

  .event-title { font-size: 1.3rem; }

  .roadmap-card { padding: 1.75rem 1.25rem; }
}

/* ══════════════════════════════════════════════════════════
   EVENTS — Language Tab Switcher
   Two buttons (English / ਪੰਜਾਬੀ) above the poster frame.
   Navy/gold aesthetic matching the site palette.
   Active state: gold fill, dark text.
   Inactive state: dark navy fill, muted text.
══════════════════════════════════════════════════════════ */

.poster-lang-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 0.85rem;
  background: #0d1f3c;
  border-radius: 10px;
  padding: 4px;
  width: fit-content;       /* shrinks to content, not full column width */
}

/* Individual tab button */
.poster-lang-tab {
  padding: 8px 22px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: rgba(200, 215, 235, 0.55);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

/* Active tab — gold fill */
.poster-lang-tab--active {
  background: var(--gold-dim);
  color: #0d1f3c;
}

.poster-lang-tab:not(.poster-lang-tab--active):hover {
  background: rgba(212, 175, 55, 0.10);
  color: rgba(212, 175, 55, 0.80);
}


/* ══════════════════════════════════════════════════════════
   EVENTS — Poster zoom hint overlay
   Fades in on hover to signal "click to expand".
   Sits above the image via z-index; pointer-events:none
   so it doesn't block the click on the frame itself.
══════════════════════════════════════════════════════════ */

/* Make the poster frame a positioning context and a pointer */
.event-poster-frame {
  cursor: zoom-in;
}

.poster-zoom-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 15, 30, 0.45);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
}

.poster-zoom-hint i {
  font-size: 2rem;
  color: var(--gold);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.event-poster-frame:hover .poster-zoom-hint {
  opacity: 1;
}


/* ══════════════════════════════════════════════════════════
   LIGHTBOX MODAL — Fullscreen Poster Viewer
   Default state : invisible (opacity:0, visibility:hidden).
   Open state    : .lightbox-overlay--open added by JS.
   Transition    : opacity + visibility (same pattern as the
                   alert banner dismiss — no display:none flash).

   Structure:
     .lightbox-overlay          — fixed full-viewport wrapper
       .lightbox-backdrop       — click-to-close transparent layer
       .lightbox-close          — × button, top-right
       .lightbox-content        — centres the image
         .lightbox-img          — the enlarged poster
══════════════════════════════════════════════════════════ */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;

  /* Glassmorphism dark background */
  background: rgba(6, 15, 30, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  /* Default: invisible but still in the DOM so transitions work */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease, visibility 0.32s ease;

  /* Flex centering for the content box */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Open state — toggled by JS */
.lightbox-overlay--open {
  opacity: 1;
  visibility: visible;
}

/* Transparent full-size backdrop — captures clicks outside the image */
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  cursor: zoom-out;
}

/* ── Close button ─────────────────────────────────────── */
.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  z-index: 10001;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 55, 0.50);
  background: rgba(13, 31, 60, 0.85);
  color: var(--gold);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition),
              transform var(--transition);
}

.lightbox-close:hover {
  background: var(--gold-dim);
  border-color: var(--gold-dim);
  color: #0d1f3c;
  transform: rotate(90deg) scale(1.05);
}

/* ── Content wrapper ──────────────────────────────────── */
/* Sits above the backdrop via z-index */
.lightbox-content {
  position: relative;
  z-index: 10000;
  max-width: min(88vw, 640px);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;

  /* Scale-up entrance when overlay becomes visible */
  transform: scale(0.88);
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-overlay--open .lightbox-content {
  transform: scale(1);
}

/* ── Enlarged poster image ────────────────────────────── */
.lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.60),
    0 0 0 1px rgba(212, 175, 55, 0.22);
  object-fit: contain;
}


/* ══════════════════════════════════════════════════════════
   EVENTS — Language Tabs & Lightbox Responsive
══════════════════════════════════════════════════════════ */

@media screen and (max-width: 480px) {

  /* Full-width tabs on small screens */
  .poster-lang-tabs {
    width: 100%;
  }

  .poster-lang-tab {
    flex: 1;
    text-align: center;
    padding: 9px 12px;
  }

  /* Tighter lightbox padding on mobile */
  .lightbox-content {
    max-width: 96vw;
  }

  .lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
  }
}

/* ══════════════════════════════════════════════════════════
   OUR ROOTS — Section
   Three sub-tabs: Faith & Identity · The Golden Chain · Sacred Seva
   Dark navy canvas with gold accents throughout.
   Sub-sections:
     .roots-hero          — section title block
     .roots-tab-bar       — horizontal gold tab switcher
     .roots-panel         — content panel (one active at a time)
     .five-ks-grid        — Five Ks card grid (Tab A)
     .gurus-grid          — Ten Gurus card grid (Tab B)
     .ggs-block           — Guru Granth Sahib highlight (Tab B)
     .langar-grid         — Langar 2-col layout (Tab C)
     .langar-story-card   — Akbar blockquote (Tab C)
══════════════════════════════════════════════════════════ */

/* ── Section canvas ───────────────────────────────────── */
.roots-section {
  font-family: var(--font);
  background: linear-gradient(170deg, #060f1e 0%, #0A192F 55%, #0d2040 100%);
  min-height: 100vh;
}


/* ══════════════════════════════════════════════════════════
   SECTION HERO HEADING
══════════════════════════════════════════════════════════ */

.roots-hero {
  padding: 4rem 2rem 0;
  text-align: center;
  position: relative;
}

.roots-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.roots-hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  color: #f0ece2;
  margin: 0.5rem 0 1rem;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.roots-hero-sub {
  font-size: 1rem;
  line-height: 1.72;
  color: rgba(200, 215, 235, 0.65);
  max-width: 560px;
  margin: 0 auto;
}


/* ══════════════════════════════════════════════════════════
   SUB-TAB NAVIGATION BAR
   Horizontal row of three tab buttons.
   Active tab: white text + gold bottom border rule.
   Inactive: muted text, no border; hover lifts gold.
══════════════════════════════════════════════════════════ */

.roots-tab-bar {
  padding: 2.5rem 2rem 0;
  position: sticky;
  top: var(--header-h);       /* sticks below the fixed main header */
  z-index: 100;
  background: linear-gradient(170deg, #060f1e 0%, #0A192F 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.roots-tab-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.roots-tab-bar-inner::-webkit-scrollbar { display: none; }

/* Individual tab button */
.roots-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 1rem 1.75rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: rgba(200, 215, 235, 0.45);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  bottom: -1px;           /* overlap the bar's border-bottom */
  transition: color var(--transition), border-color var(--transition);
}

/* Gurmukhi/symbol icon inside the tab label */
.roots-tab-icon {
  font-size: 1.05rem;
  opacity: 0.7;
  transition: opacity var(--transition);
}

/* Active state — gold rule + bright text */
.roots-tab--active {
  color: #f0ece2;
  border-bottom-color: var(--gold);
}

.roots-tab--active .roots-tab-icon { opacity: 1; }

/* Hover — non-active tabs get a subtle gold tint */
.roots-tab:not(.roots-tab--active):hover {
  color: rgba(212, 175, 55, 0.75);
  border-bottom-color: rgba(212, 175, 55, 0.25);
}


/* ══════════════════════════════════════════════════════════
   CONTENT PANELS
   All panels share the same wrapper padding.
   JS toggles the hidden attribute + --active class.
══════════════════════════════════════════════════════════ */

.roots-panel {
  /* hidden attribute suppresses display; this ensures clean stacking */
}

.roots-panel[hidden] {
  display: none;
}

.roots-panel--active {
  display: block;
  animation: roots-panel-fade 0.32s ease forwards;
}

@keyframes roots-panel-fade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* ── Panel intro block (shared by all three tabs) ──── */
.roots-panel-intro {
  padding: 4rem 2rem 2.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.10);
}

.roots-panel-intro-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.roots-panel-heading {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #f0ece2;
  margin: 0.5rem 0 1rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.roots-panel-body {
  font-size: 0.97rem;
  line-height: 1.78;
  color: rgba(200, 215, 235, 0.70);
  margin: 0;
}

.roots-panel-body strong { color: #e8d68a; font-weight: 600; }

/* Subheading used inside panels (e.g. Five Ks title) */
.roots-subheading-group {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 2.5rem;
}

.roots-subheading {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: #f0ece2;
  margin: 0 0 0.6rem;
}

.roots-subheading em {
  color: var(--gold);
  font-style: normal;
}

.roots-subheading-sub {
  font-size: 0.9rem;
  line-height: 1.68;
  color: rgba(200, 215, 235, 0.55);
  margin: 0;
}


/* ══════════════════════════════════════════════════════════
   TAB A — FAITH & IDENTITY
   Virtue pills + Five Ks glassmorphism cards
══════════════════════════════════════════════════════════ */

/* ── Seven virtue pills ─────────────────────────────── */
.roots-virtues-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.roots-virtue-pill {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.09);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 50px;
  padding: 5px 16px;
  transition: background var(--transition), color var(--transition);
}

.roots-virtue-pill:hover {
  background: rgba(212, 175, 55, 0.18);
}

/* ── Five Ks section wrap ───────────────────────────── */
.roots-five-ks-wrap {
  padding: 3.5rem 2rem 5rem;
}

.roots-five-ks-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* 5-column grid — responsive down to 1 column */
.five-ks-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

/* Individual Five K card — glassmorphism style */
.fivek-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition), border-color var(--transition),
              background var(--transition), box-shadow var(--transition);
}

/* Top gold accent bar on each card */
.fivek-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.45;
  transition: opacity var(--transition);
}

.fivek-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.38);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3),
              inset 0 0 32px rgba(212,175,55,0.05);
}

.fivek-card:hover::before { opacity: 1; }

/* Gurmukhi symbol in a gold-ring circle */
.fivek-symbol {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 55, 0.30);
  background: rgba(212, 175, 55, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
  transition: border-color var(--transition), background var(--transition);
}

.fivek-card:hover .fivek-symbol {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.14);
}

.fivek-gurmukhi {
  font-size: 0.95rem;
  color: var(--gold);
  font-family: sans-serif;
  line-height: 1;
}

.fivek-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f0ece2;
  margin: 0 0 0.2rem;
}

.fivek-meaning {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
  margin: 0 0 0.85rem;
}

.fivek-desc {
  font-size: 0.84rem;
  line-height: 1.68;
  color: rgba(200, 215, 235, 0.62);
  margin: 0;
}


/* ══════════════════════════════════════════════════════════
   TAB B — THE GOLDEN CHAIN (Ten Gurus)
══════════════════════════════════════════════════════════ */

.gurus-section-wrap {
  padding: 3rem 2rem 2.5rem;
}

/* Responsive 2-column grid */
.gurus-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Column gap kept tight; vertical separation comes from
     the card's own margin-bottom so each card reads as a
     fully isolated unit, not a tile in a mosaic. */
  column-gap: 1.5rem;
  row-gap: 0;             /* margin-bottom on .guru-card drives row spacing */
}

/* Individual Guru card */
.guru-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.13);
  border-radius: 16px;
  padding: 1.75rem;
  transition: border-color var(--transition), background var(--transition),
              transform var(--transition);
}

.guru-card:hover {
  border-color: rgba(212, 175, 55, 0.32);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-3px);
}

/* Header group — sits at the very top of the card, above the image.
   Padding gives it clearance from the card's outer border edge.   */
.guru-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}

/* Large gold number */
.guru-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.30;
  line-height: 1;
  min-width: 2.4rem;
  font-variant-numeric: tabular-nums;
  transition: opacity var(--transition);
}

.guru-card:hover .guru-number { opacity: 0.55; }

.guru-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.guru-name {
  font-size: 1rem;
  font-weight: 700;
  color: #f0ece2;
  margin: 0;
  line-height: 1.3;
}

.guru-dates {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  opacity: 0.65;
}

/* Fact list inside each Guru card */
.guru-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.guru-facts li {
  font-size: 0.84rem;
  line-height: 1.65;
  color: rgba(200, 215, 235, 0.65);
  padding-left: 1rem;
  position: relative;
}

/* Gold bullet */
.guru-facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.55;
}

.guru-facts strong { color: #e8d68a; font-weight: 600; }
.guru-facts em     { color: rgba(212, 175, 55, 0.65); font-style: italic; }

/* ── Guru Granth Sahib highlight block ───────────────── */
.ggs-block-wrap {
  padding: 1.5rem 2rem 5rem;
}

.ggs-block {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 3.5rem 4rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,0,0,0.25),
              inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Top gold rule */
.ggs-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Faint Ik Onkar watermark */
.ggs-watermark {
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(10rem, 18vw, 18rem);
  line-height: 1;
  color: rgba(212, 175, 55, 0.04);
  pointer-events: none;
  user-select: none;
}

.ggs-block-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.ggs-eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.ggs-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #f0ece2;
  margin: 0 0 1.1rem;
  letter-spacing: -0.02em;
}

.ggs-body {
  font-size: 0.97rem;
  line-height: 1.82;
  color: rgba(200, 215, 235, 0.70);
  margin: 0;
}

.ggs-body strong { color: #e8d68a; }
.ggs-body em     { color: rgba(212, 175, 55, 0.75); font-style: normal; }


/* ══════════════════════════════════════════════════════════
   TAB C — SACRED SEVA (Langar)
══════════════════════════════════════════════════════════ */

.langar-section-wrap {
  padding: 3rem 2rem 2.5rem;
}

.langar-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* Column headings with gold icon */
.langar-col-heading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f0ece2;
  margin: 0 0 1.25rem;
}

.langar-heading-icon {
  color: var(--gold);
  font-size: 0.95rem;
}

/* Body paragraphs in the left column */
.langar-body {
  font-size: 0.93rem;
  line-height: 1.80;
  color: rgba(200, 215, 235, 0.68);
  margin: 0 0 1rem;
}

.langar-body:last-of-type { margin-bottom: 0; }
.langar-body strong { color: #e8d68a; }
.langar-body em     { color: rgba(212, 175, 55, 0.70); font-style: italic; }

/* Principle list in the right column */
.langar-principles-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.langar-principle-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}

.langar-principle-item:first-child { border-top: 1px solid rgba(212, 175, 55, 0.08); }

/* Gold icon circle on each principle */
.langar-principle-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.80rem;
  margin-top: 2px;
}

.langar-principle-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #f0ece2;
  margin-bottom: 0.25rem;
}

.langar-principle-item p {
  font-size: 0.82rem;
  line-height: 1.62;
  color: rgba(200, 215, 235, 0.58);
  margin: 0;
}

/* ── Akbar story blockquote card ────────────────────── */
.langar-story-wrap {
  padding: 0.5rem 2rem 5rem;
}

.langar-story-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.langar-story-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.20);
  border-left: 4px solid var(--gold-dim);
  border-radius: 16px;
  padding: 3rem 3.5rem;
  position: relative;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 36px rgba(0,0,0,0.22);
}

/* Large decorative opening quote mark */
.langar-quote-mark {
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-size: 6rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.12;
  font-family: Georgia, serif;
  pointer-events: none;
  user-select: none;
}

.langar-story-content { position: relative; z-index: 1; }

.langar-story-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}

.langar-story-body {
  font-size: 0.93rem;
  line-height: 1.82;
  color: rgba(200, 215, 235, 0.70);
  margin: 0 0 0.95rem;
}

.langar-story-body strong { color: #e8d68a; }

.langar-story-source {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
}

.langar-story-source cite {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-style: italic;
  font-size: 0.80rem;
  color: rgba(212, 175, 55, 0.55);
}

.langar-story-source i { font-size: 0.75rem; }


/* ══════════════════════════════════════════════════════════
   OUR ROOTS — RESPONSIVE BREAKPOINTS
══════════════════════════════════════════════════════════ */

/* ── Tablet (≤ 1024px) ────────────────────────────────── */
@media screen and (max-width: 1024px) {

  /* Five Ks: 3 columns on tablet */
  .five-ks-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Gurus: single column on tablet */
  .gurus-grid {
    grid-template-columns: 1fr;
  }

  .langar-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .ggs-block { padding: 2.5rem 2.5rem; }
}

/* ── Mobile (≤ 768px) ─────────────────────────────────── */
@media screen and (max-width: 768px) {

  .roots-hero        { padding: 3rem 1.25rem 0; }
  .roots-panel-intro { padding: 3rem 1.25rem 2rem; }

  .roots-five-ks-wrap,
  .gurus-section-wrap,
  .ggs-block-wrap,
  .langar-section-wrap,
  .langar-story-wrap  { padding-inline: 1.25rem; }

  .roots-tab-bar { padding: 1.5rem 1.25rem 0; }

  /* Five Ks: 2 columns on mobile */
  .five-ks-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ggs-block { padding: 2rem 1.5rem; }

  .langar-story-card { padding: 2rem 1.5rem; }
  .langar-quote-mark { font-size: 4rem; top: 0.75rem; left: 1.25rem; }
}

/* ── Small mobile (≤ 480px) ──────────────────────────── */
@media screen and (max-width: 480px) {

  /* Five Ks: single column on small phones */
  .five-ks-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
  }

  .roots-tab { padding: 0.85rem 1rem; font-size: 0.80rem; }
  .roots-tab-icon { display: none; }  /* hide symbols on very small screens */
}

/* ══════════════════════════════════════════════════════════
   OUR ROOTS — Visual Overhaul Styles
   Task A: .k-card-media-wrap   — Five Ks icon viewport
   Task B: .guru-illustration-frame — Guru portrait canvas
           .guru-story-accordion    — accordion story drawer
   Task C: .langar-feature-wrap    — asymmetric story banner
           .historical-scene-viewport — 40% image panel
══════════════════════════════════════════════════════════ */


/* ══════════════════════════════════════════════════════════
   TASK A — Five Ks Media Viewport
   Replaces the plain .fivek-symbol circle with a taller
   illustrated viewport housing a FontAwesome icon above the
   Gurmukhi script label. Real illustration images drop in by
   swapping the <i> for an <img> inside .k-card-media-wrap.
══════════════════════════════════════════════════════════ */

/* Remove old fivek-symbol styles — k-card-media-wrap takes over */
.fivek-symbol { display: none; }

/* Illustrated viewport — centered circle with metallic gold ring */
.k-card-media-wrap {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;

  /* Metallic gold gradient ring using a layered background trick */
  background:
    radial-gradient(circle at 30% 30%, rgba(255,215,0,0.15) 0%, transparent 60%),
    rgba(212, 175, 55, 0.07);

  /* Thin metallic gold border with a subtle shimmer */
  border: 1.5px solid;
  border-image: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.80) 0%,
    rgba(184, 148, 31, 0.50) 40%,
    rgba(255, 215, 0, 0.80) 100%
  ) 1;
  border-radius: 50%;     /* border-image disables border-radius; override via outline */
  outline: 1.5px solid rgba(212, 175, 55, 0.35);
  outline-offset: -1.5px;

  box-shadow:
    0 0 0 4px rgba(212, 175, 55, 0.06),
    inset 0 1px 0 rgba(255, 215, 0, 0.12);

  transition: background var(--transition), box-shadow var(--transition),
              transform var(--transition);
}

.fivek-card:hover .k-card-media-wrap {
  background:
    radial-gradient(circle at 30% 30%, rgba(255,215,0,0.22) 0%, transparent 60%),
    rgba(212, 175, 55, 0.13);
  box-shadow:
    0 0 0 6px rgba(212, 175, 55, 0.10),
    inset 0 1px 0 rgba(255, 215, 0, 0.18),
    0 8px 24px rgba(212, 175, 55, 0.15);
  transform: scale(1.06);
}

/* FontAwesome placeholder icon inside the media viewport */
.k-card-icon {
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
  transition: color var(--transition);
}

/* Gurmukhi script label below the icon */
.k-card-gurmukhi {
  font-size: 0.72rem;
  color: rgba(212, 175, 55, 0.60);
  font-family: sans-serif;
  line-height: 1;
  letter-spacing: 0.02em;
}

/* When a real <img> is placed inside the wrap instead of <i>:
   fills the circle and hides the Gurmukhi label */
.k-card-media-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.k-card-media-wrap img ~ .k-card-gurmukhi,
.k-card-media-wrap img ~ .k-card-icon {
  display: none;
}


/* ══════════════════════════════════════════════════════════
   TASK B — Guru Illustration Frame
   Portrait canvas that lives at the top of each guru card.
   Placeholder: dark navy panel with icon + "Portrait" label.
   Replace with <img> once historical artwork is sourced.
══════════════════════════════════════════════════════════ */

/* Each Guru lives in a fully self-contained glass container.
   header → image → body reading flow creates an unambiguous
   visual boundary between every card — no text-to-image bleed. */
.guru-card {
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  /* Glassmorphic background — translucent layer over the navy section */
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /* Soft gold border — defines the card boundary without being heavy */
  border: 1px solid rgba(214, 175, 55, 0.1);
  /* Bottom margin provides clear breathing room between card rows    */
  margin-bottom: 40px;
  /* Transition for hover lift */
  transition: border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
}

.guru-card:hover {
  border-color: rgba(214, 175, 55, 0.28);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28),
              0 0 0 1px rgba(214, 175, 55, 0.14);
}

/* Inner padding for the text region below the image */
.guru-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

/* Illustration frame — the portrait canvas */
.guru-illustration-frame {
  width: 100%;
  /* 3/4 portrait ratio gives faces and upper-body room to breathe. */
  aspect-ratio: 3 / 4;
  /* No border-radius here — the outer .guru-card holds the corner radius.
     The frame sits flush between the header and body without gaps.    */
  border-radius: 0;
  background:
    /* Navy base shows through on contain-mode images (no letterboxing flash) */
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(212,175,55,0.08) 0%, transparent 65%),
    linear-gradient(160deg, #0b1e3a 0%, #091629 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

/* Subtle gold frame accent — thin inner inset border */
.guru-illustration-frame::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.12);
  pointer-events: none;
  transition: border-color var(--transition);
}

/* Micro-interaction: zoom on card hover signals "image goes here" */
.guru-card:hover .guru-illustration-frame {
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(212,175,55,0.14) 0%, transparent 65%),
    linear-gradient(160deg, #0d2244 0%, #0b1e3a 100%);
}

.guru-card:hover .guru-illustration-frame::before {
  border-color: rgba(212, 175, 55, 0.28);
}

/* Inner container for the placeholder icon + label */
.guru-illustration-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Smooth zoom of the placeholder content on hover */
.guru-card:hover .guru-illustration-inner {
  transform: scale(1.08);
}

/* Placeholder icon — replaced by real portrait */
.guru-illustration-icon {
  font-size: 2.2rem;
  color: rgba(212, 175, 55, 0.35);
  transition: color var(--transition);
}

.guru-card:hover .guru-illustration-icon {
  color: rgba(212, 175, 55, 0.55);
}

/* "Portrait" label beneath the icon */
.guru-illustration-label {
  font-family: var(--font);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.28);
  transition: color var(--transition);
}

.guru-card:hover .guru-illustration-label {
  color: rgba(212, 175, 55, 0.45);
}

/* Default: cover + top-center keeps faces in frame.
   Add .guru-portrait--contain to any <img> whose native ratio
   is too different from 3/4 — the whole portrait scales to fit
   inside the navy container with no cropping at all.           */
.guru-illustration-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;   /* anchor to top so faces are never clipped */
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Utility: .guru-portrait--contain ─────────────────────
   Apply this class directly to an <img> inside
   .guru-illustration-frame when a portrait's aspect ratio is
   unusual (very square, very tall, or wide) and cover-mode
   would still hide important content despite top-anchoring.

   Usage in HTML:
     <img src="assets/images/roots/guru-name.jpg"
          class="guru-bg-photo guru-portrait--contain"
          alt="...">

   Effect: scales the full image to fit inside the frame,
   letterboxed against the existing navy gradient background.
   No white bars — the dark navy fill is invisible.           */
.guru-portrait--contain {
  object-fit: contain;
  object-position: center center;  /* centre the full portrait in the frame */
}

/* Contain-mode images should not scale on hover — zooming a
   letterboxed image reveals empty background at the edges.   */
.guru-card:hover .guru-illustration-frame img.guru-portrait--contain {
  transform: none;
}

.guru-card:hover .guru-illustration-frame img {
  transform: scale(1.05);
}

.guru-illustration-frame img ~ .guru-illustration-inner {
  display: none;
}


/* ══════════════════════════════════════════════════════════
   TASK B — Guru Story Accordion
   .story-toggle-btn  — trigger row with chevron
   .guru-story-drawer — collapsible panel (max-height anim)
   .story-chevron     — rotates via JS on open/close
══════════════════════════════════════════════════════════ */

.guru-story-accordion {
  margin-top: 1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.10);
  padding-top: 0.85rem;
}

/* Trigger button — full-width row, gold text */
.story-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.80rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-dim);
  transition: color var(--transition);
  text-align: left;
}

.story-toggle-btn:hover {
  color: var(--gold-bright);
}

/* Chevron — rotated to 180° by JS when drawer is open */
.story-chevron {
  font-size: 0.7rem;
  color: var(--gold-dim);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
              color var(--transition);
  flex-shrink: 0;
}

.story-toggle-btn:hover .story-chevron {
  color: var(--gold-bright);
}

/* Drawer — max-height animated by JS (0 → scrollHeight) */
.guru-story-drawer {
  /* max-height and overflow set via inline JS */
}

.guru-story-text {
  font-family: var(--font);
  font-size: 0.83rem;
  line-height: 1.74;
  color: rgba(200, 215, 235, 0.60);
  margin: 0.85rem 0 0.25rem;
  padding-left: 0.75rem;
  border-left: 2px solid rgba(212, 175, 55, 0.22);
}

.guru-story-text em     { color: rgba(212, 175, 55, 0.65); font-style: italic; }
.guru-story-text strong { color: #e8d68a; }


/* ══════════════════════════════════════════════════════════
   TASK C — Asymmetric Akbar Feature Banner
   .langar-feature-wrap    — full-width section wrap
   .langar-feature-inner   — 60/40 grid container
   .langar-feature-narrative — left column, blockquote
   .historical-scene-viewport — right column, image panel
══════════════════════════════════════════════════════════ */

.langar-feature-wrap {
  padding: 2rem 2rem 5rem;
}

.langar-feature-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 0;                          /* columns share a border, not a gap */
  border: 1px solid rgba(212, 175, 55, 0.20);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.28);
}

/* ── Left narrative column (60%) ────────────────────── */
.langar-feature-narrative {
  padding: 3rem 3.5rem;
  background: rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(212, 175, 55, 0.15);
  position: relative;
}

/* Eyebrow label row */
.langar-feature-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.60);
  margin-bottom: 0.85rem;
}

.langar-feature-title {
  font-family: var(--font);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.25;
  margin: 0 0 1.5rem;
  letter-spacing: -0.01em;
}

/* Reuse existing .langar-quote-mark — already positioned absolute */
.langar-feature-narrative .langar-quote-mark {
  top: 1.5rem;
  left: 2.5rem;
}

/* Reuse .langar-story-body + .langar-story-source — no new rules needed */

/* ── Right image panel (40%) ─────────────────────────── */
.historical-scene-viewport {
  position: relative;
  background: linear-gradient(160deg, #0b1e3a 0%, #060f1e 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  overflow: hidden;
}

/* Full-bleed image — revealed when real artwork is added */
.scene-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.historical-scene-viewport:hover .scene-img {
  transform: scale(1.04);
}

/* ── Placeholder — removed when real image is added ──── */
.scene-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.scene-placeholder-icon {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(212, 175, 55, 0.30);
  font-size: 2rem;
}

.scene-plus {
  font-size: 0.9rem;
  opacity: 0.50;
}

.scene-placeholder-caption {
  font-family: var(--font);
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(200, 215, 235, 0.35);
  margin: 0;
}

.scene-placeholder-caption em {
  display: block;
  margin-top: 0.4rem;
  font-style: italic;
  color: rgba(212, 175, 55, 0.30);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

/* ── Gold caption strip at the bottom of the image panel */
.scene-caption-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem 1.25rem;
  background: rgba(6, 15, 30, 0.75);
  border-top: 1px solid rgba(212, 175, 55, 0.20);
  font-family: var(--font);
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.55);
  text-align: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}


/* ══════════════════════════════════════════════════════════
   VISUAL OVERHAUL — RESPONSIVE BREAKPOINTS
══════════════════════════════════════════════════════════ */

/* ── Tablet (≤ 1024px) ────────────────────────────────── */
@media screen and (max-width: 1024px) {

  /* Asymmetric banner becomes stacked */
  .langar-feature-inner {
    grid-template-columns: 1fr;
  }

  .langar-feature-narrative {
    border-right: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  }

  .historical-scene-viewport {
    min-height: 280px;
  }
}

/* ── Mobile (≤ 768px) ─────────────────────────────────── */
@media screen and (max-width: 768px) {

  .k-card-media-wrap {
    width: 80px;
    height: 80px;
  }

  .k-card-icon { font-size: 1.3rem; }

  /* Portrait ratio stays 3/4 on tablet — switching to 16/9
     was the original source of face-cropping on smaller screens */
  .guru-illustration-frame { aspect-ratio: 3 / 4; }

  .langar-feature-narrative { padding: 2rem 1.5rem; }

  .langar-feature-wrap { padding-inline: 1.25rem; }
}

/* ── Small mobile (≤ 480px) ──────────────────────────── */
@media screen and (max-width: 480px) {

  .story-toggle-btn { font-size: 0.76rem; }

  .historical-scene-viewport { min-height: 200px; }
}

/* ══════════════════════════════════════════════════════════
   OUR ROOTS — Immersive Visual Overhaul
   ─────────────────────────────────────────────────────────
   1. Five Ks photo cards      (.k-card-photo, .k-card-photo-label)
   2. Guru image frames        (.guru-bg-photo, .guru-frame-overlay,
                                .guru-achievement-badge, .guru-story-peek)
   3. Highlight badges         (.fact-badge)
   4. Editorial Akbar layout   (.editorial-layout and children)
══════════════════════════════════════════════════════════ */


/* ── 1. FIVE KS — Photo card overhaul ─────────────────── */

/* Override: the media-wrap becomes a true image container   */
.k-card-media-wrap {
  width: 100%;
  height: 160px;           /* fixed portrait-crop height     */
  border-radius: 12px;
  margin: 0 0 1.1rem;
  position: relative;
  overflow: hidden;
  outline: none;
  border: none;
  background: #0b1e3a;
  box-shadow: 0 4px 16px rgba(0,0,0,0.30),
              0 0 0 1.5px rgba(212,175,55,0.22);
  transition: box-shadow var(--transition);
}

.fivek-card:hover .k-card-media-wrap {
  box-shadow: 0 8px 28px rgba(0,0,0,0.38),
              0 0 0 1.5px rgba(212,175,55,0.50);
  transform: none;        /* reset old scale from previous rule */
}

/* The Unsplash photo — fills the container perfectly       */
.k-card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.4s ease;
  filter: brightness(0.70) saturate(0.75);
}

.fivek-card:hover .k-card-photo {
  transform: scale(1.07);
  filter: brightness(0.55) saturate(0.60);
}

/* Gold gradient scrim — ensures the Gurmukhi label reads  */
.k-card-media-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6,15,30,0.82) 0%,
    rgba(6,15,30,0.15) 55%,
    transparent 100%
  );
  pointer-events: none;
}

/* Gurmukhi label pinned to the bottom of the photo frame  */
.k-card-photo-label {
  position: absolute;
  bottom: 0.6rem;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
  font-family: sans-serif;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* Remove old icon/gurmukhi visibility rules — photo takes over */
.k-card-icon,
.k-card-gurmukhi { display: none; }


/* ── 2. GURU CARDS — Cinematic image frames ───────────── */

/* Full-bleed background photo                             */
.guru-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;   /* canonical form — face anchor at top */
  filter: brightness(0.55) saturate(0.70);
  transition: transform 0.60s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.45s ease;
}

/* Contain utility applied to .guru-bg-photo when needed.
   Brightness stays reduced so the peek overlay reads well.   */
.guru-bg-photo.guru-portrait--contain {
  object-fit: contain;
  object-position: center center;
  filter: brightness(0.65) saturate(0.70);
}

.guru-card:hover .guru-bg-photo.guru-portrait--contain {
  transform: none;   /* same no-zoom rule as the non-atmospheric variant */
  filter: brightness(0.45) saturate(0.55);
}

.guru-card:hover .guru-bg-photo {
  transform: scale(1.06);
  filter: brightness(0.35) saturate(0.55);
}

/* Gradient overlay — number and badge always readable     */
.guru-frame-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6,15,30,0.55) 0%,
    transparent        40%,
    rgba(6,15,30,0.80) 100%
  );
  transition: background 0.40s ease;
  pointer-events: none;
}

.guru-card:hover .guru-frame-overlay {
  background: linear-gradient(
    180deg,
    rgba(6,15,30,0.70)  0%,
    rgba(6,15,30,0.20)  40%,
    rgba(6,15,30,0.95)  100%
  );
}

/* Achievement badge — top-right corner of the frame       */
.guru-achievement-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  font-family: var(--font);
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #0d1f3c;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-dim));
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
  transition: opacity var(--transition), transform var(--transition);
}

/* Subtle fade on hover so the peek text is the hero       */
.guru-card:hover .guru-achievement-badge {
  opacity: 0.75;
  transform: translateY(-2px);
}

/* Story peek banner — slides up from the bottom on hover  */
.guru-story-peek {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  padding: 1.1rem 1.25rem;
  background: linear-gradient(
    to top,
    rgba(10,25,47,0.97) 0%,
    rgba(10,25,47,0.82) 70%,
    transparent         100%
  );
  border-top: 1px solid rgba(212,175,55,0.20);

  /* Slide-up: starts hidden below the frame              */
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.42s cubic-bezier(0.34, 1.30, 0.64, 1),
              opacity    0.35s ease;
}

.guru-card:hover .guru-story-peek {
  transform: translateY(0);
  opacity: 1;
}

.guru-peek-text {
  font-family: var(--font);
  font-size: 0.80rem;
  line-height: 1.60;
  color: rgba(220, 230, 245, 0.90);
  margin: 0;
}

/* Suppress old illustration placeholder — photo takes over */
.guru-illustration-frame .guru-illustration-inner { display: none; }
.guru-illustration-frame::before { display: none; }


/* ── 3. HIGHLIGHT BADGES — inline fact micro-badges ────── */

/* Metallic gold pill badge injected next to key achievements */
.fact-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font);
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #0d1f3c;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-dim) 100%);
  padding: 2px 9px;
  border-radius: 50px;
  margin-left: 0.4rem;
  vertical-align: middle;
  white-space: nowrap;
  box-shadow: 0 1px 6px rgba(212,175,55,0.30);
  /* Slight shimmer pulse to draw the eye                  */
  animation: badge-shimmer 3.5s ease-in-out infinite;
}

@keyframes badge-shimmer {
  0%, 100% { box-shadow: 0 1px 6px rgba(212,175,55,0.30); }
  50%       { box-shadow: 0 1px 12px rgba(212,175,55,0.60); }
}


/* ── 4. EDITORIAL AKBAR LAYOUT ─────────────────────────── */

/* Override the narrative column when .editorial-layout is present */
.langar-feature-narrative.editorial-layout {
  padding: 3.5rem 4rem;
  position: relative;
  overflow: hidden;     /* clips the giant bg quote mark          */
}

/* Giant decorative background quotation mark
   Purely atmospheric — aria-hidden in HTML                */
.editorial-bg-quote {
  position: absolute;
  top: -2rem;
  left: -1rem;
  font-size: clamp(14rem, 22vw, 20rem);
  line-height: 1;
  color: rgba(212,175,55,0.055);
  font-family: Georgia, 'Times New Roman', serif;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* All editorial content sits above the watermark          */
.editorial-layout > *:not(.editorial-bg-quote) {
  position: relative;
  z-index: 1;
}

/* Gold vertical accent line + eyebrow row                 */
.editorial-header {
  display: flex;
  align-items: stretch;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.editorial-accent-line {
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--gold-bright), var(--gold-dim));
  flex-shrink: 0;
  min-height: 2.5rem;
}

.editorial-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  justify-content: center;
}

.editorial-label {
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.editorial-dateline {
  font-family: var(--font);
  font-size: 0.72rem;
  color: rgba(200,215,235,0.45);
  letter-spacing: 0.06em;
  font-style: italic;
}

/* Cinematic editorial headline                            */
.editorial-headline {
  font-family: var(--font);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #f0ece2;
  margin: 0 0 1.5rem;
}

.editorial-headline em {
  color: var(--gold);
  font-style: normal;
  display: block;
}

/* Pull-quote — the single most powerful sentence, set large */
.editorial-pullquote {
  margin: 0 0 1.75rem;
  padding: 1.1rem 1.5rem;
  border-left: 3px solid var(--gold-dim);
  background: rgba(212,175,55,0.06);
  border-radius: 0 10px 10px 0;
  font-family: var(--font);
  font-size: clamp(0.92rem, 1.6vw, 1.05rem);
  font-weight: 500;
  line-height: 1.68;
  font-style: italic;
  color: rgba(240,236,226,0.88);
  letter-spacing: 0.01em;
}

/* Body paragraphs — editorial spacing                     */
.editorial-body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.editorial-body p {
  font-family: var(--font);
  font-size: 0.93rem;
  line-height: 1.82;
  color: rgba(200,215,235,0.72);
  margin: 0;
}

.editorial-body strong { color: #e8d68a; }

/* Source citation row                                     */
.editorial-source {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(212,175,55,0.12);
  font-family: var(--font);
  font-size: 0.75rem;
  color: rgba(212,175,55,0.50);
  font-style: italic;
}

.editorial-source i { font-size: 0.7rem; }


/* ══════════════════════════════════════════════════════════
   IMMERSIVE OVERHAUL — RESPONSIVE BREAKPOINTS
══════════════════════════════════════════════════════════ */

/* ── Tablet (≤ 1024px) ────────────────────────────────── */
@media screen and (max-width: 1024px) {

  .langar-feature-narrative.editorial-layout {
    padding: 2.5rem 2.5rem;
  }

  .editorial-bg-quote { font-size: 10rem; }

  .editorial-headline { font-size: 1.7rem; }
}

/* ── Mobile (≤ 768px) ─────────────────────────────────── */
@media screen and (max-width: 768px) {

  /* Five Ks photo height on mobile                       */
  .k-card-media-wrap { height: 130px; }

  /* Guru frame: peek always slightly visible on mobile
     (hover doesn't exist on touch — show peek at rest)   */
  .guru-story-peek {
    transform: translateY(0);
    opacity: 1;
    background: linear-gradient(
      to top,
      rgba(10,25,47,0.96) 0%,
      rgba(10,25,47,0.65) 100%
    );
  }

  /* Disable the hover-based zoom on touch devices         */
  .guru-card:hover .guru-bg-photo { transform: none; }

  .langar-feature-narrative.editorial-layout {
    padding: 2rem 1.5rem;
  }

  .editorial-bg-quote { font-size: 7rem; top: -1rem; left: -0.5rem; }

  .editorial-pullquote { padding: 0.9rem 1.1rem; font-size: 0.90rem; }
}

/* ── Small mobile (≤ 480px) ──────────────────────────── */
@media screen and (max-width: 480px) {

  .guru-achievement-badge { font-size: 0.56rem; padding: 2px 8px; }

  .editorial-headline { font-size: 1.4rem; }

  .fact-badge { display: none; }  /* too cramped at this width */
}

/* ══════════════════════════════════════════════════════════
   GALLERY — Section
   Layout regions:
     .gallery-header-wrap    — eyebrow + title + sub
     .gallery-filter-bar     — sticky category switcher
     .gallery-grid-wrap      — masonry grid + empty state
     .gallery-lightbox       — fullscreen carousel modal
   Design tokens pulled from :root throughout.
   All transitions follow the --transition variable.
══════════════════════════════════════════════════════════ */

/* ── Section canvas ─────────────────────────────────────── */
.gallery-section {
  font-family: var(--font);
  background: linear-gradient(170deg, #060f1e 0%, #0A192F 55%, #0d2040 100%);
  min-height: 100vh;
}


/* ══════════════════════════════════════════════════════════
   1. SECTION HEADER
══════════════════════════════════════════════════════════ */

.gallery-header-wrap {
  padding: 4.5rem 2rem 2.5rem;
  text-align: center;
}

.gallery-header-inner {
  max-width: 680px;
  margin: 0 auto;
}

/* Eyebrow inherits .section-eyebrow but overrides color for dark bg */
.gallery-eyebrow { color: var(--gold); }
.gallery-eyebrow::before { background: var(--gold); }

.gallery-page-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: #f0ece2;
  margin: 0.5rem 0 1rem;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.gallery-page-sub {
  font-size: 0.97rem;
  line-height: 1.72;
  color: rgba(200, 215, 235, 0.60);
  margin: 0;
}


/* ══════════════════════════════════════════════════════════
   2. FILTER BAR
   Sticky below the fixed main header.
   Glassmorphism pill container.
   Active button: gold underline + bright text.
══════════════════════════════════════════════════════════ */

.gallery-filter-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 200;
  padding: 0 2rem;
  background: linear-gradient(170deg, #060f1e 0%, #0A192F 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.gallery-filter-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.gallery-filter-inner::-webkit-scrollbar { display: none; }

/* Individual filter button */
.gallery-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: rgba(200, 215, 235, 0.45);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  bottom: -1px;        /* overlaps the bar's border-bottom */
  transition: color var(--transition), border-color var(--transition);
}

.gallery-filter-icon { font-size: 0.8rem; }

/* Active state */
.gallery-filter-btn--active,
.gallery-filter-btn[aria-pressed="true"] {
  color: #f0ece2;
  border-bottom-color: var(--gold);
}

/* Hover — non-active */
.gallery-filter-btn:not(.gallery-filter-btn--active):hover {
  color: rgba(212, 175, 55, 0.75);
  border-bottom-color: rgba(212, 175, 55, 0.25);
}


/* ══════════════════════════════════════════════════════════
   3. MASONRY GRID
   CSS columns masonry — the browser fills each column
   top-to-bottom, giving a Pinterest-style flow.
   Items have break-inside:avoid so they never split.
   Varying .gallery-img-wrap heights create the mixed
   portrait/landscape rhythm.
══════════════════════════════════════════════════════════ */

.gallery-grid-wrap {
  padding: 3rem 2rem 5rem;
}

/* CSS columns masonry — 4 → 2 → 1 via breakpoints */
.gallery-grid {
  max-width: 1400px;
  margin: 0 auto;
  columns: 4;
  column-gap: 1rem;
}

/* Each item must never be split across columns */
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  /* Filter transition — items fade out when filtered */
  opacity: 1;
  transition: opacity 0.32s ease, transform 0.32s ease;
}

/* Hidden state set by the JS filter — fade + slight scale down */
.gallery-item--hidden {
  display: none;
}

/* ── Gallery card ─────────────────────────────────────── */
.gallery-card {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

/* ── Image wrapper — controls aspect ratio per item ────── */
.gallery-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  /* Default: landscape proportion */
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  background: #0b1e3a;   /* navy placeholder before image loads */
}

/* Portrait variant — taller cards create masonry rhythm */
.gallery-img-wrap--portrait {
  aspect-ratio: 3 / 4;
}

/* The photo itself */
.gallery-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.4s ease;
  filter: brightness(0.92) saturate(0.90);
}

/* Hover: slow zoom + slight desaturate to let the overlay pop */
.gallery-item:hover .gallery-img {
  transform: scale(1.04);
  filter: brightness(0.65) saturate(0.70);
}

/* ── Overlay — slides up with title on hover ─────────── */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6, 15, 30, 0.92) 0%,
    rgba(6, 15, 30, 0.30) 55%,
    transparent           100%
  );
  border-radius: 10px;
  display: flex;
  align-items: flex-end;
  /* Start hidden; translate up from below on hover */
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-overlay-content {
  padding: 1rem 1rem 0.85rem;
  width: 100%;
}

/* Category pill inside the overlay */
.gallery-item-category {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0d1f3c;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-dim));
  padding: 2px 9px;
  border-radius: 50px;
  margin-bottom: 0.4rem;
}

/* Title text in the overlay */
.gallery-item-title {
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  color: #f0ece2;
  margin: 0;
  line-height: 1.35;
}

/* ── Expand hint icon — top-right corner ─────────────── */
.gallery-expand-hint {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(6, 15, 30, 0.60);
  border: 1px solid rgba(212, 175, 55, 0.30);
  color: var(--gold);
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}

.gallery-item:hover .gallery-expand-hint {
  opacity: 1;
  transform: scale(1);
}

/* ── Empty state ─────────────────────────────────────── */
.gallery-empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.gallery-empty-state[hidden] { display: none; }

.gallery-empty-icon {
  font-size: 3rem;
  color: rgba(212, 175, 55, 0.25);
  display: block;
  margin-bottom: 1rem;
}

.gallery-empty-text {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(200, 215, 235, 0.55);
  margin: 0 0 0.35rem;
}

.gallery-empty-sub {
  font-family: var(--font);
  font-size: 0.85rem;
  color: rgba(200, 215, 235, 0.32);
  margin: 0;
}


/* ══════════════════════════════════════════════════════════
   4. LIGHTBOX MODAL
   Full-viewport overlay with glassmorphic dark backdrop.
   Uses opacity + visibility (never display:none) so the
   CSS transition animates smoothly — same pattern as the
   alert banner dismiss throughout this project.
   Opens: .gallery-lightbox--open added by JS.
══════════════════════════════════════════════════════════ */

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;

  /* Glassmorphic deep backdrop */
  background: rgba(4, 10, 22, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  /* Hidden by default — JS adds --open to reveal */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease, visibility 0.32s ease;

  /* Layout — centred content, arrows flanking */
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  grid-template-rows: 1fr auto;
  grid-template-areas:
    "prev  img  next"
    "prev caption next";
  align-items: center;
  justify-items: center;
}

/* Open state — toggled by JS */
.gallery-lightbox--open {
  opacity: 1;
  visibility: visible;
}

/* Click-to-close full-size backdrop layer */
.gallery-lb-backdrop {
  position: absolute;
  inset: 0;
  cursor: zoom-out;
}

/* ── Close button ────────────────────────────────────── */
.gallery-lb-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  z-index: 10001;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 55, 0.50);
  background: rgba(13, 31, 60, 0.85);
  color: var(--gold);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition),
              transform var(--transition);
}

.gallery-lb-close:hover {
  background: var(--gold-dim);
  border-color: var(--gold-dim);
  color: #0d1f3c;
  transform: rotate(90deg) scale(1.05);
}

/* ── Navigation arrows ──────────────────────────────── */
.gallery-lb-arrow {
  position: relative;
  z-index: 10001;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  background: rgba(13, 31, 60, 0.75);
  color: var(--gold);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition),
              transform var(--transition);
}

.prev-btn { grid-area: prev; }
.next-btn { grid-area: next; }

.gallery-lb-arrow:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold);
  transform: scale(1.08);
}

/* Disabled state — at first or last image */
.gallery-lb-arrow:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  transform: none;
}

/* ── Image container ─────────────────────────────────── */
.gallery-lb-content {
  grid-area: img;
  position: relative;
  z-index: 10000;
  max-width: min(90vw, 900px);
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 0 0;

  /* Spring entrance scale */
  transform: scale(0.90);
  transition: transform 0.36s cubic-bezier(0.34, 1.30, 0.64, 1);
}

.gallery-lightbox--open .gallery-lb-content {
  transform: scale(1);
}

/* The enlarged image */
.gallery-lb-img {
  display: block;
  max-width: 100%;
  max-height: 75vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(212, 175, 55, 0.18);
  /* Fade during navigation transitions */
  transition: opacity 0.22s ease;
}

.gallery-lb-img.is-transitioning {
  opacity: 0;
}

/* Caption strip below the image */
.gallery-lb-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.85rem;
  text-align: center;
}

.gallery-lb-category {
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.80;
}

.gallery-lb-title {
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(240, 236, 226, 0.88);
}

/* Image counter — bottom-centre of the overlay */
.gallery-lb-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  color: rgba(212, 175, 55, 0.55);
  z-index: 10001;
}


/* ══════════════════════════════════════════════════════════
   GALLERY — RESPONSIVE BREAKPOINTS
══════════════════════════════════════════════════════════ */

/* ── Desktop medium (≤ 1280px) ────────────────────────── */
@media screen and (max-width: 1280px) {
  .gallery-grid { columns: 3; }
}

/* ── Tablet (≤ 1024px) ────────────────────────────────── */
@media screen and (max-width: 1024px) {
  .gallery-grid { columns: 2; }
  .gallery-filter-btn { padding: 0.85rem 1.1rem; font-size: 0.80rem; }
}

/* ── Mobile (≤ 768px) ─────────────────────────────────── */
@media screen and (max-width: 768px) {
  .gallery-header-wrap { padding: 3rem 1.25rem 2rem; }
  .gallery-grid-wrap   { padding: 2rem 1.25rem 4rem; }
  .gallery-grid        { columns: 1; max-width: 480px; margin: 0 auto; }
  .gallery-filter-btn  { padding: 0.85rem 0.9rem; font-size: 0.76rem; }

  /* On touch: always show the overlay so titles are readable */
  .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
    background: linear-gradient(
      to top,
      rgba(6, 15, 30, 0.88) 0%,
      rgba(6, 15, 30, 0.10) 55%,
      transparent           100%
    );
  }

  .gallery-expand-hint { opacity: 1; transform: scale(1); }

  /* Lightbox: tighter layout on mobile */
  .gallery-lightbox {
    grid-template-columns: 44px 1fr 44px;
  }

  .gallery-lb-content { padding-top: 4rem; }

  .gallery-lb-arrow { width: 40px; height: 40px; font-size: 0.85rem; }
}

/* ── Small mobile (≤ 480px) ──────────────────────────── */
@media screen and (max-width: 480px) {
  .gallery-filter-icon { display: none; }
  .gallery-filter-btn  { padding: 0.85rem 0.75rem; font-size: 0.72rem; }
  .gallery-lb-img      { border-radius: 8px; }
}

/* ══════════════════════════════════════════════════════════
   HOME PAGE — Section
   Sub-sections:
     1. Cover hero          (.cover-hero)
     2. Marquee ribbon      (.marquee-ribbon)
     3. Live Gurbani player (.gurbani-player-wrap)
     4. Vision hub          (.vision-hub-wrap)
   All colours use the shared :root design tokens.
   No new custom properties introduced.
══════════════════════════════════════════════════════════ */

.hero-section {
  font-family: var(--font);
  background: #060f1e;
}


/* ══════════════════════════════════════════════════════════
   1. COVER HERO FOLD
   Full-viewport canvas with background render image.
   Dark navy gradient overlay keeps text readable at all times.
   Khanda watermark is purely decorative (aria-hidden).
══════════════════════════════════════════════════════════ */

.cover-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background render image — fills the frame, never stretches */
.cover-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cover-hero-render {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  /* Subtle desaturate so the gold text pops against any render tone */
  filter: brightness(0.60) saturate(0.75);
  transition: transform 8s ease;
}

/* Slow Ken Burns drift — adds life without distraction */
.cover-hero:hover .cover-hero-render {
  transform: scale(1.04);
}

/* Layered dark overlay — navy → transparent → dark bottom */
.cover-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(6, 15, 30, 0.55) 0%,
      rgba(6, 15, 30, 0.20) 45%,
      rgba(6, 15, 30, 0.80) 100%
    );
}

/* Giant Khanda watermark — atmosphere only */
.cover-hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(20rem, 40vw, 48rem);
  line-height: 1;
  color: rgba(212, 175, 55, 0.030);
  pointer-events: none;
  user-select: none;
  z-index: 1;
  white-space: nowrap;
}

/* ── Content block ──────────────────────────────────────── */
.cover-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
}

.cover-hero-eyebrow {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.5rem;
  display: block;
}

.cover-hero-title {
  font-family: var(--font);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #f0ece2;
  margin: 0 0 0.6rem;
}

.cover-hero-title-gold {
  color: var(--gold);
  display: block;
}

.cover-hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  line-height: 1.70;
  color: rgba(200, 215, 235, 0.75);
  margin: 0.75rem auto 2.5rem;
  max-width: 620px;
}

/* ── CTA button pair ────────────────────────────────────── */
.cover-hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Button A — solid gold gradient */
.hero-cta-solid {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 14px 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold-bright), var(--gold-dim));
  background-size: 200% 200%;
  background-position: left center;
  color: #0d1f3c;
  text-decoration: none;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.90rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.38);
  transition: background-position 0.5s ease, transform var(--transition),
              box-shadow var(--transition);
}

.hero-cta-solid:hover {
  background-position: right center;
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(212, 175, 55, 0.55);
}

/* Button B — transparent with gold border */
.hero-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 13px 30px;
  border-radius: 8px;
  background: transparent;
  color: var(--gold);
  text-decoration: none;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.90rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px solid rgba(212, 175, 55, 0.65);
  transition: background var(--transition), border-color var(--transition),
              color var(--transition), transform var(--transition);
}

.hero-cta-outline:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  transform: translateY(-3px);
}

/* ── Scroll cue ─────────────────────────────────────────── */
.cover-scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.cover-scroll-label {
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.55);
}

.cover-scroll-arrow {
  color: var(--gold);
  font-size: 1rem;
  animation: bounce-arrow 2s ease-in-out infinite;
}


/* ══════════════════════════════════════════════════════════
   2. MARQUEE RIBBON
   Edge-to-edge gold horizontal ticker.
   Two identical .marquee-text spans placed back-to-back so
   the translateX loop is perfectly seamless with no flash.
   Pauses on hover via animation-play-state.
══════════════════════════════════════════════════════════ */

.marquee-ribbon {
  overflow: hidden;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-bright), var(--gold-dim));
  padding: 0.65rem 0;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

/* Track: flex row, wider than viewport, moves left infinitely */
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

.marquee-ribbon:hover .marquee-track {
  animation-play-state: paused;
}

/* Each text span — one visible + one seamless duplicate */
.marquee-text {
  font-family: var(--font);
  font-size: 0.70rem;
  font-weight: 800;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: #0d1f3c;
  padding: 0 2rem;
  white-space: nowrap;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
  /* -50% moves exactly one full .marquee-text width, landing back
     at the duplicate — visually indistinguishable from position 0 */
}


/* ══════════════════════════════════════════════════════════
   3. LIVE GURBANI PLAYER
   Three-column glassmorphic card:
     Left   — live badge + stream info
     Centre — custom play/pause button
     Right  — WhatsApp CTA
   The pulsing red dot uses the existing .live-dot keyframe
   pattern established throughout the project.
══════════════════════════════════════════════════════════ */

.gurbani-player-wrap {
  background: linear-gradient(170deg, #060f1e 0%, #0A192F 100%);
  padding: 3.5rem 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.10);
  border-bottom: 1px solid rgba(212, 175, 55, 0.10);
}

.gurbani-player-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Glass card */
.gurbani-player-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 20px;
  padding: 2.25rem 2.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ── Live badge ─────────────────────────────────────────── */
.gurbani-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.30);
  border-radius: 50px;
  padding: 4px 12px;
  margin-bottom: 0.85rem;
}

/* Pulsing red dot */
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  animation: live-dot-pulse 1.6s ease-in-out infinite;
}

@keyframes live-dot-pulse {
  0%, 100% { opacity: 1;   transform: scale(1);    }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

.live-label {
  font-family: var(--font);
  font-size: 0.60rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #f87171;
}

.gurbani-title {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  color: #f0ece2;
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.gurbani-subtitle {
  font-family: var(--font);
  font-size: 0.80rem;
  color: rgba(200, 215, 235, 0.55);
  margin: 0;
  font-style: italic;
}

/* ── Play/pause button ──────────────────────────────────── */
.gurbani-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.gurbani-play-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition),
              transform var(--transition), box-shadow var(--transition);
  position: relative;
}

/* Outer ring animation when actively playing */
.gurbani-play-btn--active {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.15);
  box-shadow: 0 0 0 8px rgba(212, 175, 55, 0.10),
              0 0 24px rgba(212, 175, 55, 0.25);
  animation: player-ring-pulse 2.4s ease-in-out infinite;
}

@keyframes player-ring-pulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(212,175,55,0.10), 0 0 24px rgba(212,175,55,0.25); }
  50%       { box-shadow: 0 0 0 14px rgba(212,175,55,0.04), 0 0 36px rgba(212,175,55,0.40); }
}

.gurbani-play-btn:hover:not(.gurbani-play-btn--active) {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--gold);
  transform: scale(1.06);
}

.gurbani-play-icon { line-height: 1; }

.gurbani-status {
  font-family: var(--font);
  font-size: 0.70rem;
  font-weight: 500;
  color: rgba(200, 215, 235, 0.45);
  text-align: center;
  margin: 0;
  letter-spacing: 0.04em;
}

/* ── Right CTA ──────────────────────────────────────────── */
.gurbani-cta {
  text-align: right;
}

.gurbani-cta-label {
  font-family: var(--font);
  font-size: 0.80rem;
  color: rgba(200, 215, 235, 0.50);
  margin: 0 0 0.75rem;
  line-height: 1.55;
}

.gurbani-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 20px;
  border-radius: 50px;
  background: rgba(37, 211, 102, 0.10);
  border: 1.5px solid rgba(37, 211, 102, 0.30);
  color: #4ade80;
  text-decoration: none;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.82rem;
  transition: background var(--transition), border-color var(--transition),
              color var(--transition), transform var(--transition);
}

.gurbani-whatsapp-btn i { font-size: 1.05rem; }

.gurbani-whatsapp-btn:hover {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
  transform: translateY(-2px);
}


/* ══════════════════════════════════════════════════════════
   4. VISION & CONSTRUCTION HUB
   Section heading centred above.
   Asymmetric 2-col grid: 55% slider | 45% video portals.
══════════════════════════════════════════════════════════ */

.vision-hub-wrap {
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(212,175,55,0.07) 0%, transparent 60%),
    linear-gradient(170deg, #060f1e 0%, #0A192F 60%, #0d2040 100%);
  padding: 5.5rem 2rem 6rem;
  border-top: 1px solid rgba(212, 175, 55, 0.10);
}

.vision-hub-inner {
  max-width: 1300px;
  margin: 0 auto;
}

/* Section heading */
.vision-hub-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.vision-eyebrow { color: var(--gold); }
.vision-eyebrow::before { background: var(--gold); }

.vision-hub-title {
  font-family: var(--font);
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 700;
  color: #f0ece2;
  margin: 0.5rem 0 0;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.vision-hub-title-gold { color: var(--gold); display: block; }

/* Two-column grid */
/* Vision hub grid — two columns: slider left, videos right.
   align-items: start so each column is sized by its own content.
   The slider's 16:9 aspect-ratio is self-contained and no longer
   needs to flex-match the right column height.                    */
.vision-hub-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 2.5rem;
  align-items: start;
}


/* ── Render slider ──────────────────────────────────────── */
/* Left column stretches to match right column height.
   max-height prevents the slider from becoming taller than
   two stacked video cards on very wide viewports.         */
/* ── Render slider column ────────────────────────────────
   Simple block element — no flex-height matching.
   The .render-slider enforces its own 16:9 ratio.         */
.render-slider-col {
  position: relative;
}

/* ── Render slider container ─────────────────────────────
   16:9 aspect-ratio locks the frame independent of the
   right column height — no more flex-stretch fighting.
   overflow:hidden clips arrows and dots to the frame.     */
.render-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: #07162c;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.40),
              0 0 0 1px rgba(212, 175, 55, 0.18);
}

/* ── Slide wrapper — all slides absolutely stacked ───────
   Each .slide is position:absolute inset:0 so they occupy
   exactly the same space. Opacity crossfade via .active.  */
.slider-wrapper {
  position: absolute;
  inset: 0;
}

/* Individual slide — hidden by default */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
}

/* Active slide — fully visible */
.slide.active {
  opacity: 1;
}

/* Slide image — contain so full render is always visible.
   Navy background fills any letterbox space.              */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background-color: #07162c;
  display: block;
}

/* ── Arrow buttons ───────────────────────────────────────
   Vertically centred on the slider frame.
   Semi-transparent navy with gold ring.                   */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  background: rgba(6, 15, 30, 0.72);
  color: var(--gold);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background var(--transition), border-color var(--transition),
              transform var(--transition), color var(--transition);
}

.prev-arrow { left: 0.75rem; }
.next-arrow { right: 0.75rem; }

.slider-arrow:hover {
  background: rgba(212, 175, 55, 0.20);
  border-color: var(--gold);
  color: var(--gold-bright);
  transform: translateY(-50%) scale(1.08);
}

/* ── Dot indicators ──────────────────────────────────────
   Centred along the bottom edge of the slider frame.      */
.slider-dots {
  position: absolute;
  bottom: 2.6rem;    /* sits above the caption strip */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  z-index: 4;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  display: inline-block;
}

.dot.active {
  background: var(--gold);
  transform: scale(1.30);
}

.dot:hover:not(.active) {
  background: rgba(212, 175, 55, 0.60);
}

/* ── Caption strip ───────────────────────────────────────
   Frosted glass bar pinned to the bottom of the frame.    */
.slider-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: rgba(6, 15, 30, 0.82);
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  font-family: var(--font);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}


/* ── Video portal cards ─────────────────────────────────── */
.video-portals-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.video-portal-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
}

.video-portal-card:hover {
  border-color: rgba(212, 175, 55, 0.32);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

/* Label row above the iframe */
.video-portal-label {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem 0.85rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.09);
}

.video-portal-icon {
  font-size: 1rem;
  color: var(--gold);
  opacity: 0.80;
  flex-shrink: 0;
}

.video-portal-category {
  display: block;
  font-family: var(--font);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.60);
  margin-bottom: 0.15rem;
}

.video-portal-title {
  font-family: var(--font);
  font-size: 0.90rem;
  font-weight: 700;
  color: #f0ece2;
  margin: 0;
  line-height: 1.3;
}

/* Responsive 16:9 iframe wrapper */
.video-portal-frame {
  position: relative;
  padding-bottom: 56.25%;   /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  background: #060f1e;
}

.video-portal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}


/* ══════════════════════════════════════════════════════════
   HOME — RESPONSIVE BREAKPOINTS
══════════════════════════════════════════════════════════ */

/* ── Tablet (≤ 1024px) ────────────────────────────────── */
@media screen and (max-width: 1024px) {

  .vision-hub-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin: 0 auto;
  }

  .gurbani-player-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.75rem;
    padding: 2rem 1.75rem;
  }

  .gurbani-info { display: flex; flex-direction: column; align-items: center; }
  .gurbani-cta  { text-align: center; }
}

/* ── Mobile (≤ 768px) ─────────────────────────────────── */
@media screen and (max-width: 768px) {

  .cover-hero-title  { font-size: clamp(2rem, 8vw, 3rem); }
  .cover-hero-sub    { font-size: 0.95rem; }
  .cover-hero-ctas   { flex-direction: column; align-items: center; gap: 0.75rem; }
  .hero-cta-solid,
  .hero-cta-outline  { width: 100%; max-width: 300px; justify-content: center; }

  .gurbani-player-wrap { padding: 2.5rem 1.25rem; }

  .vision-hub-wrap { padding: 4rem 1.25rem 5rem; }
}

/* ── Small mobile (≤ 480px) ──────────────────────────── */
@media screen and (max-width: 480px) {

  .cover-scroll-cue { bottom: 1.5rem; }

  .gurbani-play-btn { width: 58px; height: 58px; font-size: 1.1rem; }
}