/* ==========================================================================
   SHRI SHYAM WELFARE SOCIETY LOHIDI (समस्त कुम्हार प्रजापति सेवा समिति)
   Design System & Styling
   Aesthetics: Royal Rajasthani Heritage (Terracotta/Saffron + Deep Maroon + Royal Gold + Sandalwood Cream)
   ========================================================================== */

:root {
  /* Primary Terracotta / Saffron Palette */
  --primary-terracotta: #C84B26;
  --primary-saffron: #D95327;
  --primary-bright: #E25822;
  --primary-light: #FBF0EB;
  --primary-hover: #B33D19;
  
  /* Deep Maroon & Crimson Heritage Colors */
  --maroon-dark: #3F090D;
  --maroon-deep: #6B171A;
  --maroon-rich: #851C20;
  --maroon-light: #F7EBEB;

  /* Royal Amber & Sandalwood Gold */
  --gold-accent: #E69D45;
  --gold-light: #FDF3E7;
  --gold-dark: #C27D29;
  --gold-glow: #F5B041;
  --amber-sand: #D4A373;

  /* Warm Cream & Sandalwood Backgrounds */
  --bg-body: #FDFBF7;
  --bg-surface: #FAF5EE;
  --bg-card: #FFFFFF;
  --bg-card-warm: #F8F2E8;
  --bg-subtle: #F4ECE1;

  /* Text & Typography */
  --text-main: #25201E;
  --text-body: #4A433F;
  --text-muted: #746C67;
  --text-inverse: #FFFFFF;

  /* Borders & Shadows */
  --border-light: #EDE3D8;
  --border-warm: #E4D5C7;
  --border-accent: #ECCBB0;
  --shadow-sm: 0 2px 8px rgba(107, 23, 26, 0.05);
  --shadow-md: 0 6px 20px rgba(107, 23, 26, 0.08);
  --shadow-lg: 0 14px 35px rgba(107, 23, 26, 0.12);
  --shadow-gold: 0 8px 25px rgba(230, 157, 69, 0.28);
  --shadow-glow: 0 0 25px rgba(217, 83, 39, 0.25);

  /* Layout & Sizing */
  --max-width: 1240px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  /* Typography Fonts */
  --font-body: 'Mukta', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Mukta', sans-serif;
  --font-display: 'Rozha One', 'Mukta', serif;
  --font-sans: 'Outfit', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.65;
  font-size: 1.05rem;
  overflow-x: hidden;
  position: relative;
  background-image: radial-gradient(circle at 10% 20%, rgba(230, 157, 69, 0.03) 0%, transparent 40%),
                    radial-gradient(circle at 90% 80%, rgba(107, 23, 26, 0.03) 0%, transparent 40%);
}

img, svg {
  max-width: 100%;
  display: block;
}

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

a:hover {
  color: var(--maroon-deep);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.3;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.text-center {
  text-align: center;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   BUTTONS & COMMON UI COMPONENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-saffron) 0%, var(--primary-terracotta) 100%);
  color: var(--text-inverse);
  box-shadow: 0 4px 14px rgba(200, 75, 38, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #E66336 0%, #B83E1A 100%);
  color: var(--text-inverse);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(200, 75, 38, 0.45);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--gold-accent) 0%, var(--gold-dark) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(194, 125, 41, 0.35);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #F0A954 0%, #B37021 100%);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(194, 125, 41, 0.45);
}

.btn-maroon {
  background: linear-gradient(135deg, var(--maroon-rich) 0%, var(--maroon-dark) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(107, 23, 26, 0.35);
}

.btn-maroon:hover {
  background: linear-gradient(135deg, #9C2227 0%, #35060A 100%);
  color: #FFFFFF;
  transform: translateY(-2px);
}

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

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

.btn-outline-gold {
  background: transparent;
  border-color: var(--gold-accent);
  color: var(--maroon-deep);
}

.btn-outline-gold:hover {
  background: var(--gold-accent);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-text {
  background: transparent;
  border: none;
  color: var(--maroon-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-text:hover {
  color: var(--primary-saffron);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.92rem;
}

.btn-lg {
  padding: 0.9rem 2.2rem;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

.btn-glow {
  animation: subtlePulse 3s infinite;
}

@keyframes subtlePulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(200, 75, 38, 0.35); }
  50% { box-shadow: 0 4px 22px rgba(200, 75, 38, 0.6); }
}

/* Section Header Ornamental Accent */
.section-title-wrap {
  margin-bottom: 3.5rem;
}

.ornament-motif {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--gold-accent);
  margin-bottom: 0.75rem;
}

.motif-line {
  display: inline-block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-accent));
}

.ornament-motif .motif-line:last-child {
  background: linear-gradient(90deg, var(--gold-accent), transparent);
}

.motif-diamond {
  font-size: 0.9rem;
  color: var(--primary-saffron);
}

.motif-flower {
  font-size: 1.2rem;
  color: var(--maroon-deep);
}

.section-heading {
  font-size: 2.3rem;
  color: var(--maroon-dark);
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
  margin-bottom: 0.6rem;
}

.section-tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   TOP BAR (Religious Blessing & Reg Info)
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #42080B 0%, var(--maroon-deep) 50%, #42080B 100%);
  color: #F8EFEA;
  font-size: 0.85rem;
  padding: 0.45rem 0;
  border-bottom: 2px solid var(--gold-accent);
  position: relative;
  z-index: 100;
}

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

.top-blessing {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: #FFD166;
  letter-spacing: 0.5px;
}

.top-reg-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #F1D4CA;
}

.top-reg-info strong {
  color: #FFFFFF;
}

.top-reg-info .divider {
  opacity: 0.4;
}

.top-call {
  color: #FFD166;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.15rem 0.6rem;
  background: rgba(255, 209, 102, 0.15);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 209, 102, 0.3);
  transition: all var(--transition-fast);
}

.top-call:hover {
  background: #FFD166;
  color: var(--maroon-dark);
}

/* ==========================================================================
   MAIN SITE HEADER (CLEAN, NAV-FREE, FOCUSED BRANDING)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(253, 251, 247, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1.5px solid var(--border-warm);
  box-shadow: 0 4px 18px rgba(107, 23, 26, 0.04);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 22px rgba(107, 23, 26, 0.09);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.2rem;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.logo-crest {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--gold-accent);
  padding: 2px;
  background: linear-gradient(135deg, var(--gold-light), #FFFFFF);
  box-shadow: 0 4px 12px rgba(107, 23, 26, 0.15);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crest-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.society-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--maroon-dark);
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.society-subtitle {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-terracotta);
  line-height: 1.2;
}

/* Header Quick Actions */
.header-action-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 0.9rem;
  background: #FFFFFF;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.header-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-terracotta);
}

.pill-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-saffron);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.pill-icon-circle.wa-circle {
  background: #E8F5E9;
  color: #2E7D32;
}

.pill-text-block {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.pill-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.pill-number {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--maroon-dark);
}

.wa-pill .pill-number {
  color: #2E7D32;
}

/* ==========================================================================
   HERO SECTION & 3-SLIDE CAROUSEL WITH REAL CULTURAL IMAGERY
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-surface);
}

.carousel-container {
  position: relative;
  min-height: 620px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(0.98);
  display: flex;
  align-items: center;
  padding: 4.5rem 0 5.5rem 0;
  z-index: 1;
}

.carousel-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

/* Slide 1 Tone (Terracotta / Warm Sandalwood) */
.slide-elders {
  background: linear-gradient(135deg, #FBF4EC 0%, #F5E5D5 60%, #EED5C0 100%);
}

/* Slide 2 Tone (Amber Gold / Crimson Wedding) */
.slide-wedding {
  background: linear-gradient(135deg, #FDF7EE 0%, #F8EBDA 60%, #F0DDBF 100%);
}

/* Slide 3 Tone (Divine Temple Glow / Deep Maroon) */
.slide-divine {
  background: linear-gradient(135deg, #FAF1EB 0%, #F5E0D5 60%, #EBD0C2 100%);
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 30%, rgba(200, 75, 38, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.slide-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#C84B26 0.75px, transparent 0.75px), radial-gradient(#D4A373 0.75px, #FDFBF7 0.75px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  opacity: 0.08;
  pointer-events: none;
}

.wedding-pattern {
  background-image: radial-gradient(#6B171A 0.75px, transparent 0.75px);
  opacity: 0.06;
}

.divine-pattern {
  background-image: radial-gradient(#E69D45 0.75px, transparent 0.75px);
  opacity: 0.08;
}

.slide-content-wrapper {
  position: relative;
  z-index: 3;
}

.slide-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.slide-text {
  animation: fadeInSlideUp 0.8s ease forwards;
}

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

.scheme-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 1rem;
  background-color: var(--primary-light);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  margin-bottom: 1.2rem;
}

.gold-pill {
  background-color: var(--gold-light);
  border-color: #E2C29B;
}

.divine-pill {
  background-color: #FFF2E8;
  border-color: #E69D45;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-saffron);
  box-shadow: 0 0 6px var(--primary-saffron);
}

.gold-pill .pill-dot {
  background-color: var(--gold-dark);
  box-shadow: 0 0 6px var(--gold-dark);
}

.divine-pill .pill-dot {
  background-color: #E25822;
  box-shadow: 0 0 6px #E25822;
}

.pill-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--maroon-dark);
}

.pill-tag {
  font-size: 0.75rem;
  font-weight: 700;
  background-color: var(--maroon-deep);
  color: #FFF;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

.hero-heading {
  font-size: 3.2rem;
  line-height: 1.18;
  color: var(--maroon-dark);
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.hero-motto {
  font-size: 1.22rem;
  color: var(--maroon-rich);
  font-weight: 500;
  margin-bottom: 1.8rem;
  line-height: 1.5;
  border-left: 3.5px solid var(--primary-saffron);
  padding-left: 1rem;
}

.hero-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.2rem;
}

.h-feat-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.h-feat-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-saffron);
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(107, 23, 26, 0.1);
  flex-shrink: 0;
}

.h-feat-text {
  font-size: 1.05rem;
  color: var(--text-main);
}

.h-feat-text strong {
  color: var(--maroon-dark);
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.hero-badge-trust {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-badge-trust i {
  color: var(--primary-terracotta);
}

/* Cultural Frame & Visual Image Presentation */
.slide-visual {
  display: flex;
  justify-content: center;
}

.rajasthani-photo-frame {
  position: relative;
  width: 100%;
  max-width: 360px;
  background: #FFFFFF;
  padding: 1.4rem;
  border-radius: 180px 180px var(--radius-lg) var(--radius-lg);
  box-shadow: 0 15px 40px rgba(107, 23, 26, 0.14);
  border: 3px solid var(--border-warm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.rajasthani-photo-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(107, 23, 26, 0.2);
}

.wedding-photo-frame {
  border-color: #E2C29B;
  box-shadow: 0 15px 40px rgba(194, 125, 41, 0.14);
}

.divine-photo-frame {
  border-color: var(--gold-accent);
  box-shadow: 0 15px 40px rgba(226, 88, 34, 0.16);
}

.frame-jharokha-arch {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 24px;
  background: var(--gold-accent);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
  z-index: 5;
}

.photo-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  border-radius: 165px 165px var(--radius-md) var(--radius-md);
  overflow: hidden;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.08);
}

.hero-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.6s ease;
}

.rajasthani-photo-frame:hover .hero-photo-img {
  transform: scale(1.04);
}

.photo-overlay-badge {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(107, 23, 26, 0.9);
  color: #FFFFFF;
  backdrop-filter: blur(6px);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  border: 1px solid rgba(255, 209, 102, 0.4);
  white-space: nowrap;
}

.photo-overlay-badge.gold {
  background: rgba(194, 125, 41, 0.92);
  border-color: rgba(255, 255, 255, 0.4);
}

.photo-overlay-badge.maroon {
  background: rgba(63, 9, 13, 0.92);
  border-color: var(--gold-accent);
}

.visual-caption {
  text-align: center;
  margin-top: 1rem;
}

.caption-title {
  display: block;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--maroon-dark);
}

.caption-sub {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Carousel Arrows & Controls */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-warm);
  color: var(--maroon-dark);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-fast);
}

.carousel-btn:hover {
  background: var(--maroon-deep);
  color: #FFFFFF;
  border-color: var(--maroon-deep);
  transform: translateY(-50%) scale(1.08);
}

.prev-btn { left: 1.5rem; }
.next-btn { right: 1.5rem; }

/* Carousel Bottom Indicators Bar */
.carousel-indicators-bar {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-warm);
  box-shadow: var(--shadow-sm);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--border-warm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.carousel-dots .dot.active {
  width: 32px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--primary-saffron), var(--maroon-deep));
}

.carousel-timer-wrapper {
  width: 50px;
  height: 4px;
  background-color: var(--border-light);
  border-radius: 2px;
  overflow: hidden;
}

.carousel-timer-bar {
  width: 0%;
  height: 100%;
  background: var(--primary-saffron);
  transition: width 0.1s linear;
}

.carousel-play-pause {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0.2rem;
  transition: color var(--transition-fast);
}

.carousel-play-pause:hover {
  color: var(--maroon-deep);
}

/* ==========================================================================
   STATS & TRUST STRIP
   ========================================================================== */
.stats-strip {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon-deep) 100%);
  color: #FFFFFF;
  padding: 2.2rem 0;
  border-top: 3px solid var(--gold-accent);
  border-bottom: 3px solid var(--gold-accent);
  position: relative;
  z-index: 5;
}

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

.stat-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.5rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

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

.stat-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFD166;
  font-size: 1.5rem;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-sans);
  font-size: 1.8rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.88rem;
  color: #F0D9D5;
  font-weight: 500;
}

/* ==========================================================================
   SECTION 1: ABOUT THE SOCIETY & PHOTO SPOTLIGHTS
   ========================================================================== */
.about-section {
  padding: 6rem 0 5rem 0;
  background-color: var(--bg-body);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: stretch;
}

.about-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-warm);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.official-card {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-card-warm) 100%);
  border-top: 4px solid var(--maroon-deep);
}

.card-jharokha-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 8px;
  background: var(--gold-accent);
  border-radius: 0 0 8px 8px;
}

.official-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.8rem;
  background: var(--maroon-light);
  color: var(--maroon-deep);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.official-title {
  font-size: 1.6rem;
  color: var(--maroon-dark);
  margin-bottom: 0.2rem;
}

.official-sub {
  color: var(--primary-terracotta);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.reg-details-box {
  background: #FFFFFF;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.reg-row {
  display: flex;
  flex-direction: column;
  font-size: 0.92rem;
}

.reg-label {
  color: var(--text-muted);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.reg-label i {
  color: var(--primary-saffron);
}

.reg-val {
  font-weight: 700;
  color: var(--maroon-dark);
}

.about-motto-callout {
  position: relative;
  background: rgba(230, 157, 69, 0.12);
  border-left: 3px solid var(--gold-accent);
  padding: 1rem 1.2rem 1rem 2.2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1.8rem;
}

.about-motto-callout .quote-icon {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  font-size: 0.9rem;
  color: var(--gold-dark);
}

.about-motto-callout p {
  font-size: 0.94rem;
  color: var(--maroon-dark);
  font-style: italic;
  line-height: 1.5;
}

.about-photo-highlight {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border-warm);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  background: var(--bg-surface);
}

.about-spot-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.5s ease;
}

.about-photo-highlight:hover .about-spot-img {
  transform: scale(1.03);
}

.spot-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(0deg, rgba(63, 9, 13, 0.9) 0%, transparent 100%);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 1rem 0.8rem 0.5rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.official-action-row {
  display: flex;
  gap: 1rem;
}

/* Values & Heritage Column */
.values-card {
  display: flex;
  flex-direction: column;
}

.values-heading {
  font-size: 1.5rem;
  color: var(--maroon-dark);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.values-heading i {
  color: var(--primary-saffron);
}

.values-desc {
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  font-size: 1rem;
}

.pillars-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.8rem;
}

.pillar-item {
  display: flex;
  gap: 1.1rem;
  background: var(--bg-surface);
  padding: 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.pillar-item:hover {
  background: #FFFFFF;
  border-color: var(--border-accent);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), #FFFFFF);
  border: 1px solid var(--border-accent);
  color: var(--primary-saffron);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.pillar-text h4 {
  font-size: 1.08rem;
  color: var(--maroon-dark);
  margin-bottom: 0.2rem;
}

.pillar-text p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* Heritage Showcase Box */
.heritage-showcase-box {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: linear-gradient(135deg, var(--bg-card-warm) 0%, #FFFFFF 100%);
  border: 2px solid var(--gold-accent);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.heritage-img-wrap {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border-accent);
}

.heritage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heritage-text h4 {
  font-size: 1.05rem;
  color: var(--maroon-dark);
  margin-bottom: 0.3rem;
}

.heritage-text p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.45;
}

/* ==========================================================================
   SECTION 2: SCHEMES COMPARISON & PHOTO BANNERS
   ========================================================================== */
.schemes-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-body) 100%);
}

.schemes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.scheme-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-warm);
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  overflow: hidden;
}

.scheme-box:hover {
  border-color: var(--primary-terracotta);
  box-shadow: 0 18px 45px rgba(107, 23, 26, 0.14);
  transform: translateY(-4px);
}

.wedding-scheme-box {
  border-color: #E6D2BC;
}

.wedding-scheme-box:hover {
  border-color: var(--gold-accent);
  box-shadow: 0 18px 45px rgba(194, 125, 41, 0.16);
}

.scheme-ribbon {
  position: absolute;
  top: 1rem;
  right: 1.4rem;
  background: linear-gradient(90deg, var(--primary-saffron), var(--primary-terracotta));
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(200, 75, 38, 0.35);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 5;
}

.scheme-ribbon.gold {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-accent));
  box-shadow: 0 4px 12px rgba(194, 125, 41, 0.35);
}

/* Profile Header (Side-by-Side Thumbnail + Info) */
.scheme-profile-header {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  margin-bottom: 1.3rem;
  padding-bottom: 1.3rem;
  border-bottom: 1.5px dashed var(--border-accent);
}

.scheme-profile-thumb {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 18px;
  border: 2.5px solid var(--primary-saffron);
  padding: 3px;
  background: linear-gradient(135deg, var(--primary-light), #FFFFFF);
  box-shadow: 0 8px 18px rgba(200, 75, 38, 0.16);
  flex-shrink: 0;
}

.scheme-profile-thumb.wedding-thumb {
  border-color: var(--gold-accent);
  background: linear-gradient(135deg, var(--gold-light), #FFFFFF);
  box-shadow: 0 8px 18px rgba(194, 125, 41, 0.16);
}

.profile-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 13px;
}

.thumb-badge {
  position: absolute;
  bottom: -6px;
  right: -6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-terracotta);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.thumb-badge.gold {
  background: var(--gold-dark);
}

.scheme-profile-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.scheme-type-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-terracotta);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.scheme-type-tag.gold {
  color: var(--gold-dark);
}

.scheme-name {
  font-size: 1.55rem;
  color: var(--maroon-dark);
  font-weight: 800;
  line-height: 1.2;
}

.scheme-target {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.scheme-target i {
  color: var(--primary-saffron);
  font-size: 0.8rem;
}

.scheme-highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--primary-light);
  color: var(--maroon-dark);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  border: 1px solid var(--border-accent);
  margin-top: 0.25rem;
  width: fit-content;
}

.scheme-highlight-pill i {
  color: var(--primary-saffron);
}

.scheme-highlight-pill.gold {
  background: var(--gold-light);
}

.scheme-highlight-pill.gold i {
  color: var(--gold-dark);
}

/* Quote Box */
.scheme-quote-box {
  background: var(--bg-surface);
  border-left: 3.5px solid var(--primary-saffron);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 0.85rem 1.1rem 0.85rem 2.2rem;
  position: relative;
  margin-bottom: 1.5rem;
}

.scheme-quote-box i {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  color: var(--primary-saffron);
  font-size: 0.85rem;
  opacity: 0.8;
}

.scheme-quote-box p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.5;
}

.scheme-quote-box.gold {
  border-left-color: var(--gold-accent);
}

.scheme-quote-box.gold i {
  color: var(--gold-dark);
}

/* Fee Tables */
.table-container {
  overflow-x: auto;
  margin-bottom: 1.8rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-warm);
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.fee-table thead {
  background: linear-gradient(90deg, var(--maroon-dark), var(--maroon-deep));
  color: #FFFFFF;
}

.fee-table th {
  padding: 0.85rem 1rem;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.fee-table th i {
  margin-right: 0.35rem;
  color: #FFD166;
}

.fee-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-body);
}

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

.fee-table tbody tr:nth-child(even) {
  background-color: var(--bg-surface);
}

.fee-table tbody tr:hover {
  background-color: var(--primary-light);
}

.highlight-row {
  background-color: var(--gold-light) !important;
  font-weight: 700;
}

.badge-price {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background-color: #FFFFFF;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--primary-terracotta);
  font-family: var(--font-sans);
}

.badge-price.gold {
  background-color: var(--gold-accent);
  color: #FFFFFF;
  border-color: var(--gold-dark);
}

.badge-contrib {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background-color: var(--maroon-light);
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--maroon-deep);
  font-family: var(--font-sans);
}

.badge-contrib.gold {
  background-color: var(--maroon-dark);
  color: #FFD166;
}

/* 2x2 Feature Chip Grid */
.scheme-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}

.scheme-feat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  transition: all var(--transition-fast);
}

.scheme-feat-card:hover {
  background: #FFFFFF;
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.scheme-feat-card i {
  color: #2E7D32;
  font-size: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.scheme-feat-card.gold i {
  color: #C27D29;
}

.scheme-feat-card div {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.scheme-feat-card strong {
  font-size: 0.88rem;
  color: var(--maroon-dark);
}

.scheme-feat-card span {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.scheme-footer-action {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* ==========================================================================
   CALCULATOR SECTION
   ========================================================================== */
.calculator-section {
  padding: 5.5rem 0;
  background: var(--bg-body);
}

.calc-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 2px solid var(--border-accent);
  box-shadow: var(--shadow-lg);
  padding: 3rem;
  position: relative;
}

.calc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 1rem;
  background-color: var(--gold-light);
  border: 1px solid var(--gold-accent);
  color: var(--gold-dark);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 0.8rem;
}

.calc-title {
  font-size: 2.2rem;
  color: var(--maroon-dark);
  margin-bottom: 0.5rem;
}

.calc-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 2.5rem auto;
}

.calc-body-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

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

.form-label {
  display: block;
  font-weight: 700;
  color: var(--maroon-dark);
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.form-label i {
  color: var(--primary-saffron);
  margin-right: 0.4rem;
}

.radio-pill-group {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.radio-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-warm);
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.radio-pill input[type="radio"] {
  display: none;
}

.radio-pill.active {
  background: linear-gradient(135deg, var(--primary-saffron), var(--primary-terracotta));
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(200, 75, 38, 0.3);
}

.radio-pill.mini {
  padding: 0.4rem 0.9rem;
  font-size: 0.88rem;
}

.form-select {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border: 2px solid var(--border-warm);
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.form-select:focus {
  outline: none;
  border-color: var(--primary-saffron);
  background-color: #FFFFFF;
}

.calc-tip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.calc-tip i {
  color: var(--gold-dark);
}

/* Results Box */
.calc-results-box {
  background: linear-gradient(145deg, #FFFFFF 0%, var(--bg-card-warm) 100%);
  border: 2px solid var(--gold-accent);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-gold);
  position: relative;
}

.results-jharokha {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 6px;
  background: var(--gold-accent);
  border-radius: 0 0 6px 6px;
}

.result-header {
  text-align: center;
  border-bottom: 1px dashed var(--border-accent);
  padding-bottom: 1.2rem;
  margin-bottom: 1.5rem;
}

.res-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--maroon-deep);
  background: var(--gold-light);
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.4rem;
}

.res-bracket {
  font-size: 1.4rem;
  color: var(--maroon-dark);
}

.result-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.metric-card {
  background: #FFFFFF;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.m-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.m-value-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  color: var(--maroon-dark);
  font-family: var(--font-sans);
}

.m-currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-saffron);
}

.m-value {
  font-size: 1.8rem;
  font-weight: 800;
}

.m-period {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.m-sub {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.result-benefits-preview {
  background: rgba(230, 157, 69, 0.15);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.b-highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.b-highlight i {
  color: var(--gold-dark);
  font-size: 1.3rem;
  margin-top: 0.1rem;
}

.b-text strong {
  display: block;
  font-size: 0.98rem;
  color: var(--maroon-dark);
}

.b-text p {
  font-size: 0.85rem;
  color: var(--text-body);
}

.calc-cta-row {
  display: flex;
  gap: 0.8rem;
}

/* ==========================================================================
   SECTION 3: RULES & PRINCIPLES
   ========================================================================== */
.rules-section {
  padding: 5.5rem 0;
  background: var(--bg-surface);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-bottom: 3.5rem;
}

.rule-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 1.8rem;
  border: 1px solid var(--border-warm);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.rule-card:hover {
  border-color: var(--primary-saffron);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.rule-num {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-family: var(--font-sans);
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(107, 23, 26, 0.1);
}

.rule-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary-saffron);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}

.rule-title {
  font-size: 1.2rem;
  color: var(--maroon-dark);
  margin-bottom: 0.6rem;
}

.rule-desc {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.55;
}

.warning-box {
  background: #FFF8E7;
  border: 2px solid #ECCB85;
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.wb-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #FEEBC8;
  color: #C05621;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.wb-content h4 {
  font-size: 1.25rem;
  color: #7B341E;
  margin-bottom: 0.8rem;
}

.wb-content ul {
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.96rem;
  color: #4A3319;
}

/* ==========================================================================
   SECTION 4: PHOTO GALLERY & SEVA SHOWCASE
   ========================================================================== */
.gallery-section {
  padding: 5.5rem 0;
  background: var(--bg-body);
}

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

.gallery-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-warm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.gallery-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-accent);
  box-shadow: var(--shadow-lg);
}

.gallery-img-box {
  position: relative;
  width: 100%;
  height: 270px;
  overflow: hidden;
  background-color: var(--bg-surface);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(107, 23, 26, 0.88);
  color: #FFFFFF;
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.gallery-tag.gold {
  background: rgba(194, 125, 41, 0.92);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(63, 9, 13, 0.45);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-normal);
  z-index: 1;
}

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

.overlay-zoom-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--maroon-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transform: scale(0.8);
  transition: transform var(--transition-fast);
}

.gallery-card:hover .overlay-zoom-icon {
  transform: scale(1);
}

.gallery-content {
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.gallery-title {
  font-size: 1.18rem;
  color: var(--maroon-dark);
  font-weight: 700;
}

.gallery-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* ==========================================================================
   SECTION 5: FORMS & DOWNLOAD HUB
   ========================================================================== */
.forms-section {
  padding: 5.5rem 0;
  background: var(--bg-surface);
}

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

.form-download-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-warm);
  padding: 2.2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.form-download-card:hover {
  border-color: var(--primary-saffron);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.form-download-card.highlight-gold {
  border-color: var(--gold-accent);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-card-warm) 100%);
}

.f-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-terracotta);
  background: var(--primary-light);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
}

.f-badge.gold {
  color: var(--gold-dark);
  background: var(--gold-light);
}

.f-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary-saffron);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

.f-icon-box.gold {
  background: var(--gold-light);
  color: var(--gold-dark);
}

.f-icon-box.maroon {
  background: var(--maroon-light);
  color: var(--maroon-deep);
}

.f-title {
  font-size: 1.35rem;
  color: var(--maroon-dark);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.f-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.f-specs {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  padding: 0.8rem;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
}

.f-specs span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.f-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* ==========================================================================
   SECTION 6: CONTACT DIRECTORY & FORM
   ========================================================================== */
.contact-section {
  padding: 5.5rem 0;
  background: var(--bg-body);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
}

.contact-directory {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dir-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--maroon-dark);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.dir-header i {
  color: var(--primary-saffron);
}

.dir-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.contact-person-card {
  background: #FFFFFF;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.contact-person-card:hover {
  border-color: var(--primary-terracotta);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.person-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.person-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.person-name {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--maroon-dark);
}

.person-loc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.person-phone {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-saffron);
  font-family: var(--font-sans);
  margin-top: 0.15rem;
}

.person-actions {
  display: flex;
  gap: 0.4rem;
}

.btn-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.call-btn {
  background: var(--primary-light);
  color: var(--primary-saffron);
}

.call-btn:hover {
  background: var(--primary-saffron);
  color: #FFFFFF;
}

.wa-btn {
  background: #E8F5E9;
  color: #2E7D32;
}

.wa-btn:hover {
  background: #2E7D32;
  color: #FFFFFF;
}

.press-partner-card {
  background: var(--bg-surface);
  border: 1px dashed var(--border-accent);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.press-partner-card i {
  color: var(--gold-dark);
  font-size: 1.3rem;
}

.press-link {
  font-weight: 700;
  color: var(--maroon-dark);
}

/* Contact Enquiry Form Box */
.contact-form-wrapper {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-accent);
  box-shadow: var(--shadow-md);
  position: relative;
}

.form-jharokha-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: var(--gold-accent);
  border-radius: 0 0 6px 6px;
}

.form-box {
  padding: 2.2rem;
}

.form-box-title {
  font-size: 1.45rem;
  color: var(--maroon-dark);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-box-title i {
  color: var(--primary-saffron);
}

.form-box-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-field {
  margin-bottom: 1.2rem;
}

.field-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--maroon-dark);
  margin-bottom: 0.4rem;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon i {
  position: absolute;
  left: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  pointer-events: none;
}

.field-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.6rem;
  border: 1.5px solid var(--border-warm);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  font-size: 0.98rem;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.field-input:focus {
  outline: none;
  border-color: var(--primary-saffron);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(200, 75, 38, 0.1);
}

.textarea-icon i {
  top: 0.9rem;
}

.field-input.textarea {
  resize: vertical;
  min-height: 80px;
}

.field-error {
  display: none;
  font-size: 0.78rem;
  color: #D32F2F;
  margin-top: 0.25rem;
}

.field-error.visible {
  display: block;
}

.form-success-alert {
  margin-top: 1rem;
  background: #E8F5E9;
  border: 1px solid #A5D6A7;
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: #1B5E20;
  font-size: 0.92rem;
}

.form-success-alert i {
  font-size: 1.2rem;
  color: #2E7D32;
  margin-top: 0.1rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, #38080B 0%, #200406 100%);
  color: #F8EFEA;
  position: relative;
}

.footer-border-ribbon {
  height: 6px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-accent), #FFD166, var(--gold-accent), var(--gold-dark));
}

.footer-content {
  padding: 4.5rem 1.5rem 2rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.f-om {
  font-size: 1.8rem;
}

.f-society-name {
  font-size: 1.25rem;
  color: #FFD166;
}

.f-society-tag {
  font-size: 0.82rem;
  color: #E2C29B;
}

.f-about-text {
  font-size: 0.92rem;
  color: #D4BDB4;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.f-badges {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.f-badge-pill {
  font-size: 0.78rem;
  color: #FFD166;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
}

.f-col-title {
  font-size: 1.2rem;
  color: #FFD166;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.f-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--gold-accent);
}

.f-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.f-links-list a {
  color: #E6D4CB;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition-fast);
}

.f-links-list a:hover {
  color: #FFD166;
  transform: translateX(4px);
}

.f-address {
  display: flex;
  gap: 0.8rem;
  font-size: 0.92rem;
  color: #E6D4CB;
  margin-bottom: 1.2rem;
}

.f-address i {
  color: var(--gold-accent);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.f-key-phones {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.92rem;
  color: #E6D4CB;
  margin-bottom: 1.2rem;
}

.f-key-phones a {
  color: #FFD166;
  font-weight: 700;
}

.f-timings {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: #CBB4AB;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #BCA39B;
  flex-wrap: wrap;
  gap: 1rem;
}

.fb-slogan {
  color: #FFD166;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-terracotta);
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
}

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

.back-to-top:hover {
  background: var(--maroon-deep);
  transform: translateY(-3px);
}

/* ==========================================================================
   MODAL DIALOGS (FORMS & LIGHTBOX)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-wrapper {
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow: hidden;
  border: 2px solid var(--border-accent);
}

.modal-header {
  padding: 1.2rem 1.8rem;
  background: linear-gradient(90deg, var(--maroon-dark), var(--maroon-deep));
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-badge {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--gold-accent);
  color: var(--maroon-dark);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

.modal-title {
  font-size: 1.3rem;
  color: #FFFFFF;
  margin-top: 0.2rem;
}

.modal-actions-top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.modal-actions-top .btn-outline {
  border-color: #FFD166;
  color: #FFD166;
}

.modal-actions-top .btn-outline:hover {
  background: #FFD166;
  color: var(--maroon-dark);
}

.modal-close {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.modal-close:hover {
  transform: scale(1.2);
}

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

.modal-footer {
  padding: 1rem 1.8rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-warm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.modal-footer-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.modal-footer-btns {
  display: flex;
  gap: 0.8rem;
}

/* Lightbox Modal */
.gallery-modal-wrapper {
  max-width: 780px;
}

.gallery-lightbox-card {
  position: relative;
  background: #111111;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.gallery-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background var(--transition-fast);
}

.gallery-lightbox-close:hover {
  background: var(--primary-terracotta);
}

.lightbox-img-box {
  width: 100%;
  max-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
}

.lightbox-img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
}

.lightbox-caption-box {
  padding: 1.4rem 1.8rem;
  background: #1A1A1A;
  color: #FFFFFF;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-title {
  font-size: 1.25rem;
  color: #FFD166;
  margin-bottom: 0.3rem;
}

.lightbox-desc {
  font-size: 0.95rem;
  color: #CCCCCC;
}

/* Printable Form Sheet Styles inside Modal */
.official-form-paper {
  background: #FFFFFF;
  border: 2px solid var(--maroon-deep);
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.form-paper-header {
  text-align: center;
  border-bottom: 2px solid var(--maroon-deep);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.form-paper-om {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--maroon-deep);
}

.form-paper-society {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--maroon-dark);
}

.form-paper-sub {
  font-size: 0.95rem;
  color: var(--primary-terracotta);
  font-weight: 600;
}

.form-paper-reg {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.form-name-banner {
  background: var(--maroon-light);
  border: 1px solid var(--maroon-deep);
  text-align: center;
  padding: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--maroon-dark);
  margin-bottom: 1.5rem;
}

.form-photos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.photo-box-outline {
  height: 110px;
  border: 1.5px dashed var(--maroon-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.4rem;
  background: var(--bg-surface);
}

.form-fields-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.form-fields-table td {
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid #E0E0E0;
  font-size: 0.92rem;
}

.field-dot-line {
  border-bottom: 1px dotted #666;
  display: inline-block;
  min-width: 150px;
  height: 16px;
}

.fee-selection-boxes {
  display: flex;
  gap: 1.5rem;
  margin: 0.5rem 0;
}

.fee-choice {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
}

.choice-square {
  width: 18px;
  height: 18px;
  border: 1.5px solid #000;
  display: inline-block;
}

.form-undertaking {
  font-size: 0.88rem;
  line-height: 1.5;
  background: #FAFAFA;
  border: 1px solid #DDD;
  padding: 0.8rem;
  border-radius: 4px;
  margin-bottom: 1.8rem;
}

.form-signatures-row {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 0.5rem;
  border-top: 1px dashed #999;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--maroon-dark);
  color: #FFFFFF;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--gold-accent);
  box-shadow: var(--shadow-lg);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInLeft 0.3s ease;
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   PRINT MEDIA STYLES
   ========================================================================== */
@media print {
  body * {
    visibility: hidden;
  }
  
  #modalPrintableArea, #modalPrintableArea * {
    visibility: visible;
  }

  #modalPrintableArea {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
  }

  .official-form-paper {
    border: 2px solid #000;
    box-shadow: none;
    padding: 1.5cm;
    page-break-inside: avoid;
  }
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE DESIGN (ALL SCREEN SIZES)
   Breakpoints: 1200px (Laptops), 992px (Tablets), 768px (Mobile landscape),
                480px (Mobile portrait), 360px (Small screens)
   ========================================================================== */

/* --- 1. Laptops & Compact Desktops (<= 1200px) --- */
@media (max-width: 1200px) {
  .hero-heading {
    font-size: 2.8rem;
  }

  .slide-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
  }

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

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 2rem;
  }
}

/* --- 2. Tablets & Medium Displays (<= 992px) --- */
@media (max-width: 992px) {
  .site-header {
    height: auto;
  }

  .header-container {
    height: auto;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero-heading {
    font-size: 2.4rem;
  }

  .slide-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-motto {
    border-left: none;
    border-bottom: 3px solid var(--primary-saffron);
    padding-left: 0;
    padding-bottom: 0.8rem;
    margin: 0 auto 1.5rem auto;
    max-width: 600px;
  }

  .hero-features-list {
    align-items: center;
    max-width: 550px;
    margin: 0 auto 2rem auto;
  }

  .h-feat-item {
    justify-content: flex-start;
    width: 100%;
    text-align: left;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-badge-trust {
    justify-content: center;
  }

  .slide-visual {
    margin-top: 1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-card:nth-child(2) {
    border-right: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .schemes-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 720px;
    margin: 0 auto;
  }

  .calc-body-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .rules-grid, .forms-grid, .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* --- 3. Phablets & Mobile Landscape/Portrait (<= 768px) --- */
@media (max-width: 768px) {
  .top-bar {
    padding: 0.4rem 0;
    font-size: 0.8rem;
  }

  .top-bar-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
  }

  .top-reg-info {
    font-size: 0.76rem;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .site-header {
    padding: 0.5rem 0;
  }

  .header-container {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
  }

  .brand-logo {
    justify-content: center;
    gap: 0.65rem;
  }

  .logo-crest {
    width: 46px;
    height: 46px;
  }

  .brand-text {
    align-items: center;
  }

  .society-title {
    font-size: 1.18rem;
    text-align: center;
  }

  .society-subtitle {
    font-size: 0.75rem;
    text-align: center;
  }

  .header-action-group {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.4rem;
  }

  .header-pill {
    padding: 0.4rem 0.45rem;
    justify-content: center;
    width: 100%;
    border-radius: var(--radius-sm);
    box-shadow: none;
  }

  .pill-icon-circle {
    width: 28px;
    height: 28px;
    font-size: 0.82rem;
  }

  .pill-text-block {
    display: flex;
    line-height: 1.1;
  }

  .pill-label {
    font-size: 0.64rem;
  }

  .pill-number {
    font-size: 0.76rem;
  }

  .header-action-group .btn-sm {
    padding: 0.4rem 0.5rem;
    font-size: 0.82rem;
    border-radius: var(--radius-sm);
    width: 100%;
    justify-content: center;
  }

  .carousel-slide {
    padding: 2rem 0 4.5rem 0;
  }

  .hero-heading {
    font-size: clamp(1.85rem, 6vw, 2.5rem);
  }

  .hero-motto {
    font-size: 1.05rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    gap: 0.75rem;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .carousel-btn {
    display: none; /* Touch swipe & dots are optimal on mobile */
  }

  .carousel-indicators-bar {
    bottom: 0.8rem;
    padding: 0.3rem 0.8rem;
    gap: 0.6rem;
  }

  .rajasthani-photo-frame {
    max-width: 300px;
    border-radius: 150px 150px var(--radius-lg) var(--radius-lg);
    padding: 1.1rem;
    margin: 0 auto;
  }

  .photo-img-wrapper {
    border-radius: 140px 140px var(--radius-md) var(--radius-md);
    aspect-ratio: 1 / 1.05;
    height: auto;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .stat-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.6rem 0;
  }

  .stat-card:last-child {
    border-bottom: none;
  }

  .section-title-wrap {
    margin-bottom: 2.2rem;
  }

  .section-heading {
    font-size: 1.85rem;
  }

  .section-tagline {
    font-size: 1rem;
  }

  .about-card {
    padding: 1.6rem 1.2rem;
  }

  .official-title {
    font-size: 1.35rem;
  }

  .official-action-row {
    flex-direction: column;
    width: 100%;
    gap: 0.6rem;
  }

  .official-action-row .btn {
    width: 100%;
  }

  .heritage-showcase-box {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }

  .heritage-img-wrap {
    margin: 0 auto;
    width: 90px;
    height: 90px;
  }

  .scheme-box {
    padding: 1.6rem 1.2rem;
  }

  .scheme-profile-header {
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }

  .scheme-profile-thumb {
    width: 90px;
    height: 90px;
    border-radius: 14px;
  }

  .scheme-name {
    font-size: 1.35rem;
  }

  .scheme-quote-box {
    padding: 0.75rem 0.9rem 0.75rem 2rem;
    margin-bottom: 1.2rem;
  }

  .scheme-quote-box p {
    font-size: 0.86rem;
  }

  .scheme-features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .fee-table th, .fee-table td {
    padding: 0.65rem 0.45rem;
    font-size: 0.85rem;
  }

  .badge-price, .badge-contrib {
    padding: 0.18rem 0.45rem;
    font-size: 0.82rem;
  }

  .calc-card {
    padding: 1.8rem 1.2rem;
  }

  .calc-title {
    font-size: 1.75rem;
  }

  .radio-pill-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .radio-pill {
    justify-content: center;
    font-size: 0.88rem;
    padding: 0.55rem 0.65rem;
  }

  .result-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .metric-card {
    padding: 0.8rem 0.5rem;
  }

  .m-value {
    font-size: 1.45rem;
  }

  .calc-cta-row {
    flex-direction: column;
    width: 100%;
    gap: 0.6rem;
  }

  .calc-cta-row .btn {
    width: 100%;
  }

  .rules-grid, .forms-grid, .gallery-grid, .dir-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .gallery-img-box {
    height: 230px;
  }

  .contact-person-card {
    padding: 0.9rem;
  }

  .contact-form-wrapper .form-box {
    padding: 1.5rem 1.2rem;
  }

  .footer-content {
    padding: 3.5rem 1.2rem 1.8rem 1.2rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }

  .modal-wrapper {
    max-width: 96vw;
    max-height: 94vh;
    margin: 0 auto;
  }

  .modal-card {
    max-height: 94vh;
  }

  .modal-header {
    padding: 0.9rem 1.1rem;
  }

  .modal-title {
    font-size: 1.15rem;
  }

  .modal-body {
    padding: 1rem 0.8rem;
  }

  .official-form-paper {
    padding: 1rem 0.8rem;
  }

  .form-paper-society {
    font-size: 1.2rem;
  }

  .form-photos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .photo-box-outline {
    height: 90px;
    font-size: 0.7rem;
  }

  .form-undertaking {
    font-size: 0.8rem;
  }

  .form-signatures-row {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    margin-top: 2rem;
  }

  .modal-footer {
    flex-direction: column;
    padding: 0.8rem 1rem;
    gap: 0.8rem;
  }

  .modal-footer-btns {
    width: 100%;
  }

  .modal-footer-btns .btn {
    flex: 1;
    font-size: 0.85rem;
  }
}

/* --- 4. Small Mobile Screens (<= 480px) --- */
@media (max-width: 480px) {
  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .top-reg-info {
    font-size: 0.72rem;
    gap: 0.4rem;
  }

  .brand-logo {
    gap: 0.5rem;
  }

  .logo-crest {
    width: 38px;
    height: 38px;
  }

  .society-title {
    font-size: 1.05rem;
  }

  .society-subtitle {
    font-size: 0.68rem;
  }

  .header-action-group {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.3rem;
  }

  .header-pill {
    padding: 0.35rem 0.25rem;
    flex-direction: column;
    gap: 0.2rem;
  }

  .pill-icon-circle {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }

  .pill-text-block {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .pill-label {
    display: none;
  }

  .pill-number {
    font-size: 0.7rem;
  }

  .header-action-group .btn-sm {
    font-size: 0.72rem;
    padding: 0.35rem 0.2rem;
    flex-direction: column;
    gap: 0.2rem;
    justify-content: center;
  }

  .header-action-group .btn-sm i {
    font-size: 0.85rem;
  }

  .rajasthani-photo-frame {
    max-width: 250px;
    border-radius: 125px 125px var(--radius-lg) var(--radius-lg);
    padding: 0.85rem;
  }

  .photo-img-wrapper {
    border-radius: 115px 115px var(--radius-md) var(--radius-md);
  }

  .caption-title {
    font-size: 0.95rem;
  }

  .caption-sub {
    font-size: 0.78rem;
  }

  .section-heading {
    font-size: 1.55rem;
  }

  .section-tagline {
    font-size: 0.92rem;
  }

  .scheme-ribbon {
    font-size: 0.72rem;
    padding: 0.22rem 0.65rem;
    right: 0.7rem;
    top: 0.7rem;
  }

  .scheme-profile-header {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .scheme-profile-info {
    align-items: center;
  }

  .scheme-features-grid {
    grid-template-columns: 1fr;
  }

  .radio-pill-group {
    grid-template-columns: 1fr;
  }

  .result-metrics {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    bottom: 1.2rem;
    right: 1.2rem;
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
}

/* --- 5. Ultra-Small Screens (<= 360px) --- */
@media (max-width: 360px) {
  .society-title {
    font-size: 0.96rem;
  }

  .hero-heading {
    font-size: 1.65rem;
  }

  .rajasthani-photo-frame {
    max-width: 220px;
    border-radius: 110px 110px var(--radius-lg) var(--radius-lg);
    padding: 0.75rem;
  }

  .photo-img-wrapper {
    border-radius: 100px 100px var(--radius-md) var(--radius-md);
  }

  .fee-table {
    font-size: 0.78rem;
  }

  .m-value {
    font-size: 1.25rem;
  }
}
