/* ============================================================
   NAMIARA — Design System
   Humanitaire Internationale
   "Chaque vie mérite un horizon"
   ============================================================ */

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

/* --- CSS Custom Properties --- */
:root {
  /* Primary palette */
  --green-deep: #1B4332;
  --green-main: #2D6A4F;
  --green-light: #40916C;
  --green-soft: #52B788;
  --green-pale: #95D5B2;

  /* Accent palette */
  --orange-main: #E76F51;
  --orange-light: #F4A261;
  --orange-pale: #FFD7BA;
  --gold: #E9C46A;

  /* Dark palette */
  --bg-dark: #091810;
  --bg-card: #102417;
  --bg-card-hover: #16301F;
  --bg-glass: rgba(16, 36, 23, 0.7);
  --bg-glass-light: rgba(45, 106, 79, 0.15);

  /* Text */
  --text-primary: #F0F7F4;
  --text-secondary: #A7C4B5;
  --text-muted: #6B9680;

  /* Borders */
  --border-subtle: rgba(82, 183, 136, 0.15);
  --border-glow: rgba(82, 183, 136, 0.3);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(45, 106, 79, 0.2);

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--green-soft);
  text-decoration: none;
  transition: color 0.3s var(--ease-smooth);
}

a:hover {
  color: var(--orange-light);
}

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

/* --- Utility Classes --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 120px 0;
}

.text-gradient {
  color: var(--green-soft);
  /* Fallback solid color */
}

.text-gradient-gold {
  color: var(--gold);
  /* Fallback solid color */
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .text-gradient {
    background: linear-gradient(135deg, #52B788, #F4A261);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }

  .text-gradient-gold {
    background: linear-gradient(135deg, #F4A261, #E9C46A);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

/* --- Animated Background Shapes --- */
.bg-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.08;
  animation: floatShape 20s ease-in-out infinite;
}

.bg-shapes .shape:nth-child(1) {
  width: 600px;
  height: 600px;
  background: var(--green-main);
  top: -10%;
  right: -10%;
  animation-delay: 0s;
}

.bg-shapes .shape:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--orange-main);
  bottom: 20%;
  left: -5%;
  animation-delay: -7s;
}

.bg-shapes .shape:nth-child(3) {
  width: 500px;
  height: 500px;
  background: var(--green-soft);
  top: 50%;
  right: 20%;
  animation-delay: -14s;
}

@keyframes floatShape {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -40px) scale(1.05);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all 0.4s var(--ease-smooth);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(6, 14, 9, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-logo .logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(45, 106, 79, 0.3));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--bg-glass-light);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--green-soft);
  border-radius: 2px;
}

.nav-cta {
  padding: 10px 24px !important;
  background: linear-gradient(135deg, var(--orange-main), var(--orange-light)) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 20px rgba(231, 111, 81, 0.3);
  transition: all 0.3s var(--ease-smooth) !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(231, 111, 81, 0.5) !important;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 4px;
  transition: all 0.3s var(--ease-smooth);
}

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

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

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

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(6, 14, 9, 0.3) 0%,
      rgba(6, 14, 9, 0.5) 50%,
      var(--bg-dark) 100%);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--green-soft);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s var(--ease-smooth) both;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-soft);
  animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s var(--ease-smooth) 0.1s both;
}

.hero h1 span {
  display: block;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--text-secondary);
  margin-bottom: 16px;
  max-width: 600px;
  animation: fadeInUp 0.8s var(--ease-smooth) 0.2s both;
}

.hero-philosophy {
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s var(--ease-smooth) 0.3s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--ease-smooth) 0.4s both;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: fadeInUp 0.8s var(--ease-smooth) 0.6s both;
}

.scroll-indicator .mouse {
  width: 28px;
  height: 42px;
  border: 2px solid var(--text-muted);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-indicator .wheel {
  width: 4px;
  height: 8px;
  background: var(--green-soft);
  border-radius: 4px;
  animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-main), var(--green-soft));
  color: #fff;
  box-shadow: 0 4px 20px rgba(45, 106, 79, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(45, 106, 79, 0.5);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glow);
}

.btn-secondary:hover {
  background: var(--bg-glass-light);
  border-color: var(--green-soft);
  transform: translateY(-3px);
  color: var(--text-primary);
}

.btn-accent {
  background: linear-gradient(135deg, var(--orange-main), var(--orange-light));
  color: #fff;
  box-shadow: 0 4px 20px rgba(231, 111, 81, 0.3);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(231, 111, 81, 0.5);
  color: #fff;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto 56px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-soft);
  margin-bottom: 8px;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--green-soft);
  opacity: 0.5;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* --- About / Qui sommes-nous --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

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

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  pointer-events: none;
}

.about-text h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: all 0.3s var(--ease-smooth);
}

.value-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.value-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-glass-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.value-item span {
  font-weight: 500;
  font-size: 0.9rem;
}

/* --- Stats Bar --- */
.stats-bar {
  background: transparent;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 48px 0;
}

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

.stat-item {
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

.stat-item:last-child::after {
  display: none;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green-soft);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Team Section --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-main), var(--green-soft));
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-smooth);
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

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

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 3px solid var(--border-glow);
  box-shadow: 0 0 20px rgba(82, 183, 136, 0.15);
}

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

.team-avatar-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--green-main), var(--green-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: #fff;
}

.team-card h4 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.85rem;
  color: var(--orange-light);
  font-weight: 500;
  margin-bottom: 12px;
}

.team-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Mission / Projects Section --- */
.mission-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.mission-map {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.mission-map img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.mission-map .location-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 10px 20px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mission-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.mission-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

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

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

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

.project-image .project-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-tag.education {
  background: linear-gradient(135deg, var(--green-main), var(--green-soft));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.4);
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.project-tag.nutrition {
  background: linear-gradient(135deg, var(--orange-main), var(--orange-light));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(231, 111, 81, 0.4);
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.project-tag.sante {
  background: linear-gradient(135deg, #e76f51, var(--orange-light));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(244, 162, 97, 0.4);
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.project-tag.eau {
  background: linear-gradient(135deg, #0077b6, #00b4d8);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 180, 216, 0.4);
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.project-body {
  padding: 28px;
}

.project-body h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.project-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.project-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.project-features li::before {
  content: '✓';
  color: var(--green-soft);
  font-weight: 700;
}

/* --- Partnership Section --- */
.partnership-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.partnership-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.partnership-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.partnership-types {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.partnership-type {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  transition: all 0.3s var(--ease-smooth);
}

.partnership-type:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  transform: translateX(8px);
}

.partnership-type-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-glass-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.partnership-type h5 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.partnership-type p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Donate Section --- */
.donate-section {
  position: relative;
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--bg-dark) 100%);
}

.donate-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><circle cx="40" cy="40" r="1" fill="rgba(82,183,136,0.08)"/></svg>');
  background-size: 40px 40px;
}

.donate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  position: relative;
  z-index: 1;
}

.donate-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.donate-info p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.donate-highlight {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  margin: 24px 0;
}

.donate-highlight-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--green-main), var(--green-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.donate-highlight h5 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.donate-highlight p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.needs-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.needs-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.needs-list li .need-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-glass-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Donate form card */
.donate-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.donate-card h4 {
  font-size: 1.3rem;
  margin-bottom: 24px;
  text-align: center;
}

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

.amount-btn {
  padding: 14px;
  background: var(--bg-glass-light);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  text-align: center;
}

.amount-btn:hover,
.amount-btn.active {
  background: var(--green-main);
  border-color: var(--green-soft);
  box-shadow: 0 0 20px rgba(45, 106, 79, 0.3);
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-glass-light);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s var(--ease-smooth);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green-soft);
  box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.15);
}

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

.form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

/* --- Contact Form Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 40px;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  transition: all 0.3s var(--ease-smooth);
}

.contact-info-item:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-glass-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-item h5 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

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

/* --- Footer --- */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-glass-light);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s var(--ease-smooth);
  color: var(--text-secondary);
}

.footer-social a:hover {
  background: var(--green-main);
  border-color: var(--green-soft);
  transform: translateY(-3px);
  color: var(--text-primary);
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all 0.3s var(--ease-smooth);
}

.footer-col ul a:hover {
  color: var(--green-soft);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cameroon-flag {
  display: inline-flex;
  gap: 0;
  border-radius: 3px;
  overflow: hidden;
  vertical-align: middle;
}

.cameroon-flag span {
  width: 8px;
  height: 14px;
}

.cameroon-flag .flag-green {
  background: #007A5E;
}

.cameroon-flag .flag-red {
  background: #CE1126;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cameroon-flag .flag-red::after {
  content: '★';
  color: #FCD116;
  font-size: 8px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
}

.cameroon-flag .flag-yellow {
  background: #FCD116;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-smooth);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s var(--ease-smooth);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s var(--ease-smooth);
}

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

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

.stagger-children.visible>*:nth-child(1) {
  transition-delay: 0s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.visible>*:nth-child(2) {
  transition-delay: 0.1s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.visible>*:nth-child(3) {
  transition-delay: 0.2s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.visible>*:nth-child(4) {
  transition-delay: 0.3s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.visible>*:nth-child(5) {
  transition-delay: 0.4s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.visible>*:nth-child(6) {
  transition-delay: 0.5s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.visible>*:nth-child(7) {
  transition-delay: 0.6s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.visible>*:nth-child(8) {
  transition-delay: 0.7s;
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {

  .about-grid,
  .mission-intro,
  .partnership-content,
  .donate-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }
}

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

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    flex-direction: column;
    background: rgba(6, 14, 9, 0.97);
    backdrop-filter: blur(20px);
    padding: 100px 32px 32px;
    gap: 4px;
    transition: right 0.4s var(--ease-smooth);
    border-left: 1px solid var(--border-subtle);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 12px 16px;
  }

  .nav-toggle {
    display: flex;
  }

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

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

  .needs-list {
    grid-template-columns: 1fr;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

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

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--green-deep);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--green-main);
}

/* --- Selection --- */
::selection {
  background: rgba(82, 183, 136, 0.3);
  color: var(--text-primary);
}

/* --- Impact Bar (Chiffres Clés) --- */
.impact-bar {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--bg-dark) 100%);
  padding: 100px 0;
  position: relative;
}

.impact-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><circle cx="40" cy="40" r="1" fill="rgba(82,183,136,0.06)"/></svg>');
  background-size: 40px 40px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.impact-item {
  padding: 40px 24px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  transition: all 0.4s var(--ease-smooth);
}

.impact-item:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.impact-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.impact-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--green-soft);
  line-height: 1;
  margin-bottom: 8px;
}

.impact-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* --- Story Card (Notre Histoire) --- */
.story-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.story-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-main), var(--orange-light), var(--green-soft));
}

.story-quote {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  font-style: italic;
  color: var(--green-pale);
  margin-bottom: 24px;
  line-height: 1.5;
}

.story-card p {
  color: var(--text-secondary);
  line-height: 1.9;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.story-card p:last-child {
  margin-bottom: 0;
}

.story-card strong {
  color: var(--text-primary);
}

/* --- Journal de Bord --- */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.journal-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.journal-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.journal-date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}

.journal-month {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange-light);
}

.journal-year {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-soft);
  line-height: 1;
}

.journal-date-range {
  display: inline-block;
  margin-top: 0;
  padding: 6px 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--green-soft);
  background: transparent;
  border: 2px solid var(--orange-light);
  border-radius: 12px;
}

.journal-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.journal-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.journal-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  align-self: flex-start;
}

.journal-status.done {
  background: rgba(82, 183, 136, 0.15);
  color: var(--green-soft);
  border: 1px solid rgba(82, 183, 136, 0.3);
}

.journal-status.progress {
  background: rgba(244, 162, 97, 0.15);
  color: var(--orange-light);
  border: 1px solid rgba(244, 162, 97, 0.3);
}

.journal-status.upcoming {
  background: rgba(167, 196, 181, 0.1);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

/* --- Footer Legal --- */
.footer-legal {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.footer-legal p {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.8;
  opacity: 0.7;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal a:hover {
  color: var(--green-soft);
}

/* --- Responsive additions --- */
@media (max-width: 1024px) {
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .journal-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .impact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .impact-item {
    padding: 28px 20px;
  }

  .impact-number {
    font-size: 2.5rem;
  }

  .story-card {
    padding: 32px 24px;
  }

  .story-quote {
    font-size: 1.15rem;
  }

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

/* ============================================================
   TERRAIN GALLERY
   ============================================================ */

.terrain-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.terrain-gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.terrain-gallery-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--border-glow);
}

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

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

.terrain-gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(9, 24, 16, 0.9));
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.terrain-gallery-item:hover .terrain-gallery-caption {
  transform: translateY(0);
}

/* Appareils tactiles (sans souris) : légendes toujours visibles */
@media (hover: none) {
  .terrain-gallery-caption {
    transform: translateY(0);
  }
}

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

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

  .terrain-gallery-caption {
    transform: translateY(0);
    font-size: 0.8rem;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .terrain-gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}