/* ============================================================
   Wasee wa Zamo CBO — Main Stylesheet
   Professional, donor-friendly, accessible, mobile-responsive
   Theme: Navy · Gold · Grey · White (matches WWZ CBO logo)
   ============================================================ */

/* ========== CSS VARIABLES ========== */
:root {
  /* Brand palette — sampled from the WWZ CBO logo */
  --orange:        #D1A52C;  /* logo gold — kept the variable name "orange" so it cascades everywhere it's already used */
  --orange-dark:   #A9821F;
  --orange-light:  #E6C568;
  --orange-faint:  #FBF3DF;

  --black:         #04222B;
  --charcoal:      #003B4B;  /* logo navy */
  --dark-grey:     #0B4C5F;
  --mid-grey:      #4A4A4A;
  --soft-grey:     #767676;
  --pale-grey:     #E8E8E8;
  --off-white:     #F6F5F3;
  --white:         #FFFFFF;

  /* Semantic */
  --success:       #2A8C5D;
  --info:          #1A6FAB;

  /* Typography */
  --font-heading:  'Playfair Display', Georgia, serif;
  --font-body:     'Source Sans 3', 'Segoe UI', sans-serif;

  /* Layout */
  --max-width:     1200px;
  --section-pad:   5rem 0;
  --container-px:  1.5rem;

  /* Shadows */
  --shadow-xs:     0 1px 3px rgba(0,0,0,0.08);
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.10);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg:     0 8px 32px rgba(0,0,0,0.14);

  /* Border radius */
  --radius-sm:     4px;
  --radius-md:     8px;
  --radius-lg:     16px;
  --radius-pill:   100px;

  /* Transitions */
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --speed:         0.25s;
}

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Skip-to-content link (accessibility) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.6rem 1.2rem;
  background: var(--orange);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top 0.2s;
  text-decoration: none;
}
.skip-link:focus {
  top: 0.5rem;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--black);
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }

p { margin-bottom: 1rem; color: var(--mid-grey); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--orange);
  text-decoration: none;
  transition: color var(--speed) var(--ease);
}
a:hover { color: var(--orange-dark); }
a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }

/* ========== LAYOUT ========== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

section {
  padding: var(--section-pad);
}

/* Section heading pattern */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  display: inline-block;
  position: relative;
  margin-bottom: 1rem;
}
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background-color: var(--orange);
  border-radius: 2px;
}
.section-header p {
  max-width: 680px;
  margin: 1.5rem auto 0;
  font-size: 1.05rem;
  color: var(--soft-grey);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--speed) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(209,165,44,0.35);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--orange);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--pale-grey);
}
.btn-outline-dark:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}
.btn-dark:hover {
  background: var(--dark-grey);
  color: var(--white);
  transform: translateY(-2px);
}

/* Utility: center a block button */
.btn-center {
  display: block;
  width: fit-content;
  margin: 2.5rem auto 0;
}

/* ========== NAVBAR ========== */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #013042;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
  transition: background-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.navbar.scrolled {
  background-color: #111111;
  box-shadow: 0 4px 24px rgba(0,0,0,0.45);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem var(--container-px);
  max-width: var(--max-width);
  margin: 0 auto;
}

.navbar-logo {
  height: 62px;
  width: auto;
}

.menu-toggle-checkbox { display: none; }

.menu-icon {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1010;
  padding: 2px 0;
  background: none;
  border: none;
  aria-label: "Open menu";
}
.menu-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
  transform-origin: center;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.navbar-menu li a {
  display: block;
  padding: 0.5rem 0.85rem;
  color: rgba(255,255,255,0.82);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.2px;
  border-radius: var(--radius-md);
  transition: color var(--speed) var(--ease), background var(--speed) var(--ease);
}
.navbar-menu li a:hover {
  color: var(--orange-light);
  background: rgba(255,255,255,0.06);
}
.navbar-menu li a.active {
  color: var(--orange-light);
}

.donate-nav-button {
  background: var(--orange) !important;
  color: var(--white) !important;
  border-radius: var(--radius-pill) !important;
  padding: 0.5rem 1.25rem !important;
}
.donate-nav-button:hover {
  background: var(--orange-dark) !important;
  color: var(--white) !important;
}

/* Mobile nav */
@media screen and (max-width: 900px) {
  .menu-icon {
    display: flex;
  }

  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100dvh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-lg);
    transition: right 0.3s var(--ease);
    overflow-y: auto;
    z-index: 1005;
  }
  .navbar-menu li {
    width: 100%;
  }
  .navbar-menu li a {
    padding: 0.85rem 1rem;
    font-size: 1rem;
    color: var(--dark-grey);
    border-bottom: 1px solid var(--pale-grey);
    border-radius: 0;
  }
  .navbar-menu li a:hover {
    color: var(--orange);
    background: var(--orange-faint);
  }
  .donate-nav-button {
    margin-top: 1rem;
    width: 100%;
    text-align: center;
    border-radius: var(--radius-pill) !important;
    border-bottom: none !important;
  }

  .menu-toggle-checkbox:checked ~ .navbar-menu {
    right: 0;
  }
  /* Overlay behind menu */
  .menu-toggle-checkbox:checked ~ .navbar-overlay {
    display: block;
  }
  /* Hamburger → X animation */
  .menu-toggle-checkbox:checked ~ label .menu-icon span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .menu-toggle-checkbox:checked ~ label .menu-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .menu-toggle-checkbox:checked ~ label .menu-icon span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  /* The open panel is white, so the (white) bars need to darken to stay visible */
  .menu-toggle-checkbox:checked ~ label .menu-icon span {
    background-color: var(--charcoal);
  }
}

/* Overlay for mobile menu */
.navbar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1004;
}

/* ========== BANNER / HERO ========== */
#banner {
  position: relative;
  height: clamp(520px, 88vh, 860px);
  overflow: hidden;
  padding: 0;
  margin: 0;
}
#banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: brightness(0.55);
  transform: scale(1.04);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.00); }
}
/* Dual gradient overlay: dark bottom + subtle orange tint left */
#banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,  rgba(3,20,26,0.82) 0%, rgba(3,20,26,0.15) 55%),
    linear-gradient(to right, rgba(209,165,44,0.18) 0%, transparent 60%);
  pointer-events: none;
}
/* Subtle dot-grid texture overlay */
#banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 1;
}
.banner-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 2rem;
  padding-bottom: 5rem;
}
.banner-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
  opacity: 0;
  animation: fadeUp 0.8s 0.3s var(--ease) forwards;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.banner-eyebrow::before,
.banner-eyebrow::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--orange-light);
  opacity: 0.6;
}
.banner-text h1 {
  font-size: clamp(2rem, 5.5vw, 4rem);
  color: var(--white);
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
  letter-spacing: 1px;
  max-width: 820px;
  margin-bottom: 0.75rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.55s var(--ease) forwards;
  line-height: 1.15;
}
.banner-text .tagline {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-style: italic;
  color: rgba(255,255,255,0.78);
  margin-bottom: 2.5rem;
  font-family: var(--font-heading);
  opacity: 0;
  animation: fadeUp 0.8s 0.75s var(--ease) forwards;
}
.banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.8s 0.95s var(--ease) forwards;
}
/* Scroll indicator */
.banner-scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0;
  animation: fadeIn 1s 1.6s ease forwards;
}
.banner-scroll span {
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-body);
}
.banner-scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ========== TRUST BAR / IMPACT METRICS ========== */
.impact-metrics {
  background: var(--charcoal);
  padding: 0;
}
.metric-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-px);
  gap: 0;
}
.metric-item {
  flex: 1 1 200px;
  text-align: center;
  padding: 2.25rem 1.5rem;
  position: relative;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.metric-item:last-child { border-right: none; }
.metric-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--orange-light);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.metric-description {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

/* ========== INFO / WHO WE ARE ========== */
.info-section {
  background: var(--off-white);
  padding: var(--section-pad);
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-px);
}
.info-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border-top: 4px solid var(--orange);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.info-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.info-item .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--orange-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.info-item .icon-wrap i {
  font-size: 1.6rem;
  color: var(--orange);
}
.info-item h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.info-item p {
  font-size: 0.95rem;
  line-height: 1.75;
}
.learn-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: gap var(--speed) var(--ease), color var(--speed) var(--ease);
}
.learn-more-link:hover {
  color: var(--orange-dark);
  gap: 0.6rem;
}

/* ========== INITIATIVES ========== */
.initiatives-section {
  background: var(--white);
  padding: var(--section-pad);
  text-align: center;
}
.initiative-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 0.5rem;
}
.initiative-item {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
  text-align: left;
}
.initiative-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.initiative-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.initiative-body {
  padding: 1.5rem;
}
.initiative-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--black);
}
.initiative-body p {
  font-size: 0.9rem;
  color: var(--soft-grey);
  margin-bottom: 0;
}

/* ========== TEAM SECTION ========== */
.team-section {
  background: var(--off-white);
  padding: var(--section-pad);
  text-align: center;
}
.team-intro {
  max-width: 640px;
  margin: -2rem auto 3rem;
  color: var(--soft-grey);
}
.team-carousel {
  max-width: var(--max-width);
  margin: 0 auto;
  overflow: hidden;
  padding: 0 var(--container-px);
}
.carousel-track {
  display: flex;
  transition: transform 0.55s var(--ease);
}
.carousel-item {
  flex: 0 0 calc(33.333% - 20px);
  margin: 0 10px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.carousel-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.carousel-item img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--orange);
}
.carousel-item .member-initials {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--orange-faint);
  border: 3px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--orange-dark);
}
.member-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--black);
  margin-bottom: 0.3rem;
}
.member-description {
  font-size: 0.85rem;
  color: var(--orange);
  font-weight: 600;
}
.team-button {
  display: inline-block;
  margin-top: 3rem;
  padding: 0.7rem 1.6rem;
  background: var(--charcoal);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--speed) var(--ease);
}
.team-button:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(209,165,44,0.3);
}

/* ========== NEWS ========== */
.news-section {
  background: var(--white);
  padding: var(--section-pad);
  text-align: center;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 0.5rem;
}
.news-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
  position: relative;
  text-align: left;
}
.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.news-date {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--orange);
  color: var(--white);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  text-align: center;
  min-width: 52px;
  box-shadow: var(--shadow-sm);
}
.news-date .day {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  font-family: var(--font-heading);
}
.news-date .month {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.news-image {
  width: 100%;
  height: 195px;
  object-fit: cover;
}
.news-content {
  padding: 1.4rem 1.5rem;
}
.news-content h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: var(--black);
  line-height: 1.4;
}
.news-content p {
  font-size: 0.875rem;
  color: var(--soft-grey);
  margin-bottom: 1.25rem;
}
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.2px;
  transition: gap var(--speed) var(--ease), color var(--speed) var(--ease);
}
.read-more:hover {
  gap: 0.5rem;
  color: var(--orange-dark);
}

/* ========== NEWSLETTER ========== */
.newsletter-section {
  background: var(--charcoal);
  padding: 4rem 0;
}
.newsletter-content {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--container-px);
}
.newsletter-content h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}
.newsletter-content > p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 2rem;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.newsletter-form input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--speed) var(--ease), background var(--speed) var(--ease);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form input:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255,255,255,0.12);
}
.subscribe-button {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 0.85rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.subscribe-button:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}

/* ========== PAGE HEADER (inner pages) ========== */
.page-header {
  background: var(--charcoal);
  padding: 5rem 0 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange);
}
.page-header .container {
  position: relative;
  z-index: 1;
}
.page-header h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}
.page-header p {
  color: rgba(255,255,255,0.65);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ========== INITIATIVES PAGE SPECIFIC ========== */
.wrapper.style3 {
  background: var(--off-white);
}
.wrapper.style2 {
  background: var(--white);
}
.wrapper.style1 {
  background: var(--charcoal);
}
.wrapper.style1 h2,
.wrapper.style1 h3 {
  color: var(--white);
}
.wrapper.style1 p { color: rgba(255,255,255,0.65); }

.initiative-grid.large {
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.initiative-item.detailed {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  text-align: left;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.initiative-item.detailed:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.initiative-item.detailed img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}
.initiative-content {
  padding: 2rem;
}
.initiative-content h3 {
  color: var(--black);
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}
.initiative-content p {
  font-size: 0.925rem;
  color: var(--soft-grey);
  margin-bottom: 1rem;
}
.initiative-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.initiative-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--mid-grey);
}
.initiative-highlights li::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  margin-top: 0.55rem;
  flex-shrink: 0;
}

/* Involvement / Get Involved */
.involvement-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}
.involvement-option {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.involvement-option:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.involvement-option i {
  color: var(--orange);
  margin-bottom: 1rem;
}
.involvement-option h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}
.involvement-option p {
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

/* Events */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 1rem;
}
.event-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: background var(--speed) var(--ease);
}
.event-card:hover {
  background: rgba(255,255,255,0.10);
}
.event-date {
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.75rem;
  text-align: center;
  flex-shrink: 0;
  min-width: 60px;
}
.event-date .month {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}
.event-date .day {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  line-height: 1;
  margin: 0.1rem 0;
}
.event-date .year {
  display: block;
  font-size: 0.7rem;
  opacity: 0.75;
}
.event-details h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.event-details p {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}
.event-details p i { color: var(--orange); flex-shrink: 0; margin-top: 0.2rem; }

/* ========== COOKIE CONSENT ========== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--charcoal);
  color: var(--white);
  padding: 1rem 0;
  z-index: 2000;
  display: none;
  border-top: 3px solid var(--orange);
}
.cookie-consent-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-px);
  flex-wrap: wrap;
}
.cookie-consent-content p {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  margin: 0;
}
.cookie-consent-content a { color: var(--orange-light); text-decoration: underline; }
#acceptCookies {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
  transition: background var(--speed) var(--ease);
}
#acceptCookies:hover { background: var(--orange-dark); }

/* ========== FOOTER ========== */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
}
footer .content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem var(--container-px) 2.5rem;
}
footer .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.logo_details {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.organization-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}
.media-icons {
  display: flex;
  gap: 0.75rem;
}
.social-icon {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: all var(--speed) var(--ease);
}
.social-icon:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-3px);
}
.link-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2.5rem 2rem;
}
.box {}
.link_name {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
}
.link_name::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.box ul li {
  margin-bottom: 0.6rem;
}
.box ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  transition: all var(--speed) var(--ease);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.box ul li a:hover {
  color: var(--orange-light);
  padding-left: 4px;
}
.box ul li i {
  color: var(--orange);
  width: 14px;
  font-size: 0.85rem;
}
.input-box .link_name { margin-bottom: 1.25rem; }
.input-box input[type="email"] {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  transition: border-color var(--speed) var(--ease);
}
.input-box input[type="email"]:focus {
  outline: none;
  border-color: var(--orange);
}
.input-box input[type="email"]::placeholder { color: rgba(255,255,255,0.3); }
.input-box input[type="button"] {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 0.7rem;
  width: 100%;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background var(--speed) var(--ease);
}
.input-box input[type="button"]:hover { background: var(--orange-dark); }
.bottom-details {
  background: #080808;
  padding: 1.25rem 0;
}
.bottom_text {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-px);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.bottom_text span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.bottom_text a {
  color: rgba(255,255,255,0.35);
  transition: color var(--speed) var(--ease);
}
.bottom_text a:hover { color: var(--orange); }

/* ========== RESPONSIVE ========== */
@media screen and (max-width: 900px) {
  .top-bar { font-size: 0.78rem; }
  .top-bar-left { display: none; }
  .top-bar .container { justify-content: center; }

  .navbar-logo { height: 52px; }

  .metric-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .metric-item:last-child { border-bottom: none; }

  .initiative-item.detailed {
    grid-template-columns: 1fr;
  }
  .initiative-item.detailed img {
    height: 220px;
    min-height: unset;
  }
}

@media screen and (max-width: 768px) {
  :root { --section-pad: 3.5rem 0; }

  .navbar-logo { height: 46px; }

  .banner-text h1 { font-size: 2rem; }
  .banner-text .tagline { font-size: 1rem; }
  .banner-buttons { flex-direction: column; align-items: center; }
  .banner-buttons .btn { width: 220px; }

  .carousel-item { flex: 0 0 calc(50% - 20px); }

  footer .top { flex-direction: column; align-items: flex-start; }
  .link-boxes { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 480px) {
  :root {
    --section-pad: 3rem 0;
    --container-px: 1rem;
  }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }

  .carousel-item { flex: 0 0 calc(100% - 20px); }

  .link-boxes { grid-template-columns: 1fr; }
  .bottom_text { flex-direction: column; }
  .metric-container { padding: 0; }
}

/* ========== 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;
  }
  html { scroll-behavior: auto; }
}

/* ========== VIEW MORE BUTTON (legacy compat) ========== */
.view-more-button {
  display: block;
  width: fit-content;
  margin: 2.5rem auto 0;
  padding: 0.7rem 1.75rem;
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.3px;
  text-align: center;
  transition: all var(--speed) var(--ease);
}
.view-more-button:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(209,165,44,0.3);
}

/* Dark section view-more */
.wrapper.style1 .view-more-button {
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.3);
}
.wrapper.style1 .view-more-button:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

/* ========== DROPDOWN NAV ========== */
.navbar-menu li.has-dropdown {
  position: relative;
}
.navbar-menu li.has-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.navbar-menu li.has-dropdown > a .caret {
  font-size: 0.6rem;
  transition: transform var(--speed) var(--ease);
  margin-top: 1px;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--pale-grey);
  padding: 0.5rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease), visibility var(--speed);
  z-index: 200;
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--white);
}
.navbar-menu li.has-dropdown:hover .nav-dropdown,
.navbar-menu li.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.navbar-menu li.has-dropdown:hover > a .caret,
.navbar-menu li.has-dropdown:focus-within > a .caret {
  transform: rotate(180deg);
}
.nav-dropdown li a {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem !important;
  color: var(--mid-grey) !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  border-radius: 0 !important;
  border-bottom: none !important;
  white-space: nowrap;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease) !important;
  background: none !important;
}
.nav-dropdown li a:hover {
  background: var(--orange-faint) !important;
  color: var(--orange) !important;
}
.nav-dropdown li a i {
  width: 16px;
  color: var(--orange);
  font-size: 0.8rem;
  flex-shrink: 0;
}
/* Mobile: dropdown becomes flat list inside panel */
@media screen and (max-width: 900px) {
  .nav-dropdown {
    position: static;
    transform: none !important;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    opacity: 1 !important;
    visibility: visible !important;
    background: rgba(0,0,0,0.04);
  }
  .nav-dropdown::before { display: none; }
  .nav-dropdown li a {
    padding: 0.7rem 1rem 0.7rem 2.75rem !important;
    font-size: 0.875rem !important;
    border-bottom: 1px solid var(--pale-grey) !important;
    color: var(--mid-grey) !important;
  }
  .navbar-menu li.has-dropdown > a .caret { display: none; }
}