/* ==========================================================================
   Dhaneshwar Dayal Bijender Kumar Foundation (DDBK Foundation)
   Design System & Master Stylesheet
   Inspired by Top NGO Portals (Pratham.org) with Modern Aesthetics
   ========================================================================== */

:root {
  /* Brand Palette (derived from official DDBK Logo) */
  --primary-navy: #0e3758;
  --primary-navy-dark: #082136;
  --primary-navy-light: #184e7a;
  
  --brand-green: #2e7d32;
  --brand-green-light: #4caf50;
  --brand-green-dark: #1b5e20;
  --brand-green-subtle: #e8f5e9;

  --brand-gold: #f59e0b;
  --brand-gold-dark: #d97706;
  --brand-gold-subtle: #fef3c7;

  /* Neutral & UI Colors */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --border-color: #e2e8f0;
  --border-light: #edf2f7;

  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #ffffff;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Shadows & Radius */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 25px 50px -12px rgba(14, 55, 88, 0.2);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-main);
  line-height: 1.62;
  font-size: 0.9rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

button {
  cursor: pointer;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

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

@media (max-width: 768px) {
  .section-padding {
    padding: 2.75rem 0;
  }
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.8rem;
  background-color: var(--brand-green-subtle);
  color: var(--brand-green-dark);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.section-tag.gold {
  background-color: var(--brand-gold-subtle);
  color: var(--brand-gold-dark);
}

.section-tag.navy {
  background-color: #e0f2fe;
  color: var(--primary-navy);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.4rem;
  }
}

.section-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* ==========================================================================
   Top Announcement & Contact Bar
   ========================================================================== */
.top-bar {
  background-color: var(--primary-navy-dark);
  color: #cbd5e1;
  font-size: 0.835rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

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

.top-info-item i {
  color: var(--brand-gold);
}

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

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

.top-social-link {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.75rem;
  transition: var(--transition);
}

.top-social-link:hover {
  background: var(--brand-green);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .top-bar-left {
    gap: 0.75rem;
  }
  .top-bar .hide-on-mobile {
    display: none;
  }
}

/* ==========================================================================
   Main Header Navigation
   ========================================================================== */
.main-header {
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  max-width: 1240px;
  margin: 0 auto;
}

.brand-logo-wrap, .navbar-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  line-height: 1;
}

.brand-logo-img, .navbar-brand img {
  width: 175px;
  max-width: 100%;
  height: auto;
  max-height: 60px;
  margin-top: 4px;
  margin-bottom: 4px;
  object-fit: contain;
  display: block;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--primary-navy);
  padding: 0.5rem 0;
  position: relative;
}

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

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-volunteer {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  background-color: transparent;
  color: var(--primary-navy);
  border: 1.5px solid var(--primary-navy);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-volunteer:hover {
  background-color: var(--primary-navy);
  color: #ffffff;
}

.btn-donate {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.65rem 1.45rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition);
}

.btn-donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
  color: #ffffff;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 1.5rem;
  color: var(--primary-navy);
  padding: 0.5rem;
}

@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border-color);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s ease;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .btn-volunteer {
    display: none;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #071f33 0%, #0e3758 60%, #164e63 100%);
  color: #ffffff;
  padding: 5rem 0 6.5rem 0;
  overflow: hidden;
}

.hero-pattern-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-gold);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  color: var(--brand-gold);
  position: relative;
}

.hero-title .highlight-green {
  color: #4ade80;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-primary-glow {
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.5);
  transition: var(--transition);
  font-size: 1.02rem;
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -5px rgba(245, 158, 11, 0.65);
  color: #ffffff;
}

.btn-secondary-outline {
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  backdrop-filter: blur(6px);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: var(--transition);
  font-size: 1.02rem;
}

.btn-secondary-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.hero-image-stack {
  position: relative;
}

.hero-main-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid rgba(255, 255, 255, 0.15);
  background: #000;
}

.hero-main-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-main-card:hover img {
  transform: scale(1.03);
}

.hero-floating-stat {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--bg-surface);
  color: var(--primary-navy);
  padding: 1.15rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border-left: 5px solid var(--brand-green);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 3;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-green-subtle);
  color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.stat-text h4 {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}

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

.hero-floating-tag {
  position: absolute;
  top: -1.25rem;
  right: -1rem;
  background: linear-gradient(135deg, var(--brand-gold) 0%, #ea580c 100%);
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  z-index: 3;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-title {
    font-size: 2.35rem;
  }
  .hero-floating-stat {
    position: static;
    margin-top: 1.5rem;
    display: inline-flex;
  }
}

/* ==========================================================================
   Impact Bar / Quick Numbers
   ========================================================================== */
.impact-strip {
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-xl);
  margin-top: -3.5rem;
  position: relative;
  z-index: 10;
  padding: 2.25rem 2rem;
  border: 1px solid var(--border-light);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  divide-x: 1px solid var(--border-color);
}

.impact-item {
  text-align: center;
  padding: 0 1rem;
}

.impact-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.impact-number.green { color: var(--brand-green); }
.impact-number.gold { color: var(--brand-gold-dark); }

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

@media (max-width: 768px) {
  .impact-strip {
    margin-top: -2rem;
    padding: 1.5rem 1rem;
  }
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* ==========================================================================
   About Foundation Section (Using exact PDF text)
   ========================================================================== */
.about-section {
  background-color: var(--bg-main);
}

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

.about-images-composition {
  position: relative;
}

.composition-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-surface);
}

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

.composition-sub {
  position: absolute;
  bottom: -2.5rem;
  right: -1.5rem;
  width: 60%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--bg-surface);
  background: #ffffff;
}

.composition-sub img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.experience-badge {
  position: absolute;
  top: -1.5rem;
  left: -1rem;
  background: var(--brand-green);
  color: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.experience-badge .years {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

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

.about-content-block p {
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.35rem;
}

.about-quote-box {
  background: var(--bg-surface);
  border-left: 4px solid var(--brand-gold);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
  margin: 1.75rem 0;
  font-style: italic;
  color: var(--primary-navy);
  font-weight: 500;
}

.about-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-surface);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary-navy);
}

.feature-pill i {
  color: var(--brand-green);
  font-size: 1.1rem;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .composition-sub {
    position: static;
    width: 100%;
    margin-top: 1rem;
  }
  .experience-badge {
    position: static;
    margin-bottom: 1rem;
    display: inline-block;
  }
}

/* ==========================================================================
   Three Core Pillars / Initiatives (PDF Content: Education, Environment, Empowerment)
   ========================================================================== */
.pillars-section {
  background-color: var(--bg-surface);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  margin-top: 3.5rem;
}

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

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(14, 55, 88, 0.15);
}

.pillar-media {
  position: relative;
  height: 240px;
  overflow: hidden;
}

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

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

.pillar-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-xs);
}

.pillar-tag.education { background-color: rgba(14, 55, 88, 0.88); }
.pillar-tag.environment { background-color: rgba(46, 125, 50, 0.9); }
.pillar-tag.empowerment { background-color: rgba(217, 119, 6, 0.9); }

.pillar-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pillar-icon-bubble {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-top: -3.5rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--bg-surface);
}

.pillar-icon-bubble.education {
  background: var(--primary-navy);
  color: #ffffff;
}

.pillar-icon-bubble.environment {
  background: var(--brand-green);
  color: #ffffff;
}

.pillar-icon-bubble.empowerment {
  background: var(--brand-gold);
  color: #ffffff;
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.pillar-desc {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.pillar-highlights {
  margin-bottom: 1.5rem;
}

.pillar-highlights li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.45rem;
}

.pillar-highlights li i {
  color: var(--brand-green);
  font-size: 0.85rem;
}

.pillar-btn {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-navy);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition);
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-color);
}

.pillar-btn:hover {
  color: var(--brand-green);
  gap: 0.75rem;
}

@media (max-width: 992px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ==========================================================================
   Vision & Mission Banner (From PDF)
   ========================================================================== */
.vision-section {
  background: linear-gradient(135deg, #0e3758 0%, #082136 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.vision-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-xl);
}

.vision-quote-icon {
  font-size: 3rem;
  color: var(--brand-gold);
  opacity: 0.4;
  margin-bottom: 1rem;
}

.vision-text {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.6;
  color: #f8fafc;
  margin-bottom: 2rem;
}

.vision-author {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
}

.author-info h5 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.author-info p {
  font-size: 0.88rem;
  color: var(--brand-gold);
}

@media (max-width: 768px) {
  .vision-card {
    padding: 2rem 1.5rem;
  }
  .vision-text {
    font-size: 1.2rem;
  }
}

/* ==========================================================================
   Authentic PDF Photo Gallery Section
   ========================================================================== */
.gallery-section {
  background-color: var(--bg-main);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #ffffff;
  cursor: pointer;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.gallery-thumb {
  height: 260px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

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

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(14, 55, 88, 0.9) 0%, rgba(14, 55, 88, 0.2) 60%, transparent 100%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  transition: var(--transition);
}

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

.gallery-caption {
  color: #ffffff;
}

.gallery-caption h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.gallery-caption p {
  font-size: 0.82rem;
  color: #cbd5e1;
}

.gallery-zoom-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(-8px);
  transition: var(--transition);
}

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

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Interactive Donation / Support Calculator
   ========================================================================== */
.donation-section {
  background: linear-gradient(to bottom, #ffffff 0%, #f0fdf4 100%);
  position: relative;
}

.donation-box {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  max-width: 900px;
  margin: 3rem auto 0 auto;
}

.amount-buttons-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.amount-btn {
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-color);
  background: var(--bg-surface);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  transition: var(--transition);
  text-align: center;
}

.amount-btn:hover, .amount-btn.active {
  border-color: var(--brand-green);
  background: var(--brand-green-subtle);
  color: var(--brand-green-dark);
}

.custom-amount-wrap {
  position: relative;
  margin-bottom: 2rem;
}

.custom-amount-input {
  width: 100%;
  padding: 1rem 1.25rem 1rem 3rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-color);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
}

.custom-amount-input:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

.currency-symbol {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-muted);
}

.impact-outcome-badge {
  background: #f0fdf4;
  border-left: 4px solid var(--brand-green);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.98rem;
  color: var(--brand-green-dark);
  font-weight: 600;
}

.tax-benefit-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .donation-box {
    padding: 2rem 1.5rem;
  }
  .amount-buttons-group {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Dual Office & Contact Details (Ghaziabad + CR Park Delhi + 091291 78149)
   ========================================================================== */
.contact-section {
  background-color: var(--bg-main);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  margin-top: 3rem;
}

.office-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.office-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
}

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

.office-card-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: #e0f2fe;
  color: var(--primary-navy);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.office-card-badge.delhi {
  background: var(--brand-green-subtle);
  color: var(--brand-green-dark);
}

.office-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.65rem;
}

.office-address {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
}

.contact-quick-box {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #0a2540 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.phone-highlight-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1rem;
}

.phone-icon-round {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--brand-gold);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.phone-content span {
  font-size: 0.82rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

.phone-content a {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
}

.phone-content a:hover {
  color: var(--brand-gold);
}

/* Contact Form */
.contact-form-box {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.contact-form-box h3 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

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

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #fdfdfd;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--brand-green);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}

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

.btn-submit-form {
  width: 100%;
  padding: 0.95rem;
  border-radius: var(--radius-md);
  background: var(--brand-green);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
  transition: var(--transition);
}

.btn-submit-form:hover {
  background: var(--brand-green-dark);
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .office-cards-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
  background: var(--primary-navy-dark);
  color: #94a3b8;
  padding-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 3.5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  height: 60px;
  width: auto;
  margin-bottom: 1.25rem;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-md);
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.65rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--brand-green);
  border-radius: var(--radius-full);
}

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

.footer-links-list a {
  color: #cbd5e1;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.footer-contact-item i {
  color: var(--brand-gold);
  margin-top: 0.25rem;
  font-size: 1rem;
}

.footer-bottom {
  padding: 1.75rem 0;
  font-size: 0.88rem;
}

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

@media (max-width: 992px) {
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}
@media (max-width: 640px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Modals (Donation & Volunteer)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: all 0.3s ease;
}

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

.modal-header {
  padding: 1.75rem 2rem 1.25rem 2rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.modal-close-btn {
  background: #f1f5f9;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 1.1rem;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: #fee2e2;
  color: #ef4444;
}

.modal-body {
  padding: 2rem;
}

/* Bank Details Table in Modal */
.bank-details-box {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px dashed var(--border-color);
  margin-top: 1.25rem;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.92rem;
  border-bottom: 1px solid #f1f5f9;
}

.bank-row:last-child {
  border-bottom: none;
}

.bank-row .label {
  color: var(--text-muted);
}

.bank-row .val {
  font-weight: 700;
  color: var(--primary-navy);
}

/* Floating Action Buttons (Sticky Quick WhatsApp / Call) */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fab-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.4rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.fab-btn.whatsapp {
  background-color: #25d366;
}

.fab-btn.call {
  background-color: var(--primary-navy);
}

.fab-btn:hover {
  transform: translateY(-3px) scale(1.08);
  color: #ffffff;
}

/* Toast Message */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--primary-navy);
  color: #ffffff;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  font-size: 0.95rem;
  font-weight: 600;
  z-index: 3000;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  opacity: 0;
  pointer-events: none;
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
