/* ============================================
   श्रीराम प्रतिष्ठान — Sacred Nocturnal Temple
   Design System & Styles
   ============================================ */

/* --- Design Tokens --- */
:root {
  --color-bg: #1a0a00;
  --color-bg-light: #2a1508;
  --color-bg-card: #1f0e04;
  --color-primary: #FF6600;
  --color-primary-dim: #cc5200;
  --color-accent: #FFD700;
  --color-accent-dim: #b8a000;
  --color-text: #FFF8F0;
  --color-text-muted: #c4a882;
  --color-secondary: #8B0000;
  --color-secondary-light: #a01010;
  --color-overlay: rgba(26, 10, 0, 0.85);
  --color-glow-primary: rgba(255, 102, 0, 0.4);
  --color-glow-accent: rgba(255, 215, 0, 0.3);
  --color-border: rgba(255, 215, 0, 0.15);
  --color-border-bright: rgba(255, 215, 0, 0.4);
  --color-success: #2ecc71;
  --color-whatsapp: #25D366;

  --font-display: 'Mukta', sans-serif;
  --font-body: 'Poppins', sans-serif;

  --nav-height: 70px;
  --section-padding: 80px 20px;
  --max-width: 1200px;
  --radius: 12px;
  --radius-sm: 6px;

  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* --- Language Toggle --- */
[data-lang="en"] {
  display: none;
}

body.lang-en [data-lang="en"] {
  display: inline;
}

body.lang-en [data-lang="mr"] {
  display: none;
}

/* Block-level bilingual elements */
div[data-lang="en"],
p[data-lang="en"],
h1[data-lang="en"],
h2[data-lang="en"],
h3[data-lang="en"],
h4[data-lang="en"],
li[data-lang="en"] {
  display: none;
}

body.lang-en div[data-lang="en"],
body.lang-en p[data-lang="en"],
body.lang-en h1[data-lang="en"],
body.lang-en h2[data-lang="en"],
body.lang-en h3[data-lang="en"],
body.lang-en h4[data-lang="en"],
body.lang-en li[data-lang="en"] {
  display: block;
}

body.lang-en div[data-lang="mr"],
body.lang-en p[data-lang="mr"],
body.lang-en h1[data-lang="mr"],
body.lang-en h2[data-lang="mr"],
body.lang-en h3[data-lang="mr"],
body.lang-en h4[data-lang="mr"],
body.lang-en li[data-lang="mr"] {
  display: none;
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--color-accent);
  text-align: center;
  margin-bottom: 0.3em;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 3rem;
}

.gold-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  margin: 0 auto 2rem;
  border: none;
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Decorative temple arch divider --- */
.temple-divider {
  width: 100%;
  height: 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.temple-divider::before {
  content: '⟡ ॐ ⟡';
  font-size: 1.2rem;
  color: var(--color-accent);
  letter-spacing: 0.5em;
  opacity: 0.6;
}

.temple-divider::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent-dim), transparent);
}


/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--color-overlay);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  object-fit: cover;
}

.nav-name {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-primary);
  line-height: 1.2;
}

.nav-links {
  display: none;
  list-style: none;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  color: var(--color-text);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

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

.nav-links a:hover {
  color: var(--color-accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  background: transparent;
  border: 1px solid var(--color-border-bright);
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-toggle:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-text);
  transition: color var(--transition);
}

.mobile-menu a:hover {
  color: var(--color-accent);
}


/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  position: relative;
  overflow: hidden;
}

/* Radial glow background */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--color-glow-primary) 0%, transparent 70%);
  pointer-events: none;
  animation: heroGlow 4s ease-in-out infinite alternate;
}

/* Mandala pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, var(--color-glow-accent) 0%, transparent 30%),
    radial-gradient(circle at 80% 20%, var(--color-glow-primary) 0%, transparent 30%);
  opacity: 0.15;
  pointer-events: none;
}

@keyframes heroGlow {
  from { opacity: 0.6; transform: translate(-50%, -50%) scale(0.9); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* Floating embers / diya particles */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.ember {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 6px 2px var(--color-glow-accent);
  animation: floatEmber linear infinite;
  opacity: 0;
}

.ember:nth-child(1) { left: 10%; animation-duration: 8s; animation-delay: 0s; }
.ember:nth-child(2) { left: 20%; animation-duration: 10s; animation-delay: 1s; width: 3px; height: 3px; }
.ember:nth-child(3) { left: 35%; animation-duration: 7s; animation-delay: 2s; }
.ember:nth-child(4) { left: 50%; animation-duration: 9s; animation-delay: 0.5s; width: 5px; height: 5px; }
.ember:nth-child(5) { left: 65%; animation-duration: 11s; animation-delay: 3s; }
.ember:nth-child(6) { left: 75%; animation-duration: 8s; animation-delay: 1.5s; width: 3px; height: 3px; }
.ember:nth-child(7) { left: 85%; animation-duration: 10s; animation-delay: 4s; }
.ember:nth-child(8) { left: 45%; animation-duration: 12s; animation-delay: 2.5s; width: 2px; height: 2px; }
.ember:nth-child(9) { left: 90%; animation-duration: 9s; animation-delay: 0.8s; }
.ember:nth-child(10) { left: 5%; animation-duration: 7s; animation-delay: 3.5s; width: 5px; height: 5px; }

@keyframes floatEmber {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% { opacity: 0.8; }
  90% { opacity: 0.6; }
  100% {
    transform: translateY(-20vh) rotate(360deg);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-flag {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  color: var(--color-primary);
  text-shadow:
    0 0 20px var(--color-glow-primary),
    0 0 60px var(--color-glow-primary),
    0 0 100px rgba(255, 102, 0, 0.2);
  line-height: 1.3;
  margin-bottom: 0.5rem;
  animation: glowPulse 3s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  from {
    text-shadow:
      0 0 20px var(--color-glow-primary),
      0 0 60px var(--color-glow-primary);
  }
  to {
    text-shadow:
      0 0 30px var(--color-glow-primary),
      0 0 80px var(--color-glow-primary),
      0 0 120px rgba(255, 102, 0, 0.3);
  }
}

.hero-org-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-accent);
  margin-bottom: 0.3rem;
}

.hero-tagline {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Countdown Timer */
.countdown {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.countdown-label {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--color-accent);
  margin-bottom: 0.3rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  min-width: 70px;
}

.countdown-number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-primary);
  line-height: 1;
}

.countdown-text {
  font-size: 0.65rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* CTA Buttons */
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  min-height: 48px;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text);
  box-shadow: 0 4px 20px var(--color-glow-primary);
}

.btn-primary:hover {
  background: var(--color-primary-dim);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px var(--color-glow-primary);
  color: var(--color-text);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

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

/* Hero bottom gold arch */
.hero-bottom-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  overflow: hidden;
}

.hero-bottom-divider::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 120px;
  border-radius: 50% 50% 0 0;
  border-top: 2px solid var(--color-border-bright);
  background: linear-gradient(to top, var(--color-bg-light), transparent);
}


/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: var(--section-padding);
  background: var(--color-bg-light);
  position: relative;
}

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

.about-logo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 3px solid var(--color-accent);
  object-fit: cover;
  margin: 0 auto;
  box-shadow: 0 0 40px var(--color-glow-accent);
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.about-text p:first-of-type {
  color: var(--color-text);
  font-size: 1.05rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 2rem;
}

.stat-card {
  text-align: center;
  padding: 20px 12px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-primary);
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}


/* ============================================
   EVENTS SECTION
   ============================================ */
.events {
  padding: var(--section-padding);
  background: var(--color-bg);
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.event-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.event-card:hover::before {
  transform: scaleX(1);
}

.event-card:hover {
  border-color: var(--color-border-bright);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.event-card.featured {
  border-color: var(--color-accent);
  box-shadow: 0 0 20px var(--color-glow-accent);
}

.event-card.featured::before {
  transform: scaleX(1);
}

.event-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.event-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.event-date {
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.event-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}


/* ============================================
   SHOBHA YATRA SECTION
   ============================================ */
.shobha-yatra {
  padding: var(--section-padding);
  background: var(--color-bg-light);
  position: relative;
}

.yatra-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.yatra-details {
  order: 2;
}

.yatra-route {
  order: 1;
}

.yatra-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.yatra-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-accent);
}

.yatra-info-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.yatra-info-label {
  font-size: 0.75rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.yatra-info-value {
  font-size: 0.95rem;
  color: var(--color-text);
}

/* Route map placeholder */
.route-map-placeholder {
  background: var(--color-bg);
  border: 2px dashed var(--color-border-bright);
  border-radius: var(--radius);
  padding: 60px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.route-map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(45deg, var(--color-border) 25%, transparent 25%),
    linear-gradient(-45deg, var(--color-border) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--color-border) 75%),
    linear-gradient(-45deg, transparent 75%, var(--color-border) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  opacity: 0.05;
}

.route-map-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  display: block;
}

.route-map-text {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.route-map-title {
  color: var(--color-accent);
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 16px;
}

.route-nakasha {
  text-align: center;
  margin-bottom: 24px;
}

.route-nakasha img {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius);
  border: 2px solid var(--color-border-bright);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.route-nakasha a:hover img {
  transform: scale(1.02);
  box-shadow: 0 0 20px var(--color-glow-accent);
}

.nakasha-hint {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.route-map-embed {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
}

/* Yatra features */
.yatra-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.yatra-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--color-text);
}

.yatra-feature-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}


/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
  padding: var(--section-padding);
  background: var(--color-bg);
}

/* Gallery filter buttons */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition);
  min-height: 44px;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text);
}

/* Photo grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 3rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-bg) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover::after {
  opacity: 0.8;
}

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

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

.gallery-item-wide {
  grid-column: span 2;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--color-bg-card), var(--color-bg-light));
}

.gallery-item-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 2;
  font-size: 0.8rem;
  color: var(--color-text);
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition);
}

.gallery-item:hover .gallery-item-label {
  opacity: 1;
  transform: translateY(0);
}

/* Instagram embeds section */
.instagram-section {
  margin-top: 2rem;
}

.instagram-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 2rem;
}

.instagram-embed-wrapper {
  max-width: 540px;
  margin: 0 auto;
  width: 100%;
}

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


/* ============================================
   VOLUNTEER SECTION
   ============================================ */
.volunteer {
  padding: var(--section-padding);
  background: var(--color-bg-light);
}

.volunteer-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text);
  transition: border-color var(--transition);
  min-height: 48px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-glow-accent);
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23FFD700' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.form-checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text);
  cursor: pointer;
}

.form-checkbox-group input[type="checkbox"] {
  accent-color: var(--color-primary);
  width: 18px;
  height: 18px;
}

.volunteer-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  color: #fff;
}

/* Form success message */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show {
  display: block;
}

.form-success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.form-success-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-accent);
}


/* ============================================
   NEWS SECTION
   ============================================ */
.news {
  padding: var(--section-padding);
  background: var(--color-bg);
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.news-card {
  display: flex;
  gap: 16px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all var(--transition);
}

.news-card:hover {
  border-color: var(--color-border-bright);
  transform: translateY(-2px);
}

.news-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.news-content {
  flex: 1;
}

.news-date {
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-primary);
  margin: 4px 0 6px;
}

.news-excerpt {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.news-link {
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 8px;
  display: inline-block;
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 60px 20px 20px;
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  object-fit: cover;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-primary);
}

.footer-section h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  transition: color var(--transition);
}

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

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-contact-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text-muted);
  font-size: 1.2rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text);
}

/* Google Maps placeholder */
.map-placeholder {
  width: 100%;
  height: 200px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.map-placeholder-icon {
  font-size: 2rem;
}

.map-placeholder-text {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-primary);
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.footer-credit-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all var(--transition);
}

.footer-credit-link:hover {
  filter: brightness(1.3);
  text-shadow: 0 0 12px var(--color-glow-accent);
}


/* ============================================
   FLOATING AUDIO TOGGLE BUTTON
   ============================================ */
.audio-float {
  position: fixed;
  bottom: 92px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--color-bg-card);
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--color-accent);
  box-shadow: 0 4px 20px var(--color-glow-accent);
  z-index: 998;
  transition: all var(--transition);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.audio-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px var(--color-glow-accent);
  background: var(--color-accent);
  color: var(--color-bg);
}

.audio-float.playing {
  border-color: var(--color-primary);
  box-shadow: 0 4px 20px var(--color-glow-primary);
}

.audio-float.playing:hover {
  background: var(--color-primary);
}

.audio-icon {
  pointer-events: none;
}


/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 4px 20px rgba(225, 48, 108, 0.4);
  z-index: 998;
  transition: all var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(225, 48, 108, 0.5);
  color: #fff;
}

.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #dc2743;
  animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 0; }
}


/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 2rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition);
}

.lightbox-close:hover {
  color: var(--color-accent);
}

.lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-text);
  font-size: 0.9rem;
  text-align: center;
  max-width: 80%;
}


/* ============================================
   RESPONSIVE — SMALL MOBILE (max-width: 380px)
   ============================================ */
@media (max-width: 380px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-org-name {
    font-size: 1rem;
  }

  .hero-tagline {
    font-size: 0.8rem;
  }

  .countdown {
    gap: 8px;
  }

  .countdown-unit {
    padding: 10px 10px;
    min-width: 60px;
  }

  .countdown-number {
    font-size: 1.5rem;
  }

  .countdown-label {
    font-size: 0.75rem;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.8rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .section-title {
    font-size: 1.6rem;
  }

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

  .stat-number {
    font-size: 1.5rem;
  }

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

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

  .gallery-item-wide {
    grid-column: span 1;
  }

  .nav-name {
    font-size: 0.8rem;
  }

  .nav-logo {
    width: 36px;
    height: 36px;
  }
}


/* ============================================
   RESPONSIVE — TABLET (min-width: 640px)
   ============================================ */
@media (min-width: 640px) {
  .section-title {
    font-size: 2.5rem;
  }

  .hero-title {
    font-size: 4rem;
  }

  .hero-org-name {
    font-size: 1.5rem;
  }

  .countdown-unit {
    padding: 16px 24px;
    min-width: 90px;
  }

  .countdown-number {
    font-size: 2.5rem;
  }

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

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

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

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

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


/* ============================================
   RESPONSIVE — DESKTOP (min-width: 1024px)
   ============================================ */
@media (min-width: 1024px) {
  :root {
    --section-padding: 100px 20px;
  }

  .nav-links {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .hero-title {
    font-size: 5rem;
  }

  .hero-org-name {
    font-size: 1.8rem;
  }

  .about-grid {
    grid-template-columns: 1fr 2fr;
  }

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

  .yatra-content {
    grid-template-columns: 1fr 1fr;
  }

  .yatra-details {
    order: 1;
  }

  .yatra-route {
    order: 2;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}
