/* ==========================================================================
   Shri Pundrik Goswami Ji Maharaj - Spiritual Portal
   Design & Architecture Powered by Planet C
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties (Theme Engine)
   -------------------------------------------------------------------------- */
/* Theme: Saffron & Maroon (default) */
:root,
[data-theme="saffron"] {
  --primary: #c4500c;
  --primary-hover: #9e3d07;
  --primary-light: #fff2e4;
  --primary-gradient: linear-gradient(135deg, #f07c1e 0%, #c4500c 55%, #8a2420 100%);
  --secondary: #5c1414;
  --accent: #f4a21c;
  --accent-glow: rgba(240, 124, 30, 0.35);

  --bg-main: #fff9f1;
  --bg-card: #ffffff;
  --bg-card-subtle: #fdf0e1;
  --bg-glass: rgba(255, 252, 247, 0.9);
  --border-color: #f1d6bd;
  --border-light: rgba(196, 80, 12, 0.15);

  --text-main: #2e1d18;
  --text-muted: #725a50;
  --text-light: #ffffff;
  --text-heading: #4a1010;

  --shadow-sm: 0 4px 12px rgba(92, 20, 20, 0.06);
  --shadow-md: 0 8px 24px rgba(92, 20, 20, 0.09);
  --shadow-lg: 0 16px 40px rgba(92, 20, 20, 0.14);
  --shadow-glow: 0 0 25px rgba(240, 124, 30, 0.32);

  --font-title: 'Cinzel', serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-hindi: 'Yatra One', cursive;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Theme: Divine Gold & Amber */
[data-theme="gold"] {
  --primary: #c27803;
  --primary-hover: #a36300;
  --primary-light: #fff8eb;
  --primary-gradient: linear-gradient(135deg, #d98218 0%, #b86704 100%);
  --secondary: #2c2317;
  --accent: #e59819;
  --accent-glow: rgba(229, 152, 25, 0.35);
  
  --bg-main: #fcfaf7;
  --bg-card: #ffffff;
  --bg-card-subtle: #f8f4ec;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --border-color: #eedcc6;
  --border-light: rgba(194, 120, 3, 0.15);
  
  --text-main: #2b251f;
  --text-muted: #6b6357;
  --text-light: #ffffff;
  --text-heading: #1e1913;
  
  --shadow-sm: 0 4px 12px rgba(44, 35, 23, 0.05);
  --shadow-md: 0 8px 24px rgba(44, 35, 23, 0.08);
  --shadow-lg: 0 16px 40px rgba(44, 35, 23, 0.12);
  --shadow-glow: 0 0 25px rgba(217, 130, 24, 0.3);

  --font-title: 'Cinzel', serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-hindi: 'Yatra One', cursive;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Theme: Peacock & Emerald (Mor Pankh) */
[data-theme="peacock"] {
  --primary: #0a6963;
  --primary-hover: #074e49;
  --primary-light: #e8f7f5;
  --primary-gradient: linear-gradient(135deg, #0e8388 0%, #065446 100%);
  --secondary: #132725;
  --accent: #2ac7a2;
  --accent-glow: rgba(42, 199, 162, 0.35);
  
  --bg-main: #f4faf9;
  --bg-card: #ffffff;
  --bg-card-subtle: #e6f4f2;
  --bg-glass: rgba(255, 255, 255, 0.9);
  --border-color: #cce7e3;
  --border-light: rgba(10, 105, 99, 0.15);
  
  --text-main: #182a28;
  --text-muted: #566f6c;
  --text-heading: #0a1f1d;
  --shadow-glow: 0 0 25px rgba(14, 131, 136, 0.3);
}

/* Theme: Royal Crimson & Lotus Rose */
[data-theme="crimson"] {
  --primary: #96152d;
  --primary-hover: #750e21;
  --primary-light: #fef1f3;
  --primary-gradient: linear-gradient(135deg, #b01c37 0%, #7d0e23 100%);
  --secondary: #261115;
  --accent: #d84561;
  --accent-glow: rgba(216, 69, 97, 0.35);
  
  --bg-main: #fcf6f7;
  --bg-card: #ffffff;
  --bg-card-subtle: #f9e9ec;
  --bg-glass: rgba(255, 255, 255, 0.9);
  --border-color: #f1cfd6;
  --border-light: rgba(150, 21, 45, 0.15);
  
  --text-main: #2b181b;
  --text-muted: #735459;
  --text-heading: #1e0d10;
  --shadow-glow: 0 0 25px rgba(176, 28, 55, 0.3);
}

/* Theme: Midnight Temple (Dark Aesthetic) */
[data-theme="midnight"],
[data-dark="true"] {
  --primary: #f0a92e;
  --primary-hover: #ffbe4d;
  --primary-light: #201a11;
  --primary-gradient: linear-gradient(135deg, #f0a92e 0%, #cf8211 100%);
  --secondary: #e2d7c7;
  --accent: #ffc459;
  --accent-glow: rgba(240, 169, 46, 0.4);
  
  --bg-main: #0c0f16;
  --bg-card: #151a24;
  --bg-card-subtle: #1c2230;
  --bg-glass: rgba(21, 26, 36, 0.88);
  --border-color: #273043;
  --border-light: rgba(240, 169, 46, 0.2);
  
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --text-heading: #ffffff;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(240, 169, 46, 0.35);
}

/* --------------------------------------------------------------------------
   2. Global Resets & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

html.font-small { font-size: 14.5px; }
html.font-large { font-size: 17.5px; }

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--text-heading);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.02em;
}

p {
  margin-bottom: 1rem;
}

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

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

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

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 90px 0;
}

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

/* Section Header Decor */
.section-header {
  margin-bottom: 54px;
}

.sub-badge {
  display: inline-block;
  padding: 6px 18px;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  margin-bottom: 14px;
}

.sub-badge-gold {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(229, 152, 25, 0.15);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.decorative-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 16px auto 22px;
  max-width: 320px;
}

.decorative-separator .line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.decorative-separator .decor-img {
  width: 60px;
  height: auto;
  filter: drop-shadow(0 2px 4px var(--accent-glow));
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto;
}

/* Standard Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff !important;
  box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px var(--accent-glow);
  filter: brightness(1.05);
}

.btn-outline {
  background: transparent;
  color: var(--text-heading) !important;
  border: 2px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   3. Top Announcement Bar
   -------------------------------------------------------------------------- */
.top-announcement-bar {
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.divine-slogan {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.sanskrit-text {
  font-family: var(--font-hindi);
  color: #ffda6b;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.divider {
  opacity: 0.3;
}

.announcement-link {
  color: #ffda6b;
  font-weight: 700;
  text-decoration: underline;
  margin-left: 4px;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-bar-contact a {
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-contact a:hover {
  color: #ffda6b;
}

.top-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 6px;
}

.top-socials a {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
}

.top-socials a:hover {
  background: var(--primary);
  color: #fff;
}

/* --------------------------------------------------------------------------
   4. Sticky Site Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  padding: 4px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}

/* Brand Logo Area */
.brand-logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-logo {
  height: 58px;
  width: auto;
  object-fit: contain;
  /* The logo artwork is white, so give it a maroon badge on light headers */
  padding: 6px 12px;
  border-radius: var(--radius-md);
  background: var(--primary-gradient);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.site-header.scrolled .header-logo {
  height: 48px;
}

.brand-text .brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.brand-text .brand-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
  font-weight: 500;
}

/* Navigation Menu */
.main-navigation .nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 6px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link i {
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}

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

.nav-item:hover .nav-link i {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 0;
  list-style: none;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 100;
}

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

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 500;
}

.dropdown-menu li a i {
  color: var(--primary);
  width: 16px;
  text-align: center;
}

.dropdown-menu li a:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 22px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-donate {
  background: var(--primary-gradient);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-donate:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.mobile-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 38px;
  height: 38px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
}

.mobile-toggle-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-heading);
  border-radius: 2px;
  transition: var(--transition);
}

/* --------------------------------------------------------------------------
   5. Mobile Drawer
   -------------------------------------------------------------------------- */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100vh;
  background: var(--bg-card);
  z-index: 1001;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transition: right 0.35s ease;
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}

.drawer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-logo img {
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: var(--primary-gradient);
  height: 42px;
}

.drawer-logo h4 {
  font-size: 1rem;
  color: var(--primary);
}

.drawer-close {
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

.mobile-nav-list {
  list-style: none;
  padding: 16px 20px;
}

.mobile-nav-list li a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  border-bottom: 1px dashed var(--border-color);
}

.mobile-nav-list li a:hover {
  color: var(--primary);
  padding-left: 8px;
}

.drawer-footer {
  margin-top: auto;
  padding: 24px 20px;
  background: var(--bg-card-subtle);
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.drawer-socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 16px 0;
}

.drawer-socials a {
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
}

.drawer-planet-c {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   6. Hero Carousel Section
   -------------------------------------------------------------------------- */
.hero-carousel-section {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #111;
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s ease-in-out, transform 7s ease-out;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 15, 22, 0.88) 0%, rgba(12, 15, 22, 0.6) 50%, rgba(12, 15, 22, 0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  padding-top: 60px;
  padding-bottom: 60px;
  color: #ffffff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(229, 152, 25, 0.25);
  border: 1px solid rgba(229, 152, 25, 0.6);
  color: #ffda6b;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: 3.4rem;
  color: #ffffff;
  line-height: 1.18;
  margin-bottom: 22px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.hero-desc {
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 34px;
  max-width: 720px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-buttons .btn-outline {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.hero-buttons .btn-outline:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 28px; }
.next-btn { right: 28px; }

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dots .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dots .dot.active {
  background: var(--primary);
  width: 38px;
  border-radius: 8px;
  box-shadow: 0 0 12px var(--accent-glow);
}

/* --------------------------------------------------------------------------
   7. Live Countdown Ticker
   -------------------------------------------------------------------------- */
.live-ticker-section {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  box-shadow: var(--shadow-sm);
}

.ticker-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.ticker-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.live-beacon {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.beacon-circle {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.beacon-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #ef4444;
  letter-spacing: 0.08em;
}

.ticker-info h4 {
  font-size: 1.05rem;
  color: var(--text-heading);
}

.ticker-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Countdown */
.ticker-countdown {
  display: flex;
  align-items: center;
  gap: 8px;
}

.countdown-unit {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  min-width: 54px;
  text-align: center;
}

.countdown-unit .num {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.countdown-unit .lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.countdown-sep {
  font-weight: 800;
  color: var(--primary);
}

.btn-ticker {
  background: var(--primary-gradient);
  color: #ffffff;
  padding: 10px 22px;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px var(--accent-glow);
}

/* --------------------------------------------------------------------------
   8. Pillars Section
   -------------------------------------------------------------------------- */
.pillars-section {
  background: var(--bg-main);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

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

.pillar-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.pillar-card:hover .pillar-img-wrap img {
  transform: scale(1.08);
}

.pillar-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  background: rgba(12, 15, 22, 0.75);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.special-tag {
  background: var(--primary-gradient);
}

.pillar-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pillar-body h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--text-heading);
}

.pillar-body p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.pillar-link {
  background: transparent;
  border: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.pillar-link:hover {
  gap: 12px;
  color: var(--primary-hover);
}

/* --------------------------------------------------------------------------
   9. About Maharaj Ji Feature Section
   -------------------------------------------------------------------------- */
.about-feature-section {
  background: var(--bg-card-subtle);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.about-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.feature-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.main-portrait {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.feature-image-frame:hover .main-portrait {
  transform: scale(1.03);
}

.experience-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--primary-gradient);
  color: #fff;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.experience-badge .badge-num {
  font-size: 2.2rem;
  font-weight: 900;
  display: block;
  line-height: 1;
}

.experience-badge .badge-text {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.temple-origin-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(12, 15, 22, 0.85);
  backdrop-filter: blur(8px);
  color: #ffda6b;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-feature-content-col .feature-headline {
  font-size: 2.6rem;
  margin-bottom: 18px;
}

.tedx-quote {
  position: relative;
  background: var(--bg-card);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 22px 24px 22px 50px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.tedx-quote .quote-icon {
  position: absolute;
  top: 20px;
  left: 18px;
  font-size: 1.4rem;
  color: var(--primary);
  opacity: 0.7;
}

.tedx-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.tedx-quote cite {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.feature-body-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* Stats Counter Grid */
.stats-counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 30px 0;
  padding: 20px 0;
  border-top: 1px dashed var(--border-color);
  border-bottom: 1px dashed var(--border-color);
}

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

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-title);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.feature-cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Identity Cards Row */
.identity-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.identity-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.identity-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.identity-details h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.identity-details p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   10. Events Section
   -------------------------------------------------------------------------- */
.events-section {
  background: var(--bg-main);
}

.event-filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.event-tab-btn {
  padding: 8px 22px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}

.event-tab-btn:hover,
.event-tab-btn.active {
  background: var(--primary-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.event-thumbnail {
  position: relative;
  height: 220px;
}

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

.event-date-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary-gradient);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.event-date-badge .date-day {
  font-size: 1.5rem;
  font-weight: 900;
  display: block;
  line-height: 1;
}

.event-date-badge .date-month {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.event-status-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  background: rgba(12, 15, 22, 0.8);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.event-status-tag.live {
  background: #22c55e;
}

.event-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.event-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.event-summary {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  line-height: 1.6;
  flex-grow: 1;
}

.event-footer {
  display: flex;
  gap: 10px;
}

.btn-event-rsvp {
  flex: 1;
  background: var(--primary-gradient);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px var(--accent-glow);
}

.btn-event-rsvp:hover {
  filter: brightness(1.1);
}

.btn-event-details {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-event-details:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

/* --------------------------------------------------------------------------
   11. Videos Showcase Section
   -------------------------------------------------------------------------- */
.videos-section {
  background: var(--bg-card-subtle);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.video-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.video-thumbnail-box {
  position: relative;
  height: 200px;
  cursor: pointer;
  overflow: hidden;
}

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

.video-card:hover .video-thumbnail-box img {
  transform: scale(1.08);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 18px var(--accent-glow);
  transition: var(--transition);
}

.video-thumbnail-box:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
}

.video-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.video-info {
  padding: 20px;
}

.video-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.video-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
  line-height: 1.35;
}

.video-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.video-channel-btn-box {
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   12. Photo Gallery Section
   -------------------------------------------------------------------------- */
.gallery-section {
  background: var(--bg-main);
}

.gallery-filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.gallery-filter-btn {
  padding: 8px 22px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--primary-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--bg-card);
}

.gallery-img-box {
  position: relative;
  height: 280px;
  overflow: hidden;
}

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

.gallery-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 15, 22, 0.1) 0%, rgba(12, 15, 22, 0.85) 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

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

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

.btn-like {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  border: none;
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-like.liked i {
  color: #ef4444;
}

.btn-zoom {
  align-self: flex-end;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.gallery-caption {
  color: #ffffff;
}

.gallery-caption h5 {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.gallery-caption p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   13. Trust & Seva Sansthan Section
   -------------------------------------------------------------------------- */
.trust-section {
  background: var(--bg-card-subtle);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.trust-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.trust-icon-box {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.trust-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.trust-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
}

.btn-text-link {
  background: transparent;
  border: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-text-link:hover {
  gap: 10px;
  color: var(--primary-hover);
}

/* --------------------------------------------------------------------------
   14. Donation Promo & Calculator Card
   -------------------------------------------------------------------------- */
.donation-promo-section {
  background: var(--bg-main);
}

.donation-card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 50px;
  box-shadow: var(--shadow-md);
}

.donation-content-left h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.donation-content-left p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 28px;
}

.seva-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.preset-btn {
  padding: 10px 20px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.preset-btn:hover,
.preset-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--accent-glow);
}

.custom-amount-wrapper {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.custom-amount-input {
  flex: 1;
  min-width: 180px;
  padding: 12px 18px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-heading);
  font-size: 1.1rem;
  font-weight: 700;
  outline: none;
}

.custom-amount-input:focus {
  border-color: var(--primary);
}

.bank-details-box {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
}

.bank-details-box h4 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-color);
  font-size: 0.92rem;
}

.bank-lbl {
  color: var(--text-muted);
  font-weight: 500;
}

.bank-val {
  font-weight: 700;
  color: var(--text-heading);
  font-family: monospace;
  font-size: 0.96rem;
}

.btn-copy {
  background: transparent;
  border: none;
  color: var(--primary);
  cursor: pointer;
  margin-left: 8px;
}

.tax-exempt-notice {
  margin-top: 20px;
  padding: 12px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-sm);
  color: #15803d;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   15. Newsletter Section
   -------------------------------------------------------------------------- */
.newsletter-section {
  background: var(--primary-gradient);
  color: #ffffff;
  padding: 48px 0;
}

.newsletter-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.newsletter-left {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 600px;
}

.newsletter-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.newsletter-left h3 {
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.newsletter-left p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.newsletter-right {
  flex-grow: 1;
  max-width: 480px;
}

.input-with-button {
  display: flex;
  background: #ffffff;
  border-radius: var(--radius-full);
  padding: 6px 6px 6px 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.input-with-button input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.95rem;
  color: #333;
}

.btn-subscribe {
  background: var(--secondary);
  color: #ffffff;
  border-radius: var(--radius-full);
  padding: 10px 24px;
  font-weight: 700;
  font-size: 0.88rem;
}

/* --------------------------------------------------------------------------
   16. Contact Section
   -------------------------------------------------------------------------- */
.contact-section {
  background: var(--bg-main);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.contact-card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-card-info h5 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.contact-card-info p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.contact-social-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.contact-social-box h6 {
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.social-links-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.s-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  transition: var(--transition);
}

.s-link.fb { background: #1877f2; }
.s-link.tw { background: #000000; }
.s-link.ig { background: #e1306c; }
.s-link.yt { background: #ff0000; }
.s-link.tg { background: #0088cc; }
.s-link.wa { background: #25d366; }

.s-link:hover {
  transform: translateY(-3px) scale(1.08);
}

/* Contact Form Card */
.form-container-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-container-card h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

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

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-heading);
}

.req {
  color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-card-subtle);
  color: var(--text-heading);
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px var(--border-light);
}

/* --------------------------------------------------------------------------
   17. Site Footer & Powered by Planet C
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.footer-top-ornament {
  height: 6px;
  background: var(--primary-gradient);
}

.footer-content {
  padding: 70px 24px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
  gap: 40px;
  margin-bottom: 50px;
}

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

.footer-logo {
  height: 48px;
  filter: brightness(0) invert(1);
}

.footer-brand h4 {
  font-size: 1.25rem;
  color: #ffffff;
}

.footer-bio {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
}

.footer-social-row {
  display: flex;
  gap: 10px;
}

.footer-social-row a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-social-row a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links li a:hover {
  color: #ffda6b;
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-contact-item i {
  color: #ffda6b;
  margin-top: 4px;
}

.footer-timings {
  margin-top: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: #ffda6b;
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer-divider-line {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 24px;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
}

.copyright-text {
  color: rgba(255, 255, 255, 0.75);
}

.copyright-text strong {
  color: #ffffff;
}

/* ==========================================================================
   EXPLICIT REQUIREMENT: "Powered by Planet C"
   ========================================================================== */
.powered-by-planet-c {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.powered-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.planet-c-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 218, 107, 0.4);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  color: #ffda6b !important;
  font-weight: 700;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 16px rgba(255, 218, 107, 0.2);
  transition: var(--transition);
}

.planet-c-badge:hover {
  transform: translateY(-2px);
  border-color: #ffda6b;
  box-shadow: 0 0 24px rgba(255, 218, 107, 0.45);
  color: #ffffff !important;
}

.planet-c-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 218, 107, 0.25) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.planet-c-badge:hover .planet-c-glow {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   18. Theme Switcher Widget & Drawer (USER REQUIREMENT)
   -------------------------------------------------------------------------- */
.theme-switcher-wrapper {
  position: fixed;
  top: 40%;
  right: 0;
  z-index: 1002;
}

.theme-switcher-trigger {
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  color: #ffffff;
  border: none;
  border-radius: 25px 0 0 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: -4px 6px 20px var(--accent-glow);
  position: relative;
  transition: var(--transition);
}

.theme-switcher-trigger:hover {
  width: 58px;
  filter: brightness(1.1);
}

.pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 25px 0 0 25px;
  border: 2px solid var(--primary);
  opacity: 0;
  animation: pulse-ring 2.5s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0; }
  100% { opacity: 0; }
}

.theme-drawer-panel {
  position: fixed;
  top: 0;
  right: -360px;
  width: 340px;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  z-index: 1003;
  display: flex;
  flex-direction: column;
  transition: right 0.35s ease;
  overflow-y: auto;
}

.theme-drawer-panel.open {
  right: 0;
}

.theme-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}

.theme-drawer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
}

.theme-drawer-close {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

.theme-drawer-body {
  padding: 20px;
}

.theme-drawer-intro {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.theme-palettes-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.palette-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
  position: relative;
}

.palette-card:hover,
.palette-card.active {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateX(-4px);
}

.palette-swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.palette-info {
  flex-grow: 1;
}

.palette-name {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-heading);
}

.palette-info small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.palette-check {
  color: var(--primary);
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.palette-card.active .palette-check {
  opacity: 1;
}

.theme-drawer-divider {
  height: 1px;
  background: var(--border-color);
  margin: 20px 0;
}

.drawer-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-toggle-row strong {
  font-size: 0.95rem;
  color: var(--text-heading);
}

.drawer-toggle-row p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Switch Toggle */
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #ccc;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}

input:checked + .slider {
  background-color: var(--primary);
}

input:checked + .slider:before {
  transform: translateX(22px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.font-size-adjuster {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.font-size-adjuster span {
  font-weight: 600;
  font-size: 0.92rem;
}

.font-buttons {
  display: flex;
  gap: 6px;
}

.font-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-heading);
  font-weight: 700;
  cursor: pointer;
}

.font-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.theme-drawer-footer {
  margin-top: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   19. Floating Actions (WhatsApp & Back to Top)
   -------------------------------------------------------------------------- */
.floating-quick-actions {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 998;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
}

.float-wa {
  background: #25d366;
  color: #ffffff;
  font-size: 1.6rem;
}

.float-wa:hover {
  transform: translateY(-3px) scale(1.08);
}

.wa-tooltip {
  position: absolute;
  right: 62px;
  background: rgba(12, 15, 22, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.float-wa:hover .wa-tooltip {
  opacity: 1;
  visibility: visible;
}

.float-top {
  background: var(--bg-card);
  color: var(--text-heading);
  border: 1px solid var(--border-color);
  font-size: 1.1rem;
  opacity: 0;
  visibility: hidden;
}

.float-top.visible {
  opacity: 1;
  visibility: visible;
}

.float-top:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* --------------------------------------------------------------------------
   20. Modal Windows System
   -------------------------------------------------------------------------- */
.site-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.site-modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-dialog.modal-lg {
  max-width: 860px;
}

.site-modal.open .modal-dialog {
  transform: scale(1);
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.modal-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-card-subtle);
}

.modal-title-with-icon {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-title-with-icon i {
  font-size: 1.5rem;
  color: var(--primary);
}

.modal-title-with-icon h3 {
  font-size: 1.25rem;
  margin-bottom: 2px;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  background: var(--bg-card-subtle);
}

.alert-box-info {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #15803d;
  font-size: 0.85rem;
  padding: 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rsvp-success-card {
  text-align: center;
  padding: 20px;
}

.rsvp-success-card .success-icon {
  font-size: 3.5rem;
  color: #22c55e;
  margin-bottom: 12px;
}

.pass-box {
  background: var(--bg-card-subtle);
  border: 2px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 18px 0;
}

.pass-lbl {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pass-code {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.1em;
  font-family: monospace;
}

/* Video Modal */
.video-modal-content {
  background: #000;
}

.video-modal-header {
  background: #111;
  color: #fff;
}

.video-modal-body {
  padding: 0;
}

.responsive-video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.responsive-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Lightbox Modal */
.lightbox-modal {
  padding: 0;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  cursor: pointer;
}

.lightbox-caption {
  color: #fff;
  font-size: 1rem;
  margin-top: 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* UPI QR Box inside Donation Modal */
.upi-qr-box {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 18px;
}

.qr-code-img-wrap {
  width: 96px;
  height: 96px;
  background: #fff;
  padding: 4px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.qr-img {
  width: 100%;
  height: 100%;
}

.qr-text strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-heading);
}

.qr-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.upi-id-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
}

.upi-id-pill button {
  background: transparent;
  border: none;
  color: var(--primary);
  cursor: pointer;
}

.modal-amount-input {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 1.15rem;
  font-weight: 700;
  background: var(--bg-card);
  color: var(--text-heading);
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   21. Toast Notification System
   -------------------------------------------------------------------------- */
.toast-notification {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2100;
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s ease;
  max-width: 380px;
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast-icon {
  font-size: 1.5rem;
  color: var(--primary);
}

.toast-body h5 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.toast-body p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.toast-close {
  background: transparent;
  border: none;
  font-size: 1.3rem;
  color: var(--text-muted);
  cursor: pointer;
  margin-left: auto;
}

/* --------------------------------------------------------------------------
   22. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero-title { font-size: 2.8rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-feature-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-image-frame { max-width: 500px; margin: 0 auto; }
}

@media (max-width: 868px) {
  .main-navigation { display: none; }
  .mobile-toggle-btn { display: flex; }
  .top-announcement-bar { display: none; }
  .hero-title { font-size: 2.2rem; }
  .hero-desc { font-size: 1rem; }
  .ticker-container { flex-direction: column; align-items: flex-start; }
  .donation-card-box { grid-template-columns: 1fr; padding: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-counter-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
  .section-padding { padding: 60px 0; }
  .section-title { font-size: 1.8rem; }
  .hero-title { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .events-grid, .video-grid-wrapper, .gallery-grid, .trust-cards-grid { grid-template-columns: 1fr; }
  .custom-amount-wrapper { flex-direction: column; }
  .custom-amount-wrapper .btn { width: 100%; }
  .input-with-button { flex-direction: column; border-radius: var(--radius-md); padding: 12px; gap: 10px; }
  .btn-subscribe { width: 100%; border-radius: var(--radius-sm); }
}
