/* ==========================================================================
   New Saraswati Foundation (न्यू सरस्वती फाउंडेशन) - Master Design System
   Primary Color: #0B5E55 | Secondary: #1F7A6B | Accent: #F59E0B
   Typography: 'Noto Sans Devanagari', 'Poppins', sans-serif
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --primary: #0B5E55;
  --primary-dark: #063D37;
  --primary-light: #167D72;
  --secondary: #1F7A6B;
  --secondary-light: #34A895;
  --accent: #F59E0B;
  --accent-hover: #D97706;
  --accent-light: #FEF3C7;
  --bg-main: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-dark: #0F172A;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --border-color: #E2E8F0;
  --border-focus: #1F7A6B;

  /* Elevation & Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 25px -5px rgba(11,94,85,0.12), 0 8px 10px -6px rgba(0,0,0,0.05);
  --shadow-hover: 0 20px 30px -10px rgba(11,94,85,0.2);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s ease;

  /* Fonts */
  --font-mr: 'Noto Sans Devanagari', sans-serif;
  --font-en: 'Poppins', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-mr);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-mr);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.3;
}

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

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ==========================================================================
   Header & Glassmorphism Navigation
   ========================================================================== */
.top-bar {
  background-color: var(--primary-dark);
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-family: var(--font-en);
}

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

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

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

.top-bar-info svg {
  width: 15px;
  height: 15px;
  stroke: var(--accent);
}

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

.top-bar-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 94, 85, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(6, 61, 55, 0.98);
  box-shadow: var(--shadow-lg);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: white;
  padding: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  flex-shrink: 0;
}

.brand-text h1 {
  font-size: 1.2rem;
  color: white;
  line-height: 1.1;
  font-weight: 700;
  white-space: nowrap;
  margin: 0;
}

.brand-text span {
  font-size: 0.75rem;
  color: var(--accent);
  font-family: var(--font-en);
  font-weight: 500;
  letter-spacing: 0.5px;
  display: block;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.35rem 0.55rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  line-height: 1.2;
  text-decoration: none;
}

.nav-link span {
  white-space: nowrap;
  line-height: 1;
}

.nav-link:hover, .nav-link.active {
  color: white;
  background: rgba(255, 255, 255, 0.14);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
  stroke: white;
}

/* ==========================================================================
   Layout Containers & Common Utility Classes
   ========================================================================== */
.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
}

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

.bg-slate {
  background-color: var(--bg-main);
}

.bg-white {
  background-color: var(--bg-card);
}

.bg-teal {
  background-color: var(--primary);
  color: white;
}

.bg-teal-dark {
  background-color: var(--primary-dark);
  color: white;
}

/* Section Titles (Dual Language Marathi + English) */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem auto;
}

.section-title {
  font-size: 2.2rem;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
  font-weight: 800;
}

.section-title-en {
  font-family: var(--font-en);
  font-size: 1rem;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
  display: block;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  margin: 0.75rem auto 1rem auto;
  border-radius: 2px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-normal);
  border: 2px solid transparent;
  font-family: var(--font-mr);
}

.btn-accent {
  background-color: var(--accent);
  color: #1E293B;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(11, 94, 85, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 94, 85, 0.4);
}

.btn-outline {
  background-color: transparent;
  border-color: white;
  color: white;
}

.btn-outline:hover {
  background-color: white;
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-dark:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(11, 94, 85, 0.82), rgba(6, 61, 55, 0.88)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  overflow: hidden;
  padding: 4rem 0;
}

.hero-content {
  max-width: 850px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: var(--accent);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-family: var(--font-en);
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.hero-tagline {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  backdrop-filter: blur(5px);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-10px) translateX(-50%); }
  60% { transform: translateY(-5px) translateX(-50%); }
}

/* ==========================================================================
   Statistics Counter Banner
   ========================================================================== */
.stats-banner {
  background: white;
  margin-top: -3rem;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--border-color);
}

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

.stat-label-mr {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

.stat-label-en {
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Cards & Grids
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  padding: 2rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--secondary-light);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(31, 122, 107, 0.1), rgba(11, 94, 85, 0.15));
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.2rem;

}

.card-subtitle-en {
  font-family: var(--font-en);
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 0.8rem;
  display: block;
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

/* Feature/Objective List */
.objective-list {
  list-style: none;
}

.objective-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.objective-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-hover);
  font-weight: 800;
  font-size: 1.1rem;
}

.objective-list li .en-trans {
  display: block;
  font-family: var(--font-en);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

/* Status Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-en);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-success {
  background-color: #D1FAE5;
  color: #065F46;
}

.badge-progress {
  background-color: #DBEAFE;
  color: #1E40AF;
}

.badge-warning {
  background-color: #FEF3C7;
  color: #92400E;
}

/* ==========================================================================
   Gallery Section & Masonry Lightbox
   ========================================================================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

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

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(11, 94, 85, 0.2);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  height: 240px;
  background: var(--bg-card);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 61, 55, 0.9), transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: white;
  opacity: 0;
  transition: var(--transition-normal);
}

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

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

.gallery-overlay h4 {
  color: white;
  font-size: 1.1rem;
}

.gallery-overlay span {
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: var(--accent);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.lightbox-content img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #000;
}

.lightbox-caption {
  padding: 1.25rem 1.5rem;
  background: white;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* ==========================================================================
   Donation Page & Calculator
   ========================================================================== */
.donation-box {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-color);
}

.impact-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.impact-card {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.impact-card:hover, .impact-card.active {
  border-color: var(--accent);
  background-color: var(--accent-light);
}

.impact-card .amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-en);
}

.impact-card .desc {
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-top: 0.4rem;
}

.bank-details-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

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

.copy-btn {
  background: rgba(255,255,255,0.15);
  color: white;
  border: none;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.copy-btn:hover {
  background: var(--accent);
  color: var(--text-dark);
}

/* ==========================================================================
   Documents & Compliance Page
   ========================================================================== */
.doc-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

.doc-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-light);
}

.doc-icon {
  width: 54px;
  height: 54px;
  background: #FEF3C7;
  color: #D97706;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doc-icon svg {
  width: 28px;
  height: 28px;
  stroke: #D97706;
}

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

.doc-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.doc-meta {
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Contact Page & Forms
   ========================================================================== */
.contact-form .form-group {
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-mr);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  background: #FAFAFA;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--secondary);
  background: white;
  box-shadow: 0 0 0 3px rgba(31, 122, 107, 0.15);
}

.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary-dark);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  display: none;
  animation: slideIn 0.3s forwards;
}

@keyframes slideIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Timeline Components */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--secondary-light);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  width: 50%;
  padding: 0 2rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-card {
  background: white;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.timeline-year {
  font-family: var(--font-en);
  font-weight: 800;
  color: var(--primary);
  font-size: 1.1rem;

}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 4rem 0 1.5rem 0;
  border-top: 5px solid var(--accent);
}

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

.footer-col h3, .footer-col h4 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-col h3::after, .footer-col h4::after {
  content: '';
  display: block;
  width: 35px;
  height: 3px;
  background: var(--accent);
  margin-top: 0.4rem;
  border-radius: 2px;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-en);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
  .nav-menu {
    gap: 0.4rem;
  }
  .nav-link {
    font-size: 0.84rem;
    padding: 0.25rem 0.4rem;
  }
  .brand-text h1 {
    font-size: 1.1rem;
  }
}

@media (max-width: 1024px) {
  .grid-4, .stats-grid, .impact-options {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - 70px);
    background: var(--primary-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
  }
  .nav-menu.active {
    left: 0;
  }
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  .timeline::before {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 3rem;
    padding-right: 0;
    text-align: left !important;
  }
  .timeline-item:nth-child(odd) {
    left: 0;
  }
  .timeline-item:nth-child(even) {
    left: 0;
  }
  .timeline-dot {
    left: 10px !important;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .stats-grid, .impact-options {
    grid-template-columns: 1fr;
  }
  .stat-item::after {
    display: none;
  }
  .btn {
    width: 100%;
  }
}
