/* =============================================================
   Sri Sathya Sai Colombo Samithi
   Custom Stylesheet
   Stack: HTML5 + Bootstrap 5 + Google Fonts (Playfair Display, Open Sans)

   TABLE OF CONTENTS
   -----------------
   1.  CSS Variables (Design Tokens)
   2.  Global / Base Styles
   3.  Accessibility
   4.  Navigation
   5.  Hero Section
   6.  Shared Section Styles
   7.  About Section
   8.  Activities Section
   9.  Youth Section
   10. Gallery Section
   11. Radio Sai Interviews
   12. Contact Section
   13. Footer
   14. Animations
   14. Responsive Overrides
   15. Reduced Motion
   ============================================================= */


/* ================================================================
   1. CSS VARIABLES — Design Tokens
   ================================================================ */
:root {
  /* Brand Colours */
  --color-primary:       #1E4E8C;   /* Primary blue */
  --color-primary-dark:  #0F2D5A;   /* Hero deep blue */
  --color-primary-light: #2A6DB5;   /* Hover/lighter shade */
  --color-gold:          #D4AF37;   /* Gold accent — used sparingly */
  --color-gold-dark:     #B8941E;   /* Gold hover state */

  /* Neutral Palette */
  --color-bg:            #F8FAFC;   /* Page background */
  --color-surface:       #FFFFFF;   /* Card/section background */
  --color-border:        #E5E9EF;   /* Subtle borders */
  --color-text-primary:  #1F2937;   /* Main body text */
  --color-text-secondary:#6B7280;   /* Supporting / caption text */
  --color-text-muted:    #9CA3AF;   /* Placeholder / disabled */

  /* Section Backgrounds */
  --color-section-alt:   #F1F5FB;   /* Alternating section bg */

  /* Typography */
  --font-heading:        'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:           'Open Sans', 'Helvetica Neue', Arial, sans-serif;

  /* Font Sizes — base 18px for elderly readability */
  --fs-body:             1.0625rem; /* ~17px */
  --fs-body-lg:          1.125rem;  /* ~18px */
  --fs-label:            0.8125rem; /* ~13px */

  /* Spacing */
  --section-padding-y:   5.5rem;    /* 88px — generous whitespace */
  --section-padding-y-sm:3.5rem;

  /* Border Radius */
  --radius:              24px;
  --radius-pill:         9999px;

  /* Shadows — soft, never harsh */
  --shadow-sm:   0 1px 4px rgba(30, 78, 140, 0.06);
  --shadow-md:   0 4px 20px rgba(30, 78, 140, 0.10);
  --shadow-lg:   0 8px 40px rgba(30, 78, 140, 0.14);
  --shadow-card: 0 2px 12px rgba(30, 78, 140, 0.08);

  /* Transitions */
  --transition-base: all 0.3s ease;
  --transition-fast: all 0.2s ease;

  /* Z-index Scale */
  --z-hero:    0;
  --z-scroll:  2;
  --z-navbar:  1030;
  --z-overlay: 10;
  --z-content: 20;
}


/* ================================================================
   2. GLOBAL / BASE STYLES
   ================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* overflow-x on html (not body) — safe for iOS Safari + position:fixed */
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--color-text-primary);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* Ensure body never exceeds viewport on mobile */
  max-width: 100vw;
}

/* Prevent content from hiding behind fixed navbar — hero handles its own top offset */
main {
  padding-top: 0;
  overflow-x: hidden;
  max-width: 100%;
}

/* Bootstrap .row has negative side margins — contain them */
.row {
  --bs-gutter-x: 1.5rem;
  margin-right: 0;
  margin-left: 0;
}
/* Restore gutter spacing on columns via padding instead */
.row > * {
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left:  calc(var(--bs-gutter-x) * 0.5);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--color-text-primary);
}

p {
  margin-bottom: 1rem;
}

address {
  font-style: normal;
}

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

/* Consistent section padding */
.section-padding {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}

/* Shared: gold section label (e.g. "About Us") */
.section-label {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.6rem;
}

/* Shared: section main heading */
.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

/* Shared: intro paragraph under section heading */
.section-intro {
  font-size: var(--fs-body-lg);
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.section-body {
  font-size: var(--fs-body-lg);
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.section-body strong {
  color: var(--color-text-primary);
  font-weight: 600;
}


/* ================================================================
   3. ACCESSIBILITY
   ================================================================ */

/* Skip link — visible on focus for keyboard users */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  z-index: 9999;
  border-radius: 0 0 var(--radius) 0;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

/* Consistent focus rings — keyboard navigation */
:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: var(--radius-pill);
}

/* Required field marker */
.required {
  color: #C0392B;
  margin-left: 2px;
}


/* ================================================================
   4. NAVIGATION
   ================================================================ */
.navbar-ssscs {
  padding: 1rem 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  background: transparent;
  z-index: var(--z-navbar);
  /* Must be visible so the mobile dropdown panel can extend below */
  overflow: visible;
  width: 100%;
}

/* Scrolled state — JS adds this class */
.navbar-ssscs.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 20px rgba(30, 78, 140, 0.10);
  padding: 0.65rem 0;
  border-radius: 0 0 var(--radius) var(--radius);
}

/* Brand / Logo */
.ssscs-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.navbar-ssscs.scrolled .brand-logo {
  width: 44px;
  height: 44px;
}

.brand-ssscs {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  letter-spacing: 0.02em;
  transition: var(--transition-fast);
}

.brand-tagline {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  text-transform: uppercase;
  opacity: 0.85;
  transition: var(--transition-fast);
}

/* When scrolled: brand text shifts to dark */
.navbar-ssscs.scrolled .brand-tagline {
  color: var(--color-text-secondary);
}

/* Nav links */
.navbar-ssscs .nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.4rem 1rem !important;
  position: relative;
  transition: var(--transition-fast);
}

.navbar-ssscs .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.navbar-ssscs .nav-link:hover::after,
.navbar-ssscs .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-ssscs .nav-link:hover {
  color: #fff;
}

.navbar-ssscs .nav-link.active {
  color: var(--color-gold) !important;
}

/* Scrolled state nav links */
.navbar-ssscs.scrolled .nav-link {
  color: var(--color-text-primary);
}
.navbar-ssscs.scrolled .nav-link:hover {
  color: var(--color-primary);
}
.navbar-ssscs.scrolled .nav-link.active {
  color: var(--color-gold-dark) !important;
}

/* Hamburger toggler */
.navbar-toggler {
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  padding: 0.35rem 0.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
  /* Ensure it's always tappable — 44×44px minimum */
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.navbar-toggler:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}
/* White hamburger icon on dark/transparent navbar */
.navbar-toggler .navbar-toggler-icon {
  filter: brightness(0) invert(1);
  transition: var(--transition-fast);
  width: 22px;
  height: 22px;
}
/* Dark hamburger icon once navbar turns white (scrolled) */
.navbar-ssscs.scrolled .navbar-toggler {
  border-color: var(--color-border);
}
.navbar-ssscs.scrolled .navbar-toggler .navbar-toggler-icon {
  filter: none;
}
/* When menu is open: always show solid navbar bg so nothing floats on hero */
.navbar-ssscs.menu-open {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 2px 20px rgba(30, 78, 140, 0.10);
  border-radius: 0 0 var(--radius) var(--radius);
}
.navbar-ssscs.menu-open .navbar-toggler {
  border-color: var(--color-border);
}
.navbar-ssscs.menu-open .navbar-toggler .navbar-toggler-icon {
  filter: none;
}
.navbar-ssscs.menu-open .nav-link,
.navbar-ssscs.menu-open .brand-tagline {
  color: var(--color-text-primary) !important;
}
.navbar-ssscs.menu-open .nav-link.active {
  color: var(--color-gold-dark) !important;
}
.navbar-ssscs.menu-open .brand-ssscs {
  color: var(--color-gold);
}

/* ── Mobile menu panel ──────────────────────────────────────────── */
@media (max-width: 991.98px) {

  /* Guarantee Bootstrap's .show makes the menu visible —
     belt-and-suspenders in case any parent clips or hides it */
  .navbar-collapse.show,
  .navbar-collapse.collapsing {
    display: block !important;
    visibility: visible !important;
  }

  .navbar-collapse {
    background: #ffffff;
    margin-top: 0.5rem;
    border-radius: var(--radius);
    padding: 0.5rem 0.75rem 0.75rem;
    box-shadow: 0 8px 32px rgba(30, 78, 140, 0.14);
    border: 1px solid var(--color-border);
    /* Ensure it sits on top of all content */
    position: relative;
    z-index: 1050;
    /* Full width of the container */
    width: 100%;
  }

  /* Always dark text inside the mobile dropdown */
  .navbar-ssscs .nav-link {
    color: var(--color-text-primary) !important;
    padding: 0.75rem 0.75rem !important;
    border-radius: var(--radius);
    transition: background 0.2s ease, color 0.2s ease !important;
  }
  .navbar-ssscs .nav-link:hover,
  .navbar-ssscs .nav-link:active {
    background: rgba(30, 78, 140, 0.06);
    color: var(--color-primary) !important;
  }
  .navbar-ssscs .nav-link.active {
    color: var(--color-gold-dark) !important;
    background: rgba(212, 175, 55, 0.08);
  }
  /* Divider between links */
  .navbar-ssscs .nav-item + .nav-item {
    border-top: 1px solid var(--color-border);
  }
  /* Hide desktop underline pseudo-element inside dropdown */
  .navbar-ssscs .nav-link::after {
    display: none;
  }
}


/* ================================================================
   5. HERO SECTION
   ================================================================ */
.hero-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: var(--z-hero);
  padding-top: 70px;
  isolation: isolate;
  --hero-scroll-progress: 0;
  --about-reveal-progress: 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: -4%;
  z-index: 0;
  background: url('../images/herobackground.png') 68% center / cover no-repeat;
  animation: heroKenBurns 24s ease-in-out infinite alternate;
  will-change: transform;
  filter: brightness(calc(1 - var(--about-reveal-progress) * 0.14));
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(15, 45, 90, 0.5) 0%,
      transparent 18%
    ),
    linear-gradient(
      90deg,
      rgba(15, 45, 90, 0.82) 0%,
      rgba(15, 45, 90, 0.65) 28%,
      rgba(15, 45, 90, 0.32) 48%,
      rgba(15, 45, 90, 0.08) 62%,
      transparent 76%
    ),
    radial-gradient(ellipse 40% 50% at 12% 22%, rgba(212, 175, 55, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 80% at 92% 45%, rgba(212, 175, 55, 0.2) 0%, transparent 58%);
}

.hero-spacer {
  height: 100vh;
  pointer-events: none;
}

.page-scroll {
  position: relative;
  z-index: var(--z-scroll);
}

/* Decorative SVG mandala overlay — faded, mostly on portrait side */
.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: var(--z-overlay);
  pointer-events: none;
  opacity: 0.42;
  overflow: hidden;
  max-width: 100%;
  animation: mandalaPulse 9s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 35%, rgba(0, 0, 0, 0.6) 60%, black 100%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 35%, rgba(0, 0, 0, 0.6) 60%, black 100%);
}

/* Hero content */
.hero-content-wrap {
  position: relative;
  z-index: var(--z-content);
  width: 100%;
  opacity: calc(1 - var(--hero-scroll-progress) * 0.85);
  transform: translateY(calc(var(--hero-scroll-progress) * 28px));
}

.hero-content {
  position: relative;
  text-align: left;
  padding: 2.5rem 0 2.5rem 1.35rem;
  max-width: 680px;
}

.hero-content::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 2px;
  border-radius: var(--radius-pill);
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(212, 175, 55, 0.35) 15%,
    var(--color-gold) 50%,
    rgba(212, 175, 55, 0.35) 85%,
    transparent 100%
  );
  opacity: 0.85;
}

.hero-affiliation {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.55;
  max-width: 520px;
  margin: 1.25rem 0 0;
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.9s forwards;
}

.hero-affiliation-label {
  color: var(--color-gold);
  font-weight: 500;
}

.hero-label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #E8C547;
  margin-bottom: 1.75rem;
  text-shadow: 0 1px 8px rgba(15, 45, 90, 0.5);
  opacity: 0;
  animation: fadeInDown 0.8s ease 0.3s forwards;
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  text-shadow: 0 2px 24px rgba(15, 45, 90, 0.7);
  position: relative;
}

.hero-heading-line {
  display: block;
  opacity: 0;
  animation: fadeInUp 0.9s ease forwards;
}

.hero-heading-line:first-child {
  animation-delay: 0.45s;
}

.hero-heading-line--delay {
  animation-delay: 0.62s;
}

.hero-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 64px;
  height: 3px;
  background: var(--color-gold);
  border-radius: var(--radius-pill);
  transform: scaleX(0);
  transform-origin: left center;
  animation: underlineReveal 0.65s ease 0.78s forwards;
}

.hero-greeting {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 600;
  font-style: italic;
  color: #F0D878;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 12px rgba(15, 45, 90, 0.55), 0 0 18px rgba(240, 216, 120, 0.25);
  opacity: 0;
  animation:
    fadeInUp 0.9s ease 0.3s forwards,
    greetingGlow 4.5s ease-in-out 1.4s infinite;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 0 1.5rem;
  text-shadow: 0 1px 12px rgba(15, 45, 90, 0.5);
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.6s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Hero CTA buttons */
.btn-hero {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  padding: 0.9rem 2.5rem;
  cursor: pointer;
  transition: var(--transition-base);
  text-decoration: none;
  display: inline-block;
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.75s forwards;
}

.btn-hero-primary {
  color: var(--color-primary-dark);
  background: var(--color-gold);
  border: 2px solid var(--color-gold);
  padding: 1rem 2.75rem;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
}

/* Golden realism primary button — adapted from Uiverse Spacious74 */
.btn-hero-realism {
  padding: 2px;
  border: none;
  background: radial-gradient(circle 80px at 80% -10%, var(--color-gold-dark), #6B4F0A);
  position: relative;
  overflow: hidden;
  box-shadow: none;
}

.btn-hero-realism::after {
  content: "";
  position: absolute;
  width: 65%;
  height: 60%;
  border-radius: 120px;
  top: 0;
  right: 0;
  box-shadow: 0 0 20px rgba(255, 235, 180, 0.4);
  z-index: 0;
  pointer-events: none;
}

.btn-hero-blob {
  position: absolute;
  width: 70px;
  height: 100%;
  border-radius: calc(var(--radius) - 2px);
  bottom: 0;
  left: 0;
  background: radial-gradient(
    circle 60px at 0% 100%,
    #FFE082,
    rgba(184, 148, 30, 0.55),
    transparent
  );
  box-shadow: -10px 10px 30px rgba(90, 64, 9, 0.35);
  pointer-events: none;
}

.btn-hero-inner {
  padding: 0.9rem 2.25rem;
  border-radius: calc(var(--radius) - 2px);
  color: var(--color-primary-dark);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 1;
  position: relative;
  display: block;
  background: radial-gradient(circle 80px at 80% -50%, #F5E6A3, var(--color-gold));
}

.btn-hero-inner::before {
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: calc(var(--radius) - 2px);
  background: radial-gradient(
    circle 60px at 0% 100%,
    rgba(255, 240, 180, 0.45),
    rgba(212, 175, 55, 0.2),
    transparent
  );
  position: absolute;
  pointer-events: none;
}

.btn-hero-primary.btn-hero-realism:hover,
.btn-hero-primary.btn-hero-realism:focus-visible {
  background: radial-gradient(circle 80px at 80% -10%, #A67C00, #5A4009);
  border: none;
  color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.45);
}

.btn-hero-primary.btn-hero-realism:hover .btn-hero-inner,
.btn-hero-primary.btn-hero-realism:focus-visible .btn-hero-inner {
  background: radial-gradient(circle 80px at 80% -50%, #FFF0C8, #E8C547);
  color: var(--color-primary-dark);
}

.btn-hero-primary:not(.btn-hero-realism):hover,
.btn-hero-primary:not(.btn-hero-realism):focus-visible {
  background: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-hero-secondary {
  color: #fff;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  animation-delay: 0.85s;
}

.btn-hero-secondary:hover,
.btn-hero-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-content);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s ease 1.5s forwards;
}

.hero-scroll-mouse {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(212, 175, 55, 0.55);
  border-radius: var(--radius);
  position: relative;
}

.hero-scroll-mouse::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--color-gold);
  border-radius: var(--radius-pill);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

.hero-scroll-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(232, 197, 71, 0.85);
}


/* ================================================================
   6. SHARED SECTION STYLES — Alternating backgrounds
   ================================================================ */
.about-section {
  --about-reveal-progress: 0;
  position: relative;
  background-color: var(--color-surface);
  border-radius:
    calc(var(--radius) + (1 - var(--about-reveal-progress)) * 28px)
    calc(var(--radius) + (1 - var(--about-reveal-progress)) * 28px)
    0
    0;
  box-shadow:
    0 calc(-10px - var(--about-reveal-progress) * 26px)
    calc(36px + var(--about-reveal-progress) * 52px)
    rgba(15, 45, 90, calc(0.1 + var(--about-reveal-progress) * 0.14));
  transform: translateY(calc((1 - var(--about-reveal-progress)) * 56px));
  will-change: transform, border-radius, box-shadow;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: min(140px, 36vw);
  height: 3px;
  border-radius: var(--radius-pill);
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-gold) 50%,
    transparent 100%
  );
  transform: translateX(-50%) scaleX(var(--about-reveal-progress));
  transform-origin: center;
  opacity: calc(0.35 + var(--about-reveal-progress) * 0.65);
  pointer-events: none;
}

.about-section > .container {
  opacity: calc(0.5 + var(--about-reveal-progress) * 0.5);
  transform: translateY(calc((1 - var(--about-reveal-progress)) * 20px));
  will-change: transform, opacity;
}

.activities-block {
  margin-top: var(--section-padding-y-sm);
  margin-bottom: var(--section-padding-y-sm);
  padding-top: var(--section-padding-y-sm);
  padding-bottom: 100px;
  border-top: 1px solid var(--color-border);
}

/* ================================================================
   UPCOMING EVENTS — Invitation card
   ================================================================ */
.upcoming-block {
  margin-top: var(--section-padding-y-sm);
  padding-top: var(--section-padding-y-sm);
  border-top: 1px solid var(--color-border);
}

.upcoming-event {
  width: 100%;
  margin: 0;
  padding: 0.85rem;
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.22), rgba(30, 78, 140, 0.18)),
    var(--color-surface);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.upcoming-event-inner {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(212, 175, 55, 0.08), transparent 55%),
    linear-gradient(180deg, #FFFEFB 0%, #F7F9FC 100%);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--radius);
  padding: 1.75rem 2rem 2rem;
  position: relative;
}

.upcoming-event-inner::before,
.upcoming-event-inner::after {
  content: '';
  position: absolute;
  width: 1.35rem;
  height: 1.35rem;
  border-color: var(--color-gold);
  border-style: solid;
  pointer-events: none;
}

.upcoming-event-inner::before {
  top: 0.7rem;
  left: 0.7rem;
  border-width: 2px 0 0 2px;
}

.upcoming-event-inner::after {
  top: 0.7rem;
  right: 0.7rem;
  border-width: 2px 2px 0 0;
}

.upcoming-event-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  position: relative;
}

.upcoming-event-header::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 4.5rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  transform: translateX(-50%);
}

.upcoming-event-eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin: 0 0 0.55rem;
}

.upcoming-event-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.28;
  margin: 0 0 0.45rem;
}

.upcoming-event-org {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-primary);
  margin: 0;
}

.upcoming-event-body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 1.75rem 2.25rem;
  align-items: start;
}

.upcoming-event-lead {
  font-size: var(--fs-body);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0 0 1rem;
}

.upcoming-event-welcome {
  font-size: 0.98rem;
  color: var(--color-text-primary);
  line-height: 1.65;
  margin: 0 0 1.25rem;
}

.upcoming-meta {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
}

.upcoming-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.upcoming-meta-icon {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(30, 78, 140, 0.1) 0%, rgba(212, 175, 55, 0.16) 100%);
  color: var(--color-primary);
  font-size: 0.95rem;
}

.upcoming-meta-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 0.1rem;
}

.upcoming-meta-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
  line-height: 1.35;
}

.upcoming-highlights {
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.upcoming-highlights-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
  grid-column: 1 / -1;
}

.upcoming-highlight-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 0.3rem;
}

.upcoming-highlight-text {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin: 0;
}

.btn-upcoming {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.6rem;
  text-decoration: none;
  transition: var(--transition-fast);
  min-height: 44px;
}

.btn-upcoming:hover,
.btn-upcoming:focus-visible {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
}

.btn-upcoming:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

@media (max-width: 991.98px) {
  .upcoming-event-body {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .upcoming-event-col--details {
    padding-top: 0.25rem;
    border-top: 1px solid var(--color-border);
  }
}

@media (max-width: 767.98px) {
  .upcoming-event {
    padding: 0.55rem;
  }

  .upcoming-event-inner {
    padding: 1.35rem 1.15rem 1.5rem;
  }

  .upcoming-meta {
    grid-template-columns: 1fr;
  }
}

.youth-section {
  background-color: var(--color-surface);
}

.gallery-section {
  background-color: var(--color-section-alt);
}

.interviews-section {
  background-color: var(--color-surface);
}

.contact-section {
  background-color: var(--color-section-alt);
}


/* ================================================================
   7. ABOUT SECTION
   ================================================================ */

/* About section photo */
.about-image-wrap {
  width: 100%;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-image-caption {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  text-align: center;
  margin: 0;
  padding: 0.85rem 1rem;
  background: var(--color-section-alt);
  border-top: 1px solid var(--color-border);
}

/* Five Human Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.value-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 0.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition-base);
  cursor: default;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 55, 0.3);
}

.value-icon {
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  min-height: 36px;
}

.value-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.2rem;
  line-height: 1.2;
}

.value-sub {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.3;
}


/* ================================================================
   8. ACTIVITIES / NEWS SECTION
   ================================================================ */
.activity-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: default;
}

.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Card image placeholder */
.card-img-placeholder {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

/* Real photo cover on activity cards */
.card-img-media {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-section-alt);
}

.card-img-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.activity-card:hover .card-img-media img {
  transform: scale(1.04);
}

.card-img-blue {
  background: linear-gradient(135deg, #1E4E8C 0%, #0F2D5A 100%);
}
.card-img-teal {
  background: linear-gradient(135deg, #0D6E6E 0%, #044747 100%);
}
.card-img-gold {
  background: linear-gradient(135deg, #8B6914 0%, #5A4009 100%);
}

.card-img-icon {
  color: rgba(255, 255, 255, 0.35);
  position: relative;
  z-index: 1;
}

/* Subtle radial glow inside card image */
.card-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 0%, transparent 70%);
}

/* Card body */
.card-body-custom {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.category-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  padding: 0.25rem 0.65rem;
}

.category-badge--seva {
  background: rgba(13, 110, 110, 0.12);
  color: #0D6E6E;
  border: 1px solid rgba(13, 110, 110, 0.2);
}

.category-badge--celebration {
  background: rgba(212, 175, 55, 0.15);
  color: var(--color-gold-dark);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.category-badge--medical {
  background: rgba(30, 78, 140, 0.12);
  color: var(--color-primary);
  border: 1px solid rgba(30, 78, 140, 0.2);
}

.date-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-gold-dark);
  background: rgba(212, 175, 55, 0.09);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius);
  padding: 0.25rem 0.65rem;
  margin-bottom: 0;
}

.card-meta .date-badge {
  margin-bottom: 0;
}

.card-title-custom {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.card-excerpt {
  font-size: 0.925rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-bottom: 0;
  flex: 1;
}

.card-desc {
  font-size: 0.925rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

.card-highlights {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  padding-left: 1.1rem;
  margin-bottom: 0;
  line-height: 1.65;
}

.card-highlights li + li {
  margin-top: 0.35rem;
}

.card-impact {
  font-size: 0.85rem;
  color: var(--color-text-primary);
  margin: 0;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-border);
}

.card-toggle {
  margin-top: 1rem;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}

.card-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
  cursor: pointer;
  align-self: flex-start;
}
.card-link:hover,
.card-link:focus-visible {
  color: var(--color-primary-light);
  gap: 0.6rem;
}
.card-link svg {
  transition: transform 0.2s ease;
}
.card-link:hover svg {
  transform: translateX(3px);
}

/* ── Activity detail modal ─────────────────────────────────────── */
.activity-modal .modal-content {
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.activity-modal-banner {
  position: relative;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-section-alt);
}

.activity-modal-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.08) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.activity-modal-banner--photo::before {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, transparent 50%);
}

.activity-modal-banner--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.activity-modal-icon {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.55);
  font-size: 2.75rem;
  line-height: 1;
}

.activity-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  padding: 0.5rem;
  border-radius: var(--radius-pill);
  background-color: rgba(0, 0, 0, 0.35);
  opacity: 0.9;
}

.activity-modal-close:hover {
  opacity: 1;
}

.activity-modal .modal-body {
  padding: 1.75rem;
}

.activity-modal-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

/* ── Activity photo grid inside modals ──────────────────────────── */
/* Shows a compact preview; JS collapses extras with a “+N more” tile */
.activity-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.activity-photo-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: calc(var(--radius) / 2);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--color-section-alt);
  aspect-ratio: 4 / 3;
}

.activity-photo-thumb.is-collapsed {
  display: none;
}

.activity-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.activity-photo-zoom-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 45, 90, 0.45);
  color: #fff;
  font-size: 1.35rem;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.activity-photo-more {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  background: rgba(15, 45, 90, 0.72);
  color: #fff;
  font-family: var(--font-body);
  pointer-events: none;
}

.activity-photo-more-count {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

.activity-photo-more-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.9;
}

.activity-photo-thumb.has-more .activity-photo-zoom-hint {
  display: none;
}

.activity-photo-thumb:hover img,
.activity-photo-thumb:focus-visible img {
  transform: scale(1.06);
}

.activity-photo-thumb:hover .activity-photo-zoom-hint,
.activity-photo-thumb:focus-visible .activity-photo-zoom-hint {
  opacity: 1;
}

.activity-photo-thumb:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ── Shared photo lightbox (above Bootstrap modal ~1055) ────────── */
.activity-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.activity-lightbox[hidden] {
  display: none !important;
}

body.activity-lightbox-open {
  overflow: hidden;
}

.activity-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 36, 0.92);
  cursor: pointer;
}

.activity-lightbox-stage {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 1100px);
  max-height: calc(100vh - 11rem);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  touch-action: none;
}

.activity-lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 11rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: calc(var(--radius) / 2);
  transform-origin: center center;
  transition: transform 0.2s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.activity-lightbox.is-zoomed .activity-lightbox-img {
  cursor: grab;
  transition: none;
}

.activity-lightbox.is-zoomed .activity-lightbox-img.is-dragging {
  cursor: grabbing;
}

.activity-lightbox-close,
.activity-lightbox-nav,
.activity-lightbox-tool {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.activity-lightbox-close:hover,
.activity-lightbox-nav:hover,
.activity-lightbox-tool:hover,
.activity-lightbox-close:focus-visible,
.activity-lightbox-nav:focus-visible,
.activity-lightbox-tool:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}

.activity-lightbox-close:focus-visible,
.activity-lightbox-nav:focus-visible,
.activity-lightbox-tool:focus-visible {
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.7);
}

.activity-lightbox-close {
  top: 1rem;
  right: 1rem;
}

.activity-lightbox-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.activity-lightbox-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.activity-lightbox-prev:hover,
.activity-lightbox-next:hover {
  transform: translateY(-50%);
}

.activity-lightbox-toolbar {
  position: absolute;
  z-index: 2;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.55rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 45, 90, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.activity-lightbox-tool {
  position: static;
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
}

.activity-lightbox-counter {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  min-width: 3.5rem;
  text-align: center;
  padding: 0 0.35rem;
}

/* Filmstrip — jump to any photo when there are many */
.activity-lightbox-filmstrip {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  max-width: min(92vw, 720px);
  padding: 0.45rem 0.55rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  border-radius: var(--radius);
  background: rgba(15, 45, 90, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.activity-lightbox-filmstrip[hidden] {
  display: none !important;
}

.activity-lightbox-filmstrip::-webkit-scrollbar {
  height: 4px;
}

.activity-lightbox-filmstrip::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 999px;
}

.activity-lightbox-film {
  flex: 0 0 auto;
  width: 56px;
  height: 42px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0.65;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.activity-lightbox-film img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.activity-lightbox-film:hover,
.activity-lightbox-film:focus-visible {
  opacity: 1;
  outline: none;
}

.activity-lightbox-film.is-active {
  opacity: 1;
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

@media (max-width: 575.98px) {
  .activity-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .activity-lightbox-prev {
    left: 0.5rem;
  }

  .activity-lightbox-next {
    right: 0.5rem;
  }

  .activity-lightbox-toolbar {
    bottom: 5.25rem;
  }

  .activity-lightbox-film {
    width: 48px;
    height: 36px;
  }
}

.card-img-icon i {
  font-size: 2.75rem;
  color: rgba(255, 255, 255, 0.45);
}


/* ================================================================
   9. WELCOME, QUOTE, VISION & MISSION (within About)
   ================================================================ */
.welcome-block {
  padding: 0;
}

.welcome-intro {
  max-width: 680px;
  margin-inline: auto;
}

.welcome-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.welcome-badge i {
  color: var(--color-gold);
  font-size: 0.9rem;
}

/* Welcome bento grid */
.welcome-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(160px, auto);
  gap: 1.25rem;
}

.bento-card {
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.bento-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.bento-card--feature {
  grid-column: span 4;
  background: var(--color-surface);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.bento-card--feature:hover {
  border-color: rgba(212, 175, 55, 0.28);
}

.bento-card--story {
  grid-column: span 8;
  grid-row: span 2;
  background: var(--color-surface);
  border-left: 4px solid var(--color-gold);
  padding: 2rem 2.25rem;
}

.bento-card--festivals {
  grid-column: span 4;
  grid-row: span 2;
  background: linear-gradient(145deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 2rem 1.75rem;
  position: relative;
  border-color: rgba(255, 255, 255, 0.12);
}

.bento-card--festivals::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.2) 0%, transparent 55%);
  pointer-events: none;
}

.bento-card--festivals:hover {
  border-color: rgba(212, 175, 55, 0.35);
}

.bento-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(30, 78, 140, 0.1) 0%, rgba(212, 175, 55, 0.14) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.bento-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.bento-desc {
  font-size: 0.925rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

.bento-festivals-heading {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.25rem;
}

.bento-festivals-note {
  position: relative;
  z-index: 1;
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  margin: 0;
  font-style: italic;
}

.festival-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.festival-tag {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  backdrop-filter: blur(4px);
}

.welcome-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem auto 0;
  max-width: 560px;
  text-align: center;
}

.welcome-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  font-size: var(--fs-body);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.welcome-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
}

.sai-quote {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  padding: 2rem 2.5rem;
  background: linear-gradient(135deg, rgba(30, 78, 140, 0.04) 0%, rgba(212, 175, 55, 0.06) 100%);
  border-left: 4px solid var(--color-gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  text-align: center;
}

.sai-quote-inline {
  max-width: none;
  margin: 1.75rem 0 0;
}

.sai-quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-style: italic;
  color: var(--color-text-primary);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.sai-quote footer {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-gold-dark);
}

.vm-section {
  margin-top: 1rem;
}

/* Vision — content card + image */
.vm-vision-image-wrap {
  margin: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.vm-vision-image {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.vm-vision-content {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 2.5rem;
  height: 100%;
}

.vm-vision-content .section-heading {
  margin-bottom: 1.5rem;
}

.vm-divider {
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: 3.5rem auto;
  border-radius: var(--radius-pill);
}

/* Mission — bento-style grid for 5 cards */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.mission-card:nth-child(-n+3) {
  grid-column: span 2;
}

.mission-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.mission-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.mission-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition-base);
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 55, 0.28);
}

.mission-card:hover::before {
  opacity: 1;
}

.mission-number {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(30, 78, 140, 0.07);
  line-height: 1;
  pointer-events: none;
}

.mission-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(30, 78, 140, 0.1) 0%, rgba(212, 175, 55, 0.14) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.mission-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.mission-sub {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 0.65rem;
}

.mission-desc {
  font-size: 0.925rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin: 0;
}


/* ================================================================
   10. YOUTH SECTION
   ================================================================ */
.youth-visual {
  width: 100%;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.youth-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.btn-youth {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 0.85rem 2rem;
  text-decoration: none;
  display: inline-block;
  margin-top: 0.5rem;
  transition: var(--transition-base);
}

.btn-youth:hover,
.btn-youth:focus-visible {
  background: var(--color-primary-light);
  border-color: var(--color-primary-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 78, 140, 0.3);
}


/* ================================================================
   11. GALLERY SECTION
   ================================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--color-section-alt);
}

.gallery-photo-thumb {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  cursor: zoom-in;
  background: transparent;
  position: relative;
}

.gallery-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-photo-thumb:hover img,
.gallery-photo-thumb:focus-visible img {
  transform: scale(1.05);
}

.gallery-photo-thumb:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, rgba(30, 78, 140, 0.08) 0%, rgba(30, 78, 140, 0.04) 100%);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 2rem;
  transition: var(--transition-base);
}

.gallery-item:hover .gallery-placeholder {
  border-color: var(--color-primary-light);
  color: var(--color-primary);
  background: rgba(30, 78, 140, 0.06);
}

.gallery-guidelines {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-gold);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
}

.gallery-guidelines-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.85rem;
}

.gallery-guidelines p {
  font-size: 0.925rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.gallery-guidelines p:last-child {
  margin-bottom: 0;
}


/* ================================================================
   12. RADIO SAI INTERVIEWS
   ================================================================ */
.interviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.interview-video {
  margin: 0;
}

.interview-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0F2D5A;
  box-shadow: var(--shadow-card);
}

.interview-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.interview-video:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 720px;
  width: 100%;
  justify-self: center;
}


/* ================================================================
   13. CONTACT SECTION
   ================================================================ */

/* Contact info items */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: rgba(30, 78, 140, 0.07);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-top: 2px;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 0.2rem;
}

.contact-value {
  font-size: var(--fs-body-lg);
  color: var(--color-text-primary);
  margin: 0;
  line-height: 1.5;
}

.contact-link {
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
}
.contact-link:hover,
.contact-link:focus-visible {
  color: var(--color-primary);
}

/* Bhajan schedule — same structure but visually highlighted */
.bhajan-schedule {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  background: rgba(30, 78, 140, 0.04);
  border: 1px solid rgba(30, 78, 140, 0.12);
  border-left: 3px solid var(--color-gold);
  border-radius: var(--radius);
}
.bhajan-schedule .contact-icon {
  background: rgba(212, 175, 55, 0.1);
  color: var(--color-gold-dark);
}

/* Social icons row */
.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-icon {
  width: 42px;
  height: 42px;
  background: rgba(30, 78, 140, 0.07);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition-base);
  cursor: pointer;
}
.social-icon:hover,
.social-icon:focus-visible {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 78, 140, 0.25);
}

/* Contact section layout */
.contact-left {
  display: flex;
  flex-direction: column;
}

.contact-form-col {
  display: flex;
}

.contact-form-col .contact-form {
  flex: 1;
}

/* Google Map iframe container */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  margin-top: 1.5rem;
  flex: 1;
  min-height: 240px;
}
.map-container iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
}

/* Contact Form */
.contact-form {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.form-heading {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 1.5rem;
}

.form-label-custom {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-primary);
  display: block;
  margin-bottom: 0.4rem;
}

.form-input-custom {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-text-primary);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  resize: vertical;          /* for textarea only */
  appearance: none;
  -webkit-appearance: none;
}
.form-input-custom::placeholder {
  color: var(--color-text-muted);
}
.form-input-custom:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30, 78, 140, 0.12);
}
.form-input-custom.is-invalid {
  border-color: #C0392B;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

.form-select-custom {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 14px 10px;
  padding-right: 2.5rem;
}

.optional-label {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
}

.form-privacy-notice {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-top: 1.25rem;
  margin-bottom: 0;
}

.field-error {
  font-size: 0.8125rem;
  color: #C0392B;
  margin-top: 0.3rem;
  min-height: 1.2em;
  font-weight: 500;
}

.form-success {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0D6E6E;
  background: rgba(13, 110, 110, 0.07);
  border: 1px solid rgba(13, 110, 110, 0.2);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  display: none;
}
.form-success.visible {
  display: block;
}

/* Error variant — shown when send fails */
.form-success.error {
  color: #C0392B;
  background: rgba(192, 57, 43, 0.07);
  border-color: rgba(192, 57, 43, 0.2);
}

.btn-submit {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 0.85rem 2rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--transition-base);
  min-width: 180px;
  justify-content: center;
}
.btn-submit:hover,
.btn-submit:focus-visible {
  background: var(--color-primary-light);
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 78, 140, 0.3);
}
.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-submit .btn-icon {
  transition: transform 0.2s ease;
}
.btn-submit:not(:disabled):hover .btn-icon {
  transform: translateX(3px);
}


/* ================================================================
   10. FOOTER
   ================================================================ */
.site-footer {
  position: relative;
  z-index: var(--z-scroll);
  background: var(--color-primary);
  padding: 3rem 0 2rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.footer-om {
  font-size: 1.6rem;
  color: var(--color-gold);
  opacity: 0.85;
  font-family: serif;
  line-height: 1;
  user-select: none;
}

.footer-org-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

.footer-affiliation {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 480px;
  margin: 0 auto 0.75rem;
  line-height: 1.5;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.footer-social-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition-base);
  cursor: pointer;
}
.footer-social-icon:hover,
.footer-social-icon:focus-visible {
  background: rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.4);
  color: var(--color-gold);
  transform: translateY(-2px);
}

.footer-divider {
  width: 60px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 auto 1.25rem;
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}


/* ================================================================
   11. ANIMATIONS
   ================================================================ */

/* ── Keyframes ─────────────────────────────────────────────────── */

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%   { opacity: 1;   transform: translateX(-50%) translateY(0); }
  60%  { opacity: 0.1; transform: translateX(-50%) translateY(12px); }
  100% { opacity: 0;   transform: translateX(-50%) translateY(14px); }
}

@keyframes heroKenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.05); }
}

@keyframes mandalaPulse {
  0%, 100% { opacity: 0.38; }
  50%       { opacity: 0.48; }
}

@keyframes greetingGlow {
  0%, 100% {
    text-shadow:
      0 2px 12px rgba(15, 45, 90, 0.55),
      0 0 18px rgba(240, 216, 120, 0.22);
  }
  50% {
    text-shadow:
      0 2px 12px rgba(15, 45, 90, 0.55),
      0 0 32px rgba(240, 216, 120, 0.48);
  }
}

/* Gentle Om symbol float — slow, calming, spiritual */
@keyframes omFloat {
  0%, 100% { transform: translateY(0px);  }
  50%       { transform: translateY(-10px); }
}

/* Gold shimmer sweep across an element */
@keyframes goldShimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

/* Underline slide-in from left */
@keyframes underlineReveal {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Icon pop — used on value-card icons when revealed */
@keyframes iconPop {
  0%   { transform: scale(0.5);  opacity: 0; }
  70%  { transform: scale(1.2);  opacity: 1; }
  100% { transform: scale(1);    opacity: 1; }
}

/* ── Om symbol: animation declared on rule in Section 7 above ─── */

/* ── Existing hero section entrance animations ─────────────────── */
/* (hero-label, hero-heading, hero-sub, btn-hero use CSS @keyframes
   fadeInDown / fadeInUp defined above — unchanged) */

/* ── Base scroll-reveal system ─────────────────────────────────── */
/*
  All classes below start hidden and gain `.is-visible` from
  IntersectionObserver in main.js when they enter the viewport.
  --delay CSS variable controls per-element stagger.
*/

/* Original fade-in classes (used on full columns / wrappers) */
.fade-in-up,
.fade-in-left,
.fade-in-right {
  opacity: 0;
  transition: opacity 0.75s ease, transform 0.75s ease;
  transition-delay: var(--delay, 0s);
}
.fade-in-up    { transform: translateY(36px); }
.fade-in-left  { transform: translateX(-36px); }
.fade-in-right { transform: translateX(36px);  }

.fade-in-up.is-visible,
.fade-in-left.is-visible,
.fade-in-right.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ── reveal-label — gold section labels (e.g. "About Us") ──────── */
.reveal-label {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: var(--delay, 0s);
}
.reveal-label.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── reveal-heading — section h2s with animated gold underline ─── */
.reveal-heading {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--delay, 0.06s);
  position: relative;
  padding-bottom: 0.75rem;
}
.reveal-heading.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Gold underline that slides in after heading appears */
.reveal-heading::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 52px;
  height: 3px;
  background: var(--color-gold);
  border-radius: var(--radius-pill);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s ease;
  transition-delay: 0.35s; /* fires after heading text appears */
}
.reveal-heading.is-visible::after {
  transform: scaleX(1);
}

/* Center-aligned heading variant (Activities section) */
.reveal-heading.text-center-line::after {
  left: 50%;
  transform: scaleX(0) translateX(-50%);
  transform-origin: center;
}
.reveal-heading.text-center-line.is-visible::after {
  transform: scaleX(1) translateX(-50%);
}

/* ── reveal-up — paragraphs, intro text, list items ────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── reveal-scale — value cards, small tiles ────────────────────── */
/*   Enters with a subtle grow + rise — feels organic */
.reveal-scale {
  opacity: 0;
  transform: scale(0.88) translateY(16px);
  transition: opacity 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: var(--delay, 0s);
}
.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* When a value card becomes visible, pop its icon */
.reveal-scale.is-visible .value-icon svg {
  animation: iconPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: calc(var(--delay, 0s) + 0.25s);
}

/* ── reveal-card — activity cards (deeper rise + slight tilt) ───── */
.reveal-card {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}
.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Card image icon float on hover ────────────────────────────── */
.activity-card:hover .card-img-icon svg,
.activity-card:hover .card-img-icon i {
  transform: translateY(-5px) scale(1.08);
  transition: transform 0.35s ease;
  color: rgba(255, 255, 255, 0.55);
}
.card-img-icon svg,
.card-img-icon i {
  transition: transform 0.35s ease, color 0.35s ease;
}

/* ── Contact icon bounce on scroll reveal ──────────────────────── */
.contact-info-item.is-visible .contact-icon,
.bhajan-schedule.is-visible .contact-icon {
  animation: iconPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: calc(var(--delay, 0s) + 0.2s);
}

/* ── Social icon stagger on reveal ─────────────────────────────── */
.social-links.is-visible .social-icon:nth-child(1) { animation: iconPop 0.4s ease calc(var(--delay, 0s) + 0.1s) both; }



/* ================================================================
   12. RESPONSIVE OVERRIDES
   ================================================================ */

/* Tablet — 768px */
@media (max-width: 991.98px) {
  :root {
    --section-padding-y: 4rem;
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-image {
    aspect-ratio: 3 / 4;
    object-position: center 18%;
    max-height: none;
  }

  .welcome-bento {
    grid-template-columns: repeat(6, 1fr);
  }

  .bento-card--feature {
    grid-column: span 2;
  }

  .bento-card--story,
  .bento-card--festivals {
    grid-column: span 6;
    grid-row: span 1;
  }

  .mission-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission-card:nth-child(n) {
    grid-column: auto;
  }

  .mission-card:nth-child(5):last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 420px;
    margin-inline: auto;
    width: 100%;
  }
}

/* Mobile — 576px */
@media (max-width: 767.98px) {
  :root {
    --section-padding-y: 3.5rem;
  }

  main {
    padding-top: 0;
  }

  .hero-heading {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .hero-sub {
    font-size: 1rem;
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .value-card {
    padding: 0.75rem 0.35rem;
  }

  .value-title {
    font-size: 0.75rem;
  }

  .value-sub {
    font-size: 0.65rem;
  }

  .contact-form {
    padding: 1.5rem 1.25rem;
  }

  .contact-left .map-container {
    flex: none;
    min-height: 260px;
  }

  .section-heading {
    font-size: clamp(1.6rem, 5vw, 2rem);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .interviews-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .interview-video:last-child:nth-child(odd) {
    max-width: none;
  }

  .vm-vision-content {
    padding: 1.75rem 1.25rem;
  }

  .welcome-bento {
    grid-template-columns: 1fr;
  }

  .bento-card--feature,
  .bento-card--story,
  .bento-card--festivals {
    grid-column: span 1;
    grid-row: span 1;
  }

  .bento-card--story {
    padding: 1.5rem 1.25rem;
  }

  .bento-card--festivals {
    padding: 1.5rem 1.25rem;
  }

  .sai-quote {
    padding: 1.5rem 1.25rem;
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .mission-card:nth-child(n) {
    grid-column: 1 / -1;
  }
}

/* Small mobile — below 400px */
@media (max-width: 399.98px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}


/* ================================================================
   13. REDUCED MOTION — Respect user preference (accessibility)
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  /* Hero — show immediately, no motion */
  .hero-section::before,
  .hero-section::after,
  .hero-pattern,
  .hero-label,
  .hero-heading,
  .hero-heading-line,
  .hero-greeting,
  .hero-sub,
  .hero-affiliation,
  .btn-hero,
  .hero-scroll-indicator {
    opacity: 1;
    animation: none;
    transform: none;
  }

  .hero-heading::after {
    transform: scaleX(1);
  }

  .hero-section::before {
    filter: none;
  }

  .hero-content-wrap {
    opacity: 1;
    transform: none;
  }

  .hero-section {
    --hero-scroll-progress: 0;
    --about-reveal-progress: 1;
  }

  .about-section {
    --about-reveal-progress: 1;
    transform: none;
    border-radius: var(--radius) var(--radius) 0 0;
    box-shadow: 0 -12px 48px rgba(15, 45, 90, 0.14);
  }

  .about-section::before {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
  }

  .about-section > .container {
    opacity: 1;
    transform: none;
  }

  /* Disable fixed hero parallax */
  .hero-section {
    position: relative;
    height: auto;
    min-height: 100vh;
  }

  .hero-spacer {
    display: none;
  }

  /* All scroll-reveal classes — skip animation, show immediately */
  .fade-in-up,
  .fade-in-left,
  .fade-in-right,
  .reveal-label,
  .reveal-heading,
  .reveal-up,
  .reveal-scale,
  .reveal-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* Heading underline — show static, no slide */
  .reveal-heading::after,
  .reveal-heading.text-center-line::after {
    transform: scaleX(1) !important;
    transition: none;
  }
  .reveal-heading.text-center-line::after {
    transform: scaleX(1) translateX(-50%) !important;
  }

}
