/* ===================================
   Rainbow Education Seva Foundation
   Main Stylesheet
   =================================== */

/* CSS Custom Properties */
:root {
  --primary: #0F766E;
  --primary-light: #14B8A6;
  --primary-dark: #0D5C56;
  --secondary: #16A34A;
  --secondary-light: #22C55E;
  --accent: #F59E0B;
  --accent-light: #FBBF24;
  --dark: #111827;
  --dark-light: #1F2937;
  --light: #F9FAFB;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --info: #3B82F6;
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
  --shadow-xl: 0 12px 48px rgba(0,0,0,0.2);
  --shadow-glow: 0 0 20px rgba(15,118,110,0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --dark: #F9FAFB;
  --dark-light: #F3F4F6;
  --light: #111827;
  --white: #1F2937;
  --gray-50: #1F2937;
  --gray-100: #374151;
  --gray-200: #4B5563;
  --gray-300: #6B7280;
  --gray-400: #9CA3AF;
  --gray-500: #D1D5DB;
  --gray-600: #E5E7EB;
  --gray-700: #F3F4F6;
  --gray-800: #F9FAFB;
  --gray-900: #FFFFFF;
}

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

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

body {
  font-family: var(--font-primary);
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[data-theme="dark"] body {
  background-color: #0F172A;
  color: #E2E8F0;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
  background: none;
}

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

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

[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3,
[data-theme="dark"] h4, [data-theme="dark"] h5, [data-theme="dark"] h6 {
  color: #F1F5F9;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--gray-600);
}

[data-theme="dark"] p {
  color: #94A3B8;
}

/* ===================================
   Loading Screen
   =================================== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  text-align: center;
}

.loader-icon {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

.loader-text {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 2px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===================================
   Scroll Progress Bar
   =================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 10000;
  transition: width 0.1s ease;
}

/* ===================================
   Container
   =================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-lg {
  max-width: 1400px;
}

.container-sm {
  max-width: 960px;
}

/* ===================================
   Section
   =================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

[data-theme="dark"] .section-dark {
  background: #0F172A;
}

.section-alt {
  background: var(--white);
}

[data-theme="dark"] .section-alt {
  background: #1E293B;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
  position: relative;
  padding: 0 20px;
}

.section-subtitle::before,
.section-subtitle::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.section-subtitle::before { left: -30px; }
.section-subtitle::after { right: -30px; }

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
}

[data-theme="dark"] .section-title {
  color: #F1F5F9;
}

.section-dark .section-title {
  color: var(--white);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.8;
}

[data-theme="dark"] .section-desc {
  color: #94A3B8;
}

/* ===================================
   Buttons
   =================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transition: var(--transition);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.btn:active::after {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(15,118,110,0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(15,118,110,0.5);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(22,163,74,0.4);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(22,163,74,0.5);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: var(--dark);
  box-shadow: 0 4px 15px rgba(245,158,11,0.4);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245,158,11,0.5);
}

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

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

.btn-outline-white {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

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

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.875rem;
}

.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--radius-full);
  font-size: 1.25rem;
}

/* ===================================
   Header & Navigation
   =================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 6px 0;
  transition: var(--transition);
}

.header.scrolled {
  /* background: rgba(255,255,255,0.95); */
  background:rgb(23 45 55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
}

[data-theme="dark"] .header.scrolled {
  background: rgba(15,23,42,0.95);
}

.header-transparent {
  background: transparent;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.nav-logo img {
  height: 100px;
  width: auto;
  transition: var(--transition);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  display: none;
}

.nav-logo-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  transition: var(--transition);
}

.nav-logo-tagline {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.2;
  transition: var(--transition);
}

.header.scrolled .nav-logo-name {
  color: var(--primary);
}

.header.scrolled .nav-logo-tagline {
  color: var(--gray-500);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

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

/* .header.scrolled .nav-link {
  color: var(--gray-700);
} */
 .header.scrolled .nav-link {
  color: var(--gray-300);
}

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

.nav-link i {
  font-size: 0.75rem;
  transition: var(--transition);
}

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

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1001;
}

[data-theme="dark"] .nav-dropdown {
  background: #1E293B;
}

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

.nav-dropdown-item {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--gray-700);
  transition: var(--transition);
}

[data-theme="dark"] .nav-dropdown-item {
  color: #CBD5E1;
}

.nav-dropdown-item:hover {
  background: var(--gray-50);
  color: var(--primary);
  padding-left: 24px;
}

[data-theme="dark"] .nav-dropdown-item:hover {
  background: #334155;
}

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

.nav-search-btn,
.nav-theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: 1.1rem;
  transition: var(--transition);
  display:none;
}

.nav-search-btn:hover,
.nav-theme-toggle:hover {
  background: rgba(255,255,255,0.15);
}

.header.scrolled .nav-search-btn,
.header.scrolled .nav-theme-toggle {
  color: var(--gray-600);
}

.header.scrolled .nav-search-btn:hover,
.header.scrolled .nav-theme-toggle:hover {
  background: var(--gray-100);
  color: var(--primary);
}

.nav-donate-btn {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: var(--dark);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-donate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(245,158,11,0.4);
}

.nav-volunteer-btn {
  padding: 10px 20px;
  border: 2px solid var(--white);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-volunteer-btn:hover {
  background: var(--white);
  color: var(--primary);
}

.header.scrolled .nav-volunteer-btn {
  border-color: var(--primary);
  color: var(--primary);
}

.header.scrolled .nav-volunteer-btn:hover {
  background: var(--primary);
  color: var(--white);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.header.scrolled .nav-hamburger span {
  background: var(--white);
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(15,23,42,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 100px 30px 30px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s ease;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-link {
  display: block;
  padding: 16px 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}

.mobile-menu-link:hover {
  color: var(--accent);
  padding-left: 10px;
}

.mobile-menu-sub {
  padding-left: 20px;
  display: none;
}

.mobile-menu-sub.active {
  display: block;
}

.mobile-menu-sub .mobile-menu-link {
  font-size: 0.95rem;
  padding: 12px 0;
}

.mobile-menu-actions {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu-actions .btn {
  width: 100%;
  justify-content: center;
}

/* ===================================
   Hero Section / Slider
   =================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  animation: heroZoom 8s ease infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.15); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15,118,110,0.45) 0%, rgba(22,163,74,0.5) 50%, rgba(17,24,39,0.8) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}

.hero-inner {
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-title {
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  margin-bottom: 12px;
}

.hero-desc {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  line-height: 1.7;
}

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

.hero-slider-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}

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

.hero-dot.active {
  background: var(--accent);
  width: 32px;
  border-radius: 6px;
}

.hero-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
  z-index: 10;
}

.hero-arrow {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.hero-arrow:hover {
  background: var(--accent);
  color: var(--dark);
}

.hero-scroll {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  letter-spacing: 2px;
  animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ===================================
   Glass Card
   =================================== */
.glass-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition);
}

.glass-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ===================================
   Card
   =================================== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}

[data-theme="dark"] .card {
  background: #1E293B;
  border-color: #334155;
}

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

.card-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

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

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

.card-body {
  padding: 24px;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark);
}

[data-theme="dark"] .card-title {
  color: #F1F5F9;
}

.card-text {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 12px;
  transition: var(--transition);
}

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

/* ===================================
   About Section (Home)
   =================================== */
.about-section {
  position: relative;
  overflow: hidden;
}

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

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

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-image-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  box-shadow: var(--shadow-lg);
}

.about-image-badge .number {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.about-image-badge .text {
  font-size: 0.7rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content .section-subtitle {
  text-align: left;
}

.about-content .section-title {
  text-align: left;
}

.about-text {
  margin-bottom: 30px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, rgba(15,118,110,0.1) 0%, rgba(22,163,74,0.1) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  transition: var(--transition);
}

.about-feature:hover .about-feature-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  transform: scale(1.1);
}

.about-feature-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--dark);
}

[data-theme="dark"] .about-feature-text h4 {
  color: #F1F5F9;
}

.about-feature-text p {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 0;
}

/* ===================================
   Vision & Mission Section
   =================================== */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.vm-card {
  position: relative;
  padding: 40px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

[data-theme="dark"] .vm-card {
  background: #1E293B;
  border-color: #334155;
}

.vm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
}

.vm-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.vm-card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(15,118,110,0.1) 0%, rgba(22,163,74,0.1) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.vm-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
}

[data-theme="dark"] .vm-card-title {
  color: #F1F5F9;
}

.vm-card-statement {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.6;
  font-style: italic;
}

.vm-card-text {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
}

.vm-card-list {
  margin-top: 20px;
}

.vm-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.vm-card-list li i {
  color: var(--primary);
  margin-top: 3px;
  font-size: 1rem;
}

/* ===================================
   Core Values Section
   =================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

[data-theme="dark"] .value-card {
  background: #1E293B;
  border-color: #334155;
}

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

.value-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(15,118,110,0.1) 0%, rgba(22,163,74,0.1) 100%);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary);
  transition: var(--transition);
}

.value-card:hover .value-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
}

.value-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark);
}

[data-theme="dark"] .value-title {
  color: #F1F5F9;
}

.value-text {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===================================
   Statistics Section
   =================================== */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.stats-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  color: var(--gray-100);
  padding: 30px 20px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  transition: var(--transition);
}

.stat-item:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-5px);
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--accent);
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 0.8rem;
  color: rgba(240, 233, 233, 0.7);
}

/* ===================================
   Programs Section
   =================================== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
  position: relative;
}

[data-theme="dark"] .program-card {
  background: #1E293B;
  border-color: #334155;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.program-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.program-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.program-card-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  backdrop-filter: blur(10px);
}

.program-card-body {
  padding: 28px;
}

.program-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

[data-theme="dark"] .program-card-title {
  color: #F1F5F9;
}

.program-card-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 16px;
}

.program-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.program-feature-tag {
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--gray-50);
  color: var(--gray-600);
  border-radius: 50px;
}

[data-theme="dark"] .program-feature-tag {
  background: #334155;
  color: #94A3B8;
}

.program-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.program-card-link:hover {
  gap: 12px;
}

/* ===================================
   Gallery Section
   =================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  cursor: pointer;
}

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

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(15,118,110,0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-overlay-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.gallery-overlay-text {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
}

.gallery-overlay-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 50px;
  height: 50px;
  background: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay-icon {
  transform: translate(-50%, -50%) scale(1);
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .testimonials-section {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  flex: 0 0 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  text-align: center;
}

.testimonial-quote-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.8;
  margin-bottom: 30px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 3px solid var(--accent);
}

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

.testimonial-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.testimonial-info p {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 0;
}

.testimonial-rating {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-rating i {
  color: var(--accent);
  font-size: 1rem;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}

.testimonial-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-btn:hover {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

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

.testimonial-dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: 5px;
}

/* ===================================
   Partners Section
   =================================== */
.partners-track {
  display: flex;
  align-items: center;
  gap: 60px;
  animation: marquee 20s linear infinite;
}

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

.partner-logo {
  height: 60px;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: var(--transition);
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ===================================
   CTA / Donation Section
   =================================== */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, #E97A0A 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
  color: var(--dark);
}

.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
}

.cta-text {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px;
  color: rgba(17,24,39,0.8);
}

/* ===================================
   Newsletter Section
   =================================== */
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  border: 2px solid var(--gray-200);
  font-size: 0.95rem;
  background: var(--white);
  transition: var(--transition);
}

.newsletter-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15,118,110,0.1);
}

/* ===================================
   Footer
   =================================== */
.footer {
  background: var(--dark);
  color: var(--gray-300);
  padding: 80px 0 0;
}

[data-theme="dark"] .footer {
  background: #0B1120;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  padding-right: 30px;
}

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

.footer-logo img {
  height: 50px;
}

.footer-logo-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 20px;
}

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

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social-link:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: var(--gray-400);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--primary-light);
  transform: translateX(5px);
}

.footer-links a i {
  font-size: 0.7rem;
  color: var(--primary);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-contact-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 1rem;
}

.footer-contact-text {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.6;
}

.footer-contact-text strong {
  color: var(--white);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.footer-newsletter-form {
  display: flex;
  margin-top: 20px;
}

.footer-newsletter-input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  color: var(--white);
  font-size: 0.85rem;
}

.footer-newsletter-input::placeholder {
  color: var(--gray-500);
}

.footer-newsletter-btn {
  padding: 12px 20px;
  background: var(--primary);
  color: var(--white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 600;
  transition: var(--transition);
}

.footer-newsletter-btn:hover {
  background: var(--primary-light);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 0;
}

.footer-bottom a {
  color: var(--primary-light);
}

.footer-bottom-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 12px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.footer-bottom-links a:hover {
  color: var(--primary-light);
}

/* ===================================
   Page Header / Breadcrumb
   =================================== */
.page-header {
  position: relative;
  padding: 180px 0 80px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark) 100%);
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.02);
  border-radius: 50%;
}

.page-header-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

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

.breadcrumb span {
  color: var(--accent);
}

.breadcrumb-sep {
  color: rgba(255,255,255,0.4);
}

.page-header-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.page-header-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* ===================================
   Search Modal
   =================================== */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.search-modal-content {
  width: 90%;
  max-width: 600px;
  transform: translateY(-20px);
  transition: var(--transition);
}

.search-modal.active .search-modal-content {
  transform: translateY(0);
}

.search-input-wrapper {
  position: relative;
}

.search-input {
  width: 100%;
  padding: 24px 60px 24px 24px;
  font-size: 1.2rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  color: var(--dark);
}

.search-close {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
}

.search-close:hover {
  background: var(--error);
  color: var(--white);
}

/* ===================================
   Back To Top
   =================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(15,118,110,0.4);
}

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

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(15,118,110,0.5);
}

/* ===================================
   Floating WhatsApp Button
   =================================== */
.whatsapp-float {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: whatsappPulse 2s ease infinite;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6); }
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37,211,102,0.5);
}

/* ===================================
   Floating Donate Button
   =================================== */
.donate-float {
  position: fixed;
  bottom: 100px;
  left: 30px;
  z-index: 999;
}

.donate-float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--accent) 0%, #E97A0A 100%);
  color: var(--dark);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(245,158,11,0.4);
  transition: var(--transition);
  animation: donateFloat 3s ease infinite;
}

@keyframes donateFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.donate-float-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(245,158,11,0.5);
}

/* ===================================
   Cookie Consent
   =================================== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  padding: 20px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  z-index: 9999;
  transform: translateY(100%);
  transition: var(--transition);
}

[data-theme="dark"] .cookie-consent {
  background: #1E293B;
}

.cookie-consent.visible {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-text {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.cookie-text a {
  color: var(--primary);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ===================================
   Donation Page
   =================================== */
.donation-progress {
  background: var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-bottom: 40px;
}

.donation-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.donation-progress-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
}

.donation-progress-stats {
  display: flex;
  gap: 24px;
}

.donation-progress-amount {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.donation-progress-goal {
  font-size: 1rem;
  color: var(--gray-500);
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: var(--gray-200);
  border-radius: 50px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50px;
  transition: width 1.5s ease;
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
  animation: progressShine 2s ease infinite;
}

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

.donation-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.amount-btn {
  padding: 20px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}

[data-theme="dark"] .amount-btn {
  background: #1E293B;
  border-color: #334155;
  color: #F1F5F9;
}

.amount-btn:hover,
.amount-btn.active {
  border-color: var(--primary);
  background: rgba(15,118,110,0.05);
  color: var(--primary);
}

.amount-btn.active {
  background: var(--primary);
  color: var(--white);
}

.custom-amount {
  position: relative;
  margin-bottom: 24px;
}

.custom-amount-input {
  width: 100%;
  padding: 18px 24px 18px 48px;
  font-size: 1.2rem;
  font-weight: 600;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--dark);
  transition: var(--transition);
}

[data-theme="dark"] .custom-amount-input {
  background: #1E293B;
  border-color: #334155;
  color: #F1F5F9;
}

.custom-amount-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15,118,110,0.1);
}

.custom-amount-symbol {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.impact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.impact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

[data-theme="dark"] .impact-card {
  background: #1E293B;
  border-color: #334155;
}

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

.impact-card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(15,118,110,0.1) 0%, rgba(22,163,74,0.1) 100%);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
}

.impact-card-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.impact-card-text {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.qr-code-section {
  text-align: center;
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-100);
}

[data-theme="dark"] .qr-code-section {
  background: #1E293B;
  border-color: #334155;
}

.qr-code-image {
  max-width: 250px;
  margin: 0 auto 20px;
}

.bank-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
  text-align: left;
}

.bank-detail-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}

.bank-detail-label {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.9rem;
}

.bank-detail-value {
  color: var(--gray-600);
  font-size: 0.9rem;
}

/* ===================================
   Volunteer Page
   =================================== */
.volunteer-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.volunteer-benefit-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

[data-theme="dark"] .volunteer-benefit-card {
  background: #1E293B;
  border-color: #334155;
}

.volunteer-benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.volunteer-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.volunteer-process::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  width: 75%;
  height: 3px;
  background: var(--gray-200);
}

[data-theme="dark"] .volunteer-process::before {
  background: #334155;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--white);
  border: 3px solid var(--gray-200);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition);
}

[data-theme="dark"] .process-step-number {
  background: #1E293B;
  border-color: #334155;
}

.process-step:hover .process-step-number {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: scale(1.1);
}

.process-step-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}

[data-theme="dark"] .process-step-title {
  color: #F1F5F9;
}

.process-step-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ===================================
   Team Page
   =================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}

[data-theme="dark"] .team-card {
  background: #1E293B;
  border-color: #334155;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.team-card-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.team-card:hover .team-card-image img {
  transform: scale(1.05);
}

.team-card-social {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
  transition: var(--transition);
}

.team-card:hover .team-card-social {
  bottom: 0;
}

.team-social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  transform: translateY(20px);
  opacity: 0;
}

.team-card:hover .team-social-link {
  transform: translateY(0);
  opacity: 1;
}

.team-social-link:hover {
  background: var(--primary);
  color: var(--white);
}

.team-card-body {
  padding: 24px;
}

.team-card-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--dark);
}

[data-theme="dark"] .team-card-name {
  color: #F1F5F9;
}

.team-card-designation {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 12px;
}

.team-card-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===================================
   Contact Page
   =================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

[data-theme="dark"] .contact-info-card {
  background: #1E293B;
  border-color: #334155;
}

.contact-info-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: linear-gradient(135deg, rgba(15,118,110,0.1) 0%, rgba(22,163,74,0.1) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary);
}

.contact-info-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
}

[data-theme="dark"] .contact-info-value {
  color: #F1F5F9;
}

.contact-info-value a {
  color: var(--primary);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .contact-form {
  background: #1E293B;
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

[data-theme="dark"] .form-label {
  color: #F1F5F9;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.95rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--dark);
  transition: var(--transition);
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-textarea {
  background: #0F172A;
  border-color: #334155;
  color: #F1F5F9;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15,118,110,0.1);
}

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

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

.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 40px;
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===================================
   Events Page
   =================================== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.event-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}

[data-theme="dark"] .event-card {
  background: #1E293B;
  border-color: #334155;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.event-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.event-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.event-card:hover .event-card-image img {
  transform: scale(1.05);
}

.event-date-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary);
  color: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.event-date-day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.event-date-month {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-status {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.event-status.upcoming {
  background: var(--success);
  color: var(--white);
}

.event-status.past {
  background: var(--gray-400);
  color: var(--white);
}

.event-card-body {
  padding: 24px;
}

.event-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

[data-theme="dark"] .event-card-title {
  color: #F1F5F9;
}

.event-card-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.event-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.event-meta-item i {
  color: var(--primary);
  width: 16px;
}

.event-card-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===================================
   FAQ Section
   =================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 12px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: var(--transition);
}

[data-theme="dark"] .faq-item {
  background: #1E293B;
  border-color: #334155;
}

.faq-item.active {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  transition: var(--transition);
}

[data-theme="dark"] .faq-question {
  color: #F1F5F9;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: var(--transition);
}

[data-theme="dark"] .faq-icon {
  background: #334155;
}

.faq-item.active .faq-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-content {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ===================================
   Privacy, Terms, Disclaimer Pages
   =================================== */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h3 {
  font-size: 1.3rem;
  margin: 30px 0 16px;
  color: var(--dark);
}

[data-theme="dark"] .legal-content h3 {
  color: #F1F5F9;
}

.legal-content p {
  font-size: 0.95rem;
  line-height: 1.8;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-content ul li {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
  list-style: disc;
  margin-bottom: 8px;
}

/* ===================================
   Timeline
   =================================== */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

[data-theme="dark"] .timeline-item {
  background: #1E293B;
  border-color: #334155;
}

.timeline-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.timeline-dot {
  position: absolute;
  left: -32px;
  top: 28px;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--primary);
}

[data-theme="dark"] .timeline-dot {
  border-color: #1E293B;
}

.timeline-year {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(15,118,110,0.1);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50px;
  margin-bottom: 12px;
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

[data-theme="dark"] .timeline-title {
  color: #F1F5F9;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===================================
   Founder Message
   =================================== */
.founder-section {
  background: linear-gradient(135deg, rgba(15,118,110,0.05) 0%, rgba(22,163,74,0.05) 100%);
}

.founder-card {
  display: flex;
  align-items: center;
  gap: 50px;
}

.founder-image {
  width: 300px;
  min-width: 300px;
  height: 380px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-content {
  flex: 1;
}

.founder-quote {
  position: relative;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gray-600);
  line-height: 1.9;
  padding-left: 30px;
  border-left: 3px solid var(--primary);
}

.founder-name {
  margin-top: 24px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
}

[data-theme="dark"] .founder-name {
  color: #F1F5F9;
}

.founder-designation {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 500;
}

/* ===================================
   Programs Detail Page
   =================================== */
.program-detail-header {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  text-align: center;
}

.program-detail-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.program-detail-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.program-detail-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  margin: 0 auto;
}

.program-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.program-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
}

[data-theme="dark"] .program-feature-item {
  background: #1E293B;
  border-color: #334155;
}

.program-feature-item i {
  color: var(--primary);
  font-size: 1.25rem;
}

.program-feature-item span {
  font-weight: 500;
  color: var(--dark);
  font-size: 0.9rem;
}

[data-theme="dark"] .program-feature-item span {
  color: #F1F5F9;
}

/* ===================================
   Gallery Lightbox
   =================================== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-image {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: var(--error);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ===================================
   Gallery Filter
   =================================== */
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 24px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}

[data-theme="dark"] .filter-btn {
  background: #1E293B;
  border-color: #334155;
  color: #94A3B8;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ===================================
   Why Choose Us
   =================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

[data-theme="dark"] .why-card {
  background: #1E293B;
  border-color: #334155;
}

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

.why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(15,118,110,0.1) 0%, rgba(22,163,74,0.1) 100%);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.why-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}

[data-theme="dark"] .why-title {
  color: #F1F5F9;
}

.why-text {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===================================
   News Section
   =================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}

[data-theme="dark"] .news-card {
  background: #1E293B;
  border-color: #334155;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.news-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-date {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary);
  color: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.news-card-body {
  padding: 24px;
}

.news-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
  line-height: 1.4;
}

[data-theme="dark"] .news-card-title {
  color: #F1F5F9;
}

.news-card-text {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===================================
   Donation Form Specific
   =================================== */
.donation-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .donation-form-wrapper {
  background: #1E293B;
}

.payment-methods {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.payment-method {
  flex: 1;
  padding: 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

[data-theme="dark"] .payment-method {
  border-color: #334155;
}

.payment-method:hover,
.payment-method.active {
  border-color: var(--primary);
  background: rgba(15,118,110,0.05);
}

.payment-method.active {
  background: var(--primary);
  color: var(--white);
}

.payment-method i {
  font-size: 1.5rem;
  margin-bottom: 8px;
  display: block;
}

.payment-method span {
  font-size: 0.85rem;
  font-weight: 600;
}

/* ===================================
   Success Stories
   =================================== */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.story-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 30px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

[data-theme="dark"] .story-card {
  background: #1E293B;
  border-color: #334155;
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.story-quote {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.story-text {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 20px;
}

.story-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.story-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  overflow: hidden;
}

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

.story-author-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
}

[data-theme="dark"] .story-author-name {
  color: #F1F5F9;
}

.story-author-role {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ===================================
   Form Error States
   =================================== */
.form-group.error .form-input,
.form-group.error .form-textarea {
  border-color: var(--error);
}

.form-error {
  font-size: 0.8rem;
  color: var(--error);
  margin-top: 6px;
  display: none;
}

.form-group.error .form-error {
  display: block;
}

.form-success {
  padding: 16px 24px;
  background: rgba(16,185,129,0.1);
  border: 1px solid var(--success);
  border-radius: var(--radius-md);
  color: var(--success);
  font-weight: 500;
  text-align: center;
  margin-bottom: 20px;
  display: none;
}

.form-success.visible {
  display: block;
}

/* ===================================
   Utility Classes
   =================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-white { color: var(--white); }
.text-muted { color: var(--gray-500); }
.bg-primary { background-color: var(--primary); }
.bg-white { background-color: var(--white); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.pt-10 { padding-top: 10px; }
.pt-20 { padding-top: 20px; }
.pb-10 { padding-bottom: 10px; }
.pb-20 { padding-bottom: 20px; }

/* ===================================
   Skeleton Loading
   =================================== */
.skeleton {
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===================================
   No Results
   =================================== */
.no-results {
  text-align: center;
  padding: 60px 20px;
}

.no-results-icon {
  font-size: 4rem;
  color: var(--gray-300);
  margin-bottom: 20px;
}

.no-results-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark);
}

.no-results-text {
  font-size: 1rem;
  color: var(--gray-500);
}

@media screen and (max-width:768px){
  .nav-logo img{height:65px;}
}
