/* ==========================================================================
   SARASWATI KENDRA NEPAL - DESIGN SYSTEM & STYLESHEET
   Domain: saraswatikendranepal.org.np
   Aesthetics: Vibrant, Premium, Responsive NGO Portal with Glassmorphism
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* --- Root CSS Variables (Theme Design System) --- */
:root {
  /* Primary Color Palette */
  --primary-navy: #0f172a;
  --primary-blue: #1e40af;
  --primary-blue-light: #3b82f6;
  --accent-saffron: #d97706;
  --accent-saffron-light: #f59e0b;
  --accent-crimson: #dc2626;
  --emerald-green: #059669;
  --emerald-light: #10b981;
  
  /* Neutral Colors (Light Theme) */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.85);
  --border-color: #e2e8f0;
  --border-glow: rgba(59, 130, 246, 0.25);
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Shadows & Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
  
  /* Radius & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Dark Theme Overrides --- */
[data-theme="dark"] {
  --bg-main: #0b0f19;
  --bg-surface: #131b2e;
  --bg-surface-elevated: #1e293b;
  --bg-card: rgba(19, 27, 46, 0.85);
  --border-color: #1e293b;
  --border-glow: rgba(59, 130, 246, 0.4);
  
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-light: #94a3b8;
  
  --glass-bg: rgba(19, 27, 46, 0.85);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
}

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

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

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

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

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

a:hover {
  color: var(--accent-saffron);
}

ul {
  list-style: none;
}

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

/* --- Container Utility --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Section Utilities --- */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-title-wrap {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-saffron);
  background: rgba(217, 119, 6, 0.12);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* --- Glassmorphism Card Utility --- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.15);
}

/* --- Button Component System --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-saffron) 0%, #b45309 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(217, 119, 6, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-saffron-light) 0%, var(--accent-saffron) 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -4px rgba(217, 119, 6, 0.5);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #1e3a8a 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(30, 64, 175, 0.4);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--primary-blue) 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -4px rgba(30, 64, 175, 0.5);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary-blue-light);
  background: rgba(59, 130, 246, 0.08);
  color: var(--primary-blue-light);
}

.btn-emerald {
  background: linear-gradient(135deg, var(--emerald-green) 0%, #047857 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(5, 150, 105, 0.4);
}

.btn-emerald:hover {
  background: linear-gradient(135deg, var(--emerald-light) 0%, var(--emerald-green) 100%);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
}

/* --- Top Announcement Header Bar --- */
.top-bar {
  background: var(--primary-navy);
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
}

.top-bar-item a {
  color: #cbd5e1;
}

.top-bar-item a:hover {
  color: var(--accent-saffron-light);
}

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

.fb-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.8rem;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.fb-badge:hover {
  background: rgba(59, 130, 246, 0.4);
  color: #ffffff;
}

.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(15deg);
}

/* --- Main Navigation Header --- */
.navbar-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-saffron);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

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

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

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

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

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  padding: 0.4rem 0.2rem;
  position: relative;
}

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

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

.nav-link:hover {
  color: var(--accent-saffron);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem 0;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 64, 175, 0.82) 100%),
              url('../assets/gallary/slide.jpg') center/cover no-repeat;
  color: #ffffff;
}

.hero-overlay-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.shape-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(40px);
}

.shape-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  right: -100px;
}

.shape-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -50px;
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-text-side {
  max-width: 680px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fef08a;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.hero-title span {
  background: linear-gradient(135deg, #fde047 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.2rem;
  color: #e2e8f0;
  margin-bottom: 2rem;
  line-height: 1.65;
}

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

.hero-card-side {
  position: relative;
}

.hero-glass-box {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  color: #ffffff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.hero-box-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-box-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-saffron);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
}

.hero-box-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.hero-box-subtitle {
  font-size: 0.85rem;
  color: #cbd5e1;
}

.hero-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.hero-info-item i {
  color: #fde047;
  font-size: 1.1rem;
  margin-top: 0.15rem;
}

/* --- Impact Statistics Banner --- */
.stats-banner {
  margin-top: -3.5rem;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.stat-card {
  text-align: center;
  padding: 1rem;
  border-right: 1px solid var(--border-color);
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary-blue-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

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

/* --- About Us Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

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

.about-img-main {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-img-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--primary-navy);
  color: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 240px;
  border: 2px solid var(--accent-saffron);
}

.about-badge-year {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-saffron-light);
  line-height: 1;
}

.about-badge-text {
  font-size: 0.85rem;
  color: #cbd5e1;
  font-weight: 500;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.quote-box {
  background: var(--bg-surface-elevated);
  border-left: 4px solid var(--accent-saffron);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  font-style: italic;
  color: var(--text-muted);
  margin: 0.5rem 0;
}

.quote-author {
  font-style: normal;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 0.5rem;
  display: block;
  font-size: 0.9rem;
}

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

.pillar-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.12);
  color: var(--primary-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* --- Programs & Initiatives Section --- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.program-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

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

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

.program-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #fde047;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.program-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.program-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.program-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

/* --- Model Schools & Partner Section --- */
.schools-table-wrap {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.schools-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.schools-table th {
  background: var(--primary-navy);
  color: #ffffff;
  padding: 1.1rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.schools-table td {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

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

.schools-table tr:hover {
  background: var(--bg-surface-elevated);
}

.badge-tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.badge-experimental {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-green);
}

.badge-controlled {
  background: rgba(59, 130, 246, 0.15);
  color: var(--primary-blue-light);
}

.badge-tharu {
  background: rgba(217, 119, 6, 0.15);
  color: var(--accent-saffron);
}

/* --- International Affiliations & Research --- */
.affiliation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.aff-card {
  padding: 2.2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.aff-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-blue) 0%, #1e3a8a 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
  box-shadow: 0 10px 20px -5px rgba(30, 64, 175, 0.3);
}

.aff-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.aff-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* --- Leadership & Team Section --- */
.team-filter-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.team-filter-btn {
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-muted);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.team-filter-btn:hover,
.team-filter-btn.active {
  background: var(--accent-saffron);
  color: #ffffff;
  border-color: var(--accent-saffron);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
}

.team-card {
  text-align: center;
  padding: 2rem 1.25rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(217, 119, 6, 0.4);
}

.team-avatar-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem auto;
}

.team-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-saffron);
  box-shadow: var(--shadow-md);
}

.team-avatar-initials {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  border: 3px solid var(--accent-saffron);
  box-shadow: var(--shadow-md);
  letter-spacing: 1px;
}

.team-badge-chip {
  align-self: center;
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(217, 119, 6, 0.12);
  color: var(--accent-saffron);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(217, 119, 6, 0.25);
}

.team-badge-chip.badge-intl {
  background: rgba(59, 130, 246, 0.12);
  color: var(--primary-blue-light);
  border-color: rgba(59, 130, 246, 0.25);
}

.team-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.team-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-saffron);
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.team-card-actions {
  margin-top: auto;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.team-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-blue-light);
  background: var(--bg-surface-elevated);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: var(--transition);
}

.team-contact-btn:hover {
  background: var(--primary-blue-light);
  color: #ffffff;
  border-color: var(--primary-blue-light);
}

/* --- Financial & Budget Transparency --- */
.budget-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.budget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.currency-toggle {
  display: inline-flex;
  background: var(--bg-surface-elevated);
  padding: 0.3rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

.curr-btn {
  border: none;
  background: none;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}

.curr-btn.active {
  background: var(--primary-blue);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.budget-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.budget-table th, .budget-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.budget-table th {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.budget-table tr.total-row {
  background: rgba(217, 119, 6, 0.08);
  font-weight: 800;
  font-size: 1.1rem;
}

.budget-table tr.total-row td {
  color: var(--accent-saffron);
  border-bottom: none;
}

/* --- Photo Activity Gallery --- */
.gallery-filter-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-muted);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-blue-light);
  color: #ffffff;
  border-color: var(--primary-blue-light);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.gallery-item {
  position: relative;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  outline: none;
  border: 2px solid transparent;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s ease;
}

.gallery-item:focus-visible {
  border-color: var(--accent-saffron);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.4);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 45%, transparent 75%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.25rem 1.25rem 1.25rem;
  color: #ffffff;
  opacity: 0.9;
  transition: opacity 0.3s ease, background 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.7) 55%, transparent 80%);
}

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

.gallery-item:hover .gallery-item-badge {
  transform: translateY(-2px);
  background: var(--accent-saffron);
}

.gallery-caption {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  line-height: 1.35;
  color: #ffffff;
}

.gallery-date {
  font-size: 0.8rem;
  color: #fde047;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.gallery-read-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
  font-weight: 700;
  color: #93c5fd;
  transform: translateY(4px);
  transition: transform 0.3s ease, color 0.3s ease;
}

.gallery-item:hover .gallery-read-prompt {
  transform: translateY(0);
  color: #ffffff;
}

.gallery-read-prompt i {
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-read-prompt i {
  transform: translateX(4px);
}

/* --- Facebook Activity Feed Section --- */
.fb-section-card {
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.06) 0%, rgba(217, 119, 6, 0.06) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.fb-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.fb-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.fb-embed-placeholder {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

/* --- Donation & Bank Details Section --- */
.donation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.bank-card {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--accent-saffron);
}

.bank-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.bank-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.bank-logo-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-saffron-light);
}

.bank-detail-group {
  margin-bottom: 1.25rem;
}

.bank-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 0.25rem;
}

.bank-value {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.acc-num-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  margin-top: 0.5rem;
}

.copy-btn {
  background: var(--accent-saffron);
  color: #ffffff;
  border: none;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.copy-btn:hover {
  background: var(--accent-saffron-light);
}

/* --- Contact & Volunteer Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.12);
  color: var(--primary-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

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

.form-card {
  padding: 2.5rem;
}

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

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary-blue-light);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* --- Modal System --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal-container {
  width: 100%;
  max-width: 580px;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

/* --- Interactive Story & Study Reader Modal --- */
.story-modal-overlay {
  z-index: 2500;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.5rem 1rem;
}

.story-modal-container {
  max-width: 920px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.25rem 2.25rem 1.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.2);
  scrollbar-width: thin;
  scrollbar-color: var(--accent-saffron) var(--bg-surface-elevated);
}

.story-modal-container::-webkit-scrollbar {
  width: 8px;
}

.story-modal-container::-webkit-scrollbar-track {
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-full);
}

.story-modal-container::-webkit-scrollbar-thumb {
  background: var(--accent-saffron);
  border-radius: var(--radius-full);
}

.story-modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.story-modal-close-btn:hover {
  background: var(--accent-crimson);
  color: #ffffff;
  border-color: var(--accent-crimson);
  transform: rotate(90deg);
}

.story-modal-body {
  padding-bottom: 1.5rem;
}

.story-modal-header {
  margin-bottom: 1.5rem;
  padding-right: 2.5rem;
}

.story-badge-wrap {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.story-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(217, 119, 6, 0.12);
  color: var(--accent-saffron);
  border: 1px solid rgba(217, 119, 6, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
}

.story-date-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.story-modal-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.story-modal-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.story-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
  background: var(--bg-surface-elevated);
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-top: 1rem;
}

.story-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.85rem;
}

.story-meta-item i {
  color: var(--accent-saffron);
  margin-top: 0.25rem;
  font-size: 0.95rem;
}

.story-meta-item strong {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}

.story-meta-item span {
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.35;
}

.story-media-box {
  margin: 1.5rem 0 2rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  background: #0f172a;
}

.story-media-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.story-media-caption {
  padding: 0.85rem 1.25rem;
  background: var(--bg-surface-elevated);
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.story-highlights-callout {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.09) 0%, rgba(30, 64, 175, 0.09) 100%);
  border-left: 4px solid var(--accent-saffron);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.5rem;
  margin-bottom: 2rem;
}

.story-highlights-callout h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-saffron);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.story-highlights-callout p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.65;
}

.story-sections-flow {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.story-section-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
}

.story-section-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.story-section-card h3 i {
  color: var(--primary-blue-light);
}

.story-section-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.story-tags-wrap {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.story-tag-pill {
  font-size: 0.78rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 600;
}

.story-actions-toolbar {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
  padding: 1.5rem 0 0.5rem 0;
  border-top: 1px solid var(--border-color);
}

.story-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.story-action-primary {
  background: var(--primary-blue);
  color: #ffffff;
}

.story-action-primary:hover {
  background: var(--primary-blue-light);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.story-action-saffron {
  background: var(--accent-saffron);
  color: #ffffff;
}

.story-action-saffron:hover {
  background: var(--accent-saffron-light);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.story-action-outline {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  border-color: var(--border-color);
}

.story-action-outline:hover {
  background: var(--border-color);
}

.story-modal-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.story-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}

.story-nav-btn:hover:not(:disabled) {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
}

.story-nav-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.story-counter-pill {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.4rem 1rem;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-full);
}

/* --- Toast Alert Notification --- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
}

.toast {
  background: var(--primary-navy);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-left: 4px solid var(--emerald-green);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* --- Footer --- */
.footer {
  background: var(--primary-navy);
  color: #cbd5e1;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-saffron-light);
  padding-left: 0.25rem;
}

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

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-content-wrap,
  .about-grid,
  .donation-grid,
  .contact-grid,
  .fb-section-card {
    grid-template-columns: 1fr;
  }
  
  .programs-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-card {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-surface);
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    gap: 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .programs-grid,
  .gallery-grid,
  .team-grid,
  .affiliation-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   NEW HERO SLIDESHOW COMPONENT (Using Real slide*.jpg Assets)
   ========================================================================== */
.hero-slideshow-wrap {
  width: 100%;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-glow);
  background: #000;
  margin-top: 1.5rem;
}

.hero-slider-container {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-slider-container {
    height: 440px;
  }
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  transform: scale(1.03);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 50%, rgba(15, 23, 42, 0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem 2rem;
  color: #ffffff;
}

.hero-slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(217, 119, 6, 0.9);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.6rem;
  backdrop-filter: blur(8px);
  width: fit-content;
}

.hero-slide-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.4rem;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-slide-desc {
  font-size: 0.88rem;
  color: #e2e8f0;
  line-height: 1.45;
  max-width: 650px;
}

.hero-slide-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 10;
}

.hero-slide-btn {
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.hero-slide-btn:hover {
  background: var(--accent-saffron);
  border-color: var(--accent-saffron);
  transform: scale(1.1);
}

.hero-slide-dots {
  position: absolute;
  bottom: 0.75rem;
  right: 1.5rem;
  display: flex;
  gap: 0.5rem;
  z-index: 12;
}

.hero-slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.hero-slide-dot.active {
  background: var(--accent-saffron);
  width: 26px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   PHILOSOPHICAL FOUNDATIONS & CULTURAL MANTRAS
   ========================================================================== */
.philosophy-banner-card {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.08) 0%, rgba(30, 64, 175, 0.08) 100%);
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: 3.5rem;
  position: relative;
  overflow: hidden;
}

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

@media (max-width: 900px) {
  .mantra-grid {
    grid-template-columns: 1fr;
  }
}

.sanskrit-verse-box {
  background: var(--bg-card);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-saffron);
  box-shadow: var(--shadow-sm);
}

.sanskrit-text {
  font-family: 'Outfit', serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.8;
  color: var(--accent-saffron);
  margin-bottom: 0.75rem;
}

.sanskrit-translit {
  font-style: italic;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.motto-highlight-box {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.motto-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(30, 64, 175, 0.1);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(30, 64, 175, 0.2);
}

.motto-latin {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary-blue-light);
  letter-spacing: 0.05em;
}

/* ==========================================================================
   HONORED DONORS & BENEFACTORS SHOWCASE
   ========================================================================== */
.donors-section {
  padding: 5rem 0;
  background: var(--bg-surface-elevated);
  position: relative;
}

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

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

@media (max-width: 640px) {
  .donors-grid {
    grid-template-columns: 1fr;
  }
}

.donor-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 2rem 1.5rem;
}

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

.donor-avatar-wrap {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.25rem auto;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--bg-surface);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  position: relative;
}

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

.donor-badge-chip {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  align-self: center;
  background: rgba(217, 119, 6, 0.15);
  color: var(--accent-saffron);
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.donor-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.donor-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-blue-light);
  margin-bottom: 0.75rem;
}

.donor-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: auto;
}

/* Institutional Donors & Partners Logo strip */
.partner-logos-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.partner-badge-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

/* ==========================================================================
   RESEARCH ROADMAP & BASELINE STATISTICS (Appendix 1 & 4)
   ========================================================================== */
.baseline-stats-wrap {
  margin-top: 3.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

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

@media (max-width: 768px) {
  .stats-comparison-grid {
    grid-template-columns: 1fr;
  }
}

.stat-metric-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border-left: 4px solid var(--accent-crimson);
  box-shadow: var(--shadow-sm);
}

.stat-metric-card.positive {
  border-left-color: var(--emerald-green);
}

.stat-metric-card.blue {
  border-left-color: var(--primary-blue-light);
}

.metric-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.metric-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.metric-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* 16 Tole Sanstha List Grid */
.tole-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

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

@media (max-width: 500px) {
  .tole-grid {
    grid-template-columns: 1fr;
  }
}

.tole-card-item {
  background: var(--bg-surface);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   PROMOTERS OF SARASWOTI KENDRA NEPAL (Buddhi-wisdom)
   ========================================================================== */
.promoters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .promoters-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

@media (max-width: 480px) {
  .promoters-grid {
    grid-template-columns: 1fr;
  }
}

.promoter-mini-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.promoter-mini-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-saffron);
  box-shadow: var(--shadow-sm);
}

.promoter-thumb {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.6rem;
  border: 2px solid var(--accent-saffron);
}

.promoter-mini-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.promoter-mini-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

