/* =====================================================
   NAFRIWA — Complete Revamp Stylesheet
   Network of African Women Alliance
   Design: Clean, warm, professional NGO
   ===================================================== */

/* --- DESIGN TOKENS --- */
:root {
  --primary: #eb0606;        /* Deep African red */
  --primary-dark: #a20e04;
  --accent: #E8833A;         /* Warm amber/orange */
  --accent-light: #FFF3EB;
  --dark: #1A1A2E;           /* Near-black navy */
  --dark-2: #2C2C44;
  --text: #3D3D3D;
  --text-light: #6B6B7B;
  --white: #FFFFFF;
  --off-white: #FAF8F5;
  --border: #EBEBEB;
  --shadow: rgba(26,26,46,0.10);
  --radius: 14px;
  --radius-lg: 24px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
  --font-display: 'Yeseva One', serif;
  --font-body: 'Poppins', sans-serif;
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  animation: page-enter 0.45s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes page-enter {
  from { opacity: 0; }
  to   { opacity: 1; }
}
/* Page exit overlay */
.page-exit-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--white);
  opacity: 0; pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.4,0,0.2,1);
}
.page-exit-overlay.active { opacity: 1; pointer-events: all; }
/* Smooth image load fade */
img { max-width: 100%; height: auto; display: block; opacity: 0; transition: opacity 0.5s ease; }
img.img-loaded { opacity: 1; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- TYPOGRAPHY --- */
h1,h2,h3,h4 { font-family: var(--font-display); color: var(--dark); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 0.85rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); }
p { font-size: 1rem; color: var(--text-light); line-height: 1.8; }

/* --- UTILITY --- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* --- SECTION HEADER --- */
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header h5 { margin-bottom: 10px; }
.section-header h2 { margin-bottom: 18px; }
.section-header p { max-width: 600px; }
.section-header.centered p { margin: 0 auto; }
.header-line {
  width: 52px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin-top: 14px;
}
.section-header.centered .header-line { margin: 14px auto 0; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  border-radius: 50px; border: none; cursor: pointer;
  transition: var(--transition); text-decoration: none;
  letter-spacing: 0.03em;
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-110%) skewX(-15deg);
  transition: var(--transition);
}
.btn:hover::after { transform: translateX(110%) skewX(-15deg); }
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(200,56,42,0.3);
}
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 6px 28px rgba(200,56,42,0.4); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--primary); border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.btn-white {
  background: var(--white); color: var(--primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: #D06E28; transform: translateY(-2px); }
.btn i { font-size: 0.85rem; }

/* =====================================================
   PRELOADER — REMOVE (hidden)
   ===================================================== */
.loader-wrap { display: none !important; }

/* =====================================================
   TOP BAR — REMOVED
   ===================================================== */
.header_top { display: none !important; }

/* =====================================================
   NAVBAR
   ===================================================== */
.naf-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
  transition: top 0.35s ease, left 0.35s ease, right 0.35s ease, border-radius 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
  backdrop-filter: blur(12px);
  border-radius: 0;
}
/* ===== PAGE LOAD PROGRESS BAR ===== */
#page-load-bar {
  position: absolute; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 1000; transition: width 0.25s ease-out, opacity 0.3s ease;
  border-radius: 0 2px 2px 0;
}
#page-load-bar.done { opacity: 0; }

/* ===== FOOTER STICKS TO BOTTOM / NO TRAILING WHITESPACE ===== */
html, body { height: auto; min-height: 100%; }
.naf-header.scrolled {
  top: 10px; left: 12px; right: 12px;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  background: rgba(255,255,255,0.96);
}
/* scroll-top visibility rules consolidated below in SCROLL TO TOP section */
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; padding: 0 32px;
  max-width: 1280px; margin: 0 auto;
}
.nav-logo img { height: 52px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block; padding: 10px 16px;
  font-size: 0.88rem; font-weight: 500; color: var(--dark);
  border-radius: 8px; transition: var(--transition);
  position: relative;
}
.nav-menu > li > a::after {
  content: ''; position: absolute; bottom: 4px; left: 16px; right: 16px;
  height: 2px; background: var(--primary);
  transform: scaleX(0); transform-origin: left;
  transition: var(--transition);
  border-radius: 2px;
}
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--primary); }
.nav-menu > li > a:hover::after, .nav-menu > li > a.active::after { transform: scaleX(1); }
/* Dropdown */
.nav-menu .dropdown > ul {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); min-width: 220px;
  border-radius: var(--radius); box-shadow: 0 12px 40px var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: var(--transition); padding: 8px;
  border-top: 3px solid var(--primary);
  z-index: 100;
}
.nav-menu .dropdown:hover > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu .dropdown > ul li a {
  display: block; padding: 10px 16px;
  font-size: 0.85rem; font-weight: 500; color: var(--text);
  border-radius: 8px; transition: var(--transition);
}
.nav-menu .dropdown > ul li a:hover { background: var(--accent-light); color: var(--primary); padding-left: 22px; }
/* Nav caret */
.nav-menu .dropdown > a .caret {
  display: inline-block; width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 4px; vertical-align: middle;
  transition: var(--transition);
}
.nav-menu .dropdown:hover > a .caret { transform: rotate(180deg); }
/* Nav CTA */
.nav-cta { margin-left: 16px; }
/* Mobile toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--dark); border-radius: 2px; transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile nav */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 998;
  background: var(--dark); overflow-y: auto;
  padding: 100px 32px 48px; transform: translateX(100%);
  transition: 0.4s cubic-bezier(0.4,0,0.2,1);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav > ul > li > a {
  display: block; padding: 14px 0;
  font-size: 1.2rem; font-weight: 600; color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
.mobile-nav > ul > li > a:hover { color: var(--accent); }
.mobile-nav .m-sub { padding-left: 16px; margin-top: 4px; }
.mobile-nav .m-sub a { font-size: 0.95rem; color: rgba(255,255,255,0.7); padding: 8px 0; border-bottom: none; }
.mobile-nav .m-sub a:hover { color: var(--accent); }
.mobile-nav-cta { margin-top: 32px; }

/* =====================================================
   PAGE OFFSET for fixed header
   ===================================================== */
body { padding-top: 76px; }
.home-page { padding-top: 0; } /* hero is full height */

/* =====================================================
   HERO / BANNER
   ===================================================== */
.hero {
  position: relative; min-height: 85vh;
  display: flex; align-items: center;
  overflow: hidden; background: var(--white);
  padding-top: 100px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #fff8f5 0%, #fff3ec 50%, #fef9f7 100%);
}
/* Decorative blobs for light hero */
.hero-bg::before {
  content: ''; position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,56,42,0.06) 0%, transparent 70%);
  top: -200px; right: -200px;
}
.hero-bg::after {
  content: ''; position: absolute;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,131,58,0.08) 0%, transparent 70%);
  bottom: -100px; left: -100px;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><circle cx="30" cy="30" r="28" fill="none" stroke="rgba(200,56,42,0.04)" stroke-width="0.5"/></svg>') repeat;
  background-size: 60px 60px;
  opacity: 1;
}
.hero-particles {
  position: absolute; inset: 0; overflow: hidden;
}
.hero-particle {
  position: absolute; width: 4px; height: 4px;
  background: var(--primary); border-radius: 50%; opacity: 0;
  animation: particle-float 8s infinite;
}
@keyframes particle-float {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.25; }
  90% { opacity: 0.1; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 48px 32px;
  min-height: 85vh;
}
.hero-text { color: var(--dark); }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(200,56,42,0.08); border: 1px solid rgba(200,56,42,0.2);
  color: var(--primary); padding: 8px 18px; border-radius: 50px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-eyebrow span { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100%{transform:scale(1);opacity:1;} 50%{transform:scale(1.5);opacity:0.6;} }
.hero-text h1 { font-size: clamp(2.4rem,5vw,4rem); margin-bottom: 24px; color: var(--dark); }
.hero-text h1 em { font-style: normal; color: var(--primary); }
.hero-text p { font-size: 1.05rem; color: var(--text-light); margin-bottom: 40px; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 32px; margin-top: 48px;
  padding-top: 32px; border-top: 1px solid var(--border);
}
.hero-stat { }
.hero-stat .num { font-family: var(--font-display); font-size: 2rem; color: var(--dark); }
.hero-stat .num span { color: var(--primary); }
.hero-stat .label { font-size: 0.78rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.06em; }

/* ===== HERO IMAGE CAROUSEL — full-bleed with gradient fade ===== */
.hero-visual {
  position: relative;
  /* Make it full-height inside the grid column */
}
.hero-slides {
  position: relattive;
  width: 100%;
  height: 800px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(200,56,42,0.18), 0 8px 32px rgba(0,0,0,0.10);
}
/* Each slide stacked, opacity-crossfade */
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.0s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}
/* Gradient fade from bottom */
.hero-slide::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 55%;
  background: linear-gradient(to top, rgba(26,10,5,0.65) 0%, transparent 100%);
  pointer-events: none;
}
.hero-slide-badge {
  position: absolute; bottom: 24px; left: 24px; z-index: 2;
  background: var(--primary); color: var(--white);
  padding: 14px 22px; border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(200,56,42,0.4);
}
.hero-slide-badge .num { font-family: var(--font-display); font-size: 1.8rem; display: block; line-height: 1; }
.hero-slide-badge .lbl { font-size: 0.75rem; opacity: 0.9; }
.hero-dots {
  position: absolute; bottom: 24px; right: 24px; z-index: 2;
  display: flex; gap: 8px;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.5); border: none; cursor: pointer;
  transition: var(--transition); padding: 0;
}
.hero-dot.active { background: var(--white); width: 24px; border-radius: 4px; }

/* Hero scroll indicator */
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(61,61,61,0.45); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  animation: bounce-down 2s infinite;
}
@keyframes bounce-down { 0%,100%{transform:translateX(-50%) translateY(0);} 50%{transform:translateX(-50%) translateY(8px);} }
.hero-scroll-line { width: 1px; height: 40px; background: linear-gradient(var(--primary), transparent); }

/* =====================================================
   COMMON PAGE BANNER
   ===================================================== */
.page-banner {
  background: linear-gradient(135deg, var(--dark) 0%, #3D1A10 100%);
  padding: 90px 0 70px;
  position: relative; overflow: hidden;
  margin-top: 0;
}
/* Image variant for about page */
.page-banner.page-banner--image {
  background: var(--dark);
  padding: 0;
  height: 340px;
  display: flex; align-items: flex-end;
}
.page-banner.page-banner--image .banner-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0;
}
.page-banner.page-banner--image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(26,10,5,0.25) 0%, rgba(26,10,5,0.7) 65%, rgba(26,10,5,0.92) 100%);
  z-index: 1;
}
.page-banner.page-banner--image .container {
  padding-bottom: 40px;
}
.page-banner::before {
  content: ''; position: absolute;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(200,56,42,0.08);
  top: -150px; right: -100px;
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: var(--white); font-size: clamp(2rem,4vw,3rem); margin-bottom: 16px; }
.breadcrumb-trail { display: flex; align-items: center; gap: 8px; }
.breadcrumb-trail a, .breadcrumb-trail span {
  font-size: 0.85rem; color: rgba(255,255,255,0.65);
}
.breadcrumb-trail a:hover { color: var(--accent); }
.breadcrumb-trail .sep { color: rgba(255,255,255,0.3); }
.breadcrumb-trail .current { color: var(--accent); font-weight: 600; }

/* =====================================================
   SERVICES / WHAT WE DO
   ===================================================== */
.services-section { background: var(--off-white); }
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative; overflow: hidden;
  border: 1px solid var(--border);
}
.service-card::before {
  content: attr(data-num);
  position: absolute; top: -10px; right: 20px;
  font-family: var(--font-display); font-size: 5rem;
  color: rgba(200,56,42,0.05); line-height: 1;
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px var(--shadow); border-color: rgba(200,56,42,0.15); }
.service-card:hover::before { color: rgba(200,56,42,0.1); }
.service-icon-wrap {
  width: 60px; height: 60px;
  background: var(--accent-light); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; transition: var(--transition);
}
.service-card:hover .service-icon-wrap { background: var(--primary); }
.service-icon-wrap i { font-size: 1.5rem; color: var(--primary); transition: var(--transition); }
.service-card:hover .service-icon-wrap i { color: var(--white); }
.service-card h4 { font-family: var(--font-display); font-size: 1.1rem; color: var(--dark); margin-bottom: 12px; line-height: 1.4; }
.service-card p { font-size: 0.88rem; }

/* =====================================================
   ABOUT SNIPPET (homepage)
   ===================================================== */
.about-section { overflow: hidden; }
.about-images { position: relative; }
.about-img-main {
  width: 100%; height: 520px; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
/* accent and badge removed */
.about-img-accent { display: none !important; }
.about-badge { display: none !important; }
.about-content { padding-left: 48px; }
.about-content .section-header { margin-bottom: 24px; }
.about-content > p { margin-bottom: 20px; font-size: 0.95rem; }
.about-features { display: flex; flex-direction: column; gap: 14px; margin: 28px 0 36px; }
.about-feature {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--off-white); padding: 14px 18px;
  border-radius: 10px; border-left: 3px solid var(--primary);
}
.about-feature i { color: var(--primary); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.about-feature div h6 { font-size: 0.88rem; font-weight: 600; color: var(--dark); margin-bottom: 2px; }
.about-feature div p { font-size: 0.8rem; margin: 0; }

/* =====================================================
   CAUSES / PROGRAMS CARDS
   ===================================================== */
.causes-section { background: var(--off-white); }
.cause-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; transition: var(--transition);
  box-shadow: 0 4px 16px var(--shadow);
}
.cause-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px var(--shadow); }
.cause-img-wrap { position: relative; overflow: hidden; height: 240px; }
.cause-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s ease; }
.cause-card:hover .cause-img-wrap img { transform: scale(1.06); }
.cause-tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--primary); color: var(--white);
  padding: 6px 14px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 600;
}
.cause-body { padding: 24px; }
.cause-body h4 { font-family: var(--font-display); font-size: 1.05rem; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.cause-body h4 a:hover { color: var(--primary); }
.cause-body p { font-size: 0.85rem; margin-bottom: 20px; }
.cause-progress { }
.progress-bar-wrap { background: #EEE; border-radius: 50px; height: 8px; margin-bottom: 10px; overflow: hidden; }
.progress-bar-fill {
  height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 50px; transition: width 1.2s ease;
}
.cause-meta { display: flex; justify-content: space-between; font-size: 0.8rem; font-weight: 600; color: var(--text-light); }
.cause-meta span { color: var(--dark); }

/* =====================================================
   STATS / FUN FACTS
   ===================================================== */
.stats-section {
  background: linear-gradient(135deg, var(--dark) 0%, #3D1810 100%);
  padding: 80px 0; position: relative; overflow: hidden;
}
.stats-section::before {
  content: ''; position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><circle cx="30" cy="30" r="25" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></svg>') repeat;
  background-size: 60px 60px;
}
.stat-card {
  text-align: center; padding: 32px 20px;
  position: relative; z-index: 2;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-card:last-child { border-right: none; }
.stat-icon { font-size: 2rem; color: var(--accent); margin-bottom: 12px; }
.stat-num { font-family: var(--font-display); font-size: clamp(2.5rem,4vw,3.5rem); color: var(--white); line-height: 1; }
.stat-num sup { font-size: 1.5rem; color: var(--accent); vertical-align: super; }
.stat-lbl { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 8px; text-transform: uppercase; letter-spacing: 0.06em; }

/* =====================================================
   CTA BANNER
   ===================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 80px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.cta-section::after {
  content: ''; position: absolute; bottom: -60px; left: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(0,0,0,0.08);
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.85); margin-bottom: 36px; font-size: 1.05rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-section .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =====================================================
   HOW TO HELP
   ===================================================== */
.help-section { }
.help-card {
  text-align: center; padding: 40px 28px;
  border-radius: var(--radius-lg); transition: var(--transition);
  position: relative;
}
.help-card::before {
  content: ''; position: absolute; inset: 0;
  border-radius: var(--radius-lg); border: 2px solid var(--border);
  transition: var(--transition);
}
.help-card:hover::before { border-color: var(--primary); }
.help-card:hover { transform: translateY(-6px); }
.help-card-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--accent-light); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; font-size: 2rem; color: var(--primary);
  transition: var(--transition);
}
.help-card:hover .help-card-icon { background: var(--primary); color: var(--white); }
.help-card h4 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 12px; }
.help-card p { font-size: 0.88rem; margin-bottom: 24px; }

/* =====================================================
   NEWSLETTER
   ===================================================== */
.newsletter-section {
  background: var(--dark); padding: 64px 0;
}
.newsletter-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; flex-wrap: wrap;
}
.newsletter-text { flex: 1; min-width: 280px; }
.newsletter-text h3 { color: var(--white); margin-bottom: 8px; }
.newsletter-text p { color: rgba(255,255,255,0.65); }
.newsletter-form { flex: 1; min-width: 320px; }
.newsletter-form-inner {
  display: flex; gap: 0; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 50px; overflow: hidden;
}
.newsletter-form-inner input {
  flex: 1; background: none; border: none; outline: none;
  padding: 16px 24px; color: var(--white); font-family: var(--font-body);
  font-size: 0.9rem;
}
.newsletter-form-inner input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form-inner button {
  background: var(--primary); color: var(--white); border: none;
  padding: 14px 28px; border-radius: 50px; cursor: pointer;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  margin: 4px; transition: var(--transition);
}
.newsletter-form-inner button:hover { background: var(--primary-dark); }

/* =====================================================
   FOOTER
   ===================================================== */
.main-footer {
  background: #0F0F1F; color: var(--white);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 48px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { height: 60px; width: auto; margin-bottom: 20px; }
.footer-about p { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.8; max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.06); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 0.95rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }
.footer-col h5 { color: rgba(255,255,255,0.9); margin-bottom: 20px; font-size: 0.8rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.875rem; color: rgba(255,255,255,0.55); transition: var(--transition);
  display: flex; align-items: center; gap: 8px;
}
.footer-col ul li a:hover { color: var(--accent); padding-left: 6px; }
.footer-col ul li a i { font-size: 0.75rem; color: var(--accent); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.footer-contact-item i { color: var(--accent); font-size: 0.9rem; margin-top: 3px; flex-shrink: 0; }
.footer-contact-item span, .footer-contact-item a {
  font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: var(--transition);
}
.footer-contact-item a:hover { color: var(--accent); }
.footer-bottom {
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.8rem; color: rgba(255,255,255,0.35); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--accent); }

/* =====================================================
   SCROLL TO TOP
   ===================================================== */
.scroll-top-btn {
  position: fixed; bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  background: var(--primary); color: var(--white);
  border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; z-index: 9990;
  box-shadow: 0 4px 20px rgba(200,56,42,0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  pointer-events: none;
}
.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.scroll-top-btn:hover { background: var(--primary-dark); transform: translateY(-4px); }

/* =====================================================
   ABOUT PAGE — FULL
   ===================================================== */
.about-full { }
.about-full-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-full-images { position: relative; height: 900px; }
.af-img-1, .af-img-2 {
  position: absolute; object-fit: cover; border-radius: var(--radius-lg);
}
.af-img-1 { width: 72%; height: 480px; top: 0; left: 0; }
.af-img-2 { width: 55%; height: 320px; bottom: 0; right: 0; border: 6px solid var(--white); box-shadow: 0 12px 40px var(--shadow); }
.af-years-badge {
  position: absolute; top: 40px; right: 30px;
  background: var(--primary); color: var(--white);
  width: 110px; height: 110px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(200,56,42,0.4);
  text-align: center;
}
.af-years-badge .n { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; }
.af-years-badge .l { font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.9; }
.about-text-content { }
.about-text-content h3 { margin-bottom: 20px; }
.about-text-content p { margin-bottom: 18px; font-size: 0.95rem; }
.about-text-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 24px; margin: 24px 0;
  background: var(--accent-light); border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; color: var(--text);
}

/* Vision/Mission cards */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; margin: 60px 0; }
.vm-card {
  padding: 36px 28px; border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
  transition: var(--transition);
}
.vm-card-1 { background: var(--primary); color: white; }
.vm-card-2 { background: var(--dark); color: white; }
.vm-card-3 { background: var(--accent-light); }
.vm-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px var(--shadow); }
.vm-card .vm-icon { font-size: 2.5rem; margin-bottom: 20px; opacity: 0.85; }
.vm-card h4 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 12px; }
.vm-card-1 h4, .vm-card-2 h4 { color: var(--white); }
.vm-card-3 h4 { color: var(--dark); }
.vm-card p { font-size: 0.875rem; line-height: 1.7; }
.vm-card-1 p, .vm-card-2 p { color: rgba(255,255,255,0.75); }
.vm-card-3 p { color: var(--text); }

/* Thematic areas */
.thematic-areas { background: var(--off-white); }
.thematic-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px 28px; border-top: 4px solid var(--primary);
  transition: var(--transition);
}
.thematic-card:nth-child(2) { border-top-color: var(--accent); }
.thematic-card:nth-child(3) { border-top-color: var(--dark-2); }
.thematic-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px var(--shadow); }
.thematic-icon { font-size: 2rem; color: var(--primary); margin-bottom: 20px; }
.thematic-card:nth-child(2) .thematic-icon { color: var(--accent); }
.thematic-card:nth-child(3) .thematic-icon { color: var(--dark-2); }
.thematic-card h4 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 14px; }
.thematic-card ul { padding-left: 0; display: flex; flex-direction: column; gap: 8px; }
.thematic-card ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--text-light); }
.thematic-card ul li::before { content: '•'; color: var(--primary); font-weight: 700; flex-shrink: 0; }

/* Governance */
.governance-section { background: var(--white); }
.governance-card {
  background: linear-gradient(135deg, var(--dark) 0%, #3D1810 100%);
  border-radius: var(--radius-lg); padding: 48px;
  color: white; position: relative; overflow: hidden;
}
.governance-card::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 250px; height: 250px; border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.governance-card h3 { color: var(--white); margin-bottom: 20px; }
.governance-card p { color: rgba(255,255,255,0.75); margin-bottom: 28px; }
.governance-stats { display: flex; gap: 48px; flex-wrap: wrap; }
.gov-stat .n { font-family: var(--font-display); font-size: 2.5rem; color: var(--accent); }
.gov-stat .l { font-size: 0.8rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.06em; }

/* =====================================================
   FAQ PAGE
   ===================================================== */
.faq-section { background: var(--white); }
.faq-intro { max-width: 600px; margin: 0 auto 56px; text-align: center; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.faq-item {
  background: var(--off-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden; transition: var(--transition);
}
.faq-item.open { border-color: var(--primary); box-shadow: 0 8px 24px rgba(200,56,42,0.1); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; cursor: pointer;
  gap: 16px;
}
.faq-question h4 {
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  color: var(--dark); flex: 1; line-height: 1.5;
}
.faq-toggle {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--border); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: var(--transition); color: var(--text-light); font-size: 0.9rem;
}
.faq-item.open .faq-toggle { background: var(--primary); color: var(--white); transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: 0.4s ease;
  padding: 0 24px;
}
.faq-answer-inner { padding-bottom: 20px; }
.faq-answer p { font-size: 0.875rem; color: var(--text-light); }

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-section { }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; }
.contact-info-panel { }
.contact-info-panel h3 { margin-bottom: 20px; }
.contact-info-panel p { margin-bottom: 32px; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 22px; background: var(--off-white);
  border-radius: var(--radius); border-left: 3px solid var(--primary);
  transition: var(--transition);
}
.contact-card:hover { transform: translateX(4px); }
.contact-card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--accent-light); display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1rem; flex-shrink: 0;
}
.contact-card h6 { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light); margin-bottom: 4px; }
.contact-card a, .contact-card p { font-size: 0.9rem; font-weight: 500; color: var(--dark); margin: 0; }
.contact-card a:hover { color: var(--primary); }
/* Contact form */
.contact-form-panel { }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--dark); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%; padding: 14px 18px;
  background: var(--off-white); border: 2px solid var(--border);
  border-radius: 10px; outline: none;
  font-family: var(--font-body); font-size: 0.9rem; color: var(--dark);
  transition: var(--transition);
}
input:focus, textarea:focus { border-color: var(--primary); background: var(--white); }
textarea { resize: vertical; min-height: 140px; }

/* =====================================================
   DONATE PAGE
   ===================================================== */
.donate-section { }
.donate-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.donate-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.amount-btn {
  padding: 14px; border: 2px solid var(--border);
  background: var(--off-white); border-radius: 10px;
  cursor: pointer; font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  color: var(--dark); transition: var(--transition); text-align: center;
}
.amount-btn.selected, .amount-btn:hover { border-color: var(--primary); background: var(--accent-light); color: var(--primary); }
.donate-panel {
  background: linear-gradient(135deg, var(--primary) 0%, #a02018 100%);
  border-radius: var(--radius-lg); padding: 40px;
  color: var(--white);
}
.donate-panel h3 { color: var(--white); margin-bottom: 24px; }
.donate-impact { display: flex; flex-direction: column; gap: 16px; }
.impact-item { display: flex; align-items: center; gap: 14px; padding: 14px; background: rgba(255,255,255,0.1); border-radius: 10px; }
.impact-item i { font-size: 1.5rem; color: var(--accent); flex-shrink: 0; }
.impact-item p { font-size: 0.85rem; color: rgba(255,255,255,0.85); margin: 0; }

/* =====================================================
   EVENTS PAGE
   ===================================================== */
.events-section { }
.event-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 4px 16px var(--shadow); transition: var(--transition);
  border: 1px solid var(--border);
}
.event-card-poster {
  width: 1000%; height: 180px; object-fit: cover; display: block; flex-shrink: 0;
  margin-left:25x;
}
.event-card-poster-placeholder {
  width: 100%; height: 220px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex; align-items: center; justify-content: center;
}
.event-card-poster-placeholder span {
  font-family: var(--font-display); font-size: 1rem; color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.event-card-bottom { display: grid; grid-template-columns: auto 1fr; }
.event-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px var(--shadow); }
.event-date-panel {
  background: var(--primary); color: var(--white);
  padding: 20px 24px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; min-width: 100px;
}
.event-date-panel .day { font-family: var(--font-display); font-size: 2.5rem; line-height: 1; }
.event-date-panel .month { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.9; }
.event-body { padding: 24px; }
.event-body h4 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 8px; }
.event-body p { font-size: 0.875rem; margin-bottom: 16px; }
.event-meta { display: flex; gap: 20px; flex-wrap: wrap; }
.event-meta span { font-size: 0.8rem; color: var(--text-light); display: flex; align-items: center; gap: 6px; }
.event-meta i { color: var(--primary); }

/* =====================================================
   GALLERY PAGE
   ===================================================== */
.gallery-section { }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; height: 240px; object-fit: cover; transition: 0.5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0; background: rgba(200,56,42,0.75);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
  color: white; font-size: 2rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* =====================================================
   PROGRAMS (individual pages)
   ===================================================== */
.program-hero { padding: 80px 0; }
.program-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.program-img { width: 100%; height: 450px; object-fit: cover; border-radius: var(--radius-lg); }
.program-tag { display: inline-block; background: var(--accent-light); color: var(--primary); padding: 6px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; margin-bottom: 16px; }
.program-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0; }
.pillar-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; background: var(--off-white); border-radius: 10px;
  font-size: 0.85rem; font-weight: 500; color: var(--text);
}
.pillar-chip i { color: var(--primary); font-size: 0.9rem; }

/* =====================================================
   MAP EMBED
   ===================================================== */
.map-section { padding: 0; }
.map-section iframe { display: block; width: 100%; }

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeInUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes slideInLeft { from { opacity:0; transform:translateX(-30px); } to { opacity:1; transform:translateX(0); } }
@keyframes slideInRight { from { opacity:0; transform:translateX(30px); } to { opacity:1; transform:translateX(0); } }
@keyframes scaleIn { from { opacity:0; transform:scale(0.9); } to { opacity:1; transform:scale(1); } }
.anim-fadeup { opacity:0; }
.anim-fadeup.animated { animation: fadeInUp 0.7s ease forwards; }
.anim-fadein { opacity:0; }
.anim-fadein.animated { animation: fadeIn 0.7s ease forwards; }
.anim-left { opacity:0; }
.anim-left.animated { animation: slideInLeft 0.7s ease forwards; }
.anim-right { opacity:0; }
.anim-right.animated { animation: slideInRight 0.7s ease forwards; }
.anim-scale { opacity:0; }
.anim-scale.animated { animation: scaleIn 0.5s ease forwards; }
.delay-1 { animation-delay: 0.1s !important; }
.delay-2 { animation-delay: 0.2s !important; }
.delay-3 { animation-delay: 0.3s !important; }
.delay-4 { animation-delay: 0.4s !important; }
.delay-5 { animation-delay: 0.5s !important; }
.delay-6 { animation-delay: 0.6s !important; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-content { padding-left: 0; }
  .vm-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: block; }
  .hero-inner { grid-template-columns: 1fr; padding: 60px 24px; text-align: center; }
  .hero-visual { display: none; }
  .hero-stats { justify-content: center; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .about-img-main { height: 520px; }
  .faq-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .donate-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .program-hero-grid { grid-template-columns: 1fr; }
  .about-full-grid { grid-template-columns: 1fr; }
  .about-full-images { height: 600px; margin-bottom: 40px; }
  .governance-stats { gap: 24px; }
  .stats-section .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-inner { flex-direction: column; }
  .hero-actions { justify-content: center; }
}
@media (max-width: 480px) {
  .section { padding: 60px 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .donate-amounts { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== X (Twitter) SVG icon in footer social ===== */
.footer-social a svg { display: inline; vertical-align: middle; }

/* =====================================================
   TEAM SECTION
   ===================================================== */
.team-section { background: var(--off-white); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(26,26,46,0.08);
  transition: var(--transition);
  text-align: center;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(26,26,46,0.14);
}
.team-photo-wrap {
  width: 100%; aspect-ratio: 1/1;
  overflow: hidden; background: var(--border);
  position: relative;
}
.team-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  transition: transform 0.5s ease;
}
.team-card:hover .team-photo-wrap img { transform: scale(1.04); }
.team-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--dark) 0%, #3D1A10 100%);
  color: rgba(255,255,255,0.25); font-size: 4rem;
}
.team-info { padding: 24px 20px 28px; }
.team-name {
  font-family: var(--font-display); font-size: 1.1rem;
  color: var(--dark); margin-bottom: 6px;
}
.team-role {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--primary);
}
@media (max-width: 768px) {
  .team-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
  .page-banner.page-banner--image { height: 260px; }
}
@media (max-width: 900px) and (min-width: 769px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

/* =============================================
   GALLERY HERO VIDEO BANNER
   ============================================= */

/* =====================================================
   GALLERY HERO — CINEMATIC PHOTO SLIDESHOW
   ===================================================== */
.gallery-hero-banner {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: #1A0A05;
  display: flex;
  align-items: flex-end;
}

/* Slides container fills the banner */
.gallery-hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Each slide: full-cover background, starts invisible */
.gh-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 1.8s cubic-bezier(0.45, 0, 0.55, 1);
  will-change: transform, opacity;
}

/* Active slide — visible and Ken Burns running */
.gh-slide.active {
  opacity: 1;
  z-index: 2;
}

/* Incoming next slide — stacked below active, invisible */
.gh-slide.next {
  opacity: 0;
  z-index: 1;
}

/* Leaving slide — cross-fade out */
.gh-slide.leaving {
  opacity: 0;
  z-index: 1;
  transition: opacity 1.8s cubic-bezier(0.45, 0, 0.55, 1);
}

/* ── Ken Burns directions (very slow, cinematic scale + pan) ── */
.gh-slide.kb-tl.active {
  animation: kb-tl 8s ease-out forwards;
}
.gh-slide.kb-tr.active {
  animation: kb-tr 8s ease-out forwards;
}
.gh-slide.kb-bl.active {
  animation: kb-bl 8s ease-out forwards;
}
.gh-slide.kb-br.active {
  animation: kb-br 8s ease-out forwards;
}
.gh-slide.kb-center.active {
  animation: kb-center 8s ease-out forwards;
}

@keyframes kb-tl {
  from { transform: scale(1.08) translate(1%, 1%); }
  to   { transform: scale(1.00) translate(0%,  0%); }
}
@keyframes kb-tr {
  from { transform: scale(1.08) translate(-1%, 1%); }
  to   { transform: scale(1.00) translate(0%,  0%); }
}
@keyframes kb-bl {
  from { transform: scale(1.08) translate(1%, -1%); }
  to   { transform: scale(1.00) translate(0%,   0%); }
}
@keyframes kb-br {
  from { transform: scale(1.08) translate(-1%, -1%); }
  to   { transform: scale(1.00) translate(0%,   0%); }
}
@keyframes kb-center {
  from { transform: scale(1.06); }
  to   { transform: scale(1.00); }
}

/* ── Cinematic gradient overlay ── */
.gallery-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(
      to top,
      rgba(15, 5, 2, 0.92) 0%,
      rgba(15, 5, 2, 0.50) 28%,
      rgba(15, 5, 2, 0.08) 58%,
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      rgba(15, 5, 2, 0.55) 0%,
      transparent 32%
    ),
    linear-gradient(
      to right,
      rgba(15, 5, 2, 0.65) 0%,
      transparent 28%,
      transparent 72%,
      rgba(15, 5, 2, 0.65) 100%
    );
  pointer-events: none;
}

/* Soft radial vignette */
.gallery-hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: radial-gradient(
    ellipse at center,
    transparent 38%,
    rgba(8, 3, 1, 0.48) 100%
  );
  pointer-events: none;
}

/* Text above everything */
.gallery-hero-content {
  position: relative;
  z-index: 5;
  width: 100%;
  padding-bottom: 48px;
}

.gallery-hero-content h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.55);
}

.gallery-hero-content .breadcrumb-trail a,
.gallery-hero-content .breadcrumb-trail span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.gallery-hero-content .breadcrumb-trail a:hover { color: var(--accent); }
.gallery-hero-content .breadcrumb-trail .sep   { color: rgba(255, 255, 255, 0.3); }

@media (max-width: 768px) {
  .gallery-hero-banner { height: 320px; }
}
