/* ==========================================================================
   OM SAI FOUNDATION - MAIN STYLESHEET
   Inspired by lluf.org with Modern, High-End Visual Aesthetics
   ========================================================================== */

/* 1. CSS VARIABLES & DESIGN TOKENS */
:root {
  --primary: #8b1e2f;
  --primary-dark: #63121f;
  --primary-light: #ab283e;
  --primary-subtle: #fcf1f3;
  
  --gold: #d48806;
  --gold-light: #f5b041;
  --gold-dark: #b37405;
  --gold-subtle: #fef9e7;
  
  --dark: #141824;
  --dark-accent: #1e2538;
  --dark-surface: #262e45;
  
  --light-bg: #fdfbf7;
  --light-surface: #f7f4ee;
  --white: #ffffff;
  
  --text-main: #2d3748;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --border-light: #edf2f7;

  --shadow-sm: 0 2px 8px rgba(20, 24, 36, 0.04);
  --shadow-md: 0 8px 24px rgba(20, 24, 36, 0.08);
  --shadow-lg: 0 16px 40px rgba(20, 24, 36, 0.12);
  --shadow-hover: 0 20px 48px rgba(139, 30, 47, 0.16);

  --font-heading: 'Montserrat', 'Outfit', -apple-system, sans-serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 2. BASE & RESET */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--light-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  max-width: 100%;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--gold);
}

ul {
  list-style: none;
}

/* 3. TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.text-primary { color: var(--primary) !important; }
.text-gold { color: var(--gold) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-white { color: var(--white) !important; }
.text-center { text-align: center; }

.section-tagline {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(139, 30, 47, 0.15);
}

.section-tagline.gold-tag {
  color: var(--gold-dark);
  background: var(--gold-subtle);
  border-color: rgba(212, 136, 6, 0.2);
}

/* 4. LAYOUT & CONTAINERS */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-padding {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto 3.5rem auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  font-size: clamp(1.45rem, 2.35vw, 2.35rem);
  line-height: 1.25;
  letter-spacing: -0.3px;
  margin-top: 0.35rem;
  margin-bottom: 0.75rem;
  text-align: center;
}

@media (min-width: 992px) {
  .section-header h2,
  .section-title-single-line {
    white-space: nowrap;
  }
}

.section-header p {
  max-width: 760px;
  margin: 0.5rem auto 0;
  color: var(--text-muted);
  line-height: 1.65;
  text-align: center;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-header.text-left h2,
.section-header.text-left p {
  text-align: left;
  margin-left: 0;
}

/* 5. BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(139, 30, 47, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(139, 30, 47, 0.4);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(212, 136, 6, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #f8c067 0%, var(--gold-dark) 100%);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  background: transparent;
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.05rem;
}

/* 6. TOPBAR - 2-ROW SYSTEM */
.top-bar {
  background: var(--dark, #1a0208);
  color: var(--text-light, #f8fafc);
  font-size: 0.85rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-container {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.top-bar-row {
  width: 100%;
}

.top-bar-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.top-info-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #cbd5e1;
}

.top-info-item a {
  color: #cbd5e1;
}

.top-info-item a:hover {
  color: var(--gold-light);
}

.top-info-hours {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: #cbd5e1;
  white-space: nowrap;
}

.top-info-hours .shift-name-tag {
  color: var(--gold-light, #fbbf24);
  font-weight: 700;
}

.top-info-hours .hours-text {
  font-weight: 600;
  color: #f1f5f9;
}

.top-info-reg {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: #fde68a;
  letter-spacing: 0.3px;
  background: rgba(212, 136, 6, 0.12);
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(212, 136, 6, 0.25);
  margin-right: 0.4rem;
}

@media (max-width: 991px) {
  .top-info-reg {
    display: none !important;
  }
}

.top-bar-right {
  display: flex;
  align-items: center;
  margin-left: auto;
}

/* Dedicated Row 2 for Status */
.top-bar-status-row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.top-bar-status-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
}

.top-bar-status-detail {
  font-size: 0.76rem;
  color: #94a3b8;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.phone-prefix {
  display: inline;
}

.top-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-social-links a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-size: 0.8rem;
  transition: var(--transition);
}

.top-social-links a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.admin-link-pill {
  font-size: 0.75rem;
  background: rgba(212, 136, 6, 0.2);
  color: var(--gold-light) !important;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(212, 136, 6, 0.4);
}

.admin-link-pill:hover {
  background: var(--gold);
  color: var(--white) !important;
}

/* 7. MAIN NAVBAR (Smart Reveal - Hide on Scroll Down, Reveal on Scroll Up) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 2000;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.32s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.28s ease;
  will-change: transform;
}

/* Slide up out of view when scrolling DOWN */
.site-header.header-hidden {
  transform: translateY(-100%);
  box-shadow: none;
}

/* When mobile navigation drawer is active, NEVER translate the header */
.site-header.drawer-open,
.site-header:has(.nav-menu.open),
body.mobile-drawer-open .site-header {
  transform: none !important;
  will-change: auto !important;
}

/* Float smoothly into view when scrolling UP */
.site-header.header-scrolled {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0.65rem 0;
  max-width: 1340px;
  width: 95%;
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo-img,
.site-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.08));
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.5px;
  line-height: 1;
}

.logo-subtitle {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-top: 3px;
  line-height: 1;
}

.logo-reg-num {
  font-family: var(--font-heading, sans-serif);
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--gold-dark, #b45309);
  letter-spacing: 0.3px;
  margin-top: 3px;
  line-height: 1;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin: 0;
  padding: 0;
}

@media (min-width: 992px) and (max-width: 1350px) {
  .navbar-container {
    width: 98%;
    max-width: 1340px;
    padding: 0.5rem 0.5rem;
  }
  .site-logo {
    gap: 0.55rem;
  }
  .site-logo-img,
  .site-logo img {
    height: 44px;
  }
  .logo-title {
    font-size: 1.05rem;
  }
  .nav-menu {
    gap: 0.75rem;
  }
  .nav-link {
    font-size: 0.78rem;
    padding: 0.5rem 0.15rem;
  }
  .header-cta {
    gap: 0.45rem;
  }
  .header-btn-appointment,
  .header-btn-samuh {
    padding: 0 0.85rem;
    font-size: 0.78rem;
    height: 36px;
  }
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding: 0.6rem 0.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease;
  white-space: nowrap;
  line-height: 1;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: var(--primary);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 35px;
  padding: 0 0.85rem;
  background: rgba(245, 176, 65, 0.12);
  color: var(--primary);
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  border: 1px solid rgba(201, 136, 20, 0.45);
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(201, 136, 20, 0.08);
  white-space: nowrap;
}

.nav-badge-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(128, 0, 32, 0.2);
}
.nav-badge-link:hover .text-gold {
  color: #f5b041 !important;
}

/* Desktop Dropdown Navigation */
.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-link.dropdown-toggle {
  cursor: pointer;
}

.dropdown-arrow {
  font-size: 0.65rem;
  transition: transform 0.25s ease;
  margin-left: 2px;
  opacity: 0.8;
}

.nav-item-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-light);
  padding: 0.5rem 0;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

/* Hover bridge so cursor transit between link and dropdown doesn't lose hover */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  color: var(--dark);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.dropdown-item i {
  font-size: 0.95rem;
  width: 18px;
  text-align: center;
}

.dropdown-item:hover {
  background: var(--primary-subtle);
  color: var(--primary);
  padding-left: 1.5rem;
}

/* Header Action Buttons */
.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-btn-appointment {
  height: 38px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
  padding: 0 1rem;
  border-radius: var(--radius-sm, 8px);
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.header-btn-appointment i {
  font-size: 0.88rem;
  color: var(--gold);
}

.header-btn-appointment:hover {
  background: var(--primary-subtle, #fdf2f4);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(128, 0, 32, 0.12);
}

.header-btn-samuh {
  height: 38px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
  padding: 0 1.15rem;
  border-radius: var(--radius-sm, 8px);
  background: linear-gradient(135deg, var(--primary) 0%, #630018 100%);
  border: 1.5px solid var(--primary);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(128, 0, 32, 0.22);
  transition: all 0.25s ease;
}

.header-btn-samuh:hover {
  background: linear-gradient(135deg, #630018 0%, #4a0012 100%);
  border-color: #630018;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(128, 0, 32, 0.32);
}

.header-rings-svg {
  width: 17px;
  height: 17px;
  fill: #f5b041;
  display: inline-block;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  animation: animRingSparkle 3.5s ease-in-out infinite;
}

.header-btn-samuh:hover .header-rings-svg {
  transform: scale(1.15) rotate(-6deg);
}

.header-btn-samuh .btn-text-short {
  display: none;
}

.mobile-toggle {
  display: none;
  background: var(--primary);
  border: none;
  font-size: 1.25rem;
  color: var(--white);
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.mobile-toggle:hover {
  background: var(--primary-dark);
}

.mobile-menu-header {
  display: none;
}

.mobile-nav-cta {
  display: none;
}

/* Zero Blur Mobile Overlay (Subtle 40% crisp tint, NO BLUR) */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 1990;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* 8. HERO SECTION */
.hero-section {
  position: relative;
  min-height: calc(100vh - 100px);
  min-height: 680px;
  background: #0d0408;
  color: var(--white);
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Banner Slider Architecture - Full Screen Image */
.banner-slider-track {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 100px);
  min-height: 680px;
  display: flex;
  align-items: center;
}

.banner-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
  z-index: 1;
}

.banner-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

/* Full Screen Background Image Media & Cinematic Overlay */
.slide-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.slide-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  transform: scale(1.02);
  transition: transform 7s cubic-bezier(0.25, 0.8, 0.25, 1);
  filter: brightness(0.92);
}

.banner-slide.active .slide-bg-img {
  transform: scale(1.08); /* Subtle Ken-Burns motion */
}

.slide-bg-overlay {
  position: absolute;
  inset: 0;
  /* Multi-stop luxury dark gradient for ultra-readable typography */
  background: linear-gradient(
    90deg,
    rgba(16, 4, 9, 0.95) 0%,
    rgba(35, 8, 18, 0.89) 36%,
    rgba(22, 10, 24, 0.72) 68%,
    rgba(12, 14, 22, 0.52) 100%
  );
  z-index: 2;
}

.hero-overlay-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(245, 176, 65, 0.12) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  opacity: 0.5;
  z-index: 3;
  pointer-events: none;
}

/* Foreground Slide Content Container */
.hero-slide-container {
  position: relative;
  z-index: 4;
  width: 100%;
  padding-top: 5.5rem;
  padding-bottom: 6rem;
}

.hero-slide-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  max-width: 780px;
}

.hero-content h1 {
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}

.hero-content h1 span,
.hero-title-highlight {
  color: var(--gold-light);
  display: inline;
  text-shadow: 0 0 25px rgba(245, 176, 65, 0.45);
}

.hero-lead {
  font-size: 1.15rem;
  color: #e2e8f0;
  margin-bottom: 2.25rem;
  max-width: 640px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content .section-tagline.gold-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 176, 65, 0.2);
  color: var(--gold-light);
  border: 1px solid rgba(245, 176, 65, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 0.4rem 1.15rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

/* Slide Entrance Animations */
.banner-slide.active .hero-content .section-tagline {
  animation: heroSlideFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.banner-slide.active .hero-content h1 {
  animation: heroSlideFadeIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}

.banner-slide.active .hero-content .hero-lead {
  animation: heroSlideFadeIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

.banner-slide.active .hero-content .hero-actions {
  animation: heroSlideFadeIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both;
}

.banner-slide.active .hero-content .hero-badges {
  animation: heroSlideFadeIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.48s both;
}

.banner-slide.active .hero-side-card .glass-stat-highlight {
  animation: heroStatCardPop 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

@keyframes heroSlideFadeIn {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroStatCardPop {
  0% {
    opacity: 0;
    transform: scale(0.88) translateY(24px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Glassmorphic Impact Stat Highlight on Right Side */
.hero-side-card {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.glass-stat-highlight {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(245, 176, 65, 0.45);
  padding: 1.6rem 2.2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 35px rgba(212, 136, 6, 0.2);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: all 0.35s ease;
}

.glass-stat-highlight:hover {
  transform: translateY(-5px);
  border-color: var(--gold-light);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55), 0 0 45px rgba(245, 176, 65, 0.35);
  background: rgba(255, 255, 255, 0.15);
}

.stat-highlight-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #1b0a10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 20px rgba(212, 136, 6, 0.45);
  flex-shrink: 0;
}

.stat-highlight-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.stat-highlight-lbl {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-top: 0.3rem;
  letter-spacing: 0.5px;
}

/* Slider Arrow Navigation Controls */
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(20, 24, 36, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(245, 176, 65, 0.4);
  color: #ffffff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.hero-slider-prev {
  left: 28px;
}

.hero-slider-next {
  right: 28px;
}

.hero-slider-arrow:hover {
  background: var(--gold);
  border-color: var(--gold-light);
  color: #1b0a10;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 25px rgba(212, 136, 6, 0.65);
}

/* Slider Controls Strip (Dots + Slide Counter) */
.hero-slider-controls {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-pill);
  z-index: 15;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slider-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-slider-dot.active {
  width: 32px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 12px rgba(245, 176, 65, 0.7);
}

.hero-slider-counter {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: #cbd5e1;
  letter-spacing: 1px;
}

.hero-slider-counter .current-slide {
  color: var(--gold-light);
  font-size: 0.92rem;
}

@media (max-width: 992px) {
  .hero-section.banner-slider-section {
    position: relative !important;
    width: 100% !important;
    min-height: 480px !important;
    height: auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    display: block !important;
  }
  .banner-slider-track {
    position: relative !important;
    width: 100% !important;
    min-height: 480px !important;
    height: auto !important;
    display: block !important;
  }
  .banner-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.5s ease, visibility 0.5s ease !important;
    z-index: 1 !important;
  }
  .banner-slide.active {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 480px !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: flex !important;
    align-items: flex-start !important;
    z-index: 2 !important;
  }
  .banner-slide .slide-bg-media {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
  }
  .hero-slide-container {
    position: relative !important;
    width: 100% !important;
    padding-top: 1.5rem !important;
    padding-bottom: 3.75rem !important;
    z-index: 4 !important;
  }
  .hero-slide-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1.25rem !important;
    width: 100% !important;
  }
  .hero-side-card {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
  }
  .glass-stat-highlight {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    padding: 0.85rem 1.4rem !important;
    gap: 0.95rem !important;
    border-radius: 14px !important;
    max-width: 92% !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }
  .stat-highlight-icon {
    width: 52px !important;
    height: 52px !important;
    font-size: 1.35rem !important;
    flex-shrink: 0 !important;
  }
  .stat-highlight-num {
    font-size: 2rem !important;
    line-height: 1.1 !important;
  }
  .stat-highlight-lbl {
    font-size: 0.88rem !important;
    margin-top: 0.15rem !important;
    line-height: 1.2 !important;
  }
  .hero-slider-arrow {
    display: none !important; /* Rely on touch swiping and dots on tablets/mobiles */
  }
  .hero-slider-controls {
    bottom: 14px !important;
    padding: 0.35rem 0.85rem !important;
    gap: 0.95rem !important;
    z-index: 15 !important;
  }
}

.hero-lead {
  font-size: 1.15rem;
  color: #e2e8f0;
  margin-bottom: 2.25rem;
  max-width: 620px;
}

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

.hero-badges {
  display: flex;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.75rem;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(245, 176, 65, 0.2);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.hero-badge-text strong {
  display: block;
  font-size: 1.1rem;
  color: var(--white);
}

.hero-badge-text span {
  font-size: 0.8rem;
  color: #cbd5e1;
}

.hero-media {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  border: 4px solid rgba(255, 255, 255, 0.12);
}

.hero-image-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-frame:hover img {
  transform: scale(1.03);
}

.floating-stat-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  color: var(--dark);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 1rem;
  border-left: 5px solid var(--primary);
  z-index: 3;
}

.floating-stat-card .stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.floating-stat-card .stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.floating-stat-card .stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* 9. FOUR KEY PILLARS / HIGHLIGHTS */
.pillars-section {
  position: relative;
  margin-top: 0;
  padding: 4rem 0 2rem;
  background: var(--light-surface, #faf7f2);
  z-index: 10;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pillars-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pillar-card {
  background: var(--white);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--gold) 100%);
  opacity: 0;
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(139, 30, 47, 0.2);
}

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

.pillar-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem auto;
  border-radius: 50%;
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: var(--transition);
}

.pillar-card:hover .pillar-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
}

.pillar-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.pillar-card p {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.pillar-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
}

.pillar-link:hover {
  color: var(--gold);
}

/* 10. ABOUT TEASER SECTION */
.about-teaser {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-images-cluster {
  position: relative;
  padding: 1.5rem;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: -20px;
  right: -10px;
  width: 55%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 5px solid var(--white);
}

.about-img-secondary img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.about-years-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about-years-badge .years {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.about-years-badge .text {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.checklist {
  margin: 1.75rem 0;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.check-icon {
  color: var(--primary);
  background: var(--primary-subtle);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* 11. IMPACT NUMBERS / COUNTERS */
.stats-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #4a0d16 100%);
  color: var(--white);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-box {
  padding: 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-box:last-child {
  border-right: none;
}

.stat-number-large {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-desc {
  font-size: 1rem;
  color: #f1f5f9;
  font-weight: 500;
}

/* 12. VIDEO HIGHLIGHT SECTION */
.video-feature-section {
  background: var(--light-bg);
}

.video-showcase-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 960px;
  margin: 0 auto;
  border: 4px solid var(--white);
}

.video-showcase-card img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: brightness(0.85);
  transition: transform 0.5s ease;
}

.video-showcase-card:hover img {
  transform: scale(1.02);
}

.play-button-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(20, 24, 36, 0.4);
  color: var(--white);
  cursor: pointer;
  text-align: center;
  padding: 2rem;
}

.play-pulse-btn {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 0 0 rgba(139, 30, 47, 0.7);
  animation: pulse 2s infinite;
  transition: var(--transition);
}

.video-showcase-card:hover .play-pulse-btn {
  transform: scale(1.1);
  background: var(--gold);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(139, 30, 47, 0.7); }
  70% { box-shadow: 0 0 0 25px rgba(139, 30, 47, 0); }
  100% { box-shadow: 0 0 0 0 rgba(139, 30, 47, 0); }
}

.play-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  max-width: 600px;
}

/* 13. GALLERY PREVIEW */
.gallery-section {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 24, 36, 0.85) 0%, rgba(20, 24, 36, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.gallery-overlay span {
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
}

.gallery-zoom-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* 14. REGISTRATION / INQUIRY SECTION (Join Hands) */
.inquiry-section {
  background: linear-gradient(135deg, var(--light-surface) 0%, #ece6da 100%);
  position: relative;
}

.inquiry-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  border: 1px solid var(--border-light);
}

.inquiry-info-pane {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.inquiry-info-pane h2 {
  color: var(--white);
}

.inquiry-info-pane p {
  color: #f1f5f9;
}

.inquiry-contact-list {
  margin: 2rem 0;
}

.inquiry-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.inquiry-contact-item i, .inquiry-contact-item svg {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.inquiry-contact-item a {
  color: var(--white);
}

.inquiry-form-pane {
  padding: 3.5rem 3rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-main);
  background: #f8fafc;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
  touch-action: manipulation;
}

.form-control:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(139, 30, 47, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.form-alert {
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  display: none;
}

.form-alert.success {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-alert.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.form-card-wrapper {
  padding: 2.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.donation-split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  align-items: start;
}

/* 15. PRESS RELEASES / NEWS CARDS */
.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.press-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.press-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(139, 30, 47, 0.2);
}

.press-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.press-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.press-card:hover .press-img img {
  transform: scale(1.06);
}

.press-source-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
}

.press-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.press-date {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.press-title {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.press-title a {
  color: var(--dark);
}

.press-title a:hover {
  color: var(--primary);
}

.press-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.press-readmore {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* 16. PAGE HERO / INNER BANNER */
.page-hero,
.page-banner {
  background: linear-gradient(135deg, var(--dark) 0%, #2b0b14 100%);
  color: var(--white);
  padding: 4.5rem 0;
  text-align: center;
  position: relative;
}

.page-hero h1,
.page-banner h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-hero p,
.page-banner p {
  color: #cbd5e1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.breadcrumb a {
  color: #cbd5e1;
}

.breadcrumb a:hover {
  color: var(--gold-light);
}

.breadcrumb span {
  color: var(--gold-light);
}

/* 17. SITE FOOTER */
.site-footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 5rem 0 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-widget h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-widget h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2.5px;
  background: var(--gold);
  border-radius: 2px;
}

.footer-about p {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

.footer-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.footer-gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.footer-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.footer-gallery-item:hover img {
  transform: scale(1.15);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  font-size: 0.85rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #94a3b8;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* 18. MODALS (Appointment & Lightbox) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active,
.modal-backdrop.open,
.modal-backdrop[style*="display: block"],
.modal-backdrop[style*="display:block"],
.modal-backdrop[style*="display: flex"],
.modal-backdrop[style*="display:flex"] {
  display: flex !important;
  opacity: 1 !important;
  align-items: center !important;
  justify-content: center !important;
}

.modal-box {
  background: var(--white);
  width: 100%;
  max-width: 620px;
  margin: auto !important;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  animation: modalCenterZoom 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalCenterZoom {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================================================
   CENTERED CONFIRMATION & SUCCESS DIALOG SYSTEM (Public Website)
   ========================================================================== */
.center-dialog-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.center-dialog-backdrop.active,
.center-dialog-backdrop.show,
.center-dialog-backdrop[style*="display: flex"],
.center-dialog-backdrop[style*="display:flex"] {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.center-dialog-box {
  background: #ffffff;
  width: 100%;
  max-width: 440px;
  border-radius: 18px;
  padding: 2.2rem 2rem 1.8rem;
  text-align: center;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.38);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.center-dialog-backdrop.active .center-dialog-box,
.center-dialog-backdrop.show .center-dialog-box {
  transform: scale(1);
}

.dialog-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  line-height: 1;
}

.dialog-icon-wrap.warning {
  background: #fef2f2;
  color: #ef4444;
  border: 4px solid #fee2e2;
  animation: pulseWarning 1.8s infinite;
}

.dialog-icon-wrap.success {
  background: #ecfdf5;
  color: #10b981;
  border: 4px solid #d1fae5;
  animation: popSuccess 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pulseWarning {
  0% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  70% { transform: scale(1.03); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

@keyframes popSuccess {
  0% { transform: scale(0.7); opacity: 0; }
  70% { transform: scale(1.12); }
  100% { transform: scale(1); opacity: 1; }
}

.dialog-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.dialog-message {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0 0 1.75rem;
  line-height: 1.6;
}

.dialog-actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
}

.dialog-actions .btn {
  flex: 1 1 auto;
  max-width: 170px;
  padding: 0.65rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.dialog-actions .dialog-cancel-btn {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.dialog-actions .dialog-cancel-btn:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.dialog-actions .dialog-confirm-btn {
  background: #dc2626;
  color: #ffffff;
}

.dialog-actions .dialog-confirm-btn:hover {
  background: #b91c1c;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.dialog-actions .dialog-ok-btn {
  background: var(--primary, #800020);
  color: #ffffff;
  min-width: 140px;
}

.dialog-actions .dialog-ok-btn:hover {
  background: var(--primary-dark, #630018);
  box-shadow: 0 4px 14px rgba(128, 0, 32, 0.35);
}

.modal-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  color: var(--white);
  margin-bottom: 0;
}

.modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
}

.appointment-office-bar {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.45rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.appointment-office-bar .office-status-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.appointment-office-bar .office-hours-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: #1e293b;
  font-family: var(--font-heading, sans-serif);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-align: center;
}

.appointment-office-bar .office-shifts-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  font-size: 0.80rem;
  text-align: center;
}

.appointment-office-bar .office-shift-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.appointment-office-bar .shift-name {
  color: #64748b;
  font-weight: 600;
}

.appointment-office-bar .shift-val {
  color: #0f172a;
  font-weight: 700;
}

.appointment-office-bar .shift-sep {
  color: #cbd5e1;
  font-size: 0.75rem;
}

.appointment-modal-desc {
  font-size: 0.88rem;
  margin: 0 auto 1.25rem;
  max-width: 90%;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
}

.appointment-date-hint {
  display: block;
  font-size: 0.76rem;
  color: #b45309;
  margin-top: 5px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
}

.btn-submit-appointment {
  width: 100%;
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  background: #800020;
  border-color: #800020;
  color: #ffffff;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
}

.btn-submit-appointment:hover {
  background: #630018;
  border-color: #630018;
  color: #ffffff;
}

/* ==========================================================================
   INTERACTIVE FULLSCREEN LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 11, 18, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: none;
  opacity: 0;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
  user-select: none;
  transition: opacity 0.28s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-top-bar {
  position: absolute;
  top: 1.25rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100001;
  pointer-events: none;
}

.lightbox-controls-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  pointer-events: auto;
}

.lightbox-counter-badge {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #f1f5f9;
  padding: 0.4rem 0.95rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: auto;
}

.lightbox-btn {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.lightbox-btn:hover {
  background: var(--primary, #800020);
  border-color: var(--primary, #800020);
  transform: scale(1.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.35rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100001;
  transition: all 0.22s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lightbox-arrow:hover {
  background: var(--gold, #d48806);
  border-color: var(--gold, #d48806);
  color: #0f172a;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(212, 136, 6, 0.45);
}

.lightbox-arrow.lightbox-prev {
  left: 1.5rem;
}

.lightbox-arrow.lightbox-next {
  right: 1.5rem;
}

.lightbox-content {
  position: relative;
  max-width: 95vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  text-align: center;
}

.lightbox-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 95vw;
  max-height: 82vh;
  overflow: hidden;
  border-radius: 10px;
}

.lightbox-img {
  max-width: 94vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  cursor: zoom-in;
}

.lightbox-img.is-zoomed {
  transform: scale(1.35);
  cursor: zoom-out;
}

.lightbox-caption-wrap {
  margin-top: 1rem;
  max-width: 800px;
  padding: 0 1rem;
}

.lightbox-caption {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  line-height: 1.4;
}

.lightbox-hint {
  color: #94a3b8;
  font-size: 0.76rem;
  margin-top: 0.35rem;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .lightbox-modal {
    padding: 0.5rem;
  }
  .lightbox-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .lightbox-arrow.lightbox-prev {
    left: 0.5rem;
  }
  .lightbox-arrow.lightbox-next {
    right: 0.5rem;
  }
  .lightbox-img {
    max-width: 96vw;
    max-height: 72vh;
  }
  .lightbox-img.is-zoomed {
    transform: scale(1.2);
  }
  .lightbox-top-bar {
    top: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
  }
  .lightbox-btn {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
  .lightbox-counter-badge {
    padding: 0.25rem 0.65rem;
    font-size: 0.75rem;
  }
  .lightbox-caption {
    font-size: 0.9rem;
  }
  .lightbox-hint {
    display: none;
  }
}

/* 19. COMPREHENSIVE RESPONSIVE BREAKPOINTS */

/* --- TABLETS & SMALL LAPTOPS (<= 1024px) --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-badges {
    justify-content: center;
  }
  .hero-media {
    max-width: 540px;
    margin: 0 auto;
  }
  .floating-stat-card {
    left: 0;
    bottom: -15px;
  }
  .pillars-section {
    margin-top: 0;
    padding: 3rem 0 1.5rem;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-box {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.75rem 1rem;
  }
  .about-grid, .inquiry-wrapper, .contact-split-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .gallery-grid, .videos-grid, .press-grid, .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* --- TABLETS & MOBILE DEVICES (<= 992px) --- */
@media (max-width: 992px) {
  /* Typography & Spacing */
  html {
    font-size: 15px;
  }
  .container {
    padding: 0 1rem;
  }
  .section-padding {
    padding: 3.5rem 0;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.65rem; }
  h3 { font-size: 1.35rem; }

  /* Topbar on Mobile - Clean 2-Row Layout */
  .top-bar {
    padding: 0.4rem 0 0.35rem;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow: hidden;
  }
  .top-bar .container {
    padding: 0 0.6rem;
    max-width: 100%;
    box-sizing: border-box;
  }
  .top-bar-container {
    gap: 0.3rem;
  }
  /* Row 1: Phone + Current Shift Time + Social Icons */
  .top-bar-main-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.35rem;
    width: 100%;
    box-sizing: border-box;
  }
  .top-info-left {
    display: flex;
    align-items: center;
    gap: 0;
  }
  .top-info-phone {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.72rem;
    white-space: nowrap;
  }
  .phone-prefix {
    display: none !important; /* Hide +91 prefix on mobile to save space */
  }
  .top-info-email {
    display: none !important; /* Hide email on mobile to keep Row 1 clean */
  }
  .top-info-hours {
    flex: 0 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    font-size: 0.72rem;
    color: #cbd5e1;
    white-space: nowrap;
    margin: 0;
    text-align: center;
  }
  .top-info-hours .shift-name-tag {
    color: var(--gold-light, #fbbf24);
    font-weight: 700;
  }
  .top-info-hours .hours-text {
    font-weight: 600;
    color: #f1f5f9;
  }
  .top-bar-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    width: auto;
  }
  .top-social-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
  .top-social-links a {
    width: 21px;
    height: 21px;
    font-size: 0.62rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    transition: var(--transition);
  }
  .top-social-links a:hover, .top-social-links a:active {
    background: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
  }

  /* Row 2: Status on Mobile - Centered, Fully Visible, Zero Cutoff */
  .top-bar-status-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-top: 0.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
  }
  .top-bar-status-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    text-align: center;
  }
  .top-bar-status-wrap .office-status-badge {
    font-size: 0.68rem;
    padding: 0.16rem 0.55rem;
  }
  .top-bar-status-detail {
    font-size: 0.72rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px;
  }

  @media (max-width: 400px) {
    .top-info-hours .shift-name-tag {
      display: none;
    }
    .top-bar-status-detail {
      max-width: 190px;
    }
  }

  /* Site Header & Navigation Drawer */
  .navbar-container {
    padding: 0.65rem 0;
  }
  .site-logo img {
    height: 42px;
  }
  .header-cta {
    gap: 0.35rem;
  }
  .header-btn-appointment {
    padding: 0.38rem 0.55rem;
    font-size: 0.76rem;
    gap: 0.25rem;
  }
  .header-btn-appointment .btn-text {
    display: none; /* Show gold calendar icon on phones */
  }
  .header-btn-samuh {
    padding: 0.38rem 0.65rem;
    font-size: 0.76rem;
    gap: 0.3rem;
  }
  .header-btn-samuh .btn-text-full {
    display: none;
  }
  .header-btn-samuh .btn-text-short {
    display: inline; /* Shows "Apply" */
  }
  .mobile-toggle {
    display: flex;
  }

  /* Sticky Fixed Header on Mobile View (Maintains position while scrolling) */
  .site-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 2000 !important;
    background: #ffffff !important;
    transform: none !important;
    will-change: auto !important;
    transition: box-shadow 0.25s ease, background-color 0.25s ease !important;
  }
  .site-header.header-hidden {
    transform: none !important;
  }
  .site-header.header-scrolled {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12) !important;
    background: #ffffff !important;
  }

  .nav-menu {
    display: none !important;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 320px;
    max-width: 88vw;
    height: 100%;
    height: 100vh;
    height: 100dvh;
    background: #ffffff !important;
    flex-direction: column;
    padding: 1.5rem 1.25rem 2.5rem;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    align-items: stretch;
    gap: 0;
    z-index: 2100 !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-menu.open {
    display: flex !important;
    animation: drawerSlideIn 0.28s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }
  @keyframes drawerSlideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
  }

  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
  }
  .mobile-close-btn {
    background: var(--light-surface);
    border: none;
    font-size: 1.75rem;
    color: var(--dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
  }
  .mobile-close-btn:hover {
    background: var(--primary);
    color: #ffffff;
  }

  .nav-link {
    width: 100%;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid #f8fafc;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    text-transform: none;
    letter-spacing: 0;
  }
  .nav-link::after {
    display: none;
  }
  .nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: var(--primary-subtle);
    border-radius: var(--radius-sm);
  }

  /* Mobile Dropdown Styling */
  .nav-item-dropdown {
    display: block;
    width: 100%;
  }

  .nav-link.dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .nav-item-dropdown .dropdown-menu {
    position: static !important;
    display: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    border-radius: var(--radius-sm) !important;
    padding: 0.35rem 0 !important;
    margin: 0.25rem 0 0.5rem 0.5rem !important;
    pointer-events: auto !important;
  }

  .nav-item-dropdown.active .dropdown-menu {
    display: block !important;
  }

  .nav-item-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
  }

  .dropdown-item {
    padding: 0.6rem 0.85rem;
    font-size: 0.85rem;
    border-bottom: 1px solid #f1f5f9;
  }

  .dropdown-item:last-child {
    border-bottom: none;
  }

  .mobile-nav-cta {
    display: block;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
  }

  /* Hero Section Alignment (Clean 1-Column Mobile Flow) */
  .hero-section {
    padding: 2.75rem 0 3.25rem 0;
    text-align: center;
  }
  .hero-section.banner-slider-section {
    position: relative !important;
    width: 100% !important;
    min-height: 440px !important;
    height: auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    display: block !important;
  }
  .hero-section.banner-slider-section .banner-slider-track {
    position: relative !important;
    width: 100% !important;
    min-height: 440px !important;
    height: auto !important;
    display: block !important;
  }
  .hero-section.banner-slider-section .banner-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.5s ease, visibility 0.5s ease !important;
    z-index: 1 !important;
  }
  .hero-section.banner-slider-section .banner-slide.active {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 440px !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: flex !important;
    align-items: flex-start !important;
    z-index: 2 !important;
  }
  .hero-slide-container {
    padding-top: 1.5rem !important;
    padding-bottom: 3.75rem !important;
  }
  .hero-slide-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1.25rem !important;
    width: 100% !important;
  }
  .hero-side-card {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0.25rem auto 0 !important;
    text-align: center !important;
  }
  .glass-stat-highlight {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    padding: 0.85rem 1.4rem !important;
    gap: 0.95rem !important;
    border-radius: 14px !important;
    max-width: 92% !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }
  .stat-highlight-icon {
    width: 48px !important;
    height: 48px !important;
    font-size: 1.25rem !important;
    flex-shrink: 0 !important;
  }
  .stat-highlight-num {
    font-size: 1.85rem !important;
    line-height: 1.1 !important;
  }
  .stat-highlight-lbl {
    font-size: 0.84rem !important;
    margin-top: 0.15rem !important;
    line-height: 1.2 !important;
  }
  .hero-slider-controls {
    bottom: 14px !important;
    padding: 0.35rem 0.85rem !important;
    gap: 0.95rem !important;
  }
  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2rem !important;
    width: 100% !important;
  }
  .hero-content {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
  }
  .hero-content .section-tagline.gold-tag {
    font-size: 0.76rem !important;
    padding: 0.35rem 0.9rem !important;
    margin-bottom: 0.75rem !important;
    letter-spacing: 0.8px !important;
    display: inline-flex !important;
  }
  .hero-content h1 {
    font-size: 1.7rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.85rem !important;
  }
  .hero-lead {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    margin: 0 auto 1.25rem !important;
    max-width: 100% !important;
  }
  .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
    width: 100% !important;
    margin: 0 auto 1.25rem !important;
  }
  .hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.75rem 1.15rem !important;
    font-size: 0.95rem !important;
  }
  .hero-badges {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
    margin-top: 1.25rem !important;
    width: 100% !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding-top: 1.25rem !important;
  }
  .hero-badge-item:last-child:nth-child(odd) {
    grid-column: span 2;
  }
  .hero-badge-item {
    width: 100% !important;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.6rem 0.8rem !important;
    border-radius: var(--radius-sm);
    text-align: left;
    display: flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
  }
  .hero-badge-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.95rem !important;
    flex-shrink: 0;
  }
  .hero-badge-text strong {
    font-size: 0.92rem !important;
    line-height: 1.2;
  }
  .hero-badge-text span {
    font-size: 0.72rem !important;
  }
  .hero-media {
    width: 100% !important;
    max-width: 480px !important;
    margin: 1.5rem auto 0 !important;
    position: relative !important;
  }
  .hero-image-frame {
    width: 100% !important;
  }
  .hero-image-frame img {
    width: 100% !important;
    height: 280px !important;
    object-fit: cover !important;
    border-radius: var(--radius-md) !important;
    display: block !important;
  }
  .floating-stat-card {
    position: static !important;
    margin-top: 1rem !important;
    width: 100% !important;
    border-radius: var(--radius-md) !important;
    padding: 1rem 1.25rem !important;
    text-align: left !important;
  }

  /* Pillars / Highlights */
  .pillars-section {
    margin-top: 2rem;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .pillar-card {
    padding: 1.75rem 1.25rem;
    text-align: center;
  }
  .pillar-icon {
    margin: 0 auto 1rem;
  }

  /* Stats Section */
  .stats-counter-section {
    padding: 2.75rem 0;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .stat-box {
    padding: 1.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
  }
  .stat-number {
    font-size: 1.85rem;
  }
  .stat-label {
    font-size: 0.78rem;
  }

  /* About Images Cluster (Fixed Relative Positioning) */
  .about-images-cluster {
    position: relative !important;
    padding: 0 !important;
    margin-top: 2rem !important;
    width: 100% !important;
  }
  .about-img-main img {
    height: 260px !important;
    width: 100% !important;
    border-radius: var(--radius-md) !important;
    object-fit: cover !important;
    display: block !important;
  }
  .about-img-secondary {
    display: none !important; /* Hide overlapping mini image on mobile to eliminate clutter */
  }
  .about-years-badge {
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    bottom: auto !important;
    right: auto !important;
    padding: 0.65rem 1rem !important;
    border-radius: 10px !important;
    z-index: 5 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
  }
  .about-years-badge .years {
    font-size: 1.5rem !important;
  }
  .about-years-badge .text {
    font-size: 0.65rem !important;
  }

  /* Inquiries & Form Panes */
  .inquiry-wrapper {
    grid-template-columns: 1fr;
    border-radius: var(--radius-md);
  }
  .inquiry-info-pane, .inquiry-form-pane {
    padding: 2rem 1.25rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  /* Cards & Grids on Tablet/Mobile */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .videos-grid, .press-grid, .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  /* Universal Inline Grid Overrides for Mobile Form Responsiveness */
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr 1fr"],
  [style*="grid-template-columns: repeat(auto-fit, minmax(240px, 1fr))"],
  [style*="grid-template-columns: repeat(auto-fit, minmax(320px, 1fr))"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* Outer Box Padding on Mobile */
  [style*="padding: 2.5rem"],
  [style*="padding: 2.25rem"] {
    padding: 1.5rem 1.15rem !important;
    border-radius: 16px !important;
  }

  /* Notice Cards */
  .notice-card {
    padding: 1.25rem 1rem !important;
  }

  /* Modals on Tablet/Mobile - Zero Outer Padding, Clean Box Geometry */
  .modal-backdrop {
    padding: 0.75rem 0.5rem !important;
  }
  .modal-box {
    width: 100% !important;
    max-width: 540px !important;
    margin: auto !important;
    padding: 0 !important;
    border-radius: 14px !important;
    max-height: 92vh !important;
    overflow: hidden !important;
  }
  .modal-header {
    padding: 0.85rem 1.15rem !important;
  }
  .modal-header h3 {
    font-size: 1.05rem !important;
  }
  .modal-body {
    padding: 1rem 1.15rem 1.25rem !important;
  }
}

/* --- SMALL MOBILE SMARTPHONES (<= 480px) --- */
@media (max-width: 480px) {
  .container {
    padding: 0 0.85rem;
  }
  .site-header .container {
    padding: 0 0.85rem;
  }
  .section-padding {
    padding: 2.75rem 0;
  }

  /* Site Header on Small Mobile */
  .mobile-toggle {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  .site-logo img {
    height: 36px;
  }

  /* Hero on 360px-480px */
  .hero-section {
    padding: 2.25rem 0 2.5rem;
  }
  .hero-section.banner-slider-section {
    position: relative !important;
    width: 100% !important;
    min-height: 440px !important;
    height: auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    display: block !important;
  }
  .hero-section.banner-slider-section .banner-slider-track {
    position: relative !important;
    width: 100% !important;
    min-height: 440px !important;
    height: auto !important;
    display: block !important;
  }
  .hero-section.banner-slider-section .banner-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.5s ease, visibility 0.5s ease !important;
    z-index: 1 !important;
  }
  .hero-section.banner-slider-section .banner-slide.active {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 440px !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: flex !important;
    align-items: flex-start !important;
    z-index: 2 !important;
  }
  .hero-slide-container {
    padding-top: 1.15rem !important;
    padding-bottom: 3.25rem !important;
  }
  .hero-slide-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem !important;
    width: 100% !important;
  }
  .hero-side-card {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0.15rem auto 0 !important;
    text-align: center !important;
  }
  .glass-stat-highlight {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    padding: 0.75rem 1.15rem !important;
    gap: 0.85rem !important;
    border-radius: 12px !important;
    max-width: 94% !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }
  .stat-highlight-icon {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.15rem !important;
    flex-shrink: 0 !important;
  }
  .stat-highlight-num {
    font-size: 1.65rem !important;
    line-height: 1.1 !important;
  }
  .stat-highlight-lbl {
    font-size: 0.8rem !important;
    margin-top: 0.1rem !important;
    line-height: 1.2 !important;
  }
  .hero-slider-controls {
    bottom: 12px !important;
    padding: 0.3rem 0.75rem !important;
    gap: 0.85rem !important;
  }
  .hero-content .section-tagline.gold-tag {
    font-size: 0.72rem !important;
    padding: 0.28rem 0.75rem !important;
    margin-bottom: 0.6rem !important;
    letter-spacing: 0.6px !important;
  }
  .hero-content h1 {
    font-size: 1.48rem !important;
    line-height: 1.22 !important;
    margin-bottom: 0.65rem !important;
  }
  .hero-lead {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin: 0 auto 1.1rem !important;
  }
  .hero-actions {
    gap: 0.55rem !important;
    margin: 0 auto 1.15rem !important;
  }
  .hero-actions .btn {
    padding: 0.68rem 1rem !important;
    font-size: 0.92rem !important;
  }
  .hero-badges {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
    margin-top: 1.1rem !important;
    padding-top: 1.1rem !important;
  }
  .hero-badge-item:last-child:nth-child(odd) {
    grid-column: span 2;
  }
  .hero-badge-item {
    padding: 0.5rem 0.65rem !important;
    gap: 0.5rem !important;
  }
  .hero-badge-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.88rem !important;
  }
  .hero-badge-text strong {
    font-size: 0.84rem !important;
  }
  .hero-badge-text span {
    font-size: 0.68rem !important;
  }
  .hero-image-frame img {
    height: 220px;
  }
  .floating-stat-card .stat-number {
    font-size: 1.4rem;
  }
  .floating-stat-card .stat-label {
    font-size: 0.75rem;
  }

  /* Stats Counter Grid Single or 2 Small */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .stat-box {
    padding: 1rem 0.35rem;
  }
  .stat-number {
    font-size: 1.6rem;
  }
  .stat-label {
    font-size: 0.72rem;
  }

  /* Gallery Single Column on Small Phones */
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item img {
    height: 220px;
  }

  /* Contact Map */
  .contact-map-frame iframe {
    height: 240px;
  }

  /* Page Banners */
  .page-banner, .page-hero {
    padding: 2.5rem 0 2rem;
  }
  .page-banner h1, .page-hero h1 {
    font-size: 1.5rem;
  }
}

/* --- EXTRA SMALL SMARTPHONES (<= 360px) --- */
@media (max-width: 360px) {
  .top-info-phone {
    font-size: 0.66rem;
  }
  .top-info-hours {
    font-size: 0.63rem;
  }
  .top-social-links a {
    width: 20px;
    height: 20px;
    font-size: 0.58rem;
  }
  .top-bar-status-wrap .office-status-badge {
    font-size: 0.64rem;
    padding: 0.12rem 0.45rem;
  }
  .top-bar-status-detail {
    font-size: 0.68rem;
    max-width: 190px;
  }
}

/* ==========================================================================
   Trust Members & Governing Council Styles (about.php & website-wide)
   ========================================================================== */
.trust-team-section {
  position: relative;
  background-color: var(--light-surface);
}

.trust-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

.trust-team-card {
  background: var(--white);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-light, #ede6db);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
}

.trust-team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px rgba(128, 0, 32, 0.12);
  border-color: rgba(201, 136, 20, 0.4);
}

.team-card-image-wrap {
  position: relative;
  width: 100%;
  height: 290px;
  overflow: hidden;
  background: linear-gradient(135deg, #f7f3ec 0%, #ede5d8 100%);
}

.team-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.trust-team-card:hover .team-card-img {
  transform: scale(1.06);
}

/* Role Badges */
.team-role-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill, 999px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 2;
}

.team-role-badge.role-president {
  background: linear-gradient(135deg, #800020 0%, #520015 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 215, 0, 0.5);
}

.team-role-badge.role-vice-president {
  background: linear-gradient(135deg, #c98814 0%, #9a660a 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.team-role-badge.role-secretary {
  background: linear-gradient(135deg, #0f5132 0%, #0a3822 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.team-role-badge.role-treasurer {
  background: linear-gradient(135deg, #0d6efd 0%, #084298 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.team-role-badge.role-member,
.team-role-badge.role-trustee,
.team-role-badge.role-patron {
  background: rgba(30, 41, 59, 0.9);
  color: #ffffff;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Card Body */
.team-card-body {
  padding: 1.5rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
}

.team-member-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary, #800020);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.team-member-desig-gu {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold-dark, #a06b0c);
  margin-bottom: 0.2rem;
}

.team-member-desig {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted, #718096);
  margin-bottom: 0.85rem;
}

.team-member-bio {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-body, #4a5568);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.team-card-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-light, #ede6db);
  margin-top: auto;
}

.team-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted, #718096);
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm, 6px);
  background: var(--light-surface, #faf7f2);
  transition: all 0.25s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-contact-btn i {
  color: var(--gold, #c98814);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.team-contact-btn:hover {
  background: var(--primary-subtle, #fdf2f4);
  color: var(--primary, #800020);
}

.team-contact-btn:hover i {
  color: var(--primary, #800020);
}

/* Call to action card inside team section */
.team-section-cta {
  text-align: center;
  margin-top: 3.5rem;
  padding: 2.25rem 2rem;
  background: var(--light-surface, #faf7f2);
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-light, #ede6db);
  position: relative;
  overflow: hidden;
}

.team-section-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary, #800020) 0%, var(--gold, #c98814) 100%);
}

/* Responsive Breakpoints for Trust Team */
@media (max-width: 1100px) {
  .trust-team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .trust-team-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }
  .team-card-image-wrap {
    height: 320px;
  }
  .team-section-cta {
    padding: 1.75rem 1.25rem;
  }
}

/* ==========================================================================
   Office Hours & Live Status Badges (Multi-Shift Timing)
   ========================================================================== */
.office-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.3px;
  white-space: nowrap;
  vertical-align: middle;
  transition: all 0.25s ease;
}

.office-status-badge .status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

/* Open Status */
.office-status-badge.status-open {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.35);
}
.office-status-badge.status-open .status-pulse-dot {
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: status-pulse-green 1.8s infinite;
}

/* Break Status */
.office-status-badge.status-break {
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.office-status-badge.status-break .status-pulse-dot {
  background-color: #f59e0b;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: status-pulse-amber 1.8s infinite;
}

/* Closed Status */
.office-status-badge.status-closed {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.28);
}
.office-status-badge.status-closed .status-pulse-dot {
  background-color: #ef4444;
}

/* High-contrast variants inside dark topbar */
.header-top-bar .office-status-badge {
  font-size: 0.68rem;
  padding: 0.15rem 0.5rem;
}
.header-top-bar .office-status-badge.status-open {
  background: rgba(16, 185, 129, 0.22);
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.45);
}
.header-top-bar .office-status-badge.status-break {
  background: rgba(245, 158, 11, 0.22);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.45);
}
.header-top-bar .office-status-badge.status-closed {
  background: rgba(239, 68, 68, 0.22);
  color: #fca5a5;
  border-color: rgba(252, 165, 165, 0.4);
}

/* Multi-Shift Hours Box in Contact Page & Cards */
.office-timing-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md, 8px);
  padding: 0.85rem 1rem;
  margin-top: 0.75rem;
  text-align: left;
}
.office-timing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed #cbd5e1;
}
.office-timing-header .title {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary, #800020);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.office-shifts-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-dark, #1e293b);
}
.office-shift-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.office-shift-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #64748b;
  font-size: 0.78rem;
}
.office-shift-time {
  font-weight: 700;
  color: #0f172a;
}
.office-timing-footer {
  margin-top: 0.55rem;
  padding-top: 0.45rem;
  border-top: 1px dashed #cbd5e1;
  font-size: 0.76rem;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@keyframes status-pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes status-pulse-amber {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* ==========================================================================
   BACK TO TOP SCROLL BUTTON
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary, #800020) 0%, #a0153e 100%);
  color: #ffffff;
  border: 2px solid rgba(212, 136, 6, 0.45);
  box-shadow: 0 8px 24px rgba(128, 0, 32, 0.35), 0 2px 6px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.9);
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.25s ease,
              border-color 0.25s ease,
              box-shadow 0.25s ease;
  outline: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: linear-gradient(135deg, #a0153e 0%, var(--gold, #d48806) 100%);
  color: #ffffff;
  border-color: var(--gold-light, #fbbf24);
  box-shadow: 0 12px 28px rgba(212, 136, 6, 0.5), 0 4px 10px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px) scale(1.08);
}

.back-to-top:active {
  transform: translateY(-1px) scale(0.98);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (LEFT SIDE)
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42), 0 2px 6px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  cursor: pointer;
  z-index: 990;
  text-decoration: none;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  animation: whatsapp-subtle-pulse 2.5s infinite;
}

.floating-whatsapp-btn i {
  color: #ffffff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
  transition: transform 0.25s ease;
}

.floating-whatsapp-btn .whatsapp-tooltip {
  position: absolute;
  left: calc(100% + 12px);
  background: #0f172a;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-whatsapp-btn .whatsapp-tooltip::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent #0f172a transparent transparent;
}

.floating-whatsapp-btn:hover {
  background: linear-gradient(135deg, #2fe571 0%, #075E54 100%);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55), 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff !important;
}

.floating-whatsapp-btn:hover i {
  transform: scale(1.08);
}

.floating-whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.floating-whatsapp-btn:active {
  transform: translateY(-1px) scale(0.98);
}

@keyframes whatsapp-subtle-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 8px 24px rgba(37, 211, 102, 0.4);
  }
  65% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0), 0 8px 24px rgba(37, 211, 102, 0.4);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 8px 24px rgba(37, 211, 102, 0.4);
  }
}

@media (max-width: 768px) {
  .floating-whatsapp-btn {
    bottom: 20px;
    left: 20px;
    width: 46px;
    height: 46px;
    font-size: 1.55rem;
  }
  .floating-whatsapp-btn .whatsapp-tooltip {
    display: none;
  }
}

/* ==========================================================================
   COMMUNITY FEEDBACK & REVIEWS
   ========================================================================== */
.community-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.review-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.65rem 1.6rem 1.35rem 1.6rem;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  box-sizing: border-box;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  border-color: #fde68a;
}

/* Reviews Page Card Footer & Metadata */
.fb-card-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 1.1rem;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  box-sizing: border-box;
  width: 100%;
}

.fb-card-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
}

.fb-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #800020, #a0153e);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 4px 10px rgba(128, 0, 32, 0.25);
  flex-shrink: 0;
}

.fb-author-details {
  min-width: 0;
  flex: 1;
}

.fb-author-name {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.35;
}

.fb-verified-badge {
  color: #10b981;
  font-size: 0.85rem;
  flex-shrink: 0;
  display: inline-flex;
}

.fb-author-role {
  font-size: 0.78rem;
  color: #800020;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 2px;
}

.fb-card-meta {
  text-align: right;
  font-size: 0.78rem;
  color: #64748b;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.fb-meta-city {
  font-weight: 500;
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  justify-content: flex-end;
}

.fb-meta-city i {
  color: #d48806;
  font-size: 0.75rem;
}

.fb-meta-date {
  color: #94a3b8;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.fb-meta-date i {
  font-size: 0.7rem;
  color: #94a3b8;
}

@media (max-width: 640px) {
  .community-reviews-grid {
    grid-template-columns: 1fr !important;
    gap: 1.15rem !important;
  }

  .review-card {
    padding: 1.25rem 1.1rem !important;
    border-radius: 14px !important;
  }

  .fb-card-footer {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
    padding-top: 0.85rem !important;
  }

  .fb-card-meta {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding-top: 0.55rem !important;
    border-top: 1px dashed #e2e8f0 !important;
  }

  .fb-meta-date {
    margin-left: auto !important;
  }
}

/* ==========================================================================
   HORIZONTAL FEEDBACK SCROLL COMPONENT (About Us & Home)
   ========================================================================== */
.feedback-scroll-container {
  position: relative;
  width: 100%;
  margin: 1.5rem 0 2.5rem;
  padding: 0 46px; /* Gutter padding ensures cards never touch arrow buttons */
  box-sizing: border-box;
}

.feedback-scroll-track {
  display: flex;
  align-items: stretch; /* All cards have identical equal height */
  gap: 1.4rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.75rem 0.25rem 1.25rem 0.25rem;
  scrollbar-width: thin;
  cursor: grab;
  user-select: none;
  outline: none;
}

.feedback-scroll-track:active {
  cursor: grabbing;
}

/* Custom Sleek Scrollbar */
.feedback-scroll-track::-webkit-scrollbar {
  height: 5px;
}
.feedback-scroll-track::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.04);
  border-radius: 10px;
}
.feedback-scroll-track::-webkit-scrollbar-thumb {
  background: rgba(128, 0, 32, 0.3);
  border-radius: 10px;
  transition: background 0.2s ease;
}
.feedback-scroll-track::-webkit-scrollbar-thumb:hover {
  background: #800020;
}

/* Dark Theme Scrollbar (about.php) */
.feedback-slider-dark .feedback-scroll-track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
}
.feedback-slider-dark .feedback-scroll-track::-webkit-scrollbar-thumb {
  background: rgba(212, 160, 23, 0.45);
}
.feedback-slider-dark .feedback-scroll-track::-webkit-scrollbar-thumb:hover {
  background: #d4a017;
}

/* Card item wrapper inside track */
.feedback-card-wrapper {
  flex: 0 0 370px;
  max-width: 370px;
  scroll-snap-align: start;
  display: flex;
  height: auto;
}

/* Navigation Arrow Buttons situated in side gutter */
.feedback-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.feedback-nav-prev {
  left: 0;
}

.feedback-nav-next {
  right: 0;
}

/* Light Navigation (Home page) */
.feedback-slider-light .feedback-nav-btn {
  background: #ffffff;
  color: #800020;
  border-color: #e2e8f0;
}
.feedback-slider-light .feedback-nav-btn:hover:not(:disabled) {
  background: #800020;
  color: #ffffff;
  border-color: #800020;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 22px rgba(128, 0, 32, 0.25);
}

/* Dark Navigation (About page) */
.feedback-slider-dark .feedback-nav-btn {
  background: rgba(35, 12, 18, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fde68a;
  border-color: rgba(212, 160, 23, 0.4);
}
.feedback-slider-dark .feedback-nav-btn:hover:not(:disabled) {
  background: #d4a017;
  color: #1b0a10;
  border-color: #d4a017;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 22px rgba(212, 160, 23, 0.4);
}

/* Disabled button state */
.feedback-nav-btn:disabled,
.feedback-nav-btn.is-disabled {
  opacity: 0.2;
  cursor: not-allowed;
  pointer-events: none;
  transform: translateY(-50%) scale(1);
}

/* Card Box Structure */
.review-card,
.review-card-dark {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  min-height: 290px;
  border-radius: 16px;
  padding: 1.65rem 1.6rem 1.35rem 1.6rem;
  box-sizing: border-box;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

/* Light Theme Card */
.review-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  border-color: #fde68a;
}

/* Dark Theme Card */
.review-card-dark {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #ffffff;
}

.review-card-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4a017, #f59e0b, #ef4444);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.review-card-dark:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 160, 23, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.review-card-dark:hover::before {
  opacity: 1;
}

/* Card Top Section (Stars + Quote mark) */
.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.review-stars-gold {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.review-quote-mark {
  font-size: 1.65rem;
  line-height: 1;
}

.review-card .review-quote-mark {
  color: rgba(128, 0, 32, 0.14);
}

.review-card-dark .review-quote-mark {
  color: rgba(255, 255, 255, 0.18);
}

/* Card Quote Body */
.review-quote-body {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.35rem;
  word-break: break-word;
  white-space: pre-line;
  flex: 1;
}

.review-card .review-quote-body {
  color: #1e293b;
  font-style: normal;
}

.review-card-dark .review-quote-body {
  color: #e2e8f0;
  font-style: italic;
}

/* Card Footer with unified Author info */
.review-card-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  box-sizing: border-box;
}

.review-card-dark .review-card-footer {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.review-avatar-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #800020, #a0153e);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(128, 0, 32, 0.2);
}

.review-card-dark .review-avatar-badge {
  background: linear-gradient(135deg, #d4a017, #f59e0b);
  color: #1b0a10;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.review-author-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 1;
}

.review-author-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  line-height: 1.35;
  margin-bottom: 0.2rem;
  white-space: normal;
  word-break: normal;
}

.review-card-dark .review-author-name {
  color: #ffffff;
}

.review-author-name .verified-icon {
  color: #10b981;
  font-size: 0.82rem;
  flex-shrink: 0;
  display: inline-flex;
}

.review-author-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.45rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #64748b;
}

.review-card-dark .review-author-sub {
  color: #cbd5e1;
}

.review-role-text {
  color: #800020;
  font-weight: 600;
}

.review-card-dark .review-role-text {
  color: #fde68a;
}

.review-meta-sep {
  color: #94a3b8;
  font-size: 0.75rem;
}

.review-card-dark .review-meta-sep {
  color: rgba(255, 255, 255, 0.35);
}

.review-city-text {
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.review-city-text i {
  color: #d48806;
  font-size: 0.75rem;
}

.review-card-dark .review-city-text {
  color: #e2e8f0;
}

.review-card-dark .review-city-text i {
  color: #f59e0b;
}

/* "View More Feedback" Card in slider */
.review-card-more-action {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.25rem 1.75rem;
}

.more-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.more-card-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}

.review-card-dark .more-card-icon {
  background: rgba(212, 160, 23, 0.15);
  color: #fde68a;
  border: 1px solid rgba(212, 160, 23, 0.3);
}

.review-card-light-more .more-card-icon {
  background: rgba(128, 0, 32, 0.08);
  color: #800020;
  border: 1px solid rgba(128, 0, 32, 0.15);
}

.review-card-more-action:hover .more-card-icon {
  transform: scale(1.12);
}

.more-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.more-card-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Responsive adjustments across devices */
@media (max-width: 1199px) {
  .feedback-scroll-container {
    padding: 0 42px;
  }
  .feedback-card-wrapper {
    flex: 0 0 340px;
    max-width: 340px;
  }
}

@media (max-width: 991px) {
  .feedback-scroll-container {
    padding: 0 38px;
  }
  .feedback-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }
  .feedback-card-wrapper {
    flex: 0 0 320px;
    max-width: 320px;
  }
  .review-card,
  .review-card-dark {
    padding: 1.4rem 1.35rem 1.25rem 1.35rem;
    min-height: 270px;
  }
}

@media (max-width: 768px) {
  .feedback-scroll-container {
    padding: 0;
  }
  .feedback-scroll-track {
    gap: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    scroll-padding-left: 1rem;
    scrollbar-width: none;
  }
  .feedback-scroll-track::-webkit-scrollbar {
    display: none;
  }
  .feedback-card-wrapper {
    flex: 0 0 86%;
    max-width: 340px;
    min-width: 270px;
  }
  .feedback-nav-btn {
    display: none; /* Native touch swipe is used on mobile */
  }
  .review-card,
  .review-card-dark {
    padding: 1.35rem 1.25rem 1.25rem 1.25rem;
    min-height: 260px;
  }
}

@media (max-width: 480px) {
  .feedback-card-wrapper {
    flex: 0 0 88%;
    max-width: 310px;
  }
  .review-card,
  .review-card-dark {
    padding: 1.2rem 1.1rem 1.15rem 1.1rem;
    min-height: 250px;
  }
  .review-avatar-badge {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }
  .review-author-name {
    font-size: 0.94rem;
  }
  .review-author-sub {
    font-size: 0.76rem;
  }
  .review-quote-body {
    font-size: 0.91rem;
    line-height: 1.6;
  }
}

@media (max-width: 640px) {
  .community-reviews-grid {
    grid-template-columns: 1fr;
  }
  .reviews-summary-bar {
    padding: 1.25rem !important;
  }
  .desktop-only-divider {
    display: none !important;
  }
}

/* ==========================================================================
   ENHANCED RESPONSIVE GRIDS & ALIGNMENT UTILITIES
   Ensures pixel-perfect layout and zero breakage on Web & Mobile
   ========================================================================== */

/* 1. Global Box Alignment & Overflow Safeguards */
html {
  max-width: 100vw;
}

body {
  max-width: 100vw;
  overflow-x: clip;
}

h1, h2, h3, h4, h5, h6, p, span, a, label, strong {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* 2. Responsive Form & Column Grids */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

/* 3. Contact Form & Map Split Wrapper */
.contact-inquiry-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  border: 1px solid var(--border-light);
}

.contact-map-pane {
  position: relative;
  min-height: 480px;
  width: 100%;
}

.contact-map-pane iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 4. Column Reversal for Clean Alternating Sections */
.about-grid-reverse {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: center;
}
.about-grid-reverse > :first-child {
  order: 2;
}
.about-grid-reverse > :last-child {
  order: 1;
}

/* 5. 3-Tier Verification Process Cards */
.tier-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg, 16px);
  padding: 2.75rem 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: flex-start;
  text-align: left;
  transition: var(--transition);
}

.tier-detail-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(139, 30, 47, 0.2);
}

.tier-number-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.tier-checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

/* 6. Card Equalization */
.press-grid,
.pillars-grid,
.pillars-grid-3,
.gallery-grid,
.trust-team-grid {
  align-items: stretch;
}

.press-card,
.pillar-card,
.review-card,
.trust-team-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* 7. Comprehensive Responsive Breakpoints */
@media (max-width: 992px) {
  .pillars-grid-3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-grid-reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-grid-reverse > :first-child,
  .about-grid-reverse > :last-child {
    order: unset;
  }

  .contact-inquiry-wrapper {
    grid-template-columns: 1fr;
    border-radius: var(--radius-md);
  }
  .contact-map-pane {
    min-height: 320px;
    height: 320px;
  }

  .form-grid-3 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .donation-split-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .tier-detail-card {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.25rem;
    gap: 1.25rem;
  }

  .tier-number-badge {
    width: 60px;
    height: 60px;
    font-size: 1.65rem;
  }

  .tier-checklist-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .videos-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .form-card-wrapper {
    padding: 1.5rem 1.15rem !important;
  }

  /* Universal Inline Grid Overrides to Prevent Mobile Breakage */
  [style*="grid-template-columns: repeat(3, 1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"],
  [style*="grid-template-columns: 1.25fr 1fr"],
  [style*="grid-template-columns: 1.5fr 1fr"],
  [style*="grid-template-columns: 80px 1fr"],
  [style*="grid-template-columns: repeat(auto-fit, minmax(240px, 1fr))"],
  [style*="grid-template-columns: repeat(auto-fit, minmax(320px, 1fr))"],
  [style*="grid-template-columns: repeat(auto-fill, minmax(360px, 1fr))"],
  [style*="grid-template-columns: repeat(auto-fill, minmax(340px, 1fr))"] {
    grid-template-columns: 1fr !important;
    gap: 1.15rem !important;
  }

  /* Padding adjustments on smaller screens */
  [style*="padding: 2.75rem"],
  [style*="padding: 2.5rem"],
  [style*="padding: 2.25rem"] {
    padding: 1.5rem 1.15rem !important;
  }
}

@media (max-width: 480px) {
  .tier-detail-card {
    padding: 1.25rem 1rem;
  }

  .section-header h2 {
    font-size: 1.45rem !important;
  }

  .section-header p {
    font-size: 0.88rem !important;
  }
}

/* ==========================================================================
   HORIZONTAL TRUSTEES & TEAM SCROLL COMPONENT (about.php)
   ========================================================================== */
.team-scroll-container {
  position: relative;
  width: 100%;
  margin: 1.5rem 0 2.5rem;
  padding: 0 46px; /* Gutter padding ensures cards never touch arrow buttons */
  box-sizing: border-box;
}

.team-scroll-track {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.75rem 0.25rem 1.25rem 0.25rem;
  scrollbar-width: thin;
  cursor: grab;
  user-select: none;
  outline: none;
}

.team-scroll-track:active {
  cursor: grabbing;
}

.team-scroll-track::-webkit-scrollbar {
  height: 6px;
}
.team-scroll-track::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.04);
  border-radius: 10px;
}
.team-scroll-track::-webkit-scrollbar-thumb {
  background: rgba(128, 0, 32, 0.3);
  border-radius: 10px;
  transition: background 0.2s ease;
}
.team-scroll-track::-webkit-scrollbar-thumb:hover {
  background: #800020;
}

.team-card-wrapper {
  flex: 0 0 290px;
  max-width: 290px;
  scroll-snap-align: start;
  display: flex;
  height: auto;
}

.team-card-wrapper .trust-team-card {
  width: 100%;
  height: 100%;
}

.team-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #800020;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.team-nav-prev {
  left: 0;
}

.team-nav-next {
  right: 0;
}

.team-nav-btn:hover:not(:disabled) {
  background: #800020;
  color: #ffffff;
  border-color: #800020;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 22px rgba(128, 0, 32, 0.25);
}

.team-nav-btn:disabled,
.team-nav-btn.is-disabled {
  opacity: 0.2;
  cursor: not-allowed;
  pointer-events: none;
  transform: translateY(-50%) scale(1);
}

@media (max-width: 768px) {
  .team-scroll-container {
    padding: 0 26px;
  }
  .team-card-wrapper {
    flex: 0 0 82vw;
    max-width: 320px;
  }
  .team-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   FRONTEND SITE PAGINATION
   ========================================================================== */
.site-pagination-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 3.5rem;
  padding: 1.5rem 0;
}

.site-pagination-box .pagination-info {
  font-size: 0.92rem;
  color: var(--text-muted, #64748b);
  letter-spacing: 0.2px;
}

.site-pagination-box .pagination-info strong {
  color: var(--primary, #800020);
  font-weight: 700;
}

.site-pagination {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.site-pagination .page-item {
  display: inline-block;
}

.site-pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 42px;
  height: 42px;
  padding: 0 0.85rem;
  border-radius: 10px;
  background: #ffffff;
  color: var(--text-dark, #0f172a);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border-light, #e2e8f0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  user-select: none;
}

.site-pagination .page-link:hover {
  background: var(--primary-light, #fef2f4);
  color: var(--primary, #800020);
  border-color: var(--primary, #800020);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(128, 0, 32, 0.12);
}

.site-pagination .page-item.active .page-link {
  background: var(--primary, #800020);
  color: #ffffff;
  border-color: var(--primary, #800020);
  box-shadow: 0 4px 14px rgba(128, 0, 32, 0.35);
  cursor: default;
  transform: none;
}

.site-pagination .page-item.disabled .page-link {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #94a3b8;
  box-shadow: none;
}

.site-pagination .page-item.ellipsis .page-link {
  border: none;
  background: transparent;
  box-shadow: none;
  color: #94a3b8;
  cursor: default;
  min-width: 24px;
  padding: 0 0.2rem;
}

/* ==========================================================================
   FULL-SCREEN ANIMATED ORGANIZATION LOGO SPLASH / PRELOADER
   ========================================================================== */
.site-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #1e0912 0%, #0d0408 60%, #050103 100%);
  color: var(--white, #ffffff);
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, visibility;
}

.site-preloader.preloader-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: scale(1.05);
  pointer-events: none !important;
}

.preloader-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(212, 136, 6, 0.14) 0%, rgba(139, 30, 47, 0.2) 42%, transparent 72%);
  pointer-events: none;
  animation: preloaderBackdropPulse 4s ease-in-out infinite alternate;
}

.preloader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  max-width: 540px;
}

/* --- Animated Logo Badge & Pulsing Rings --- */
.preloader-logo-container {
  position: relative;
  width: 154px;
  height: 154px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.preloader-glow-orb {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 136, 6, 0.4) 0%, rgba(139, 30, 47, 0.3) 50%, transparent 70%);
  filter: blur(14px);
  animation: preloaderOrbGlow 2.5s ease-in-out infinite alternate;
}

.preloader-ring {
  position: absolute;
  border-radius: 50%;
  box-sizing: border-box;
}

.preloader-ring-outer {
  width: 150px;
  height: 150px;
  border: 2px dashed rgba(212, 136, 6, 0.5);
  animation: preloaderSpinClockwise 12s linear infinite;
}

.preloader-ring-middle {
  width: 132px;
  height: 132px;
  border: 2px dotted rgba(245, 158, 11, 0.65);
  animation: preloaderSpinCounter 8s linear infinite;
}

.preloader-logo-badge {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #ffffff;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px rgba(212, 136, 6, 0.5),
              0 10px 30px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  animation: preloaderLogoPulse 2.4s ease-in-out infinite;
  box-sizing: border-box;
}

.preloader-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.preloader-logo-sheen {
  position: absolute;
  top: -50%;
  left: -120%;
  width: 80%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.65) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  animation: preloaderSheenPass 3s ease-in-out infinite;
}

/* --- Preloader Trust Registration Badge --- */
.preloader-reg-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 136, 6, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.55);
  color: #fde68a;
  font-family: var(--font-heading, 'Outfit', 'Montserrat', sans-serif);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.35rem 1.15rem;
  border-radius: 99px;
  margin-top: -0.45rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 16px rgba(212, 136, 6, 0.28);
  text-align: center;
  white-space: nowrap;
  line-height: 1.2;
}

/* --- Brand Typography --- */
.preloader-brand {
  margin-bottom: 1.5rem;
}

.preloader-title {
  font-family: var(--font-heading, 'Outfit', 'Montserrat', sans-serif);
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin: 0 0 0.45rem 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.preloader-tagline {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light, #f59e0b);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* --- Progress Bar & Bouncing Dots --- */
.preloader-loader-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.preloader-progress-track {
  width: 160px;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.preloader-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 45%;
  background: linear-gradient(90deg, var(--gold, #d48806) 0%, var(--gold-light, #f59e0b) 50%, var(--primary, #8b1e2f) 100%);
  border-radius: 99px;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.8);
  animation: preloaderProgressMove 1.6s ease-in-out infinite;
}

.preloader-dots {
  display: flex;
  gap: 6px;
}

.preloader-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold, #d48806);
  opacity: 0.4;
  animation: preloaderDotBounce 1.2s infinite ease-in-out both;
}

.preloader-dots span:nth-child(1) { animation-delay: -0.32s; }
.preloader-dots span:nth-child(2) { animation-delay: -0.16s; }
.preloader-dots span:nth-child(3) { animation-delay: 0s; }

/* --- Keyframe Animations --- */
@keyframes preloaderLogoPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 25px rgba(212, 136, 6, 0.4), 0 8px 25px rgba(0, 0, 0, 0.5);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 45px rgba(212, 136, 6, 0.7), 0 12px 35px rgba(139, 30, 47, 0.55);
  }
}

@keyframes preloaderOrbGlow {
  0% { transform: scale(0.9); opacity: 0.5; }
  100% { transform: scale(1.2); opacity: 0.95; }
}

@keyframes preloaderSpinClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes preloaderSpinCounter {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@keyframes preloaderSheenPass {
  0% { left: -120%; }
  40%, 100% { left: 160%; }
}

@keyframes preloaderBackdropPulse {
  0% { opacity: 0.7; transform: scale(0.96); }
  100% { opacity: 1; transform: scale(1.04); }
}

@keyframes preloaderProgressMove {
  0% { left: -45%; width: 30%; }
  50% { width: 60%; }
  100% { left: 100%; width: 40%; }
}

@keyframes preloaderDotBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.3; }
  40% { transform: scale(1.2); opacity: 1; }
}

/* ==========================================================================
   SPLASH SCREEN & LOGO MOBILE VIEW REFINEMENTS
   ========================================================================== */
@media (max-width: 600px) {
  .site-logo img {
    height: 38px;
  }
  .logo-title {
    font-size: 1.05rem;
  }
  .logo-subtitle {
    font-size: 0.55rem;
    letter-spacing: 1px;
  }
  .logo-reg-num {
    font-size: 0.52rem;
    margin-top: 1px;
  }

  .preloader-content {
    padding: 1.5rem 1rem !important;
    width: 100% !important;
    max-width: 92vw !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  .preloader-logo-container {
    width: 124px !important;
    height: 124px !important;
    margin-bottom: 1.15rem !important;
  }

  .preloader-glow-orb {
    width: 130px !important;
    height: 130px !important;
  }

  .preloader-ring-outer {
    width: 122px !important;
    height: 122px !important;
  }

  .preloader-ring-middle {
    width: 108px !important;
    height: 108px !important;
  }

  .preloader-logo-badge {
    width: 90px !important;
    height: 90px !important;
    padding: 8px !important;
  }

  .preloader-reg-badge {
    font-size: 0.78rem !important;
    padding: 0.25rem 0.85rem !important;
    margin-top: -0.25rem !important;
    margin-bottom: 1rem !important;
  }

  .preloader-brand {
    margin-bottom: 1.15rem !important;
    width: 100% !important;
    text-align: center !important;
  }

  .preloader-title {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
    text-align: center !important;
    margin: 0 0 0.35rem 0 !important;
    white-space: nowrap !important;
  }

  .preloader-tagline {
    font-size: 0.74rem !important;
    letter-spacing: 0.8px !important;
    line-height: 1.4 !important;
    text-align: center !important;
    justify-content: center !important;
    flex-direction: row !important;
    white-space: nowrap !important;
    gap: 0.35rem !important;
  }

  .preloader-tagline i {
    font-size: 0.7rem !important;
  }

  .preloader-progress-track {
    width: 135px !important;
  }
}

@media (max-width: 380px) {
  .preloader-title {
    font-size: 1.16rem !important;
  }

  .preloader-tagline {
    font-size: 0.67rem !important;
    letter-spacing: 0.4px !important;
  }

  .preloader-reg-badge {
    font-size: 0.72rem !important;
    padding: 0.2rem 0.7rem !important;
  }
}

/* ==========================================================================
   ANIMATED ICONS & BADGES: GROOM, BRIDE, GIRLS & HELPING HANDS
   Tasteful, lightweight CSS animations for auspicious weddings & daughter welfare
   ========================================================================== */

/* 1. Core Keyframe Animations */
@keyframes animBrideGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(219, 39, 119, 0.4), 0 4px 14px rgba(219, 39, 119, 0.2);
    transform: translateY(0) scale(1);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(219, 39, 119, 0), 0 8px 22px rgba(219, 39, 119, 0.35);
    transform: translateY(-3px) scale(1.04);
  }
}

@keyframes animGroomGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4), 0 4px 14px rgba(37, 99, 235, 0.2);
    transform: translateY(0) scale(1);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(37, 99, 235, 0), 0 8px 22px rgba(37, 99, 235, 0.35);
    transform: translateY(-3px) scale(1.04);
  }
}

@keyframes animCoupleFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-3px) rotate(-1.5deg);
  }
  75% {
    transform: translateY(-2px) rotate(1.5deg);
  }
}

@keyframes animRingSparkle {
  0%, 100% {
    transform: rotate(0deg) scale(1);
    filter: drop-shadow(0 0 2px rgba(212, 136, 6, 0.6));
  }
  50% {
    transform: rotate(14deg) scale(1.15);
    filter: drop-shadow(0 0 8px rgba(245, 176, 65, 0.9));
  }
}

@keyframes animHeartPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 2px 4px rgba(225, 29, 72, 0.3));
  }
  15% {
    transform: scale(1.18);
    filter: drop-shadow(0 4px 10px rgba(225, 29, 72, 0.6));
  }
  30% {
    transform: scale(1.06);
  }
  45% {
    transform: scale(1.22);
    filter: drop-shadow(0 6px 14px rgba(225, 29, 72, 0.7));
  }
  70% {
    transform: scale(1);
  }
}

@keyframes animHelpingPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.45), 0 4px 14px rgba(217, 119, 6, 0.2);
    transform: translateY(0) scale(1);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(217, 119, 6, 0), 0 8px 22px rgba(217, 119, 6, 0.35);
    transform: translateY(-3px) scale(1.04);
  }
}

@keyframes animHandsWave {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-3px) scale(1.06);
  }
}

@keyframes animGirlGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.4), 0 4px 14px rgba(244, 63, 94, 0.2);
    transform: translateY(0) scale(1);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(244, 63, 94, 0), 0 8px 22px rgba(244, 63, 94, 0.35);
    transform: translateY(-3px) scale(1.04);
  }
}

@keyframes animSparkleFloat {
  0%, 100% {
    transform: translate(0, 0) scale(0.85);
    opacity: 0.6;
  }
  50% {
    transform: translate(3px, -5px) scale(1.2);
    opacity: 1;
  }
}

@keyframes animAuraRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 2. Individual Animated Badge Icons */
.anim-icon-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
}

/* Bride Animated Badge */
.anim-icon-bride {
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 50%, #fbcfe8 100%);
  border: 2px solid #f472b6;
  color: #db2777;
  animation: animBrideGlow 3s ease-in-out infinite;
}
.anim-icon-bride i.primary-ico {
  animation: animCoupleFloat 3.2s ease-in-out infinite;
  display: inline-block;
}
.anim-icon-bride .sparkle-micro {
  position: absolute;
  top: -4px;
  right: -4px;
  color: #ec4899;
  font-size: 0.7em;
  animation: animSparkleFloat 2.2s ease-in-out infinite;
  pointer-events: none;
}

/* Groom Animated Badge */
.anim-icon-groom {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #bfdbfe 100%);
  border: 2px solid #60a5fa;
  color: #1d4ed8;
  animation: animGroomGlow 3s ease-in-out infinite;
}
.anim-icon-groom i.primary-ico {
  animation: animCoupleFloat 3.2s ease-in-out infinite reverse;
  display: inline-block;
}
.anim-icon-groom .sparkle-micro {
  position: absolute;
  top: -4px;
  right: -4px;
  color: #f59e0b;
  font-size: 0.7em;
  animation: animSparkleFloat 2.4s ease-in-out infinite;
  pointer-events: none;
}

/* Girls Welfare Animated Badge */
.anim-icon-girl {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 50%, #fecdd3 100%);
  border: 2px solid #fb7185;
  color: #e11d48;
  animation: animGirlGlow 3.2s ease-in-out infinite;
}
.anim-icon-girl i.primary-ico {
  animation: animHeartPulse 2.8s ease-in-out infinite;
  display: inline-block;
}
.anim-icon-girl .sparkle-micro {
  position: absolute;
  top: -4px;
  right: -4px;
  color: #f43f5e;
  font-size: 0.7em;
  animation: animSparkleFloat 2s ease-in-out infinite;
  pointer-events: none;
}

/* Helping Hands Animated Badge */
.anim-icon-helping {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 50%, #fde68a 100%);
  border: 2px solid #f59e0b;
  color: #b45309;
  animation: animHelpingPulse 3.2s ease-in-out infinite;
}
.anim-icon-helping i.primary-ico {
  animation: animHandsWave 2.8s ease-in-out infinite;
  display: inline-block;
}
.anim-icon-helping .sparkle-micro {
  position: absolute;
  top: -4px;
  right: -4px;
  color: #dc2626;
  font-size: 0.7em;
  animation: animHeartPulse 2s ease-in-out infinite;
  pointer-events: none;
}

/* Couple Lockup Badge (Interlocked Rings & Auspicious Hearts) */
.anim-icon-couple {
  background: linear-gradient(135deg, #fff1f2 0%, #fef2f2 50%, #fdf2f8 100%);
  border: 2px solid #f43f5e;
  color: #be123c;
  animation: animBrideGlow 3.5s ease-in-out infinite;
}
.anim-icon-couple .rings-ico {
  animation: animRingSparkle 2.6s ease-in-out infinite;
  display: inline-block;
  color: #d97706;
}
.anim-icon-couple .heart-micro {
  position: absolute;
  top: -3px;
  right: -3px;
  color: #e11d48;
  font-size: 0.75em;
  animation: animHeartPulse 2.2s ease-in-out infinite;
}

/* 3. Badge Sizing Utilities */
.anim-badge-xs { width: 32px; height: 32px; font-size: 0.85rem; }
.anim-badge-sm { width: 38px; height: 38px; font-size: 1rem; }
.anim-badge-md { width: 48px; height: 48px; font-size: 1.25rem; }
.anim-badge-lg { width: 62px; height: 62px; font-size: 1.65rem; }
.anim-badge-xl { width: 80px; height: 80px; font-size: 2.1rem; }

/* 4. Auspicious Animated Couple Card & Banner Widget */
.anim-couple-card {
  background: linear-gradient(135deg, #ffffff 0%, #fffbf6 100%);
  border: 1.5px solid #fed7aa;
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.08);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}
.anim-couple-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ec4899, #f59e0b, #3b82f6);
}
.anim-couple-visual {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.anim-couple-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.anim-couple-bridge i.fa-ring {
  color: #d97706;
  font-size: 1.15rem;
  animation: animRingSparkle 2.6s ease-in-out infinite;
}
.anim-couple-bridge i.fa-heart {
  color: #e11d48;
  font-size: 0.85rem;
  animation: animHeartPulse 2.2s ease-in-out infinite;
}
.anim-couple-info h4 {
  margin: 0 0 0.25rem 0;
  color: #800020;
  font-size: 1.1rem;
  font-weight: 700;
}
.anim-couple-info p {
  margin: 0;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.45;
}

/* 5. Auspicious Helping Hands & Girl Welfare Card */
.anim-helping-card {
  background: linear-gradient(135deg, #fffaf5 0%, #ffffff 100%);
  border: 1.5px solid #fde68a;
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.08);
  margin-bottom: 1.75rem;
  position: relative;
  overflow: hidden;
}
.anim-helping-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #f59e0b, #f43f5e);
}
.anim-helping-visual {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.anim-helping-info h4 {
  margin: 0 0 0.25rem 0;
  color: #92400e;
  font-size: 1.1rem;
  font-weight: 700;
}
.anim-helping-info p {
  margin: 0;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.45;
}

/* Responsive adjustments for mobile */
@media (max-width: 640px) {
  .anim-couple-card {
    flex-direction: column;
    text-align: center;
    padding: 1.1rem 1rem;
    gap: 0.85rem;
  }
  .anim-couple-visual {
    justify-content: center;
  }
  .anim-helping-card {
    flex-direction: column;
    text-align: center;
    padding: 1.1rem 1rem;
    gap: 0.85rem;
  }
  .anim-helping-visual {
    justify-content: center;
  }
}

/* ==========================================================================
   AUTHENTIC GUJARATI WEDDING FOLK ART ANIMATIONS (VARGHODO & KANYA)
   Extracted from user-provided traditional wedding folk art illustration
   ========================================================================== */

@keyframes folkBrideRock {
  0%, 100% {
    transform: rotate(0deg) translateY(0);
  }
  25% {
    transform: rotate(-3.5deg) translateY(-2px);
  }
  50% {
    transform: rotate(1deg) translateY(0);
  }
  75% {
    transform: rotate(3.5deg) translateY(-2px);
  }
}

@keyframes folkGroomRock {
  0%, 100% {
    transform: rotate(0deg) translateY(0);
  }
  25% {
    transform: rotate(3.5deg) translateY(-2px);
  }
  50% {
    transform: rotate(-1deg) translateY(0);
  }
  75% {
    transform: rotate(-3.5deg) translateY(-2px);
  }
}

@keyframes kanyadanItemFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.folk-horse-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  user-select: none;
}

.folk-bride-anim {
  transform-origin: 50% 90%;
  animation: folkBrideRock 3.5s ease-in-out infinite;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
}

.folk-groom-anim {
  transform-origin: 50% 90%;
  animation: folkGroomRock 3.5s ease-in-out infinite;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
}

.folk-wedding-showcase {
  background: linear-gradient(135deg, #fffcf7 0%, #fff7ed 50%, #fef3c7 100%);
  border: 1.5px solid #fed7aa;
  border-radius: 18px;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin: 1.5rem 1.5rem 2rem;
  box-shadow: 0 4px 20px rgba(217, 119, 6, 0.07);
  position: relative;
  overflow: hidden;
}

.folk-wedding-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #db2777, #d97706, #2563eb);
}

.folk-wedding-showcase .folk-figure-col {
  flex-shrink: 0;
  text-align: center;
}

.folk-wedding-showcase .folk-figure-col img {
  height: 72px;
  width: auto;
  object-fit: contain;
  display: block;
}

.folk-wedding-showcase .folk-figure-label {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  margin-top: 0.35rem;
  padding: 0.15rem 0.6rem;
  border-radius: 12px;
}

.folk-wedding-showcase .folk-bride-label {
  background: #fdf2f8;
  color: #be185d;
  border: 1px solid #fbcfe8;
}

.folk-wedding-showcase .folk-groom-label {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.folk-wedding-center {
  text-align: center;
  flex: 1;
  padding: 0 0.5rem;
}

.folk-wedding-badges {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.folk-wedding-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
  padding: 0.22rem 0.8rem;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  transition: all 0.2s ease;
}

.folk-wedding-tag.tag-edition {
  background: #800020;
  color: #ffffff;
  border: 1px solid #800020;
  box-shadow: 0 2px 6px rgba(128, 0, 32, 0.2);
}

.folk-wedding-tag.tag-date {
  background: #ffffff;
  color: #92400e;
  border: 1.5px solid #fde68a;
}

.folk-wedding-title {
  font-family: var(--font-heading);
  color: #800020;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.3;
}

.folk-wedding-sub {
  color: #64748b;
  font-size: 0.88rem;
  margin-top: 0.3rem;
  line-height: 1.4;
}

/* ==========================================================================
   Upcoming Wedding Date - Standout Highlight Badges
   ========================================================================== */
.wedding-next-date-hero-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  width: 100%;
}

.wedding-next-date-hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, rgba(128, 0, 32, 0.94), rgba(180, 83, 9, 0.94));
  border: 2px solid #fde047;
  border-radius: 50px;
  padding: 0.45rem 1.4rem;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
  flex-wrap: wrap;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.wedding-next-date-hero-badge .wedding-date-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.35);
  animation: pulseDot 1.8s infinite;
  flex-shrink: 0;
}

.wedding-next-date-hero-badge .wedding-date-label {
  color: #fef3c7;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.wedding-next-date-hero-badge .wedding-date-value {
  color: #ffffff;
  font-size: 1.12rem;
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  letter-spacing: 0.5px;
}

.wedding-next-date-hero-badge .wedding-date-venue {
  color: #fde68a;
  font-size: 0.85rem;
  font-weight: 600;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  padding-left: 0.65rem;
  margin-left: 0.2rem;
}

/* Folk Wedding Art Showcase Container */
.folk-wedding-showcase {
  background: linear-gradient(135deg, #fffcf7 0%, #fff7ed 50%, #fef3c7 100%);
  border: 1.5px solid #fed7aa;
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
  margin: 0 0 2rem 0;
  box-shadow: 0 4px 20px rgba(217, 119, 6, 0.07);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 85px 1fr 85px;
  grid-template-areas: "bride center groom";
  align-items: center;
  gap: 1rem;
  box-sizing: border-box;
  width: 100%;
}

.folk-wedding-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #db2777, #d97706, #2563eb);
}

.folk-col-bride {
  grid-area: bride;
  display: flex;
  justify-content: center;
  align-items: center;
}

.folk-col-groom {
  grid-area: groom;
  display: flex;
  justify-content: center;
  align-items: center;
}

.folk-wedding-showcase .folk-figure-col img {
  height: 75px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
}

.folk-wedding-center {
  grid-area: center;
  text-align: center;
  width: 100%;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

.folk-wedding-badges {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.45rem;
}

.folk-wedding-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
  padding: 0.22rem 0.8rem;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.folk-wedding-tag.tag-edition {
  background: #800020;
  color: #ffffff;
  border: 1px solid #800020;
  box-shadow: 0 2px 6px rgba(128, 0, 32, 0.2);
}

.folk-wedding-tag.tag-venue {
  background: #ffffff;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.folk-wedding-title {
  font-family: var(--font-heading);
  color: #800020;
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.35;
  margin: 0.25rem 0;
  text-align: center;
}

.wedding-next-date-center-highlight {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 50%, #fde68a 100%);
  border: 2px solid #f59e0b;
  border-radius: 12px;
  padding: 0.45rem 1.15rem;
  margin: 0.45rem 0 0.35rem;
  box-shadow: 0 3px 12px rgba(217, 119, 6, 0.18);
  flex-wrap: wrap;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.wedding-next-date-center-highlight i {
  color: #b45309;
  font-size: 1.15rem;
}

.wedding-next-date-center-highlight .highlight-lbl {
  font-weight: 700;
  color: #92400e;
  font-size: 0.88rem;
}

.wedding-next-date-center-highlight .highlight-val {
  font-weight: 900;
  color: #800020;
  font-size: 1.12rem;
  letter-spacing: 0.4px;
}

.folk-wedding-sub {
  color: #64748b;
  font-size: 0.88rem;
  margin-top: 0.25rem;
  line-height: 1.4;
  text-align: center;
}

/* ==========================================================================
   Application Form Section Cards (Uniform, Beautiful Boxes)
   ========================================================================== */
.app-form-section-card {
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-sizing: border-box;
  width: 100%;
  transition: box-shadow 0.2s ease;
}

.app-card-submitter {
  background: #fffcf7;
  border: 1.5px solid #fed7aa;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.04);
}

.app-card-bride {
  background: #fffdfd;
  border: 1.5px solid #fbcfe8;
  box-shadow: 0 4px 15px rgba(219, 39, 119, 0.03);
}

.app-card-groom {
  background: #fcfdff;
  border: 1.5px solid #bfdbfe;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.03);
}

.app-card-support {
  background: #fefdfa;
  border: 1.5px solid #fde68a;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.03);
}

.section-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

.section-number-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
}

.section-number-badge.badge-maroon {
  background: #800020;
}

.section-number-badge.badge-rose {
  background: #db2777;
}

.section-number-badge.badge-blue {
  background: #2563eb;
}

.section-number-badge.badge-amber {
  background: #d97706;
}

.section-card-header h4 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.section-card-header p {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  line-height: 1.4;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.form-grid-3 .form-group,
.form-grid-2 .form-group {
  margin-bottom: 0;
}

.app-form-section-card .form-control {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.app-form-section-card .form-control:focus {
  background: #ffffff;
  border-color: #800020;
  box-shadow: 0 0 0 3px rgba(128, 0, 32, 0.12);
}

.app-form-section-card label {
  font-weight: 600;
  font-size: 0.86rem;
  color: #334155;
  margin-bottom: 0.4rem;
  display: block;
}

.app-submit-button-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  width: 100%;
}

/* ==========================================================================
   Mobile Optimization (< 640px)
   ========================================================================== */
@media (max-width: 640px) {
  /* Top Bar & Header on Phones */
  .top-bar-main-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
  }
  .top-info-left {
    display: flex !important;
    align-items: center !important;
  }
  .top-info-phone {
    font-size: 0.70rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.2rem !important;
  }
  .top-info-hours {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.22rem !important;
    font-size: 0.67rem !important;
    color: #cbd5e1 !important;
    white-space: nowrap !important;
    margin: 0 !important;
    text-align: center !important;
  }
  .top-info-hours .shift-name-tag {
    display: none !important; /* Hide 'Morning:'/'Evening:' prefix on small phones to save space while displaying the shift time */
  }
  .top-info-hours .hours-text {
    font-weight: 600 !important;
    color: #f1f5f9 !important;
  }
  .top-bar-right {
    display: flex !important;
    align-items: center !important;
  }
  .top-social-links {
    display: flex !important;
    align-items: center !important;
    gap: 0.22rem !important;
  }
  .top-social-links a {
    width: 20px !important;
    height: 20px !important;
    font-size: 0.62rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 4px !important;
  }

  .site-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 2000 !important;
    background: #ffffff !important;
    transform: none !important;
    will-change: auto !important;
  }

  .site-logo {
    gap: 0.4rem !important;
    max-width: 135px !important;
    flex-shrink: 0 !important;
  }
  .site-logo img {
    height: 34px !important;
    width: auto !important;
  }
  .logo-title {
    font-size: 0.95rem !important;
  }
  .logo-subtitle {
    font-size: 0.48rem !important;
    letter-spacing: 0.5px !important;
  }
  .logo-reg-num {
    font-size: 0.46rem !important;
  }

  /* Header Action Row: Appointment + Apply + Menu Toggle */
  .header-cta {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0.3rem !important;
    flex-shrink: 0 !important;
  }
  .header-btn-appointment {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.35rem 0.5rem !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 7px !important;
    border: 1.5px solid var(--primary) !important;
    background: #ffffff !important;
  }
  .header-btn-appointment .btn-text {
    display: none !important; /* Show calendar icon on phones */
  }
  .header-btn-samuh {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.25rem !important;
    height: 34px !important;
    padding: 0.35rem 0.6rem !important;
    background: linear-gradient(135deg, #800020 0%, #630018 100%) !important;
    border: 1.5px solid #800020 !important;
    color: #ffffff !important;
    border-radius: 7px !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 8px rgba(128, 0, 32, 0.25) !important;
  }
  .header-btn-samuh .btn-text-full {
    display: none !important;
  }
  .header-btn-samuh .btn-text-short {
    display: inline !important; /* Shows "Apply" */
  }
  .header-btn-samuh .header-rings-svg {
    width: 13px !important;
    height: 13px !important;
  }
  .mobile-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 7px !important;
    background: #800020 !important;
    color: #ffffff !important;
  }

  /* Page Hero on Mobile */
  .page-hero {
    padding: 2rem 0 1.5rem !important;
    overflow-x: hidden !important;
  }

  .wedding-next-date-hero-wrap {
    margin-bottom: 0.75rem;
    padding: 0 0.5rem;
    box-sizing: border-box;
  }

  .wedding-next-date-hero-badge {
    padding: 0.4rem 0.85rem !important;
    gap: 0.35rem 0.5rem !important;
    border-radius: 25px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  .wedding-next-date-hero-badge .wedding-date-label {
    font-size: 0.78rem !important;
  }

  .wedding-next-date-hero-badge .wedding-date-value {
    font-size: 0.92rem !important;
  }

  .wedding-next-date-hero-badge .wedding-date-venue {
    font-size: 0.74rem !important;
    border-left: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    width: 100% !important;
    text-align: center !important;
  }

  .page-hero h1 {
    font-size: 1.25rem !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    padding: 0 0.5rem !important;
    margin: 0.4rem 0 !important;
  }

  /* Folk Showcase on Mobile: Stack Bride & Groom on Row 1, Center Text on Row 2 */
  .folk-wedding-showcase {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas:
      "bride groom"
      "center center" !important;
    justify-items: center !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 1.15rem 0.75rem !important;
    margin: 0 0 1.5rem 0 !important;
    border-radius: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .folk-col-bride {
    grid-area: bride !important;
    justify-self: end !important;
    margin-right: 0.75rem !important;
  }

  .folk-col-groom {
    grid-area: groom !important;
    justify-self: start !important;
    margin-left: 0.75rem !important;
  }

  .folk-wedding-showcase .folk-figure-col img {
    height: 52px !important;
  }

  .folk-wedding-center {
    grid-area: center !important;
    width: 100% !important;
    text-align: center !important;
    padding: 0 !important;
  }

  .folk-wedding-badges {
    gap: 0.3rem !important;
    margin-bottom: 0.3rem !important;
  }

  .folk-wedding-tag {
    font-size: 0.7rem !important;
    padding: 0.15rem 0.5rem !important;
  }

  .folk-wedding-title {
    font-size: 1.05rem !important;
    line-height: 1.35 !important;
    margin: 0.3rem 0 !important;
  }

  .wedding-next-date-center-highlight {
    padding: 0.35rem 0.75rem !important;
    gap: 0.3rem !important;
    margin: 0.35rem 0 !important;
    font-size: 0.82rem !important;
  }

  .wedding-next-date-center-highlight i {
    font-size: 0.92rem !important;
  }

  .wedding-next-date-center-highlight .highlight-lbl {
    font-size: 0.76rem !important;
  }

  .wedding-next-date-center-highlight .highlight-val {
    font-size: 0.94rem !important;
  }

  .folk-wedding-sub {
    font-size: 0.76rem !important;
    display: block !important;
  }

  /* Form Card & Section Boxes on Mobile */
  .form-card-wrapper {
    padding: 1.15rem 0.85rem !important;
    border-radius: 14px !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .app-form-section-card {
    padding: 1.15rem 0.85rem !important;
    border-radius: 14px !important;
    margin-bottom: 1.15rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .section-card-header {
    margin-bottom: 1rem !important;
    padding-bottom: 0.65rem !important;
  }

  .section-card-header h4 {
    font-size: 1.02rem !important;
  }

  .section-card-header p {
    font-size: 0.78rem !important;
  }

  .form-grid-3,
  .form-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .app-submit-button-row button,
  .app-submit-button-row a {
    width: 100% !important;
    flex: none !important;
    text-align: center !important;
  }

  /* Appointment Modal Mobile Optimization (< 640px) */
  #appointmentModal.modal-backdrop {
    padding: 1.15rem 0.65rem !important;
    align-items: flex-start !important;
    justify-content: center !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  #appointmentModal .modal-box,
  .appointment-modal-box {
    width: 100% !important;
    max-width: 440px !important;
    margin: 0.5rem auto 1.5rem !important;
    padding: 0 !important;
    border-radius: 14px !important;
    max-height: calc(100vh - 2.5rem) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.45) !important;
  }

  #appointmentModal .modal-header {
    padding: 0.85rem 1rem !important;
    background: linear-gradient(135deg, #800020 0%, #5a0016 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
    flex-shrink: 0 !important;
  }

  #appointmentModal .modal-header h3 {
    font-size: 1.02rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    line-height: 1.25 !important;
    letter-spacing: 0.2px !important;
    text-align: left !important;
  }

  #appointmentModal .modal-header h3 i {
    font-size: 0.95rem !important;
    color: var(--gold-light, #fbbf24) !important;
  }

  #appointmentModal .modal-close {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    font-size: 1.2rem !important;
    line-height: 1 !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
  }

  #appointmentModal .modal-body {
    padding: 0.95rem 1rem 1.15rem !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
    text-align: left !important;
  }

  .appointment-office-bar {
    padding: 0.70rem 0.85rem !important;
    margin-bottom: 0.85rem !important;
    border-radius: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 0.35rem !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
  }

  .appointment-office-bar .office-status-badge-wrap {
    display: flex !important;
    justify-content: center !important;
    margin-bottom: 0.15rem !important;
  }

  .appointment-office-bar .office-status-badge-wrap .office-status-badge {
    font-size: 0.68rem !important;
    padding: 0.16rem 0.60rem !important;
  }

  .appointment-office-bar .office-hours-title {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    color: #1e293b !important;
    font-size: 0.80rem !important;
    font-weight: 700 !important;
    text-align: center !important;
  }

  .appointment-office-bar .office-shifts-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.2rem !important;
    font-size: 0.76rem !important;
    text-align: center !important;
    width: 100% !important;
  }

  .appointment-office-bar .office-shift-item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    white-space: nowrap !important;
  }

  .appointment-office-bar .shift-name {
    color: #64748b !important;
    font-weight: 600 !important;
  }

  .appointment-office-bar .shift-val {
    color: #0f172a !important;
    font-weight: 700 !important;
  }

  .appointment-office-bar .shift-sep {
    display: none !important;
  }

  .appointment-modal-desc {
    font-size: 0.80rem !important;
    line-height: 1.45 !important;
    color: #64748b !important;
    margin: 0 auto 0.85rem !important;
    max-width: 95% !important;
    text-align: center !important;
  }

  #appointmentModal .form-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
    margin-bottom: 0.65rem !important;
  }

  #appointmentModal .form-group {
    margin-bottom: 0.65rem !important;
    text-align: left !important;
  }

  #appointmentModal .form-label {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-bottom: 0.25rem !important;
    display: block !important;
    text-align: left !important;
    letter-spacing: 0.2px !important;
  }

  #appointmentModal .form-control {
    padding: 0.55rem 0.75rem !important;
    font-size: 16px !important; /* Critical 16px threshold stops mobile keyboard zoom */
    border-radius: 8px !important;
    border: 1.5px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #0f172a !important;
    min-height: 42px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: left !important;
    touch-action: manipulation !important;
    -webkit-text-size-adjust: 100% !important;
  }

  #appointmentModal .form-control:focus {
    border-color: #800020 !important;
    box-shadow: 0 0 0 3px rgba(128, 0, 32, 0.12) !important;
  }

  #appointmentModal textarea.form-control {
    font-size: 16px !important;
    min-height: 65px !important;
    resize: vertical !important;
  }

  .appointment-date-hint {
    font-size: 0.72rem !important;
    color: #b45309 !important;
    margin-top: 4px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-align: left !important;
    display: block !important;
  }

  .btn-submit-appointment {
    padding: 0.75rem 1rem !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    width: 100% !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    box-shadow: 0 2px 10px rgba(128, 0, 32, 0.25) !important;
  }
}

/* ==========================================================================
   OFFICIAL 80G DONATION RECEIPT & PRINT STYLES
   ========================================================================== */
.official-80g-receipt {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  border: 2px solid #800020;
  max-width: 820px;
  margin: 0 auto 2.5rem;
  position: relative;
  color: #1e293b;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.official-80g-receipt .receipt-inner-border {
  border: 1.5px solid #d4af37;
  padding: 1.5rem;
  border-radius: 10px;
  background: #ffffff;
  position: relative;
}

.receipt-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border-bottom: 2px solid #800020;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
}

.receipt-logo-wrap {
  flex-shrink: 0;
  width: 85px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.receipt-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.receipt-org-details {
  flex-grow: 1;
  text-align: center;
}

.receipt-org-name-gu {
  font-size: 1.15rem;
  color: #800020;
  margin: 0 0 0.15rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.receipt-org-name {
  font-size: 1.4rem;
  font-weight: 900;
  color: #800020;
  letter-spacing: 0.5px;
  margin: 0 0 0.3rem;
  text-transform: uppercase;
}

.receipt-trust-reg {
  font-size: 0.82rem;
  color: #334155;
  margin-bottom: 0.25rem;
}

.receipt-exemption-badge {
  font-size: 0.82rem;
  color: #065f46;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.receipt-address, .receipt-contacts {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
}

.receipt-title-band {
  background: #800020;
  color: #ffffff;
  text-align: center;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  margin-bottom: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-size: 0.98rem;
}

.receipt-title-band small {
  display: block;
  font-size: 0.76rem;
  font-weight: 500;
  opacity: 0.92;
  margin-top: 2px;
}

.receipt-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
}

.receipt-meta-grid .meta-lbl {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
}

.receipt-meta-grid .meta-val {
  font-size: 0.92rem;
  color: #0f172a;
}

.receipt-meta-grid .meta-val.highlight {
  color: #800020;
  font-family: monospace;
  font-size: 1rem;
  font-weight: 700;
}

.receipt-section-block {
  margin-bottom: 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.receipt-block-title {
  background: #f1f5f9;
  padding: 0.45rem 0.85rem;
  font-size: 0.80rem;
  font-weight: 700;
  color: #334155;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #e2e8f0;
}

.receipt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.receipt-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.receipt-table tr:last-child td {
  border-bottom: none;
}

.receipt-table .lbl-col {
  color: #64748b;
  font-weight: 600;
  font-size: 0.80rem;
  background: #f8fafc;
  width: 25%;
}

.receipt-table .val-col {
  color: #0f172a;
}

.receipt-amount-display {
  font-size: 1.35rem;
  font-weight: 800;
  color: #800020;
}

.highlight-pan {
  font-family: monospace;
  font-weight: 800;
  font-size: 0.95rem;
  color: #800020;
  background: #fef2f2;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  letter-spacing: 0.5px;
}

.receipt-exemption-clause {
  background: #f0fdf4;
  border-left: 4px solid #059669;
  padding: 0.75rem 1rem;
  border-radius: 0 6px 6px 0;
  margin-bottom: 1.25rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #166534;
}

.receipt-footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 1.5rem;
  padding-top: 0.75rem;
}

.receipt-seal-box {
  text-align: center;
}

.trust-stamp-circle {
  width: 78px;
  height: 78px;
  border: 2px dashed #800020;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.58rem;
  font-weight: 800;
  color: #800020;
  line-height: 1.2;
  margin: 0 auto 0.35rem;
  background: rgba(128, 0, 32, 0.03);
}

.seal-caption {
  font-size: 0.70rem;
  color: #64748b;
  text-transform: uppercase;
}

.receipt-sign-box {
  text-align: center;
  min-width: 220px;
}

.sign-space {
  height: 38px;
}

.sign-line {
  border-top: 1.5px solid #0f172a;
  margin-bottom: 0.35rem;
}

.sign-name {
  display: block;
  font-size: 0.85rem;
  color: #800020;
}

.sign-title {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
}

.receipt-footnote {
  border-top: 1px dashed #cbd5e1;
  margin-top: 1.25rem;
  padding-top: 0.65rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.70rem;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Copy button utility */
.copy-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 2px 7px;
  font-size: 0.72rem;
  border-radius: 4px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
  vertical-align: middle;
  font-family: inherit;
}
.copy-pill-btn:hover {
  background: #800020;
  color: #ffffff;
  border-color: #800020;
}

/* Print Isolation: Print ONLY #printable80GReceipt */
@media print {
  @page {
    size: A4 portrait;
    margin: 8mm 10mm;
  }

  html, body {
    background: #ffffff !important;
    color: #000000 !important;
    margin: 0 !important;
    padding: 0 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Completely hide all front site components */
  header, nav, footer,
  .top-bar, .site-header, .page-hero, .site-footer,
  .floating-whatsapp-btn, .back-to-top, .alert-admin,
  .donation-split-grid, .breadcrumb,
  .receipt-screen-actions, .no-print, .print-hide,
  #appointmentModal, #appointmentOverlay, .site-header-wrapper {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
  }

  /* Hide everything on page */
  body * {
    visibility: hidden !important;
  }

  /* Make ONLY the official receipt and its contents visible */
  #printable80GReceipt,
  #printable80GReceipt *,
  #samuhSuccessReceipt,
  #samuhSuccessReceipt * {
    visibility: visible !important;
  }

  #printable80GReceipt {
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 6mm !important;
    box-shadow: none !important;
    border: 2px solid #800020 !important;
    background: #ffffff !important;
    border-radius: 4px !important;
  }

  #samuhSuccessReceipt {
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 8mm !important;
    box-shadow: none !important;
    border: 2px solid #059669 !important;
    background: #ffffff !important;
    border-radius: 6px !important;
  }

  #samuhSuccessReceipt .btn {
    display: none !important;
  }

  .official-80g-receipt .receipt-inner-border {
    border: 1.5px solid #c59b27 !important;
    padding: 6mm !important;
  }

  .receipt-title-band {
    background: #800020 !important;
    color: #ffffff !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}

/* ==========================================================================
   Universal Mobile Anti-Zoom & Keyboard Stability
   Guarantees that opening virtual keyboards on mobile (iOS Safari, Android Chrome,
   WebViews) NEVER triggers automatic viewport zoom or horizontal layout shifts.
   ========================================================================== */
@media screen and (max-width: 992px) {
  html {
    overflow-x: clip !important;
    max-width: 100% !important;
  }

  body {
    overflow-x: clip !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  input,
  select,
  textarea,
  .form-control,
  .form-select,
  .modal-box input,
  .modal-box select,
  .modal-box textarea,
  .modal-box .form-control,
  #appointmentModal input,
  #appointmentModal select,
  #appointmentModal textarea,
  #appointmentModal .form-control {
    font-size: 16px !important; /* Critical 16px threshold stops mobile browser auto-zoom */
    touch-action: manipulation !important;
    -webkit-text-size-adjust: 100% !important;
  }

  /* Sleek, proportionate heights on mobile form inputs */
  #appointmentModal .form-control {
    font-size: 16px !important;
    min-height: 42px !important;
    padding: 0.5rem 0.75rem !important;
  }

  #appointmentModal textarea.form-control {
    font-size: 16px !important;
    min-height: 70px !important;
  }

  /* Modal container keyboard stability */
  #appointmentModal.modal-backdrop {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
}

/* ==========================================================================
   Initiatives Page - Quick Navigation 2-Row Grid
   ========================================================================== */
.initiatives-quick-nav-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.75rem 0;
  position: -webkit-sticky;
  position: sticky;
  top: 76px;
  z-index: 100;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.initiatives-quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem 0.65rem;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}

.init-quick-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  background: #ffffff;
  border: 1.5px solid;
  transition: all 0.25s ease;
  text-align: center;
  box-sizing: border-box;
  width: 100%;
  white-space: nowrap;
}

.init-quick-pill i {
  font-size: 0.85rem;
  flex-shrink: 0;
}

.init-quick-pill.pill-sagai {
  border-color: #800020;
  color: #800020;
}
.init-quick-pill.pill-sagai:hover {
  background: #800020;
  color: #ffffff;
}

.init-quick-pill.pill-samuh {
  border-color: #b45309;
  color: #b45309;
}
.init-quick-pill.pill-samuh:hover {
  background: #b45309;
  color: #ffffff;
}

.init-quick-pill.pill-panch {
  border-color: #059669;
  color: #059669;
}
.init-quick-pill.pill-panch:hover {
  background: #059669;
  color: #ffffff;
}

.init-quick-pill.pill-rural {
  border-color: #800020;
  color: #800020;
}
.init-quick-pill.pill-rural:hover {
  background: #800020;
  color: #ffffff;
}

@media (max-width: 992px) {
  .initiatives-quick-nav-bar {
    top: 76px !important;
    padding: 0.6rem 0;
  }
}

@media (max-width: 640px) {
  .navbar-container {
    min-height: 58px !important;
    padding: 0.45rem 0 !important;
  }
  .initiatives-quick-nav-bar {
    top: 58px !important;
    padding: 0.55rem 0;
  }
}

@media (max-width: 576px) {
  .initiatives-quick-nav-grid {
    gap: 0.45rem 0.5rem;
    max-width: 100%;
  }
  .init-quick-pill {
    padding: 0.42rem 0.45rem;
    font-size: 0.76rem;
    gap: 0.3rem;
  }
  .init-quick-pill i {
    font-size: 0.76rem;
  }
}

@media (max-width: 380px) {
  .init-quick-pill {
    font-size: 0.70rem;
    padding: 0.38rem 0.3rem;
    gap: 0.22rem;
  }
}

/* ==========================================================================
   Cross-Platform & iOS Mobile Date Picker Optimizations (Safari & iPhone Chrome)
   ========================================================================== */

.custom-date-picker-wrap {
  position: relative !important;
  width: 100% !important;
  display: block !important;
}

.custom-date-picker-wrap .form-control {
  padding-right: 44px !important;
  cursor: pointer !important;
}

.custom-date-picker-wrap .datepicker-icon {
  position: absolute !important;
  right: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #800020 !important;
  font-size: 1.15rem !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  z-index: 2 !important;
  transition: transform 0.2s ease, color 0.2s ease !important;
}

.custom-date-picker-wrap:hover .datepicker-icon,
.custom-date-picker-wrap:focus-within .datepicker-icon {
  color: #991b1b !important;
  transform: translateY(-50%) scale(1.08) !important;
}

/* Native WebKit / iOS iPhone Chrome Date Input Fixes */
input[type="date"],
input[type="date"].form-control,
.custom-date-picker-wrap input[type="date"],
.custom-date-picker-wrap input[type="text"] {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  font-size: 16px !important; /* Prevents auto-zoom on iPhone iOS */
  min-height: 44px !important; /* Apple touch guideline */
  box-sizing: border-box !important;
  text-align: left !important;
  font-family: inherit !important;
  color: #0f172a !important;
  background-color: #ffffff !important;
  touch-action: manipulation !important;
}

/* WebKit date input inner pseudo-elements fix */
input[type="date"]::-webkit-date-and-time-value {
  text-align: left !important;
  min-height: 1.4em !important;
  display: block !important;
  line-height: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* WebKit clear calendar picker icon positioning */
input[type="date"]::-webkit-calendar-picker-indicator {
  display: block !important;
  cursor: pointer !important;
  opacity: 0.65 !important;
  width: 20px !important;
  height: 20px !important;
  margin-right: 2px !important;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15)) !important;
}

/* ==========================================================================
   Flatpickr Theme Styling - Om Sai Charitable Trust (Burgundy & Gold)
   ========================================================================== */

.flatpickr-calendar {
  background: #ffffff !important;
  border-radius: 14px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(128, 0, 32, 0.08) !important;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  z-index: 9999999 !important; /* High z-index to appear over modal backdrops */
  width: 320px !important;
  max-width: 95vw !important;
  overflow: hidden !important;
}

/* Header & Month Navigation */
.flatpickr-months {
  background: linear-gradient(135deg, #800020 0%, #991b1b 100%) !important;
  border-radius: 14px 14px 0 0 !important;
  padding: 6px 8px !important;
  color: #ffffff !important;
}

.flatpickr-months .flatpickr-month {
  color: #ffffff !important;
  fill: #ffffff !important;
  height: 38px !important;
}

.flatpickr-current-month {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  padding-top: 4px !important;
  color: #ffffff !important;
}

.flatpickr-current-month .cur-month {
  font-weight: 700 !important;
  color: #ffffff !important;
}

.flatpickr-current-month input.cur-year {
  font-weight: 700 !important;
  color: #ffffff !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
  background: #800020 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 2px 4px !important;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  color: #ffffff !important;
  fill: #ffffff !important;
  padding: 8px !important;
  border-radius: 8px !important;
  transition: background 0.2s ease !important;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
  background: rgba(255, 255, 255, 0.2) !important;
}

.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
  fill: #ffffff !important;
}

/* Weekdays */
span.flatpickr-weekday {
  background: #f8fafc !important;
  color: #64748b !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  padding: 6px 0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

/* Days Grid */
.flatpickr-day {
  border-radius: 10px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  height: 38px !important;
  line-height: 38px !important;
  transition: all 0.15s ease !important;
  font-size: 0.92rem !important;
}

.flatpickr-day:hover {
  background: #fee2e2 !important;
  color: #800020 !important;
}

.flatpickr-day.today {
  border-color: #800020 !important;
  color: #800020 !important;
  font-weight: 800 !important;
  background: rgba(128, 0, 32, 0.08) !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: #800020 !important;
  border-color: #800020 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 10px rgba(128, 0, 32, 0.35) !important;
}

.flatpickr-day.disabled,
.flatpickr-day.disabled:hover {
  color: #cbd5e1 !important;
  background: transparent !important;
  cursor: not-allowed !important;
}

/* Mobile specific popup centering */
@media (max-width: 640px) {
  .flatpickr-calendar {
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-size: 15px !important;
  }
  .flatpickr-day {
    height: 40px !important;
    line-height: 40px !important;
  }
}









