/* ============================================
   DARC HABITAT FOUNDATION — Design System
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --primary: #37a68e;
  --primary-dark: #2d8a74;
  --primary-light: #4cc0a5;
  --primary-bg: #e8f8f3;
  --primary-bg-alt: #f0faf6;

  --secondary: #1a5c4a;
  --accent: #e67e22;
  --accent-dark: #cf6d17;

  --dark: #0f1f1a;
  --dark-2: #162b23;
  --dark-3: #1e3a30;

  --text: #2d3436;
  --text-light: #636e72;
  --text-lighter: #95a5a6;
  --text-white: #ffffff;

  --bg: #ffffff;
  --bg-alt: #f7fafa;
  --bg-section: #f0f7f5;
  --bg-dark: #0f1f1a;

  --border: #e0e8e5;
  --border-light: #eef4f2;

  --success: #27ae60;
  --warning: #f39c12;
  --error: #e74c3c;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3rem;
  --fs-5xl: 3.5rem;
  --fs-6xl: 4rem;

  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  --lh-tight: 1.2;
  --lh-normal: 1.6;
  --lh-relaxed: 1.8;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
  --shadow-2xl: 0 25px 80px rgba(0,0,0,0.15);
  --shadow-glow: 0 0 40px rgba(55,166,142,0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-spring: 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Z-index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal: 400;
  --z-tooltip: 500;

  /* Container */
  --container-max: 1200px;
  --container-narrow: 800px;
  --container-wide: 1400px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--dark);
}

h1 { font-size: var(--fs-5xl); margin-bottom: var(--space-lg); }
h2 { font-size: var(--fs-4xl); margin-bottom: var(--space-lg); }
h3 { font-size: var(--fs-2xl); margin-bottom: var(--space-md); }
h4 { font-size: var(--fs-xl); margin-bottom: var(--space-md); }
h5 { font-size: var(--fs-lg); margin-bottom: var(--space-sm); }
h6 { font-size: var(--fs-base); margin-bottom: var(--space-sm); }

.display-heading {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: 1.1;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.section-title {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extrabold);
  color: var(--dark);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: var(--fs-lg);
  color: var(--text-light);
  max-width: 600px;
  line-height: var(--lh-relaxed);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.container-wide {
  max-width: var(--container-wide);
}

.section {
  padding: var(--space-5xl) 0;
}

.section-sm {
  padding: var(--space-3xl) 0;
}

.section-lg {
  padding: var(--space-5xl) 0;
}

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

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-white);
}

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

.section-green {
  background: var(--primary-bg);
}

/* Grid */
.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.grid-auto {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* Flex */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  transition: all var(--transition-base);
}

.header-top {
  background: var(--dark);
  color: var(--text-white);
  padding: var(--space-sm) 0;
  font-size: var(--fs-sm);
}

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

.header-top-left {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.header-top-left a,
.header-top-left span {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: rgba(255,255,255,0.8);
  font-size: var(--fs-sm);
}

.header-top-left a:hover {
  color: var(--primary-light);
}

.header-top-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header-top-right a {
  color: rgba(255,255,255,0.6);
  font-size: var(--fs-sm);
  transition: color var(--transition-fast);
}

.header-top-right a:hover {
  color: var(--primary-light);
}

.header-main {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-md) 0;
  transition: all var(--transition-base);
}

.header.scrolled .header-main {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--fs-lg);
}

.logo span {
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-link {
  position: relative;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary);
  background: var(--primary-bg);
}

.nav-link.has-dropdown {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link.has-dropdown::after {
  content: '';
  border: 4px solid transparent;
  border-top-color: currentColor;
  margin-top: 2px;
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 820px;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 80px rgba(0,0,0,0.15);
  border: 1px solid var(--border-light);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: var(--z-dropdown);
  overflow: hidden;
}

.mega-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0;
}

.mega-menu-col {
  padding: var(--space-xl);
}

.mega-menu-col h5 {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-lighter);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-light);
}

.mega-menu-link {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 10px 12px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.mega-menu-link:hover {
  background: var(--primary-bg);
}

.mega-menu-link-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--primary-bg);
}

.mega-menu-link-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.mega-menu-link:hover .mega-menu-link-img img {
  transform: scale(1.1);
}

.mega-menu-link-text h4 {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--dark);
  margin-bottom: 2px;
  transition: color var(--transition-fast);
}

.mega-menu-link:hover .mega-menu-link-text h4 {
  color: var(--primary);
}

.mega-menu-link-text p {
  font-size: var(--fs-xs);
  color: var(--text-light);
  line-height: 1.4;
  margin: 0;
}

.mega-menu-featured {
  width: 260px;
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--primary-bg-alt) 100%);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.mega-menu-featured::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(55,166,142,0.1);
}

.mega-menu-featured::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(55,166,142,0.08);
}

.mega-menu-featured-img {
  width: 100%;
  height: 120px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.mega-menu-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mega-menu-featured h4 {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--dark);
  margin-bottom: var(--space-xs);
}

.mega-menu-featured p {
  font-size: var(--fs-sm);
  color: var(--text-light);
  line-height: var(--lh-normal);
  margin-bottom: var(--space-md);
}

.mega-menu-footer {
  grid-column: 1 / -1;
  padding: var(--space-md) var(--space-xl);
  background: var(--bg-alt);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
}

.mega-menu-footer-links {
  display: flex;
  gap: var(--space-lg);
}

.mega-menu-footer-links a {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--primary);
  transition: color var(--transition-fast);
}

.mega-menu-footer-links a:hover {
  color: var(--primary-dark);
}

.mega-menu-footer-cta {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: white;
  background: var(--primary);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.mega-menu-footer-cta:hover {
  background: var(--primary-dark);
  color: white;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

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

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

.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.4);
}

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

.btn-accent {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 18px 36px;
  font-size: var(--fs-base);
}

.btn-sm {
  padding: 10px 20px;
  font-size: var(--fs-xs);
}

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

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 700px;
  max-height: 1000px;
  overflow: hidden;
  background: var(--dark);
}

/* Slides Background */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1.2s ease, transform 8s ease;
}

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

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide-video::before {
  display: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 25, 20, 0.88) 0%,
    rgba(10, 25, 20, 0.65) 40%,
    rgba(55, 166, 142, 0.2) 100%
  );
  z-index: 1;
}

/* Content */
.hero-slider-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-slide-text {
  position: absolute;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 650px;
}

.hero-slide-text.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Animated Elements */
.hero-slide-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(55, 166, 142, 0.15);
  border: 1px solid rgba(55, 166, 142, 0.3);
  color: var(--primary-light);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-xl);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.2s;
}

.hero-slide-text.active .hero-slide-label {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide-title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: var(--fw-extrabold);
  color: white;
  line-height: 1.05;
  margin-bottom: var(--space-lg);
  letter-spacing: -1px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease 0.35s;
}

.hero-slide-text.active .hero-slide-title {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide-title span {
  background: linear-gradient(135deg, var(--primary-light) 0%, #7dd3c0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-slide-desc {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  max-width: 520px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease 0.5s;
}

.hero-slide-text.active .hero-slide-desc {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease 0.65s;
}

.hero-slide-text.active .hero-slide-actions {
  opacity: 1;
  transform: translateY(0);
}

/* Stats Bar */
.hero-slider-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: rgba(10, 25, 20, 0.9);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(55, 166, 142, 0.2);
}

.hero-slider::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(10, 25, 20, 0.9), transparent);
  z-index: 2;
  pointer-events: none;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  padding: var(--space-xl) 0;
}

.hero-stat-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.hero-stat-icon {
  font-size: 1.8rem;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(55, 166, 142, 0.15);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(55, 166, 142, 0.2);
}

.hero-stat-info {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-size: var(--fs-xl);
  font-weight: var(--fw-extrabold);
  color: white;
  line-height: 1.1;
}

.hero-stat-txt {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
}

/* Navigation Arrows */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.hero-nav:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.hero-nav-prev {
  left: 30px;
}

.hero-nav-next {
  right: 30px;
}

/* Indicators */
.hero-indicators {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-indicator {
  width: 4px;
  height: 32px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.hero-indicator:hover {
  background: rgba(255, 255, 255, 0.4);
}

.hero-indicator.active {
  background: rgba(255, 255, 255, 0.25);
}

.hero-indicator-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--primary);
  border-radius: 2px;
  transition: height 0.3s ease;
}

.hero-indicator.active .hero-indicator-progress {
  animation: indicatorProgress 6s linear forwards;
}

@keyframes indicatorProgress {
  from { height: 0%; }
  to { height: 100%; }
}

/* Counter */
.hero-counter {
  position: absolute;
  bottom: 90px;
  left: 30px;
  z-index: 4;
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
}

.hero-counter-current {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: white;
}

.hero-counter-sep {
  margin: 0 2px;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  border: 1px solid var(--border-light);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

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

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

.card-image .card-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-body {
  padding: var(--space-xl);
}

.card-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--dark);
  margin-bottom: var(--space-sm);
  transition: color var(--transition-fast);
}

.card:hover .card-title {
  color: var(--primary);
}

.card-text {
  font-size: var(--fs-sm);
  color: var(--text-light);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-md);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--primary);
}

.card-link:hover {
  gap: var(--space-sm);
}

/* Service Card */
.service-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.service-card:hover::before {
  transform: scaleX(1);
}

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

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: var(--fs-2xl);
  color: var(--primary);
  transition: all var(--transition-base);
}

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

.service-card h4 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
}

.service-card p {
  font-size: var(--fs-sm);
  color: var(--text-light);
  line-height: var(--lh-relaxed);
}

/* Project Card */
.project-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

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

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

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,31,26,0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.project-card:hover .project-card-overlay {
  opacity: 1;
}

.project-card-category {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-light);
  margin-bottom: var(--space-xs);
}

.project-card-title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: white;
  margin-bottom: var(--space-sm);
}

.project-card-text {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.7);
  line-height: var(--lh-normal);
}

/* Event Card */
.event-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.event-card-date {
  flex-shrink: 0;
  width: 100px;
  background: var(--primary);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.event-card-date .day {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-extrabold);
  line-height: 1;
}

.event-card-date .month {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

.event-card-body {
  padding: var(--space-xl);
  flex: 1;
}

.event-card-body h4 {
  margin-bottom: var(--space-xs);
}

.event-card-meta {
  display: flex;
  gap: var(--space-lg);
  font-size: var(--fs-sm);
  color: var(--text-light);
  margin-bottom: var(--space-sm);
}

/* Testimonial Card */
.testimonial-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--border-light);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: var(--space-lg);
  right: var(--space-xl);
  font-size: 5rem;
  font-family: var(--font-display);
  color: var(--primary-bg);
  line-height: 1;
}

.testimonial-text {
  font-size: var(--fs-md);
  color: var(--text);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-xl);
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  color: var(--primary);
}

.testimonial-name {
  font-weight: var(--fw-semibold);
  color: var(--dark);
}

.testimonial-role {
  font-size: var(--fs-sm);
  color: var(--text-light);
}

/* ============================================
   IMPACT COUNTERS
   ============================================ */
.impact-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.impact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2337a68e' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.impact-item {
  text-align: center;
  padding: var(--space-2xl);
}

.impact-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: rgba(55,166,142,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: var(--fs-2xl);
  color: var(--primary-light);
}

.impact-number {
  font-size: var(--fs-5xl);
  font-weight: var(--fw-extrabold);
  color: white;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.impact-label {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   TWO-PILLAR SECTION
   ============================================ */
.pillar-card {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  padding: var(--space-2xl);
  transition: all var(--transition-base);
}

.pillar-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.pillar-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,31,26,0.95) 0%, rgba(15,31,26,0.3) 60%, transparent 100%);
}

.pillar-card-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.pillar-card-icon {
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-md);
}

.pillar-card h3 {
  font-size: var(--fs-2xl);
  color: white;
  margin-bottom: var(--space-sm);
}

.pillar-card p {
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-lg);
  max-width: 400px;
}

.pillar-card .btn {
  align-self: flex-start;
}

/* ============================================
   MISSION GRID
   ============================================ */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
}

.mission-item {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  border-radius: var(--radius-xl);
  background: white;
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

.mission-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.mission-item-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-size: var(--fs-xl);
  color: var(--primary);
  transition: all var(--transition-base);
}

.mission-item:hover .mission-item-icon {
  background: var(--primary);
  color: white;
}

.mission-item h5 {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--dark);
  margin-bottom: var(--space-xs);
}

.mission-item p {
  font-size: var(--fs-xs);
  color: var(--text-light);
  line-height: var(--lh-normal);
}

/* ============================================
   PAGE HERO (Inner Pages)
   ============================================ */
.page-hero {
  background: var(--dark);
  padding: calc(80px + var(--space-4xl)) 0 var(--space-4xl);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,31,26,0.95) 0%, rgba(55,166,142,0.2) 100%);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.breadcrumb,
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-lg);
}

.breadcrumb a,
.breadcrumbs a {
  color: rgba(255,255,255,0.9);
}

.breadcrumb a:hover,
.breadcrumbs a:hover {
  color: var(--primary-light);
}

.breadcrumb-separator {
  font-size: var(--fs-xs);
}

.page-hero h1 {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: var(--fs-lg);
  max-width: 600px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-2xl);
}

.about-image-badge {
  position: absolute;
  bottom: var(--space-xl);
  right: var(--space-xl);
  background: var(--primary);
  color: white;
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.about-image-badge .number {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-extrabold);
  line-height: 1;
}

.about-image-badge .label {
  font-size: var(--fs-sm);
  opacity: 0.9;
}

.about-content h2 {
  margin-bottom: var(--space-lg);
}

.about-content p {
  color: var(--text-light);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.about-feature {
  display: flex;
  gap: var(--space-md);
}

.about-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: var(--fs-lg);
  flex-shrink: 0;
}

.about-feature h5 {
  margin-bottom: 2px;
}

.about-feature p {
  font-size: var(--fs-sm);
  margin-bottom: 0;
}

/* ============================================
   TEAM
   ============================================ */
.team-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.team-card-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

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

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

.team-card-social {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

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

.team-card-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: var(--fs-sm);
  transition: all var(--transition-fast);
}

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

.team-card-body {
  padding: var(--space-lg);
}

.team-card-body h4 {
  font-size: var(--fs-md);
  margin-bottom: 2px;
}

.team-card-body p {
  font-size: var(--fs-sm);
  color: var(--primary);
  font-weight: var(--fw-medium);
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  font-size: var(--fs-base);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  background: white;
  color: var(--text);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(55,166,142,0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-lighter);
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding-top: var(--space-5xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
  margin-top: var(--space-md);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-col h4 {
  color: white;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-lg);
}

.footer-col a {
  display: block;
  padding: var(--space-xs) 0;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.6);
  transition: all var(--transition-fast);
}

.footer-col a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-xl) 0;
  font-size: var(--fs-sm);
}

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

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

/* ============================================
   FLOATING DONATE BUTTON
   ============================================ */
.floating-donate {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: var(--z-fixed);
}

.floating-donate .btn {
  padding: 16px 32px;
  font-size: var(--fs-base);
  box-shadow: var(--shadow-xl);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: var(--shadow-xl), 0 0 0 0 rgba(55,166,142,0.4); }
  50% { box-shadow: var(--shadow-xl), 0 0 0 12px rgba(55,166,142,0); }
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  z-index: var(--z-fixed);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
  border: none;
  cursor: pointer;
}

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

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-white { color: white; }
.text-light { color: var(--text-light); }
.fw-bold { font-weight: var(--fw-bold); }
.fw-semibold { font-weight: var(--fw-semibold); }
.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.mt-3 { margin-top: var(--space-2xl); }
.mt-4 { margin-top: var(--space-3xl); }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }
.mb-4 { margin-bottom: var(--space-3xl); }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .mission-grid { grid-template-columns: repeat(3, 1fr); }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: var(--space-2xl); }
}

@media (max-width: 768px) {
  :root {
    --fs-5xl: 2.5rem;
    --fs-4xl: 2rem;
    --fs-3xl: 1.75rem;
  }

  .container { padding: 0 var(--space-lg); }
  .section { padding: var(--space-3xl) 0; }

  .header-top { display: none; }

  .nav { display: none; }
  .nav.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: var(--z-modal);
    padding: var(--space-5xl) var(--space-xl) var(--space-xl);
    gap: var(--space-sm);
    overflow-y: auto;
  }

  .nav-link {
    font-size: var(--fs-lg);
    padding: var(--space-md);
  }

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 var(--space-lg);
    min-width: auto;
    display: none;
  }

  .mega-menu {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: transparent;
    display: none;
  }

  .mega-menu-inner {
    grid-template-columns: 1fr;
  }

  .mega-menu-featured {
    width: 100%;
    border-radius: var(--radius-lg);
  }

  .mega-menu-col {
    padding: var(--space-md) 0;
  }

  .mega-menu-footer {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .nav-item.dropdown-open .nav-dropdown,
  .nav-item.dropdown-open .mega-menu {
    display: block;
  }

  .hamburger {
    display: flex;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .mission-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .hero-actions {
    flex-direction: column;
  }

  /* Hero Slider Mobile */
  .hero-slider {
    height: auto;
    min-height: auto;
    max-height: none;
    padding-bottom: 0;
  }

  .hero-slider-content {
    min-height: 500px;
  }

  .hero-slide-title {
    font-size: 2.2rem;
  }

  .hero-slide-desc {
    font-size: var(--fs-base);
  }

  .hero-nav {
    display: none;
  }

  .hero-indicators {
    display: none;
  }

  .hero-counter {
    display: none;
  }

  .hero-stats-row {
    flex-wrap: wrap;
    gap: var(--space-lg);
    padding: var(--space-lg);
  }

  .hero-stat-item {
    flex: 1;
    min-width: 140px;
  }

  .hero-stat-divider {
    display: none;
  }

  .hero-slider-stats {
    position: relative;
  }

  .event-card {
    flex-direction: column;
  }

  .event-card-date {
    width: 100%;
    flex-direction: row;
    gap: var(--space-sm);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .floating-donate .btn span { display: none; }
  .floating-donate .btn { padding: 16px; border-radius: var(--radius-full); }
}

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

  .about-features {
    grid-template-columns: 1fr;
  }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: var(--z-modal);
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: all var(--transition-base);
  border-radius: 2px;
}

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

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

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

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
}

/* Mobile close button */
.nav-close {
  display: none;
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--bg-alt);
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  cursor: pointer;
  border: none;
  z-index: 10;
}

@media (max-width: 768px) {
  .nav.active .nav-close {
    display: flex;
  }
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-4xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10S0 14.5 0 20s4.5 10 10 10 10-4.5 10-10zm20 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner h2 {
  color: white;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: var(--fs-lg);
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-group {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* ============================================
   BLOG CARDS
   ============================================ */
.blog-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

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

.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

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

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

.blog-card-body {
  padding: var(--space-xl);
}

.blog-card-meta {
  display: flex;
  gap: var(--space-md);
  font-size: var(--fs-xs);
  color: var(--text-light);
  margin-bottom: var(--space-sm);
}

.blog-card-body h4 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-card-body h4 {
  color: var(--primary);
}

.blog-card-body p {
  font-size: var(--fs-sm);
  color: var(--text-light);
  line-height: var(--lh-relaxed);
}

/* ============================================
   TABS
   ============================================ */
.tabs {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  border-bottom: 2px solid var(--border-light);
  padding-bottom: var(--space-sm);
  overflow-x: auto;
}

.tab-btn {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-light);
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--primary);
}

.tab-btn.active {
  color: var(--primary);
  font-weight: var(--fw-semibold);
  position: relative;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ============================================
   ACCORDION
   ============================================ */
.accordion-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.accordion-item.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(55,166,142,0.1);
}

.accordion-header {
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: white;
  transition: all var(--transition-fast);
}

.accordion-header:hover {
  background: var(--bg-alt);
}

.accordion-header h4 {
  margin: 0;
  font-size: var(--fs-md);
}

.accordion-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all var(--transition-base);
  flex-shrink: 0;
}

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

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.accordion-body-inner {
  padding: 0 var(--space-xl) var(--space-xl);
}

.accordion-body p {
  color: var(--text-light);
  line-height: var(--lh-relaxed);
}
