/* ==========================================================================
   Abhayam - Exact Logo Color Palette & Colorlib Non-Profit Template
   Logo Colors:
   - Deep Navy / Midnight Indigo (#1D2B4F / #0F172A)
   - Vibrant Warm Red (#DC2626 / #C5221F)
   - Warm Sun Gold (#EAB308)
   - Leaf Green (#16A34A)
   ========================================================================== */

/* ==========================================================================
   Scroll Animations & Interactive Features (All 6 Features)
   ========================================================================== */

/* Feature 1: Top Glowing Scroll Progress Bar */
.scroll-progress-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 100000;
  pointer-events: none;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #DC2626, #EAB308);
  box-shadow: 0 0 10px rgba(234, 179, 8, 0.9), 0 0 6px rgba(220, 38, 38, 0.9);
  transition: width 0.1s ease-out;
}

/* Feature 2 & 5: Scroll-Triggered Section Reveal & Dynamic 3D Card Elevation */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.service-item-box,
.exclusive-card,
.action-banner-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.service-item-box.card-elevated,
.exclusive-card.card-elevated,
.action-banner-card.card-elevated {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
}

/* Feature 3: Timeline Tree Scroll Tracing */
.timeline-tree-list {
  position: relative;
}

.timeline-tree-line-fill {
  position: absolute;
  top: 0;
  left: 8px;
  width: 4px;
  height: 0%;
  background: linear-gradient(180deg, #DC2626 0%, #EAB308 100%);
  box-shadow: 0 0 12px rgba(220, 38, 38, 0.8);
  border-radius: 4px;
  transition: height 0.15s ease-out;
  z-index: 2;
}

/* Feature 6: Back-to-Top Glowing Floating Button */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: #FEF08A;
  border: 1px solid rgba(234, 179, 8, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 16px rgba(234, 179, 8, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.back-to-top:hover {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 15px 35px rgba(220, 38, 38, 0.6), 0 0 25px rgba(239, 68, 68, 0.5);
}
/* ============================================================
   PRELOADER — SPLIT-SCREEN EDITORIAL PREMIUM DESIGN
   Left: Deep Navy with Logo Brand Identity
   Right: Crisp White with Typography & Status
   ============================================================ */

/* ════════════════════════════════════════════
   🎬 PRELOADER — Centered Premium Design
   ════════════════════════════════════════════ */
.welcome-preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 999999;
  background: #FAFAFA;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  overflow: hidden;
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), visibility 0.9s;
}

/* Subtle dot-grid background */
.welcome-preloader::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(220,38,38,0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

/* Red top stripe accent */
.welcome-preloader::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, #DC2626, #EF4444, #EAB308);
}

.welcome-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.welcome-preloader.curtain-up {
  animation: curtainRise 0.9s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}
@keyframes curtainRise {
  0%   { transform: translateY(0);     clip-path: inset(0 0 0 0); }
  100% { transform: translateY(-100%); clip-path: inset(0 0 100% 0); }
}

/* ── Center Container ── */
.preloader-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem;
  animation: preloaderFadeIn 0.6s ease forwards;
}
@keyframes preloaderFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Logo ── */
.pre-logo-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  margin-bottom: 1.25rem;
}

.pre-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 12px;
  box-shadow:
    0 0 0 4px rgba(220,38,38,0.7),
    0 0 0 12px rgba(220,38,38,0.12),
    0 20px 50px rgba(0,0,0,0.12);
  animation: logoBreathe 3s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
@keyframes logoBreathe {
  0%,100% { box-shadow: 0 0 0 4px rgba(220,38,38,0.7), 0 0 0 12px rgba(220,38,38,0.12), 0 20px 50px rgba(0,0,0,0.12); }
  50%      { box-shadow: 0 0 0 6px rgba(220,38,38,0.9), 0 0 0 18px rgba(220,38,38,0.2), 0 24px 60px rgba(220,38,38,0.22); }
}

.pre-logo-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px dashed rgba(220,38,38,0.25);
  animation: ringRotate 8s linear infinite;
}
@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Brand Name ── */
.pre-brand {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.pre-tagline {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: #DC2626;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.3);
  padding: 0.28rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.75rem;
}

/* ── Typewriter ── */
.pre-typewriter {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 2.25rem;
  font-weight: 900;
  color: #0F172A;
  margin: 0 0 1.5rem 0;
  min-height: 2.5rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.pre-typewriter .tw-red {
  color: #DC2626;
  font-weight: 900;
}

.cursor-blink {
  display: inline-block;
  color: #DC2626;
  font-weight: 300;
  margin-left: 2px;
  animation: blinkCursor 0.75s step-end infinite;
}
@keyframes blinkCursor {
  0%,100% { opacity: 1; }
  50%      { opacity: 0; }
}

/* ── Word Pills ── */
.pre-words {
  display: flex;
  flex-direction: row;
  gap: 0.6rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.pre-word {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 900;
  padding: 0.4rem 1.25rem;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(16px);
  letter-spacing: -0.01em;
}

.pre-words.active .pre-word {
  animation: wordPop 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards;
}

.pre-word-1, .pre-words.active .pre-word-1 { background: #FEE2E2; color: #991B1B; }
.pre-words.active .pre-word-1 { animation-delay: 2.2s; }

.pre-word-2, .pre-words.active .pre-word-2 { background: #EFF6FF; color: #1E3A5F; }
.pre-words.active .pre-word-2 { animation-delay: 3.4s; }

.pre-word-3, .pre-words.active .pre-word-3 { background: #F1F5F9; color: #475569; }
.pre-words.active .pre-word-3 { animation-delay: 4.6s; }

.pre-word-red { color: #DC2626; }

@keyframes wordPop {
  from { opacity: 0; transform: translateY(16px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

/* ── Welcome Audio Popup Modal ── */
.welcome-modal-overlay {
  position: absolute;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.5rem;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.welcome-modal-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 2.25rem 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(220, 38, 38, 0.15);
  transform: scale(1);
  animation: popupCardZoom 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popupCardZoom {
  from { opacity: 0; transform: scale(0.85) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-logo-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
  padding: 0.5rem;
  background: #FFF5F5;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.15);
}

.modal-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-title {
  font-family: 'Merriweather', serif;
  font-size: 2.1rem;
  font-weight: 900;
  color: #0F172A;
  margin-bottom: 0.4rem;
}

.modal-sub {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #DC2626;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.modal-desc {
  font-size: 0.9rem;
  color: #64748B;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.welcome-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  margin-top: 0.5rem;
}

.btn-start-welcome {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.95rem 1.5rem;
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.35);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  animation: pulseAudioGlow 2.5s infinite;
}

.btn-start-welcome i {
  font-size: 1.25rem;
  color: #FFFFFF;
  transition: transform 0.3s ease;
}

.btn-start-welcome:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(220, 38, 38, 0.5);
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
}

.btn-start-welcome:hover i {
  transform: scale(1.15);
}

.btn-skip-welcome-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: #F8FAFC;
  color: #475569;
  border: 1.5px solid #E2E8F0;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.925rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-skip-welcome-pill i {
  font-size: 0.8rem;
  color: #94A3B8;
  transition: transform 0.25s ease, color 0.25s ease;
}

.btn-skip-welcome-pill:hover {
  background: #FFFFFF;
  color: var(--color-navy-primary);
  border-color: #CBD5E1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.btn-skip-welcome-pill:hover i {
  transform: translateX(4px);
  color: var(--color-red-primary);
}

/* ── Progress Bar ── */
.pre-progress-wrap {
  width: 100%;
  max-width: 320px;
  animation: fadeSlideUp 0.5s ease 2.4s backwards;
}

.pre-progress-track {
  width: 100%;
  height: 5px;
  background: #E2E8F0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.pre-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #DC2626 0%, #EAB308 60%, #22C55E 100%);
  border-radius: 10px;
  animation: fillProgress 2.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes fillProgress {
  0%   { width: 0%; }
  50%  { width: 60%; }
  100% { width: 100%; }
}

.pre-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  color: #64748B;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 10px #22C55E;
  animation: statusPulse 1.5s infinite ease-in-out;
  flex-shrink: 0;
}
@keyframes statusPulse {
  0%,100% { opacity: 0.4; transform: scale(0.8); }
  50%      { opacity: 1;   transform: scale(1.3); }
}

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

/* ── Word reveal (kept for compatibility) ── */
.word-reveal { display: block; line-height: 1.18; }
.word-reveal > span { display: block; animation: wordFadeIn 0.7s ease both; }
.preloader-title .word-reveal:nth-child(1) > span { animation-delay: 1.3s; }
.preloader-title .word-reveal:nth-child(2) > span { animation-delay: 1.6s; }
.preloader-title .word-reveal:nth-child(3) > span { animation-delay: 1.9s; }
@keyframes wordFadeIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Site Entrance --- */
.site-entrance-anim {
  animation: websiteEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes websiteEntrance {
  0%   { opacity: 0; transform: scale(0.97) translateY(18px); filter: blur(6px); }
  100% { opacity: 1; transform: scale(1)    translateY(0);    filter: blur(0); }
}

/* --- Mobile: stack vertically --- */
@media (max-width: 768px) {
  .welcome-preloader {
    flex-direction: column;
  }
  .preloader-left-panel {
    flex: 0 0 38%;
    padding: 2rem 1rem;
  }
  .preloader-logo-badge {
    width: 85px;
    height: 85px;
    padding: 10px;
  }
  .preloader-brand-name {
    font-size: 1.5rem;
    letter-spacing: 0.15em;
  }
  .preloader-brand-sub {
    font-size: 0.65rem;
  }
  .preloader-right-panel {
    flex: 1;
    border-left: none;
    border-top: 5px solid #DC2626;
    padding: 1.75rem 1.5rem;
    justify-content: center;
  }
  .preloader-title {
    font-size: 2rem;
    line-height: 1.15;
  }
  .preloader-subtitle {
    font-size: 0.88rem;
  }
  .preloader-progress-bar {
    max-width: 100%;
  }
  .preloader-trust-badge {
    font-size: 0.62rem;
  }
}


/* Continuous Horizontal Infinite Ticker Bar */
.horizontal-ticker-wrap {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  padding: 0.9rem 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(234, 179, 8, 0.35);
  border-bottom: 1px solid rgba(234, 179, 8, 0.35);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
  position: relative;
  width: 100%;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  animation: infiniteTicker 28s linear infinite;
  will-change: transform;
}

.horizontal-ticker-wrap:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes infiniteTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #FEF08A;
  text-transform: uppercase;
}

.ticker-track span i {
  color: #EF4444;
  font-size: 1rem;
}

.ticker-bullet {
  color: rgba(255, 255, 255, 0.4) !important;
  font-size: 1.25rem !important;
}







@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Inter:wght@400;500;600;700;800&family=Noto+Sans+Tamil:wght@400;600;700&display=swap');

:root {
  /* Official Logo Color Palette */
  --color-navy-dark: #0F172A;
  --color-navy-primary: #1D2B4F;
  --color-navy-light: #2D3E6B;
  --color-navy-overlay: rgba(29, 43, 79, 0.92);
  
  --color-red-primary: #DC2626;
  --color-red-vibrant: #E52E2E;
  --color-red-hover: #B91C1C;
  --color-red-light: #FEF2F2;

  --color-green-primary: #16A34A;
  --color-green-light: #F0FDF4;

  --color-gold-accent: #EAB308;
  --color-gold-light: #FEFCE8;

  /* Rich Light Section Background Tints */
  --color-bg-white: #FFFFFF;
  --color-bg-cream: #FDFBF7;
  --color-bg-tint-navy: #F0F4F8;
  --color-bg-tint-red: #FFF5F5;
  --color-bg-tint-green: #F4FBF7;
  --color-bg-alt: #F1F5F9;

  --color-text-main: #0F172A;
  --color-text-muted: #334155;
  --color-text-white: #FFFFFF;

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

  --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 40px rgba(15, 23, 42, 0.15);

  --transition-fast: all 0.25s ease;
}

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

html {
  background-color: #0F172A !important;
  min-height: 100% !important;
}

html, body {
  max-width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  color: var(--color-text-main);
  background-color: #FAF9F5 !important;
  line-height: 1.6;
  overflow-x: clip;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Merriweather', Georgia, serif;
}

/* Common Layout & Section Spacing */
.section-padding {
  padding: 3.25rem 0;
}

/* Helper Background Utility Classes */
.bg-white {
  background-color: #FFFFFF !important;
}

.bg-cream, .bg-light {
  background-color: #F8FAFC !important;
}

.bg-navy {
  background-color: #0F172A !important;
  color: #FFFFFF !important;
}

/* Hide Scrollbar Completely Across All Browsers */
html, body {
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important; /* IE and Edge */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

h1, h2, h3 {
  font-family: 'Playfair Display', 'Noto Sans Tamil', serif;
  line-height: 1.15;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header Container Uniformity - Immunize navbar across ALL pages against page overrides */
.site-header .container,
.site-header .nav-container {
  max-width: 1240px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 1.5rem !important;
  box-sizing: border-box !important;
}

/* Header Navbar - Clean White Sticky Header for Full Color Logo */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #E2E8F0;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06);
  padding: 0.15rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-logo img {
  height: 58px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-logo:hover img {
  transform: scale(1.04);
}

.brand-name {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--color-navy-primary);
  display: inline-block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy-primary);
  position: relative;
  padding: 0.25rem 0;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.nav-link.active {
  color: var(--color-red-primary) !important;
}

@media (hover: hover) and (pointer: fine) {
  .nav-link:hover {
    color: var(--color-red-primary);
  }
}

.nav-actions .btn-donate-header {
  background-color: var(--color-red-primary);
  color: var(--color-text-white);
  border: none;
  padding: 0.6rem 1.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
  transition: var(--transition-fast);
}

.nav-actions .btn-donate-header:hover {
  background-color: var(--color-red-hover);
  transform: translateY(-2px);
}

.nav-actions .btn-login-header {
  background-color: var(--color-red-primary) !important;
  color: var(--color-text-white) !important;
  border: none !important;
  padding: 0.6rem 1.4rem !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  border-radius: var(--radius-sm) !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3) !important;
  transition: var(--transition-fast) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  text-decoration: none !important;
}

.nav-actions .btn-login-header:hover {
  background-color: var(--color-red-hover) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.4) !important;
}

@media (min-width: 769px) {
  .mobile-only-link {
    display: none !important;
  }
}




.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-navy-primary);
  cursor: pointer;
}

/* Colorlib Hero Section (Full Viewport Height Coverage) */
.colorlib-hero-section {
  position: relative;
  height: 100vh;
  min-height: 620px;
  padding: 5.5rem 0 4.5rem;
  background-color: #0F172A;
  color: var(--color-text-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
}

/* Background Video Player & Tint Overlay */
.hero-bg-video {
  position: absolute;
  top: calc(50% - 20px);
  left: 50%;
  min-width: 100%;
  min-height: calc(100% + 70px);
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
  opacity: 1;
  pointer-events: none;
}

.hero-desktop-video {
  display: block;
}

.hero-mobile-video {
  display: none;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.55) 45%, rgba(15, 23, 42, 0.12) 100%);
  z-index: 2;
  pointer-events: none;
}

.colorlib-hero-section .container,
.hero-scroll-down-indicator,
.hero-inside-ticker {
  position: relative;
  z-index: 10;
}

/* Animated Hero Scroll Down Prompt & Bottom Ticker */
.hero-scroll-down-indicator {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  z-index: 25;
  transition: var(--transition-fast);
}

/* Sleek Solid Dark Navy Glass Bar Ticker */
.hero-inside-ticker {
  position: absolute;
  bottom: 4.2rem;
  left: 0;
  width: 100%;
  z-index: 30;
  background: rgba(15, 23, 42, 0.88) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(234, 179, 8, 0.4);
  border-bottom: 1px solid rgba(234, 179, 8, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  padding: 0.75rem 0;
  overflow: hidden;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  animation: infiniteTicker 28s linear infinite;
  will-change: transform;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #FEF08A;
  text-transform: uppercase;
}

.ticker-track span i {
  color: #EF4444;
  font-size: 1rem;
}

.ticker-bullet {
  color: rgba(255, 255, 255, 0.4) !important;
  font-size: 1.25rem !important;
}

.hero-scroll-down-indicator:hover {
  color: #FEF08A;
  transform: translateX(-50%) translateY(3px);
}

.scroll-mouse {
  width: 20px;
  height: 30px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  background: #FEF08A;
  border-radius: 4px;
  animation: scrollBounce 1.8s infinite ease-in-out;
}

@keyframes scrollBounce {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.3; }
  100% { transform: translateY(0); opacity: 1; }
}

.scroll-text {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scroll-chevron {
  font-size: 0.75rem;
  animation: chevronBounce 1.5s infinite ease-in-out;
}

@keyframes chevronBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

.hero-bottom-ticker {
  position: absolute;
  bottom: 4.5rem;
  left: 0;
  width: 100%;
  z-index: 30;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(234, 179, 8, 0.35);
  border-bottom: 1px solid rgba(234, 179, 8, 0.35);
  padding: 0.75rem 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.colorlib-hero-content {
  max-width: 740px;
  margin-top: -3rem; /* Moves headline text higher up */
}

.colorlib-hero-title {
  font-family: 'Merriweather', serif;
  font-size: 3.25rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.9);
}

.colorlib-hero-title span.highlight-gold {
  color: #FFD700;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.95);
}

.colorlib-hero-subtitle {
  font-size: 1.15rem;
  color: #FFFFFF;
  font-weight: 500;
  margin-bottom: 2.25rem;
  line-height: 1.7;
  max-width: 720px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* Executive Compact Hero Action Buttons with Shimmer & Pulse Effects */
.btn-colorlib-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  color: var(--color-text-white);
  padding: 0.8rem 1.65rem;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  animation: btnPulseGlow 2.5s infinite ease-in-out;
}

@keyframes btnPulseGlow {
  0%, 100% {
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.45), 0 0 0 0 rgba(220, 38, 38, 0.5);
  }
  50% {
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.75), 0 0 0 10px rgba(220, 38, 38, 0);
  }
}

.btn-colorlib-red:hover {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 32px rgba(220, 38, 38, 0.65);
}

/* Shimmer Light Beam Effect */
.btn-colorlib-red::before,
.btn-colorlib-navy::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  animation: btnShimmer 3s infinite ease-in-out;
  pointer-events: none;
}

@keyframes btnShimmer {
  0% { left: -100%; }
  35% { left: 160%; }
  100% { left: 160%; }
}

.btn-colorlib-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(15, 23, 42, 0.82);
  color: #FFFFFF;
  padding: 0.8rem 1.65rem;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-colorlib-navy:hover {
  background: rgba(29, 43, 79, 0.96);
  border-color: var(--color-gold-accent);
  color: var(--color-gold-accent);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.6), 0 0 15px rgba(234, 179, 8, 0.3);
}



.overlapping-cause-container {
  margin-top: 2.5rem;
  position: relative;
  z-index: 10;
  margin-bottom: 5rem;
}

.overlapping-cause-card {
  background-color: var(--color-bg-white);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.cause-card-content {
  padding: 4.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.cause-card-content .tag-txt {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-red-primary);
  background: var(--color-red-light);
  border: 1px solid rgba(220, 38, 38, 0.2);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  width: fit-content;
  align-self: flex-start;
}

.cause-card-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--color-navy-primary);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.need-feature-box {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--color-bg-cream);
  border-radius: var(--radius-md);
  border: 1px solid #E2E8F0;
  margin-bottom: 1.25rem;
  transition: var(--transition-fast);
}

.need-feature-box:hover {
  border-color: var(--color-red-primary);
  transform: translateX(4px);
}

.need-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-navy-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.need-info h4, .need-info h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy-primary);
  margin-bottom: 0.25rem;
}

.need-action-buttons {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.need-helpline-link {
  color: var(--color-navy-primary);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.need-helpline-link i {
  color: var(--color-red-primary);
}

.need-info p {
  font-size: 0.975rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.cause-card-image-wrap {
  position: relative;
  min-height: 440px;
  background: url('../images/need.jpg') center/cover no-repeat;
}

.cause-floating-pill {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  background: rgba(15, 23, 42, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border-left: 5px solid var(--color-gold-accent);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Colorlib 3-Column Service Icons (Matching Image 4) */
.section-padding {
  padding: 6rem 0;
}

.section-header-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.section-header-center .sub-tag {
  color: var(--color-red-primary);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-header-center h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.75rem;
  color: var(--color-navy-primary);
}

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

.service-item-box {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--color-bg-white);
  border-radius: var(--radius-md);
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-md);
  transition: var(--transition-fast);
}

.service-item-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-red-primary);
}

/* Hero Badge Pill & Trust Bar */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(220, 38, 38, 0.25);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #FEF08A;
  backdrop-filter: blur(8px);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.4rem 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2);
}

.colorlib-hero-buttons {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-trust-bar {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  color: #E2E8F0;
}

.trust-pill i {
  color: var(--color-gold-accent);
}

.service-icon-circle {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  background-color: var(--color-red-light);
  color: var(--color-red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  margin: 0 auto 1.75rem;
}

.service-item-box h3 {
  font-family: 'Times New Roman', Times, 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--color-navy-primary);
  font-weight: 700;
}

.service-item-box p {
  color: var(--color-text-muted);
  font-size: 1.0rem;
  line-height: 1.65;
  letter-spacing: 0.02em;
}

/* Exclusive Senior Citizens Section Styling */
.exclusive-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.exclusive-card {
  background: var(--color-bg-white);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.exclusive-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-navy-primary);
  transition: var(--transition-fast);
}

.exclusive-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(220, 38, 38, 0.3);
}

.exclusive-card:hover::before {
  background: var(--color-red-primary);
}

.exclusive-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.exclusive-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--color-navy-primary);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.exclusive-card p {
  font-size: 0.975rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  letter-spacing: 0.02em;
}

/* Teleconsultation Executive Banner Styling */
.free-banner-box {
  background: linear-gradient(135deg, #1D2B4F 0%, #0F172A 100%) !important;
  color: #FFFFFF !important;
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.free-banner-box h3 {
  color: #FFFFFF !important;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-top: 0.25rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.free-banner-box p {
  color: #E2E8F0 !important;
  font-size: 1.0rem;
  margin-top: 0.35rem;
  max-width: 650px;
  letter-spacing: 0.02em;
}

.teleconsult-banner-box {
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy-primary) 50%, var(--color-red-primary) 100%);
  color: #fff;
  padding: 4rem 3.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.teleconsult-banner-box::after {
  content: '\f0f0';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: -20px;
  bottom: -30px;
  font-size: 15rem;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.teleconsult-banner-header {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  max-width: 750px;
}

.teleconsult-icon-badge {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid var(--color-gold-accent);
  color: var(--color-gold-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.teleconsult-domain-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-gold-accent);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

/* Vision Modern 2-Column Desktop Layout */
.vision-grid-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: stretch;
}

.cause-heading {
  font-family: 'Merriweather', Georgia, serif !important;
  font-weight: 700 !important;
}

@media (min-width: 992px) {
  .vision-grid-section .cause-heading {
    font-family: 'Merriweather', Georgia, serif !important;
    font-size: 2.35rem !important;
    line-height: 1.28 !important;
    font-weight: 700 !important;
    margin-bottom: 1.25rem !important;
  }
}

.vision-left-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF9F5 100%);
  padding: 3.25rem 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid #E2E8F0;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.07);
  overflow: hidden;
  box-sizing: border-box;
  min-width: 0;
}

.vision-left-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #DC2626, #EF4444);
}

.vision-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.vision-value-card {
  background: #FFFFFF;
  padding: 1.5rem 1rem;
  border-radius: 14px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
  text-align: center;
  transition: all 0.25s ease;
}

.vision-value-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-red-primary);
  box-shadow: 0 12px 25px rgba(220, 38, 38, 0.15);
}

.vision-value-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.vision-value-card h4, .vision-value-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy-primary);
  margin-bottom: 0.2rem;
}

.vision-value-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.vision-side-card {
  background: linear-gradient(135deg, var(--color-navy-primary) 0%, var(--color-navy-dark) 100%);
  color: #fff;
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.vision-side-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--color-gold-accent), var(--color-red-primary));
}

/* Executive Action Banner Cards Grid */
.action-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.action-banner-card {
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
  transition: var(--transition-fast);
}

.action-banner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

.action-banner-card.navy {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.action-banner-card.navy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #EAB308, #CA8A04);
}

.action-banner-card.cream {
  background: #FAF9F5;
  border: 1px solid #E2E8F0;
  color: var(--color-navy-primary);
}

.action-banner-card.cream::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #DC2626, #EF4444);
}

.action-card-header {
  margin-bottom: 1.25rem;
}

.action-tag-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #FEF08A;
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.35);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.775rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.action-tag-red {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-red-primary);
  background: var(--color-red-light);
  border: 1px solid rgba(220, 38, 38, 0.2);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.775rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.action-banner-card h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.95rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}

.action-banner-card.navy h3 {
  color: #FFFFFF;
}

.action-banner-card.cream h3 {
  color: var(--color-navy-primary);
}

.action-banner-card p {
  font-size: 1.025rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
}

.action-banner-card.navy p {
  color: #CBD5E1;
}

.action-banner-card.cream p {
  color: #475569;
}

.action-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.action-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.975rem;
  line-height: 1.5;
  color: var(--color-text-main);
  letter-spacing: 0.02em;
}

.action-feature-list li i {
  color: #16A34A;
  font-size: 1.1rem;
  margin-top: 0.15rem;
}

.btn-whatsapp-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  padding: 0.85rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: 50px;
  border: none;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition-fast);
  width: fit-content;
  text-decoration: none;
}

.btn-whatsapp-action:hover {
  background: linear-gradient(135deg, #20BD5A 0%, #0E7569 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
  color: #FFFFFF;
}

.btn-volunteer-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF;
  padding: 0.85rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: 50px;
  border: none;
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
  transition: var(--transition-fast);
  width: fit-content;
  cursor: pointer;
}

.btn-volunteer-action:hover {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(220, 38, 38, 0.55);
}

/* Why Abhayam Exists 2-Column Section */
.why-exists-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.why-pillar-card-left {
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy-primary) 100%);
  color: #fff;
  padding: 3.5rem 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.why-pillar-card-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--color-red-primary), var(--color-gold-accent));
}

.why-pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 1.25rem;
}

.why-pillar-item i {
  font-size: 1.5rem;
  color: var(--color-gold-accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.why-pillar-item h4, .why-pillar-item h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

/* 3D Floating Glass Quick-Contact Bar */
.floating-glass-bar {
  display: none !important;
}

.floating-glass-bar:hover {
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55), 0 0 35px rgba(220, 38, 38, 0.4);
  transform: translateX(-50%) translateY(-3px);
  border-color: rgba(255, 255, 255, 0.4);
}

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

.glass-bar-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #FFFFFF;
  font-size: 0.875rem;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseGreen 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulseGreen {
  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 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.glass-bar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-glass-red {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF !important;
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.45);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-glass-red:hover {
  background: linear-gradient(135deg, #F87171 0%, #EF4444 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.6);
  color: #FFFFFF !important;
}

.btn-glass-green {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-glass-green:hover {
  background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.55);
  color: #FFFFFF !important;
}

.why-pillar-item p {
  font-size: 0.925rem;
  color: #CBD5E1;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.why-impact-card-right {
  background: var(--color-bg-white);
  padding: 3.5rem 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
/* Unified Executive Card with Vertical Connected Timeline Tree */
.about-heritage-wrapper {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid #E2E8F0;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  overflow: hidden;
  align-items: stretch;
}

.about-doctor-profile-side,
.about-timeline-tree-side {
  min-width: 0;
  box-sizing: border-box;
}

.about-doctor-profile-side {
  background: linear-gradient(145deg, var(--color-navy-primary) 0%, var(--color-navy-dark) 100%);
  color: #fff;
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  position: relative;
}

.about-timeline-tree-side {
  padding: 3.5rem 3rem;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-doctor-profile-side::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--color-gold-accent), var(--color-red-primary));
}

.about-heading {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  display: block;
  width: 100%;
  clear: both;
}

.timeline-tree-list {
  position: relative;
  padding-left: 2rem;
  margin-top: 1.5rem;
}

.timeline-tree-list::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  background: #E2E8F0;
  border-radius: 3px;
  z-index: 1;
}

.timeline-tree-line-fill {
  position: absolute;
  top: 10px;
  left: 7px;
  width: 3px;
  height: 0%;
  background: linear-gradient(180deg, #DC2626 0%, #EAB308 100%);
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.7);
  border-radius: 3px;
  transition: height 0.15s ease-out;
  z-index: 2;
}

.timeline-tree-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-tree-item:last-child {
  margin-bottom: 0;
}

.timeline-tree-dot {
  position: absolute;
  left: -2rem;
  top: 4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3.5px solid var(--color-red-primary);
  box-sizing: border-box;
  z-index: 3;
}
  background: #FFFFFF;
  border: 4px solid var(--color-red-primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.timeline-tree-item.navy .timeline-tree-dot {
  border-color: var(--color-navy-primary);
  box-shadow: 0 0 0 3px rgba(29, 43, 79, 0.15);
}

.timeline-tree-item.green .timeline-tree-dot {
  border-color: var(--color-green-primary);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.founder-info-side {
  padding: 4rem 3.5rem;
  background: #FFFFFF;
}

.timeline-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.timeline-milestone-card {
  background: var(--color-bg-cream);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-red-primary);
  border-top: 1px solid #E2E8F0;
  border-right: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  transition: var(--transition-fast);
}

.timeline-milestone-card:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  background: #FFFFFF;
}

.timeline-tag-date {
  font-family: 'Outfit', sans-serif;
  font-size: 0.825rem;
  font-weight: 800;
  color: var(--color-red-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
  display: inline-block;
}

.timeline-milestone-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--color-navy-primary);
  margin-bottom: 0.5rem;
}

.timeline-milestone-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* Policies Section */
.policy-box {
  border: 1px solid #E2E8F0;
  background: var(--color-bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.policy-tabs {
  display: flex;
  background-color: #F1F5F9;
}

.policy-tab {
  flex: 1;
  padding: 1.25rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 3px solid transparent;
}

.policy-tab.active {
  background: var(--color-bg-white);
  border-bottom-color: var(--color-red-primary);
  color: var(--color-red-primary);
}

.policy-content {
  padding: 3rem;
  max-height: 500px;
  overflow-y: auto;
}

.policy-pane {
  display: none;
}

.policy-pane.active {
  display: block;
}

/* Footer */
.site-footer {
  margin-top: auto !important;
  background-color: var(--color-navy-dark) !important;
  color: #94A3B8;
  padding: 3.5rem 0 1rem !important;
  border-top: 4px solid var(--color-red-primary);
  margin-bottom: 0 !important;
}

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

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--color-text-white);
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* Floating FAB */
.fab-helpline {
  display: none !important;
}

.fab-helpline:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 35px rgba(220, 38, 38, 0.7), 0 0 25px rgba(239, 68, 68, 0.6);
  color: #FFFFFF;
}

.fab-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #DC2626;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  animation: pulseIcon 2s infinite ease-in-out;
}

@keyframes pulseIcon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

/* Modals Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.5rem 1rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease-out, visibility 0.16s ease-out;
  will-change: opacity, visibility;
}

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

.modal-card {
  background-color: var(--color-bg-white);
  border-radius: 18px;
  width: 100%;
  max-width: 520px;
  margin: auto 0;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.4);
  position: relative;
  box-sizing: border-box;
  transform: scale(0.97) translateY(6px);
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.modal-close {
  background: #F1F5F9;
  border: none;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--color-navy-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}

.modal-close:hover {
  background: #E2E8F0;
  color: var(--color-red-primary);
  transform: scale(1.05);
}

.modal-body {
  padding: 1.5rem;
}

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

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #CBD5E1;
  border-radius: 4px;
}

/* Comprehensive Mobile & Tablet Sizing Responsiveness */
@media (max-width: 1024px) {
  .vision-grid-section,
  .why-exists-grid,
  .about-heritage-wrapper,
  .overlapping-cause-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .milestone-grid-trio {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .colorlib-hero-title {
    font-size: 2.65rem;
  }

  .about-timeline-tree-side {
    padding: 2.5rem 2rem;
  }
}

/* ── Contact Section Grid (Desktop First) ── */
.contact-section {
  padding-top: 3rem !important;
  padding-bottom: 1.25rem !important;
}

.contact-section .section-header {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.contact-grid-wrap {
  display: grid !important;
  grid-template-columns: 1fr 1.15fr !important;
  gap: 2.5rem !important;
  align-items: start !important;
}

@media (max-width: 992px) {
  .contact-grid-wrap {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

@media (max-width: 768px) {
  /* Mobile Welcome Modal Card Compact Sizing */
  .welcome-modal-card {
    padding: 1.35rem 1.15rem !important;
    max-width: 310px !important;
    border-radius: 20px !important;
  }

  .modal-logo-wrap {
    width: 58px !important;
    height: 58px !important;
    margin-bottom: 0.65rem !important;
    padding: 0.35rem !important;
  }

  .modal-title {
    font-size: 1.75rem !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    margin-bottom: 0.35rem !important;
  }

  .modal-sub {
    font-size: 0.725rem !important;
    margin-bottom: 0.65rem !important;
  }

  .modal-desc {
    font-size: 0.775rem !important;
    margin-bottom: 0.9rem !important;
  }

  .btn-start-welcome {
    padding: 0.8rem 1rem !important;
    font-size: 0.875rem !important;
    border-radius: 50px !important;
  }

  .btn-skip-welcome-pill {
    padding: 0.65rem 1rem !important;
    font-size: 0.825rem !important;
    border-radius: 50px !important;
  }

  .pre-typewriter {
    font-size: 1.85rem !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    margin-bottom: 1.25rem !important;
  }

  .contact-form-row-2col {
    grid-template-columns: 1fr !important;
    gap: 1.15rem !important;
  }
  .contact-form-box {
    padding: 1.5rem 1.25rem !important;
  }

  .section-padding {
    padding: 3.5rem 0 !important;
  }

  .container {
    padding: 0 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .site-header .container,
  .site-header .nav-container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 1rem !important;
    box-sizing: border-box !important;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
  }

  .nav-container {
    padding: 0.5rem 1rem !important;
    min-height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
  }

  .brand-logo {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    flex-shrink: 0 !important;
  }

  .brand-logo img {
    height: 62px !important;
  }

  .brand-name {
    font-size: 1.35rem !important;
  }

  .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    flex-shrink: 0 !important;
  }

  .nav-actions .btn-donate-header {
    padding: 0.45rem 0.85rem !important;
    font-size: 0.775rem !important;
    border-radius: 50px !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3) !important;
  }

  .nav-actions .btn-login-header {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 1.25rem !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
  }

  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100vh - 68px);
    background: linear-gradient(180deg, #0d1527 0%, #15203b 100%);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 2.5rem 1.5rem 3rem 1.5rem;
    gap: 0.75rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  }

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

  .nav-menu .nav-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 320px !important;
    padding: 0.85rem 1.25rem !important;
    color: #F1F5F9 !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    text-align: center !important;
    border-radius: 12px !important;
    transition: all 0.25s ease !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  }

  .nav-menu .nav-link.active {
    color: #FFFFFF !important;
    background: rgba(220, 38, 38, 0.25) !important;
    border-color: rgba(220, 38, 38, 0.5) !important;
    font-weight: 800 !important;
  }

  @media (hover: hover) and (pointer: fine) {
    .nav-menu .nav-link:hover {
      color: #FFFFFF !important;
      background: rgba(220, 38, 38, 0.2) !important;
      border-color: rgba(220, 38, 38, 0.4) !important;
    }
  }

  .nav-menu .nav-link.mobile-only-link {
    margin-top: 1rem !important;
    background: linear-gradient(135deg, var(--color-red-primary) 0%, #B91C1C 100%) !important;
    color: #FFFFFF !important;
    border-bottom: none !important;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.35) !important;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    color: var(--color-navy-primary) !important;
    font-size: 1.35rem !important;
    background: #F1F5F9 !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 10px !important;
    cursor: pointer !important;
  }

  .colorlib-hero-section {
    min-height: 100vh !important;
    height: 100vh !important;
    padding: 4.5rem 1.25rem 2.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: left;
    clip-path: none !important;
    background-color: #0F172A !important;
  }

  .hero-desktop-video {
    display: none !important;
  }

  .hero-mobile-video {
    display: block !important;
    object-position: center top !important;
    min-width: 140% !important;
    min-height: 140% !important;
    width: auto !important;
    height: auto !important;
    transform: translate(-50%, -54%) scale(0.75) !important;
    object-fit: cover !important;
  }

  .hero-video-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.84) 0%, rgba(15, 23, 42, 0.78) 50%, rgba(15, 23, 42, 0.95) 100%) !important;
  }

  .colorlib-hero-content {
    margin-top: 1rem !important;
    max-width: 100% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .hero-badge-pill {
    font-size: 0.725rem !important;
    padding: 0.35rem 0.85rem !important;
    margin-bottom: 0.75rem !important;
  }

  .colorlib-hero-title {
    font-size: 3.85rem !important;
    line-height: 1.08 !important;
    margin-bottom: 0.85rem !important;
    color: #FFFFFF !important;
    font-weight: 800 !important;
    text-shadow: 0 4px 18px #000000, 0 2px 8px #000000, 0 0 25px rgba(0,0,0,0.9) !important;
  }

  .colorlib-hero-subtitle {
    font-size: 0.875rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.25rem !important;
    color: #F8FAFC !important;
    font-weight: 500 !important;
    text-shadow: 0 3px 14px #000000, 0 1px 6px #000000, 0 0 20px rgba(0,0,0,0.9) !important;
  }

  .colorlib-hero-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
    width: 100% !important;
    margin-bottom: 1.25rem !important;
  }

  .floating-glass-bar {
    bottom: 10px !important;
    padding: 0.5rem 0.75rem !important;
    border-radius: 50px !important;
    width: calc(100% - 1.25rem) !important;
  }

  .glass-bar-info {
    display: none !important;
  }

  .glass-bar-content {
    justify-content: center !important;
    width: 100% !important;
  }

  .glass-bar-actions {
    width: 100% !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
  }

  .btn-glass-red,
  .btn-glass-green {
    flex: 1 !important;
    justify-content: center !important;
    padding: 0.6rem 0.65rem !important;
    font-size: 0.775rem !important;
  }

  .hero-trust-bar {
    display: flex !important;
    gap: 0.5rem !important;
    flex-wrap: wrap !important;
  }

  .trust-pill {
    padding: 0.3rem 0.75rem !important;
    font-size: 0.75rem !important;
    background: rgba(15, 23, 42, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
  }

  .overlapping-cause-container {
    margin-top: 2.5rem !important;
    margin-bottom: 2rem !important;
    padding-top: 0 !important;
  }

  .overlapping-cause-card {
    background: #FFFFFF !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
    border: 1px solid #E2E8F0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    position: relative !important;
    overflow: hidden !important;
  }

  .overlapping-cause-card::before {
    display: none !important;
    content: none !important;
  }

  .cause-card-content {
    padding: 1.5rem 1.25rem !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  .cause-card-content .tag-txt {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 0 0.85rem 0 !important;
    align-self: flex-start !important;
    position: relative !important;
    top: 0 !important;
  }

  .cause-heading {
    font-family: 'Merriweather', serif !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    color: var(--color-navy-primary) !important;
    line-height: 1.3 !important;
    margin-bottom: 1.15rem !important;
    text-align: left !important;
  }

  .about-heading {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.65rem !important;
    display: block !important;
    clear: both !important;
    width: 100% !important;
    margin-top: 0.25rem !important;
  }

  .action-banner-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 1.5rem !important;
  }

  .action-banner-card {
    padding: 1.85rem 1.25rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .why-pillar-card-left,
  .why-impact-card-right {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 2rem 1.25rem !important;
    border-radius: var(--radius-md) !important;
  }

  .need-feature-box {
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    border-left: 4px solid var(--color-navy-primary) !important;
    border-radius: 10px !important;
    padding: 1rem !important;
    display: flex !important;
    gap: 0.85rem !important;
    align-items: flex-start !important;
    margin-bottom: 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .need-feature-box:nth-child(2) {
    background: #FFF5F5 !important;
    border-left-color: var(--color-red-primary) !important;
  }

  .need-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
  }

  .need-info h4, .need-info h3 {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--color-navy-primary) !important;
    margin-bottom: 0.25rem !important;
  }

  .need-info p {
    font-size: 0.85rem !important;
    line-height: 1.55 !important;
    color: var(--color-text-main) !important;
  }

  .colorlib-hero-title {
    font-size: 1.6rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.85rem !important;
    text-shadow: 0 3px 12px #000000, 0 1px 4px #000000 !important;
  }

  .colorlib-hero-subtitle {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.35rem !important;
    text-shadow: 0 2px 8px #000000, 0 1px 3px #000000 !important;
    font-weight: 600 !important;
  }

  .fab-helpline {
    display: none !important;
  }

  .colorlib-hero-buttons {
    flex-direction: column;
    width: 100% !important;
    gap: 0.75rem;
  }

  .colorlib-hero-buttons .btn-colorlib-red,
  .colorlib-hero-buttons .btn-colorlib-navy {
    width: 100% !important;
    justify-content: center;
    padding: 0.65rem 1.25rem !important;
    font-size: 0.85rem !important;
  }

  /* All Grids & Cards Forced 1 Column Stack on Mobile */
  .why-exists-grid,
  .overlapping-cause-card,
  .about-heritage-wrapper,
  .milestone-grid-trio,
  .services-three-grid,
  .exclusive-cards-grid,
  .vision-grid-section,
  .vision-value-grid,
  .founder-stat-grid,
  .about-stats-trio,
  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 1.25rem !important;
  }

  .need-action-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 0.85rem !important;
    margin-top: 1.25rem !important;
  }

  .need-action-buttons .btn-colorlib-red {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .need-helpline-link {
    justify-content: center !important;
    text-align: center !important;
    padding: 0.5rem 0 !important;
  }

  /* Ultra-Attractive Mobile Need Section Card */
  .overlapping-cause-container {
    margin-top: 1rem !important;
    margin-bottom: 2rem !important;
    padding: 0 0.85rem !important;
  }

  .overlapping-cause-card {
    background: linear-gradient(180deg, #FFFFFF 0%, #FAF9F5 100%) !important;
    border-radius: 20px !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08) !important;
    padding: 0 !important;
    overflow: hidden !important;
    position: relative !important;
  }

  .overlapping-cause-card::before {
    display: block !important;
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 5px !important;
    background: linear-gradient(90deg, #DC2626 0%, #EF4444 100%) !important;
    z-index: 10 !important;
  }

  .cause-card-content {
    padding: 1.75rem 1.25rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .tag-txt {
    background: linear-gradient(135deg, rgba(220,38,38,0.08), rgba(220,38,38,0.15)) !important;
    color: var(--color-red-primary) !important;
    border: 1px solid rgba(220,38,38,0.25) !important;
    border-radius: 50px !important;
    padding: 0.4rem 0.95rem !important;
    font-size: 0.775rem !important;
    font-weight: 800 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-bottom: 1rem !important;
  }

  .cause-heading {
    font-family: 'Merriweather', Georgia, serif !important;
    font-size: 1.45rem !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    color: var(--color-navy-primary) !important;
    margin-bottom: 1.25rem !important;
  }

  .need-feature-box {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-left: 4px solid var(--color-navy-primary) !important;
    border-radius: 14px !important;
    padding: 1.15rem 1rem !important;
    display: flex !important;
    gap: 0.85rem !important;
    align-items: flex-start !important;
    margin-bottom: 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03) !important;
  }

  .need-feature-box:nth-child(2) {
    background: #FFF5F5 !important;
    border-left-color: var(--color-red-primary) !important;
  }

  .need-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: var(--color-navy-primary) !important;
    color: #FFFFFF !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.1rem !important;
    flex-shrink: 0 !important;
  }

  .need-feature-box:nth-child(2) .need-icon {
    background: var(--color-red-primary) !important;
  }

  .need-info h4, .need-info h3 {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--color-navy-primary) !important;
    margin-bottom: 0.35rem !important;
  }

  .need-info p {
    font-size: 0.835rem !important;
    line-height: 1.55 !important;
    color: #475569 !important;
    margin: 0 !important;
  }

  .need-action-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
    width: 100% !important;
    margin-top: 1.35rem !important;
  }

  .need-action-buttons .btn-colorlib-red {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.8rem 1.25rem !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.35) !important;
    text-decoration: none !important;
  }

  .need-helpline-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    color: var(--color-navy-primary) !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    padding: 0.6rem 1rem !important;
    border-radius: 50px !important;
    background: rgba(15, 23, 42, 0.04) !important;
    border: 1px solid #E2E8F0 !important;
    text-decoration: none !important;
  }

  .about-doctor-avatar {
    width: 100px !important;
    height: 100px !important;
  }

  .about-doctor-avatar i {
    font-size: 3rem !important;
  }

  .timeline-tree-list {
    position: relative !important;
    padding-left: 1.85rem !important;
  }

  .timeline-tree-list::before,
  .timeline-tree-line-fill {
    left: 7px !important;
    width: 3px !important;
  }

  .timeline-tree-dot {
    left: -1.85rem !important;
    width: 17px !important;
    height: 17px !important;
    box-sizing: border-box !important;
  }

  .free-banner-box,
  .teleconsult-banner-box {
    padding: 1.5rem 1.15rem !important;
    flex-direction: column;
    text-align: center;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .free-banner-box > div,
  .teleconsult-banner-box > div {
    flex-direction: column;
    width: 100% !important;
  }

  .teleconsult-banner-header {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1.25rem !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .teleconsult-icon-badge {
    width: 64px !important;
    height: 64px !important;
    font-size: 1.75rem !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .teleconsult-text-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .teleconsult-domain-tag {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    font-size: 0.775rem !important;
    margin: 0 auto 0.4rem auto !important;
    text-align: center !important;
  }

  .free-banner-box h3,
  .teleconsult-banner-box h3 {
    font-size: 1.35rem !important;
  }

  .free-banner-box button,
  .teleconsult-banner-box a,
  .teleconsult-banner-box button {
    width: 100% !important;
    justify-content: center;
  }

  .fab-helpline {
    bottom: 0.75rem !important;
    right: 50% !important;
    transform: translateX(50%) !important;
    padding: 0.65rem 1.25rem !important;
    font-size: 0.8rem !important;
    white-space: nowrap !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3) !important;
  }

  /* Comprehensive Mobile Typography Optimization (Excluding Hero Title) */
  h2,
  .cause-heading,
  .about-heading,
  .section-header-center h2,
  .vision-grid-section .cause-heading,
  #vision .cause-heading,
  #need .cause-heading,
  #how-it-works h2,
  #trust h2,
  .action-card-header h3,
  .why-pillar-card-left h3,
  .why-impact-card-right h3 {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.75rem !important;
  }

  h3,
  .action-banner-card h3,
  .free-banner-box h3,
  .teleconsult-banner-box h3,
  .exclusive-card h3,
  .need-info h4, .need-info h3 {
    font-size: 1.15rem !important;
    line-height: 1.35 !important;
  }

  p,
  .section-header-center p,
  .cause-card-content p,
  .need-info p,
  .action-banner-card p,
  .free-banner-box p {
    font-size: 0.85rem !important;
    line-height: 1.55 !important;
  }

  .sub-tag,
  .action-tag-red,
  .action-tag-gold,
  .tag-txt {
    font-size: 0.725rem !important;
    padding: 0.3rem 0.75rem !important;
    letter-spacing: 0.05em !important;
  }

  .section-padding {
    padding: 3.5rem 0 !important;
  }

  .vision-left-content,
  .action-banner-card,
  .free-banner-box,
  .teleconsult-banner-box,
  .about-timeline-tree-side {
    padding: 1.5rem 1.15rem !important;
  }

  /* ── Inter-section & inter-card spacing ── */
  .overlapping-cause-container,
  .vision-grid,
  .about-content-wrap,
  .why-grid,
  .action-banner-grid,
  .service-grid,
  .timeline-wrap {
    margin-bottom: 2.5rem !important;
  }

  .need-feature-box,
  .service-card,
  .why-pillar-card-left,
  .why-impact-card-right,
  .about-timeline-item {
    margin-bottom: 1.25rem !important;
  }

  .cause-card-content,
  .vision-left-content,
  .about-content-block {
    margin-bottom: 2rem !important;
  }

}



/* ═══════════════════════════════════════════
   📱 MOBILE PREMIUM REDESIGN — Need Section
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {

  .overlapping-cause-container {
    padding: 0 1rem !important;
    margin-top: 2.5rem !important;
  }

  .overlapping-cause-card {
    display: flex !important;
    flex-direction: column !important;
    background: transparent !important;
    border-radius: 20px !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  .cause-card-image-wrap {
    display: none !important;
  }

  .cause-card-content {
    padding: 1.75rem 1.25rem 1.5rem !important;
    background: linear-gradient(160deg, #fff 0%, #FFF5F5 100%) !important;
    border-radius: 20px !important;
    border: 1.5px solid rgba(220,38,38,0.12) !important;
    box-shadow: 0 8px 32px rgba(220,38,38,0.08) !important;
    position: relative !important;
    overflow: hidden !important;
  }

  .cause-card-content::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #DC2626, #EF4444, #EAB308);
    border-radius: 20px 20px 0 0;
  }

  .tag-txt {
    background: linear-gradient(135deg, #FEE2E2, #FEF3C7) !important;
    color: #B91C1C !important;
    border: 1px solid rgba(220,38,38,0.25) !important;
    border-radius: 50px !important;
    padding: 0.4rem 1rem !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.1em !important;
    margin-bottom: 1rem !important;
  }

  .cause-heading {
    font-size: 1.55rem !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    color: #0F172A !important;
    margin-bottom: 1.5rem !important;
    text-align: center !important;
    letter-spacing: -0.02em !important;
  }

  .need-feature-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    background: #FFFFFF !important;
    border-radius: 16px !important;
    padding: 1.5rem 1.25rem !important;
    margin-bottom: 1rem !important;
    border: 1px solid rgba(220,38,38,0.08) !important;
    box-shadow: 0 4px 20px rgba(15,23,42,0.06) !important;
    gap: 0.85rem !important;
  }

  .need-icon {
    width: 64px !important;
    height: 64px !important;
    border-radius: 18px !important;
    font-size: 1.6rem !important;
    box-shadow: 0 8px 20px rgba(15,23,42,0.2) !important;
  }

  .need-feature-box:nth-child(odd) .need-icon {
    background: linear-gradient(135deg, #1E3A5F, #0F172A) !important;
  }
  .need-feature-box:nth-child(even) .need-icon {
    background: linear-gradient(135deg, #DC2626, #EF4444) !important;
  }

  .need-info h4, .need-info h3 {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    margin-bottom: 0.45rem !important;
    text-align: center !important;
  }

  .need-info p {
    font-size: 0.87rem !important;
    color: #64748B !important;
    line-height: 1.6 !important;
    text-align: center !important;
    margin: 0 !important;
  }

  .need-action-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    margin-top: 1.5rem !important;
    align-items: stretch !important;
  }

  .need-action-buttons .btn-colorlib-red {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 0.9rem 1.5rem !important;
    font-size: 0.92rem !important;
    border-radius: 50px !important;
    background: linear-gradient(135deg, #DC2626, #EF4444) !important;
    box-shadow: 0 8px 24px rgba(220,38,38,0.35) !important;
  }

  .need-helpline-link {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 0.9rem 1.5rem !important;
    font-size: 0.92rem !important;
    border-radius: 50px !important;
    background: #0F172A !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(15,23,42,0.25) !important;
  }
}

/* ═══════════════════════════════════════════════
   🎬 SCROLL SLIDE-IN ANIMATIONS (Left ↔ Right)
   ═══════════════════════════════════════════════ */

/* Initial hidden states */
.slide-from-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-from-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Triggered state — slides to natural position */
.slide-in-section.slide-visible {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .slide-from-left,
  .slide-from-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ═══════════════════════════════════════════════
   👆 GLOBAL HAND SYMBOL POINTER CURSOR FOR ALL BUTTONS
   ═══════════════════════════════════════════════ */
a,
button,
.btn-colorlib-red,
.btn-colorlib-navy,
.btn-donate-header,
.btn-whatsapp-action,
.btn-volunteer-action,
[data-modal-target],
.need-helpline-link,
.hero-scroll-down-indicator,
.nav-link,
.brand-logo,
.modal-close {
  cursor: pointer !important;
}



/* ═══════════════════════════════════════════════
   💥 BUTTON CLICK PRESS SHRINK & RIPPLE WAVE EFFECT
   ═══════════════════════════════════════════════ */
button:active,
a.btn-colorlib-red:active,
a.btn-colorlib-navy:active,
button.btn-colorlib-red:active,
button.btn-colorlib-navy:active,
.btn-donate-header:active,
.btn-volunteer-action:active,
.btn-whatsapp-action:active {
  transform: scale(0.93) translateY(2px) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
  transition: transform 0.06s cubic-bezier(0.2, 0, 0.1, 1), box-shadow 0.06s ease !important;
}

/* Ripple wave container */
.btn-colorlib-red,
.btn-colorlib-navy,
.btn-donate-header,
.btn-volunteer-action,
.btn-whatsapp-action {
  position: relative;
  overflow: hidden;
}

.click-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transform: scale(0);
  animation: rippleWave 0.55s ease-out forwards;
  pointer-events: none;
}

@keyframes rippleWave {
  to {
    transform: scale(3.5);
    opacity: 0;
  }
}





@media (max-width: 768px) {
  .directory-container-row {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}


/* Premium Home Directory Styles */
.directory-block-card:hover {
  transform: translateY(-5px);
  border-color: rgba(220, 38, 38, 0.15) !important;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08) !important;
}
.directory-list-item:hover {
  background: #FFFFFF !important;
  border-color: rgba(220, 38, 38, 0.15) !important;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04) !important;
}
.dir-call-btn:hover {
  background: var(--color-navy-primary) !important;
  color: #FFFFFF !important;
  border-color: var(--color-navy-primary) !important;
  box-shadow: 0 4px 10px rgba(29, 43, 79, 0.15);
  transform: translateY(-1px);
}
.dir-call-btn:hover i {
  color: var(--color-gold-accent) !important;
}
@media (max-width: 991px) {
  .directory-flex-row {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}


/* Interactive Tabbed Directory Styles */
.dir-tab-btn:hover {
  border-color: var(--color-red-primary) !important;
  color: var(--color-red-primary) !important;
}
.dir-item-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.02);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.dir-item-card:hover {
  transform: translateY(-5px);
  border-color: rgba(220, 38, 38, 0.15);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
}
.dir-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.dir-avatar {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(220, 38, 38, 0.08);
  color: var(--color-red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.dir-item-card:hover .dir-avatar {
  background: var(--color-red-primary);
  color: #FFFFFF;
  transform: scale(1.05);
}
.dir-item-card h3 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.125rem;
  color: var(--color-navy-primary);
  margin: 0;
  font-weight: 700;
  line-height: 1.4;
}
.dir-item-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.dir-btn-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.dir-action-btn {
  background: #FAF9F5;
  color: var(--color-navy-primary);
  text-decoration: none;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid rgba(29, 43, 79, 0.08);
  transition: all 0.2s ease;
}
.dir-action-btn i {
  color: var(--color-red-primary);
  transition: color 0.2s ease;
}
.dir-action-btn:hover {
  background: var(--color-navy-primary) !important;
  color: #FFFFFF !important;
  border-color: var(--color-navy-primary) !important;
  box-shadow: 0 4px 10px rgba(29, 43, 79, 0.12);
}
.dir-action-btn:hover i {
  color: var(--color-gold-accent) !important;
}


/* Directory Tab Nav Layout */
.directory-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.dir-tab-btn {
  background: #FFFFFF;
  color: var(--color-navy-primary);
  border: 1px solid rgba(29, 43, 79, 0.1);
  padding: 0.95rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  font-family: 'Outfit', sans-serif;
}

.dir-tab-btn i {
  font-size: 1.15rem;
}

/* Directory Cards Grid */
.directory-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Responsive Mobile Rules for Directories */
@media (max-width: 768px) {
  .directory-tabs-nav {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0 1rem;
  }
  .dir-tab-btn {
    width: 100% !important;
    justify-content: center !important;
    font-size: 0.95rem;
    padding: 0.85rem 1.5rem;
  }
  .directory-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    padding: 0 0.5rem;
  }
  .dir-item-card {
    padding: 1.5rem 1.25rem !important;
  }
}


/* Specificity Fixes for Active Tab Buttons */
.dir-tab-btn:hover {
  border-color: var(--color-red-primary) !important;
  color: var(--color-red-primary) !important;
  background: #FFFFFF !important;
}

.dir-tab-btn.active, 
.dir-tab-btn.active:hover {
  background: var(--color-red-primary) !important;
  color: #FFFFFF !important;
  border-color: var(--color-red-primary) !important;
  box-shadow: 0 10px 20px rgba(220, 38, 38, 0.15) !important;
}

.dir-tab-btn.active i, 
.dir-tab-btn.active:hover i {
  color: #FFFFFF !important;
}

.directory-cards-grid.dir-pane-hidden {
  display: none !important;
}

@media (min-width: 992px) and (max-width: 1280px) {
  .nav-menu {
    gap: 1.15rem !important;
  }
  .nav-link {
    font-size: 0.875rem !important;
  }
}

/* ==========================================================================
   Policy Pages (Terms, Privacy, Refund) Uniform Header & Tabs
   ========================================================================== */
.policy-header-banner {
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy-primary) 100%);
  color: #FFFFFF;
  padding: 3.25rem 0 2.75rem;
  text-align: center;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.policy-header-container {
  max-width: 960px !important;
  margin: 0 auto !important;
  padding: 0 1.5rem !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.policy-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-gold-accent);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.28);
  padding: 0.35rem 0.95rem;
  border-radius: 50px;
}

.policy-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.35rem;
  color: #FFFFFF;
  margin: 0 0 0.65rem;
  font-weight: 700;
  line-height: 1.25;
}

.policy-subtitle {
  font-size: 1.05rem;
  color: #CBD5E1;
  max-width: 720px;
  margin: 0 auto 1.85rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.policy-tabs-nav {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 0.35rem;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.policy-tab-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #E2E8F0;
  text-decoration: none;
  transition: all 0.25s ease;
}

.policy-tab-item:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.15);
}

.policy-tab-item.active {
  background: var(--color-gold-accent);
  color: #0F172A;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.35);
}

.policy-content-card {
  background: var(--color-bg-cream);
  border: 1px solid #E2E8F0;
  padding: 2.75rem 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

@media (max-width: 768px) {
  .policy-header-banner {
    padding: 2.25rem 0 1.75rem;
  }
  .policy-title {
    font-size: 1.65rem !important;
    line-height: 1.3 !important;
  }
  .policy-subtitle {
    font-size: 0.9rem !important;
    margin-bottom: 1.25rem;
  }
  .policy-tabs-nav {
    width: 100%;
    border-radius: 16px;
    padding: 0.3rem;
    gap: 0.3rem;
  }
  .policy-tab-item {
    width: 100%;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    font-size: 0.825rem;
    border-radius: 10px;
  }
  .policy-content-card {
    padding: 1.5rem 1.15rem !important;
    border-radius: 14px;
  }
}

/* ==========================================================================
   Donation Modal & Razorpay Checkout Form Styles
   ========================================================================== */
.donate-modal-card {
  max-width: 500px !important;
  width: 92% !important;
  max-height: 92vh !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25) !important;
}

.donate-chip {
  background: #F1F5F9;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  padding: 0.6rem 0.25rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-navy-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  font-family: inherit;
}

.donate-chip:hover {
  border-color: var(--color-red-primary);
  color: var(--color-red-primary);
  background: #FEF2F2;
}

.donate-chip.active {
  background: var(--color-red-primary) !important;
  border-color: var(--color-red-primary) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3) !important;
}

#customDonateAmount:focus,
#donorName:focus,
#donorPhone:focus,
#donorEmail:focus,
#donorPurpose:focus {
  border-color: var(--color-red-primary) !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}

.donate-donor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

@media (max-width: 600px) {
  .modal-overlay {
    padding: 0.75rem 0.5rem !important;
    align-items: flex-start !important;
  }
  .modal-card {
    margin: 0.35rem 0 1.5rem 0 !important;
    border-radius: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .donate-modal-card {
    width: 100% !important;
    padding: 0 !important;
  }
  .modal-header {
    padding: 1rem 1.15rem !important;
  }
  .donate-modal-title {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
  }
  .modal-body {
    padding: 1.15rem !important;
  }
  .donate-amount-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.35rem !important;
  }
  .donate-chip {
    padding: 0.55rem 0.2rem !important;
    font-size: 0.825rem !important;
  }
  .donate-donor-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  .donate-modal-card input:not(#customDonateAmount),
  .donate-modal-card select {
    font-size: 16px !important;
    padding: 0.65rem 0.85rem !important;
  }
  .donate-modal-card #customDonateAmount {
    font-size: 1.15rem !important;
    padding: 0.75rem 1rem 0.75rem 2.75rem !important;
  }
}

.donate-amount-input-wrap {
  position: relative;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
}

.donate-currency-symbol {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 800;
  color: var(--color-navy-primary);
  font-size: 1.15rem;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  z-index: 2;
}

.donate-modal-card #customDonateAmount,
#customDonateAmount {
  width: 100% !important;
  padding: 0.75rem 1rem 0.75rem 2.75rem !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 10px !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: var(--color-navy-primary) !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#customDonateAmount:focus {
  border-color: var(--color-red-primary) !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}

@media (max-width: 360px) {
  .donate-amount-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.45rem !important;
  }
  .donate-chip {
    padding: 0.6rem 0.35rem !important;
    font-size: 0.875rem !important;
  }
}

/* Instant Tap & Mobile Performance Optimization */
.btn-donate-header,
[data-modal-target],
.donate-chip,
#btnRazorpaySubmit,
.modal-close,
.btn-colorlib-red,
.btn-colorlib-navy {
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent !important;
}

@media (max-width: 768px) {
  .modal-overlay {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: rgba(15, 23, 42, 0.88) !important;
  }
}

/* Clickable Contact Cards */
.helpline-card-clickable, 
.email-card-clickable {
  text-decoration: none !important;
  display: block !important;
  cursor: pointer !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent !important;
}

.helpline-card-clickable:active,
.email-card-clickable:active {
  transform: scale(0.985) !important;
}
