/* ============================================================
   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. */
.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);
}

.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 {
  display: none;
}

/* ══════════════════════════════════════════════════════════
   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 — 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;
}