/* ============================================
   ALPGI — African LPG Institute
   Ultra-Modern Design System
   Colors derived from GLPGP logo:
     Blue (water/energy), Green (growth), Amber (flame)
   ============================================ */

/* === GOOGLE FONTS (Loaded via <link> in HTML <head> for performance) === */

/* === DESIGN TOKENS === */
:root {
  /* Logo-derived palette */
  --blue-900: #032B43;
  --blue-800: #064573;
  --blue-700: #0A5E9C;
  --blue-600: #0077B6;
  --blue-500: #0096E0;
  --blue-400: #00B4D8;
  --blue-300: #48CAE4;
  --blue-200: #90E0EF;
  --blue-100: #CAF0F8;

  --green-900: #012b00;
  --green-800: #025000; /* New logo main green */
  --green-700: #036b00;
  --green-600: #048a00;
  --green-500: #06a800;
  --green-400: #29c224;
  --green-300: #5bd457;
  --green-200: #9be898;
  --green-100: #e3fae1;

  --amber-900: #7A3E00;
  --amber-800: #A35200;
  --amber-700: #CC6800;
  --amber-600: #F7941D;
  --amber-500: #FFB038;
  --amber-400: #FFC45C;
  --amber-300: #FFD88A;
  --amber-200: #FFE8B5;
  --amber-100: #FFF5E0;

  /* Neutrals */
  --dark-950: #080E18;
  --dark-900: #0A1628;
  --dark-800: #111D33;
  --dark-700: #1A2A42;
  --dark-600: #253B56;
  --dark-500: #34506F;
  --neutral-400: #5A7394;
  --neutral-300: #8BA3BF;
  --neutral-200: #B8CCE0;
  --neutral-100: #E2EBF3;
  --white: #F8FAFB;
  --pure-white: #FFFFFF;

  /* Semantic */
  --primary: var(--green-800);
  --primary-dark: var(--green-900);
  --primary-light: var(--green-600);
  --secondary: var(--green-600);
  --secondary-dark: var(--green-800);
  --accent: var(--green-600);
  --accent-light: var(--green-400);
  --bg-dark: var(--green-100);
  --bg-darker: var(--pure-white);
  --text-primary: var(--dark-900);
  --text-secondary: var(--neutral-400);
  --text-on-dark: var(--dark-900);
  --text-on-dark-muted: var(--dark-700);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 1.75rem;
  --space-2xl: 2.25rem;
  --space-3xl: 2.75rem;
  --space-4xl: 3.5rem;
  --space-5xl: 4.5rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(1, 43, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(1, 43, 0, 0.1);
  --shadow-lg: 0 8px 40px rgba(1, 43, 0, 0.14);
  --shadow-xl: 0 16px 60px rgba(1, 43, 0, 0.18);
  --shadow-glow-blue: 0 0 30px rgba(2, 80, 0, 0.3);
  --shadow-glow-green: 0 0 30px rgba(45, 150, 66, 0.3);
  --shadow-glow-amber: 0 0 30px rgba(45, 150, 66, 0.3);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 350ms;
  --duration-slow: 600ms;

  /* Layout */
  --max-width: 1280px;
  --nav-height: 88px;
}

/* === RESET & BASE === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p {
  font-size: 1.05rem;
  color: var(--dark-600);
  max-width: 70ch;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover { color: var(--accent); }

img {
  max-width: 100%;
  display: block;
}

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* === SCROLL PROGRESS BAR === */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  z-index: 10000;
  transition: width 100ms linear;
}

/* === NAVIGATION === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(2, 80, 0, 0.08);
  z-index: 1000;
  transition: all var(--duration-normal) var(--ease-out);
}

.navbar.scrolled {
  height: 76px;
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.97);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
  transition: transform var(--duration-normal) var(--ease-spring), height var(--duration-normal) var(--ease-out);
}

.navbar.scrolled .brand-logo {
  height: 62px;
}

.nav-logo:hover .brand-logo {
  transform: scale(1.05);
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark-900);
  letter-spacing: -0.03em;
}

.nav-logo-text span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--pure-white);
  background: var(--primary);
}

.nav-link .chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--duration-fast) var(--ease-out);
}

.nav-item:hover .chevron,
.nav-item:focus-within .chevron {
  transform: rotate(180deg);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: var(--pure-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--neutral-100);
  padding: var(--space-sm);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--duration-normal) var(--ease-out);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-600);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out);
}

.dropdown-link:hover {
  background: var(--green-100);
  color: var(--primary);
  transform: translateX(4px);
}

.dropdown-link .dd-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-100);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  flex-shrink: 0;
}

.dropdown-link:hover .dd-icon {
  background: var(--primary);
  color: var(--pure-white);
}

/* Nav CTA Button */
.nav-cta {
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--primary), var(--green-700));
  color: var(--pure-white) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: 0 4px 16px rgba(2, 80, 0, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(2, 80, 0, 0.4);
  color: var(--pure-white) !important;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-sm);
  background: none;
  border: none;
  z-index: 1100;
}

.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--dark-700);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
}

.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;
  background: linear-gradient(160deg, var(--white) 0%, var(--green-100) 50%, var(--green-100) 100%);
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 80%, rgba(45, 150, 66, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(2, 80, 0, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 70%, rgba(45, 150, 66, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

/* Animated floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-light);
  border-radius: 50%;
  opacity: 0.3;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) translateX(0) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.4;
    transform: translateY(90vh) translateX(10px) scale(1);
  }
  90% {
    opacity: 0.2;
  }
  100% {
    transform: translateY(-10vh) translateX(-20px) scale(0.5);
    opacity: 0;
  }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  position: relative;
  z-index: 2;
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 16px;
  background: rgba(2, 80, 0, 0.15);
  border: 1px solid rgba(2, 80, 0, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-300);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Page Hero for subpages */
.page-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--green-100) 0%, var(--white) 100%);
  padding-top: calc(var(--nav-height) + var(--space-3xl));
  padding-bottom: var(--space-3xl);
  text-align: center;
  border-bottom: 1px solid var(--neutral-100);
}

.page-hero .container {
  max-width: 800px;
}

.page-hero .overline {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
  font-size: 0.85rem;
}

.page-hero h1 {
  color: var(--dark-900);
  margin-bottom: var(--space-md);
}

.page-hero p {
  color: var(--dark-700);
  font-size: 1.15rem;
  margin: 0 auto;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45, 150, 66, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(45, 150, 66, 0); }
}

.hero h1 {
  color: var(--dark-900);
  font-weight: 800;
  margin-bottom: var(--space-lg);
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--green-400), var(--green-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--dark-700);
  margin-bottom: var(--space-2xl);
  line-height: 1.8;
  max-width: 55ch;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Home Who We Are teaser: text fades out under the Read More button */
.about-teaser {
  position: relative;
  max-width: 55ch;
  margin-bottom: var(--space-xl);
}

.about-teaser-text {
  max-height: 15rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 35%, rgba(0, 0, 0, 0.2) 100%);
  mask-image: linear-gradient(to bottom, #000 35%, rgba(0, 0, 0, 0.2) 100%);
}

.about-teaser-text .hero-description {
  margin-bottom: var(--space-md);
}

.about-teaser-btn {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.5rem;
  width: max-content;
  margin-inline: auto;
  box-shadow: 0 8px 24px rgba(2, 80, 0, 0.3);
}

/* Hero visual - Image Carousel */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.image-carousel {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: 400px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--pure-white);
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s var(--ease-out);
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-indicators {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-sm);
  z-index: 3;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--duration-fast) var(--ease-out);
}

.indicator.active {
  background: var(--pure-white);
  transform: scale(1.3);
}

/* Carousel Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 15px; }
.next-btn { right: 15px; }


/* Hero Stats Bar */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  z-index: 3;
}

.hero-stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--green-300), var(--green-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--dark-700);
  margin-top: 4px;
  font-weight: 500;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--green-700));
  color: var(--pure-white);
  box-shadow: 0 4px 20px rgba(2, 80, 0, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(2, 80, 0, 0.45);
  color: var(--pure-white);
}

.btn-secondary {
  background: var(--pure-white);
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: 0 4px 15px rgba(2, 80, 0, 0.12);
  font-weight: 600;
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--pure-white);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(2, 80, 0, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--pure-white);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--green-700));
  color: var(--pure-white);
  box-shadow: 0 4px 20px rgba(45, 150, 66, 0.35);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(45, 150, 66, 0.45);
  color: var(--pure-white);
}

.btn-green {
  background: linear-gradient(135deg, var(--secondary), var(--green-700));
  color: var(--pure-white);
  box-shadow: 0 4px 20px rgba(45, 150, 66, 0.35);
}

.btn-green:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(45, 150, 66, 0.45);
  color: var(--pure-white);
}

.btn svg, .btn .btn-icon {
  width: 18px;
  height: 18px;
}

/* === SECTION STYLES === */
.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.section-light {
  background: var(--white);
}

.section-alt {
  background: linear-gradient(180deg, var(--neutral-100) 0%, var(--pure-white) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.section-header .overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.section-header .overline::before,
.section-header .overline::after {
  content: '';
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-dark .section-header h2 {
  color: var(--dark-900);
}

.section-header p {
  margin: 0 auto;
  color: var(--neutral-400);
  font-size: 1.1rem;
}

.section-dark .section-header p {
  color: var(--dark-700);
}

/* === PILLARS / CARDS === */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.pillar-card {
  position: relative;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  backdrop-filter: blur(12px);
  transition: all var(--duration-normal) var(--ease-out);
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.pillar-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(2, 80, 0, 0.25);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow-blue);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 1.6rem;
  margin-bottom: var(--space-lg);
  transition: transform var(--duration-normal) var(--ease-spring);
}

.pillar-card:hover .pillar-icon {
  transform: scale(1.1) rotate(-3deg);
}

.pillar-icon.blue { background: rgba(2, 80, 0, 0.15); color: var(--green-400); }
.pillar-icon.green { background: rgba(45, 150, 66, 0.15); color: var(--green-400); }
.pillar-icon.amber { background: rgba(45, 150, 66, 0.15); color: var(--green-400); }
.pillar-icon.teal { background: rgba(45, 150, 66, 0.15); color: var(--green-300); }

.pillar-card h3 {
  color: var(--dark-900);
  margin-bottom: var(--space-md);
  font-size: 1.2rem;
}

.pillar-card p {
  color: var(--dark-700);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* === ABOUT / MISSION === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2, 80, 0, 0.15) 0%, rgba(45, 150, 66, 0.1) 100%);
  border-radius: var(--radius-lg);
}

.about-content h2 {
  margin-bottom: var(--space-lg);
}

.about-content p {
  margin-bottom: var(--space-md);
}

.mission-quote {
  position: relative;
  padding: var(--space-2xl);
  background: linear-gradient(135deg, var(--green-100), var(--green-100));
  border-radius: var(--radius-lg);
  margin-top: var(--space-xl);
  border-left: 4px solid var(--primary);
}

.mission-quote p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--dark-700);
  font-weight: 500;
}

/* === FOUNDERS === */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
}

.founder-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--neutral-100);
  transition: all var(--duration-normal) var(--ease-out);
}

.founder-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.founder-card h3 {
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.founder-card .founder-subtitle {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.founder-card p {
  font-size: 0.95rem;
}

/* === LEADERSHIP / TEAM === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.team-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--neutral-100);
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.team-card-photo {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: var(--space-xl) auto 0;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--duration-slow) var(--ease-out);
}

.team-card:hover .team-card-photo img {
  transform: scale(1.05);
}

.team-card-photo::after {
  display: none;
}

.team-card-info {
  padding: var(--space-lg) var(--space-xl) var(--space-2xl);
  text-align: center;
}

.team-card-info h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.team-card-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-md);
}

.team-card-bio {
  font-size: 0.9rem;
  color: var(--dark-600);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.team-card-bio.expanded {
  -webkit-line-clamp: unset;
}

.read-more-btn {
  display: inline-block;
  margin-top: var(--space-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  font-family: var(--font-body);
}

.read-more-btn:hover {
  color: var(--accent);
}

/* Executive team - larger cards */
.exec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
}

.exec-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--neutral-100);
  transition: all var(--duration-normal) var(--ease-out);
}

.exec-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.exec-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  margin: var(--space-2xl) auto 0;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
}

.exec-info {
  padding: var(--space-xl) var(--space-2xl) var(--space-2xl);
  text-align: center;
}

.exec-info h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.exec-info .team-card-role {
  margin-bottom: var(--space-md);
}

.exec-info p {
  font-size: 0.92rem;
  line-height: 1.7;
}

/* === ALLIANCE SECTION === */
.alliance-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-4xl);
}

.alliance-feature {
  text-align: center;
  padding: var(--space-2xl);
}

.alliance-feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-100), var(--green-100));
  border-radius: var(--radius-lg);
  font-size: 1.8rem;
  transition: transform var(--duration-normal) var(--ease-spring);
}

.alliance-feature:hover .alliance-feature-icon {
  transform: scale(1.1) rotate(-5deg);
}

.alliance-feature h3 {
  color: var(--dark-900);
  margin-bottom: var(--space-sm);
}

.alliance-feature p {
  color: var(--dark-700);
  margin: 0 auto;
  font-size: 0.95rem;
}

/* === FORMS === */
.form-container {
  max-width: 680px;
  margin: 0 auto;
  background: var(--pure-white);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--neutral-100);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark-700);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 2px solid var(--neutral-200);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--dark-900);
  transition: all var(--duration-fast) var(--ease-out);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(2, 80, 0, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  padding: var(--space-md);
  background: var(--green-100);
  border-radius: var(--radius-md);
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.form-checkbox label {
  font-size: 0.88rem;
  color: var(--dark-600);
  line-height: 1.5;
  margin-bottom: 0;
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-3xl);
}

.form-success.show {
  display: block;
}

.form-success .success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-lg);
  background: var(--green-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--secondary);
}

.form-success h3 {
  color: var(--secondary);
  margin-bottom: var(--space-sm);
}

/* === CTA CARDS === */
.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.cta-card {
  position: relative;
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
  overflow: hidden;
}

.cta-card.partner {
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: var(--pure-white);
}

.cta-card.sponsor {
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: var(--pure-white);
}

.cta-card.donate {
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: var(--pure-white);
}

.cta-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.cta-card-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
}

.cta-card h3 {
  color: var(--pure-white);
  margin-bottom: var(--space-md);
}

.cta-card p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-xl);
  font-size: 0.95rem;
}

.cta-card .btn {
  background: rgba(255, 255, 255, 0.2);
  color: var(--pure-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.cta-card .btn:hover {
  background: var(--pure-white);
  color: var(--dark-900);
}

/* === BLOG === */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.blog-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-100);
  transition: all var(--duration-normal) var(--ease-out);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: var(--space-xl);
}

.blog-card-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--green-100);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card-body h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
}

.blog-card-body p {
  font-size: 0.9rem;
  color: var(--neutral-400);
}

/* === CONTACT === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact-info {
  padding: var(--space-2xl);
}

.contact-info h2 {
  margin-bottom: var(--space-lg);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-100);
  border-radius: var(--radius-md);
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--primary);
}

.contact-item h4 {
  margin-bottom: 2px;
}

.contact-item p {
  font-size: 0.92rem;
}

/* === FOOTER === */
.footer {
  background: var(--green-100);
  color: var(--dark-900);
  padding: var(--space-4xl) 0 var(--space-xl);
  border-top: 1px solid var(--neutral-100);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand p {
  color: var(--dark-700);
  font-size: 0.92rem;
  margin-top: var(--space-md);
  max-width: 35ch;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dark-900);
  margin-bottom: var(--space-lg);
}

.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 0.9rem;
  color: var(--dark-700);
  transition: all var(--duration-fast) var(--ease-out);
}

.footer-col a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(2, 80, 0, 0.1);
  margin-bottom: var(--space-xl);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--neutral-400);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  color: var(--neutral-300);
  font-size: 1rem;
  transition: all var(--duration-fast) var(--ease-out);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--pure-white);
  transform: translateY(-2px);
}

/* === PAGE HERO (inner pages) === */
.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + var(--space-4xl)) 0 var(--space-4xl);
  background: linear-gradient(135deg, var(--green-100) 0%, var(--white) 100%);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 30% 70%, rgba(45, 150, 66, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 30%, rgba(2, 80, 0, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero .overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.page-hero h1 {
  color: var(--dark-900);
  margin-bottom: var(--space-md);
  font-weight: 800;
}

.page-hero p {
  color: var(--dark-700);
  font-size: 1.15rem;
  max-width: 60ch;
}

/* === HOW WE WORK === */
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.how-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--primary));
}

.how-step {
  text-align: center;
  position: relative;
}

.how-step-number {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--green-700));
  color: var(--pure-white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-glow-blue);
}

.how-step h4 {
  margin-bottom: var(--space-sm);
}

.how-step p {
  font-size: 0.9rem;
  margin: 0 auto;
}

/* === VOLUNTEERS === */
.vol-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.vol-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.vol-benefit {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: rgba(2, 80, 0, 0.06);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-700);
}

.vol-benefit .check {
  color: var(--secondary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* === ANIMATIONS (Scroll-triggered) === */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s var(--ease-out);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered delays for grid children */
.stagger > *:nth-child(1) { transition-delay: 0ms; }
.stagger > *:nth-child(2) { transition-delay: 80ms; }
.stagger > *:nth-child(3) { transition-delay: 160ms; }
.stagger > *:nth-child(4) { transition-delay: 240ms; }
.stagger > *:nth-child(5) { transition-delay: 320ms; }
.stagger > *:nth-child(6) { transition-delay: 400ms; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    margin-top: var(--space-2xl);
  }

  .image-carousel {
    height: auto;
    aspect-ratio: 7 / 5;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .exec-card {
    grid-template-columns: 180px 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .how-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-steps::before {
    display: none;
  }

  .vol-hero-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: var(--pure-white);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--nav-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
    transition: right var(--duration-normal) var(--ease-out);
    overflow-y: auto;
    gap: 0;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: var(--space-md);
    font-size: 1rem;
  }

  .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    box-shadow: none;
    border: none;
    padding-left: var(--space-xl);
    display: none;
    min-width: unset;
  }

  .nav-item.dropdown-open .nav-dropdown {
    display: block;
  }

  .nav-cta {
    margin-top: var(--space-md);
    text-align: center;
    width: 100%;
    display: block;
  }

  .hero-stats .container {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .pillars-grid,
  .cta-grid,
  .blog-grid,
  .alliance-features,
  .how-steps {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .exec-card {
    grid-template-columns: 1fr;
  }

  .exec-photo {
    height: 280px;
    min-height: unset;
  }

  .founders-grid,
  .exec-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-container {
    padding: var(--space-xl);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .vol-benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .carousel-btn {
    width: 36px;
    height: 36px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .section {
    padding: var(--space-3xl) 0;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .hero-stats .container {
    grid-template-columns: 1fr 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* === MOBILE NAV OVERLAY === */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.nav-overlay.show {
  opacity: 1;
  visibility: visible;
}

.more-text {
  display: none;
}
.read-more-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0;
  margin-top: var(--space-sm);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.read-more-btn:hover {
  color: var(--primary-dark);
}


/* === FULL WIDTH HERO === */
.hero-full-width {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background-color: var(--primary-dark);
  padding-top: var(--nav-height);
  padding-bottom: 0;
  text-align: center;
  color: var(--pure-white);
  overflow: hidden;
}

.hero-full-width .hero-badge-top-left {
  position: absolute;
  top: calc(var(--nav-height) + 8px);
  left: clamp(16px, 4vw, 48px);
  margin: 0;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 80, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--pure-white);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: clamp(0.62rem, 0.9vw, 0.7rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-full-width .hero-caption-container {
  max-width: 1100px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0 auto;
  padding: 0 20px clamp(1rem, 3vw, 2.5rem);
}

.hero-full-width h1 {
  color: var(--pure-white);
  font-size: clamp(1.25rem, 2.3vw, 2.1rem);
  font-weight: 800;
  margin: 0 auto;
  max-width: 1050px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.95);
  line-height: 1.25;
  text-wrap: balance;
}

@media (max-width: 768px) {
  .hero-full-width .hero-badge-top-left {
    top: calc(var(--nav-height) + 6px);
    left: 10px;
    max-width: calc(100% - 20px);
    padding: 4px 10px;
    font-size: 0.55rem;
    letter-spacing: 0.04em;
  }

  .hero-full-width h1 {
    font-size: 1rem;
  }

  .hero-full-width .hero-caption-container {
    padding-bottom: 0.6rem;
  }
}

.hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - var(--nav-height));
}

.hero-bg-slides {
  position: absolute;
  inset: 0;
}

.hero-bg-slides::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.8) 100%);
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
}

.hero-bg-slide.active {
  opacity: 1;
}

.hero-full-width .hero-slide-caption {
  position: absolute;
  z-index: 3;
  left: 0;
  top: calc(var(--nav-height) + min(56.25vw, 100vh - var(--nav-height)) / 2);
  transform: translateY(-50%);
  width: min(340px, 28vw);
  margin: 0;
  padding: 1rem 1.25rem;
  background: rgba(1, 45, 0, 0.82);
  border-left: 4px solid var(--secondary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  color: var(--pure-white);
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-full-width .hero-slide-caption.has-text {
  opacity: 1;
}

@media (max-width: 768px) {
  .hero-full-width .hero-slide-caption {
    position: static;
    transform: none;
    width: auto;
    padding: var(--space-md) 20px;
    background: transparent;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 0.78rem;
    text-align: center;
    opacity: 1;
  }
}

/* === SECONDARY HERO (below full-width hero) === */
.hero.hero-secondary {
  min-height: auto;
  flex-direction: column;
  align-items: stretch;
}

.hero.hero-secondary .hero-stats {
  position: relative;
  bottom: auto;
  margin-top: var(--space-2xl);
}

/* === PARTNERS GRID === */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--space-xl);
  align-items: center;
  justify-items: center;
  padding: var(--space-2xl) 0;
}

.partner-logo-item {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-sm);
  background: var(--pure-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  width: 100%;
  aspect-ratio: 16/9; /* ensures a uniform block size */
}

.partner-logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.8;
  transition: all var(--transition-normal);
  filter: grayscale(100%);
}

.partner-logo-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.partner-logo-item:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

@media (min-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--space-2xl);
  }
}

/* === INTERACTIVE MAP === */
.map-container {
  position: relative;
}

.map-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  background-color: var(--primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 10;
}

.map-dot .pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary);
  border-radius: 50%;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  z-index: -1;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(3.5); opacity: 0; }
}

/* Tooltip styles */
.tooltip {
  position: relative;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 160px;
  background-color: var(--dark-900);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px;
  position: absolute;
  z-index: 20;
  bottom: 150%; 
  left: 50%;
  margin-left: -80px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 0.85rem;
  line-height: 1.4;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--dark-900) transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}


/* === WHATSAPP FLOATING BUTTON === */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 10000;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: white;
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
  fill: currentColor;
}

/* === ACCESSIBILITY: REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-particles, .particle, .pulse {
    display: none !important;
  }
}

/* === ACCESSIBILITY: SKIP LINK === */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--primary);
  color: #ffffff;
  padding: 12px 20px;
  z-index: 99999;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  transition: top 0.2s ease-in-out;
}
.skip-link:focus {
  top: 20px;
  outline: 3px solid var(--accent);
}
