/* ============================================================
   BAK UP CIC — Master Stylesheet
   Brand: Navy #1B2A6B | Teal #00A9C0 | Green #5CB85C | Purple #6B3FA0
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', 'Segoe UI', Arial, sans-serif; color: #1a1a2e; background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ---------- CSS Variables ---------- */
:root {
  --navy: #1B2A6B;
  --navy-dark: #0D1A45;
  --navy-mid: #243580;
  --teal: #00A9C0;
  --teal-dark: #007A8C;
  --green: #5CB85C;
  --purple: #6B3FA0;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.15);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.20);
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all .25s cubic-bezier(.23,1,.32,1);
}

/* ---------- Typography ---------- */
h1,h2,h3,h4,h5,h6 { font-family: 'Montserrat', 'Inter', Arial, sans-serif; font-weight: 700; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { color: var(--gray-600); line-height: 1.75; }
.text-white p, .text-white h1, .text-white h2, .text-white h3, .text-white h4 { color: #fff; }
.text-white p { color: rgba(255,255,255,.85); }

/* ---------- Layout Utilities ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; } .gap-4 { gap: 2rem; }
.text-center { text-align: center; }
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}.mt-6{margin-top:3rem}.mt-8{margin-top:4rem}
.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2rem}.mb-6{margin-bottom:3rem}
.pt-4{padding-top:2rem}.pb-4{padding-bottom:2rem}
.w-full { width: 100%; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.75rem; border-radius: var(--radius); font-weight: 600; font-size: .9375rem; transition: var(--transition); cursor: pointer; border: 2px solid transparent; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,169,192,.35); }
.btn-secondary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy-dark); border-color: var(--navy-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-green { background: var(--green); color: #fff; border-color: var(--green); }
.btn-green:hover { background: #4a9e4a; transform: translateY(-1px); }
.btn-sm { padding: .5rem 1.25rem; font-size: .875rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.0625rem; }

/* ---------- Badge / Tag ---------- */
.badge { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .85rem; border-radius: 99px; font-size: .8125rem; font-weight: 600; }
.badge-teal { background: rgba(0,169,192,.12); color: var(--teal-dark); }
.badge-navy { background: rgba(27,42,107,.1); color: var(--navy); }
.badge-green { background: rgba(92,184,92,.12); color: #3a7a3a; }
.badge-purple { background: rgba(107,63,160,.1); color: var(--purple); }
.badge-white { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.dot-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.3)} }

/* ---------- Cards ---------- */
.card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-body { padding: 1.75rem; }
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-icon { width: 56px; height: 56px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1rem; }
.card-icon-teal { background: rgba(0,169,192,.12); }
.card-icon-navy { background: rgba(27,42,107,.1); }
.card-icon-green { background: rgba(92,184,92,.12); }
.card-icon-purple { background: rgba(107,63,160,.1); }

/* ---------- Section Headers ---------- */
.section-label { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: .75rem; }
.section-title { font-size: clamp(1.75rem, 3.5vw, 2.75rem); color: var(--navy); margin-bottom: 1rem; }
.section-subtitle { font-size: 1.0625rem; color: var(--gray-500); max-width: 600px; line-height: 1.75; }
.section-header { margin-bottom: 3.5rem; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }
.divider { width: 60px; height: 4px; background: linear-gradient(90deg, var(--teal), var(--navy)); border-radius: 2px; margin: 1rem 0 1.5rem; }
.divider-center { margin: 1rem auto 1.5rem; }

/* ============================================================
   NAVBAR
   ============================================================ */
#main-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  transition: background .35s ease, box-shadow .35s ease;
}
#main-navbar.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  backdrop-filter: blur(10px);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 1.5rem;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo a { display: flex; align-items: center; }
.nav-logo img { height: 52px; width: auto; max-width: 160px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  padding: .5rem .875rem; border-radius: var(--radius);
  font-size: .9375rem; font-weight: 500; color: rgba(255,255,255,.9);
  transition: var(--transition); white-space: nowrap; cursor: pointer;
  display: flex; align-items: center; gap: .3rem;
}
#main-navbar.scrolled .nav-link { color: var(--gray-700); }
.nav-link:hover, .nav-link.active { color: var(--teal); background: rgba(0,169,192,.08); }
#main-navbar.scrolled .nav-link:hover { color: var(--teal); }
.nav-link svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-btn-donate { background: var(--teal); color: #fff; padding: .5rem 1.25rem; border-radius: var(--radius); font-weight: 600; font-size: .875rem; transition: var(--transition); }
.nav-btn-donate:hover { background: var(--teal-dark); transform: translateY(-1px); }
.nav-btn-volunteer { background: transparent; color: rgba(255,255,255,.9); border: 1.5px solid rgba(255,255,255,.5); padding: .5rem 1.25rem; border-radius: var(--radius); font-weight: 600; font-size: .875rem; transition: var(--transition); }
.nav-btn-volunteer:hover { background: rgba(255,255,255,.15); border-color: #fff; }
#main-navbar.scrolled .nav-btn-volunteer { color: var(--navy); border-color: var(--navy); }
#main-navbar.scrolled .nav-btn-volunteer:hover { background: var(--navy); color: #fff; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: .5rem; cursor: pointer; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }
#main-navbar.scrolled .nav-hamburger span { background: var(--navy); }

/* Mega Menu */
.mega-menu {
  position: absolute; top: 72px; left: 0; right: 0;
  background: #fff; box-shadow: var(--shadow-xl);
  border-top: 3px solid var(--teal);
  z-index: 999;
  animation: megaFadeIn .2s ease;
}
.mega-menu[style*="display: none"] {
  display: none !important;
}
@keyframes megaFadeIn { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:translateY(0)} }
.mega-inner { max-width: 1280px; margin: 0 auto; padding: 2.5rem 1.5rem; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.mega-col-title { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; }
.mega-item { display: flex; align-items: flex-start; gap: .875rem; padding: .75rem; border-radius: var(--radius); transition: var(--transition); margin-bottom: .25rem; }
.mega-item:hover { background: var(--gray-50); }
.mega-item-icon { width: 40px; height: 40px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.mega-item-text strong { display: block; font-size: .9375rem; color: var(--navy); font-weight: 600; margin-bottom: .2rem; }
.mega-item-text span { font-size: .8125rem; color: var(--gray-500); }
.mega-cta-card { background: linear-gradient(135deg, var(--navy), var(--teal)); border-radius: var(--radius-lg); padding: 1.5rem; color: #fff; }
.mega-cta-card h4 { color: #fff; margin-bottom: .5rem; }
.mega-cta-card p { color: rgba(255,255,255,.8); font-size: .875rem; margin-bottom: 1rem; }

/* Mobile Menu */
#mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--navy); z-index: 998; overflow-y: auto; padding: 1.5rem;
}
#mobile-menu.open { display: block; animation: slideDown .3s ease; }
@keyframes slideDown { from{opacity:0;transform:translateY(-10px)} to{opacity:1;transform:translateY(0)} }
.mobile-nav-link { display: block; padding: .875rem 1rem; color: rgba(255,255,255,.85); font-size: 1rem; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.08); transition: var(--transition); }
.mobile-nav-link:hover { color: var(--teal); padding-left: 1.5rem; }
.mobile-nav-actions { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
  position: relative; width: 100%; min-height: 100vh;
  overflow: hidden; background: #0D1A45;
}
.slider-track {
  display: flex; width: 100%; height: 100%;
  transition: transform .8s cubic-bezier(.77,0,.18,1);
  will-change: transform;
}
.slide {
  min-width: 100%; min-height: 100vh;
  position: relative; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.slide-bg {
  position: absolute; inset: 0; overflow: hidden;
}
.slide-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: scale(1.04); transition: transform 8s ease;
}
.slide.active .slide-bg img { transform: scale(1); }
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,26,69,.82) 0%, rgba(27,42,107,.65) 50%, rgba(0,122,140,.45) 100%);
}
.slide-content {
  position: relative; z-index: 2; text-align: center;
  padding: 8rem 1.5rem 6rem; max-width: 900px; margin: 0 auto;
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease .3s, transform .7s ease .3s;
}
.slide.active .slide-content { opacity: 1; transform: translateY(0); }
/* Slider controls */
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; background: rgba(255,255,255,.15); border: 1.5px solid rgba(255,255,255,.3);
  color: #fff; width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition); backdrop-filter: blur(8px);
}
.slider-btn:hover { background: rgba(255,255,255,.3); border-color: rgba(255,255,255,.6); transform: translateY(-50%) scale(1.08); }
.slider-prev { left: 1.5rem; }
.slider-next { right: 1.5rem; }
/* Dots */
.slider-dots {
  position: absolute; bottom: 5rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .6rem; z-index: 10;
}
.slider-dot {
  width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5);
  background: transparent; cursor: pointer; transition: var(--transition); padding: 0;
}
.slider-dot.active { background: #fff; border-color: #fff; transform: scale(1.3); }
.slider-dot:hover { border-color: #fff; }
/* Reuse hero text styles */
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-20px)} }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 99px; padding: .4rem 1rem; margin-bottom: 2rem; color: rgba(255,255,255,.9); font-size: .875rem; font-weight: 500; backdrop-filter: blur(8px); }
.hero-title { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 1.5rem; font-family: 'Montserrat', Arial, sans-serif; }
.hero-title .highlight { background: linear-gradient(90deg, var(--teal), #00d4f0); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.25rem); color: rgba(255,255,255,.8); max-width: 650px; margin: 0 auto 2.5rem; line-height: 1.75; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-trust { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: .4rem; color: rgba(255,255,255,.7); font-size: .8125rem; font-weight: 500; }
.hero-trust-item::before { content: '✓'; color: var(--green); font-weight: 700; }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.5); animation: bounce 2s infinite; cursor: pointer; z-index: 10; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ============================================================
   IMPACT STATS
   ============================================================ */
.stats-section { background: var(--navy); padding: 4rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 2rem 1.5rem; border-right: 1px solid rgba(255,255,255,.1); }
.stat-item:last-child { border-right: none; }
.stat-icon { font-size: 2rem; margin-bottom: .75rem; }
.stat-number { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: #fff; font-family: 'Montserrat', Arial, sans-serif; line-height: 1; }
.stat-number span { color: var(--teal); }
.stat-label { font-size: .875rem; color: rgba(255,255,255,.6); margin-top: .5rem; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-section { background: var(--gray-50); }
.services-tabs { display: flex; gap: .5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.service-tab { padding: .6rem 1.25rem; border-radius: 99px; font-size: .875rem; font-weight: 600; cursor: pointer; transition: var(--transition); background: #fff; color: var(--gray-600); border: 1.5px solid var(--gray-200); }
.service-tab.active, .service-tab:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.service-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1.5px solid var(--gray-100); height: 100%; display: flex; flex-direction: column; }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--teal); }
.service-card-img { height: 180px; background-size: cover; background-position: center; background-color: var(--navy); flex-shrink: 0; width: 100%; }
.service-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.service-card-body h3 { margin-top: .75rem; margin-bottom: .5rem; }
.service-card-body p { flex: 1; }
.service-card-icon { width: 52px; height: 52px; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: .25rem; }
/* About image grid */
.about-img-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px; gap: 1rem; }
.about-img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.about-img-main { grid-column: 1; grid-row: 1 / 3; }
.about-img-top { grid-column: 2; grid-row: 1; }
.about-img-bottom { grid-column: 2; grid-row: 2; }
/* Projects section */
.projects-section { background: var(--navy-dark); padding: 5rem 0; }
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.project-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.project-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.3); }
.project-card-img { position: relative; height: 220px; overflow: hidden; }
.project-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s ease; }
.project-card:hover .project-card-img img { transform: scale(1.05); }
.project-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,26,69,.7) 0%, transparent 60%); display: flex; align-items: flex-end; padding: 1rem; }
.project-tag { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); background: rgba(0,169,192,.15); border: 1px solid rgba(0,169,192,.3); border-radius: 99px; padding: .3rem .75rem; }
.project-card-body { padding: 1.5rem; }
.project-card-body h3 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: .625rem; line-height: 1.4; }
.project-card-body p { color: rgba(255,255,255,.65); font-size: .875rem; line-height: 1.65; margin-bottom: 1rem; }

/* ============================================================
   PROGRAMMES MAP
   ============================================================ */
.map-section { background: var(--navy-dark); padding: 5rem 0; }
.map-section .section-title, .map-section .section-label { color: #fff; }
.map-section .section-subtitle { color: rgba(255,255,255,.7); }
.map-container { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); background: #1a2a4a; min-height: 450px; display: flex; align-items: center; justify-content: center; position: relative; }
.map-placeholder { text-align: center; color: rgba(255,255,255,.6); padding: 3rem; }
.map-placeholder-icon { font-size: 4rem; margin-bottom: 1rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--gray-50); }
.testimonial-card { background: #fff; border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); border: 1.5px solid var(--gray-100); }
.testimonial-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 1rem; letter-spacing: .1em; }
.testimonial-text { font-size: 1rem; color: var(--gray-700); line-height: 1.75; font-style: italic; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: .875rem; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--teal)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.testimonial-name { font-weight: 600; color: var(--navy); font-size: .9375rem; }
.testimonial-role { font-size: .8125rem; color: var(--gray-400); }

/* ============================================================
   NEWS
   ============================================================ */
.news-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1.5px solid var(--gray-100); transition: var(--transition); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card-img { height: 200px; background: linear-gradient(135deg, var(--navy), var(--teal)); display: flex; align-items: center; justify-content: center; font-size: 3rem; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-card-body { padding: 1.5rem; }
.news-meta { display: flex; align-items: center; gap: .75rem; margin-bottom: .875rem; }
.news-category { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); }
.news-date { font-size: .8125rem; color: var(--gray-400); }
.news-title { font-size: 1.0625rem; color: var(--navy); font-weight: 700; line-height: 1.4; margin-bottom: .75rem; }
.news-excerpt { font-size: .875rem; color: var(--gray-500); line-height: 1.65; margin-bottom: 1.25rem; }
.news-read-more { font-size: .875rem; font-weight: 600; color: var(--teal); display: inline-flex; align-items: center; gap: .3rem; }
.news-read-more:hover { color: var(--teal-dark); gap: .5rem; }

/* ============================================================
   CTA SECTIONS
   ============================================================ */
.cta-split { display: grid; grid-template-columns: 1fr 1fr; }
.cta-donate { background: linear-gradient(135deg, var(--navy), var(--navy-mid)); padding: 4rem 3rem; color: #fff; }
.cta-volunteer { background: linear-gradient(135deg, var(--teal-dark), var(--teal)); padding: 4rem 3rem; color: #fff; }
.cta-donate h3, .cta-volunteer h3 { color: #fff; font-size: 1.75rem; margin-bottom: 1rem; }
.cta-donate p, .cta-volunteer p { color: rgba(255,255,255,.8); margin-bottom: 2rem; }

/* ============================================================
   PARTNERS
   ============================================================ */
.partners-section { background: var(--gray-50); padding: 3rem 0; }
.partners-grid { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 2rem; }
.partner-logo { background: #fff; border-radius: var(--radius); padding: 1rem 2rem; box-shadow: var(--shadow-sm); font-weight: 700; color: var(--gray-400); font-size: .875rem; transition: var(--transition); border: 1.5px solid var(--gray-100); }
.partner-logo:hover { color: var(--navy); box-shadow: var(--shadow); transform: translateY(-2px); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section { background: linear-gradient(135deg, var(--navy), var(--teal-dark)); padding: 5rem 0; }
.newsletter-section h2 { color: #fff; }
.newsletter-section p { color: rgba(255,255,255,.8); }
.newsletter-form { display: flex; gap: .75rem; max-width: 480px; margin: 0 auto; }
.newsletter-input { flex: 1; padding: .875rem 1.25rem; border-radius: var(--radius); border: none; font-size: .9375rem; outline: none; }
.newsletter-input:focus { box-shadow: 0 0 0 3px rgba(0,169,192,.4); }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--gray-900); color: rgba(255,255,255,.7); }
.footer-top { padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 1.25rem; filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }
.footer-brand p { font-size: .875rem; line-height: 1.75; color: rgba(255,255,255,.55); margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: .75rem; }
.footer-social a { width: 36px; height: 36px; border-radius: var(--radius); background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); font-size: .875rem; transition: var(--transition); }
.footer-social a:hover { background: var(--teal); color: #fff; }
.footer-col h4 { color: #fff; font-size: .9375rem; margin-bottom: 1.25rem; }
.footer-col ul li { margin-bottom: .625rem; }
.footer-col ul li a { font-size: .875rem; color: rgba(255,255,255,.55); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--teal); padding-left: .25rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.5rem 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: .8125rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: .8125rem; color: rgba(255,255,255,.45); }
.footer-bottom-links a:hover { color: var(--teal); }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-size: .875rem; font-weight: 600; color: var(--gray-700); margin-bottom: .5rem; }
.form-label .required { color: #e53e3e; margin-left: .25rem; }
.form-control { width: 100%; padding: .75rem 1rem; border: 1.5px solid var(--gray-200); border-radius: var(--radius); font-size: .9375rem; color: var(--gray-800); background: #fff; transition: var(--transition); }
.form-control:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,169,192,.15); }
.form-control.error { border-color: #e53e3e; }
.form-error { font-size: .8125rem; color: #e53e3e; margin-top: .35rem; }
.form-hint { font-size: .8125rem; color: var(--gray-400); margin-top: .35rem; }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-section-title { font-size: 1.0625rem; font-weight: 700; color: var(--navy); margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 2px solid var(--gray-100); }
.form-card { background: #fff; border-radius: var(--radius-xl); padding: 2.5rem; box-shadow: var(--shadow-lg); }
.checkbox-group, .radio-group { display: flex; flex-direction: column; gap: .625rem; }
.checkbox-item, .radio-item { display: flex; align-items: center; gap: .625rem; cursor: pointer; }
.checkbox-item input, .radio-item input { width: 18px; height: 18px; accent-color: var(--teal); cursor: pointer; }
.checkbox-item label, .radio-item label { font-size: .9375rem; color: var(--gray-700); cursor: pointer; }

/* ============================================================
   PAGE HEROES (non-homepage)
   ============================================================ */
.page-hero { padding: 8rem 0 4rem; background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--teal-dark) 100%); position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,.8); font-size: 1.125rem; max-width: 600px; }
.breadcrumb { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem; }
.breadcrumb a { font-size: .875rem; color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb-sep { color: rgba(255,255,255,.3); font-size: .75rem; }
.breadcrumb-current { font-size: .875rem; color: rgba(255,255,255,.9); font-weight: 500; }

/* ============================================================
   ADMIN
   ============================================================ */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 260px; background: var(--navy-dark); color: #fff; flex-shrink: 0; display: flex; flex-direction: column; position: fixed; top: 0; left: 0; bottom: 0; z-index: 100; overflow-y: auto; }
.admin-sidebar-logo { padding: 1.5rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-sidebar-logo img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.admin-nav { padding: 1rem 0; flex: 1; }
.admin-nav-section { padding: .75rem 1.25rem .25rem; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.35); }
.admin-nav-link { display: flex; align-items: center; gap: .75rem; padding: .75rem 1.25rem; color: rgba(255,255,255,.65); font-size: .9rem; font-weight: 500; transition: var(--transition); border-left: 3px solid transparent; }
.admin-nav-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.admin-nav-link.active { color: var(--teal); background: rgba(0,169,192,.1); border-left-color: var(--teal); }
.admin-nav-link .icon { width: 18px; text-align: center; font-size: 1rem; }
.admin-main { margin-left: 260px; flex: 1; background: var(--gray-50); min-height: 100vh; }
.admin-topbar { background: #fff; border-bottom: 1px solid var(--gray-200); padding: 1rem 2rem; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 50; }
.admin-topbar h1 { font-size: 1.25rem; color: var(--navy); }
.admin-content { padding: 2rem; }
.admin-card { background: #fff; border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); }
.admin-stat-card { background: #fff; border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); display: flex; align-items: center; gap: 1.25rem; }
.admin-stat-icon { width: 52px; height: 52px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.admin-stat-number { font-size: 1.875rem; font-weight: 800; color: var(--navy); line-height: 1; }
.admin-stat-label { font-size: .8125rem; color: var(--gray-400); margin-top: .25rem; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { padding: .875rem 1rem; text-align: left; font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-500); background: var(--gray-50); border-bottom: 1px solid var(--gray-200); }
.admin-table td { padding: 1rem; border-bottom: 1px solid var(--gray-100); font-size: .9rem; color: var(--gray-700); vertical-align: middle; }
.admin-table tr:hover td { background: var(--gray-50); }
.status-badge { display: inline-flex; align-items: center; padding: .25rem .75rem; border-radius: 99px; font-size: .75rem; font-weight: 600; }
.status-new { background: rgba(0,169,192,.1); color: var(--teal-dark); }
.status-pending { background: rgba(245,158,11,.1); color: #b45309; }
.status-active { background: rgba(92,184,92,.1); color: #2d6a2d; }
.status-closed { background: rgba(107,114,128,.1); color: var(--gray-500); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity .7s ease, transform .7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.stagger-1 { transition-delay: .1s; }
.stagger-2 { transition-delay: .2s; }
.stagger-3 { transition-delay: .3s; }
.stagger-4 { transition-delay: .4s; }
.stagger-5 { transition-delay: .5s; }

/* ============================================================
   SKIP LINK / ACCESSIBILITY
   ============================================================ */
.skip-link { position: absolute; top: -40px; left: 0; background: var(--navy); color: #fff; padding: .5rem 1rem; z-index: 10000; font-size: .875rem; font-weight: 600; border-radius: 0 0 var(--radius) 0; transition: top .2s; }
.skip-link:focus { top: 0; }
[x-cloak] { display: none !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  /* mega-menu hidden on mobile via Alpine x-show */
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .mega-inner { grid-template-columns: 1fr; }
  .cta-split { grid-template-columns: 1fr; }
  .admin-sidebar { transform: translateX(-100%); transition: transform .3s ease; }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
}
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .newsletter-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 3.5rem 0; }
  .cta-donate, .cta-volunteer { padding: 3rem 1.5rem; }
  .projects-grid { grid-template-columns: 1fr; }
  .about-img-grid { grid-template-columns: 1fr; grid-template-rows: 240px 180px 180px; }
  .about-img-main { grid-column: 1; grid-row: 1; }
  .about-img-top { grid-column: 1; grid-row: 2; }
  .about-img-bottom { grid-column: 1; grid-row: 3; }
  .slider-btn { width: 40px; height: 40px; }
  .slider-prev { left: .75rem; }
  .slider-next { right: .75rem; }
}
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero-content { padding: 7rem 1rem 4rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .btn-lg { padding: .875rem 1.75rem; }
}

/* ── Icons ─────────────────────────────────────────────────────────────── */
.icon        { display:inline-block; width:1.25rem; height:1.25rem; vertical-align:middle; flex-shrink:0; }
.icon-xs     { width:.875rem; height:.875rem; }
.icon-sm     { width:1rem; height:1rem; }
.icon-md     { width:1.5rem; height:1.5rem; }
.icon-lg     { width:2rem; height:2rem; }
.icon-xl     { width:2.5rem; height:2.5rem; }
.icon-2xl    { width:3rem; height:3rem; }
.icon-3xl    { width:4rem; height:4rem; }
.icon-white  { color:#fff; }
.icon-navy   { color:var(--navy); }
.icon-teal   { color:var(--teal); }
.icon-green  { color:var(--green); }
.icon-purple { color:var(--purple); }
.icon-gray   { color:var(--gray-400); }

/* Service card icons */
.service-icon-wrap {
  width:3.5rem; height:3.5rem; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:1.25rem; flex-shrink:0;
}
.service-icon-wrap.bg-teal   { background:rgba(0,169,192,.12); color:var(--teal); }
.service-icon-wrap.bg-navy   { background:rgba(27,42,107,.1); color:var(--navy); }
.service-icon-wrap.bg-green  { background:rgba(92,184,92,.12); color:var(--green); }
.service-icon-wrap.bg-purple { background:rgba(107,63,160,.12); color:var(--purple); }

/* Stat icons */
.stat-icon-wrap {
  width:3rem; height:3rem; border-radius:12px;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}

/* Admin nav icons */
.admin-nav-icon { display:flex; align-items:center; justify-content:center; width:20px; height:20px; flex-shrink:0; }
.admin-nav-icon svg { width:18px; height:18px; }

/* Mobile mega-menu accordion */
.mobile-section-title {
  display: flex; align-items: center; justify-content: space-between;
  padding: .875rem 1rem; color: rgba(255,255,255,.9); font-size: 1rem;
  font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.08);
  cursor: pointer; background: none; width: 100%;
}
.mobile-section-title svg { transition: transform .2s ease; }
.mobile-section-title.active svg { transform: rotate(180deg); }
.mobile-sub-links { display: none; background: rgba(0,0,0,.2); padding: .5rem 0; }
.mobile-sub-links.open { display: block; }
.mobile-sub-link { display: flex; align-items: center; gap: .75rem; padding: .75rem 1.5rem;
  color: rgba(255,255,255,.75); font-size: .9375rem; transition: var(--transition); }
.mobile-sub-link:hover { color: #fff; background: rgba(255,255,255,.05); }
.mobile-sub-link-icon { width: 32px; height: 32px; border-radius: 6px; display: flex;
  align-items: center; justify-content: center; flex-shrink: 0; }
.mobile-sub-link strong { display: block; font-weight: 600; color: inherit; }
.mobile-sub-link span { font-size: .8125rem; color: rgba(255,255,255,.55); }

/* ============================================================
   INNER PAGE RESPONSIVE IMAGE GRIDS
   ============================================================ */

/* Reveal directional animations */
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity .7s ease, transform .7s ease; }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }

/* News featured story responsive */
@media (max-width: 900px) {
  [style*="grid-template-columns:1.5fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:1.5fr 1fr"] img {
    height: 240px !important;
  }
}

/* Programmes image grids responsive */
@media (max-width: 768px) {
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr 1fr !important;
  }
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr 1fr !important;
  }
  [style*="grid-template-columns:2fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:2fr 1fr 1fr"] img {
    height: 200px !important;
    grid-row: auto !important;
    grid-column: auto !important;
  }
  .grid-2 [style*="order:2"] { order: 1 !important; }
  .grid-2 [style*="order:1"] { order: 2 !important; }
}

@media (max-width: 480px) {
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"],
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
}
