/* ================================================================
   CONC DAIRY FARM – style.css  (v3 – GIMC-inspired redesign)
   ================================================================ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: #060f0a;
  color: #d4e8d0;
  overflow-x: hidden;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── CSS Custom Properties ── */
:root {
  --forest:      #060f0a;
  --forest-2:    #0b1c11;
  --forest-3:    #112418;
  --green:       #1a8a45;
  --green-lt:    #2dc26a;
  --green-glow:  #3ddc7a;
  --emerald:     #0d7040;
  --gold:        #d4a827;
  --gold-lt:     #f0c84a;
  --white:       #ffffff;
  --lt:          #b8d9b2;
  --muted:       #6b9a75;
  --radius:      14px;
  --radius-lg:   22px;
  --shadow:      0 6px 32px rgba(0,0,0,0.45);
  --green-shadow: 0 6px 28px rgba(26,138,69,0.28);
  --gold-glow:   0 6px 28px rgba(212,168,39,0.25);
  --ease:        0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── Utility ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* Reveal animations */
.fade-in {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.slide-left  { opacity: 0; transform: translateX(-36px); transition: opacity 0.65s ease, transform 0.65s ease; }
.slide-right { opacity: 0; transform: translateX( 36px); transition: opacity 0.65s ease, transform 0.65s ease; }
.slide-left.visible, .slide-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger delays */
.d1 { transition-delay: 0.05s; }
.d2 { transition-delay: 0.13s; }
.d3 { transition-delay: 0.21s; }
.d4 { transition-delay: 0.29s; }
.d5 { transition-delay: 0.37s; }
.d6 { transition-delay: 0.45s; }

/* ── Shared section tokens ── */
.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-glow);
  background: rgba(61,220,122,0.08);
  border: 1px solid rgba(61,220,122,0.22);
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.tag.lite { color: #fff; background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }

.h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 16px;
}
.h2 em { font-style: italic; color: var(--green-glow); }

.lead { font-size: 1rem; color: var(--lt); line-height: 1.75; }
.muted { color: var(--muted); font-size: 0.9rem; line-height: 1.72; }

.sec-header { text-align: center; max-width: 640px; margin: 0 auto 60px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 32px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem; font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-green  { background: linear-gradient(135deg, var(--green), var(--emerald)); color: #fff; box-shadow: var(--green-shadow); }
.btn-green:hover { box-shadow: 0 10px 32px rgba(26,138,69,0.42); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.07); border-color: var(--white); }
.btn-white { background: var(--white); color: var(--forest); font-weight: 700; }
.btn-white:hover { background: #d4f0e0; }
.btn-outline-w { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn-outline-w:hover { background: rgba(255,255,255,0.1); }
.full { width: 100%; justify-content: center; }

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 16px 0;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}
.navbar.scrolled {
  background: rgba(6,15,10,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 2px 24px rgba(0,0,0,0.5);
  border-bottom: 1px solid rgba(61,220,122,0.08);
}
.nav-wrap {
  max-width: 1160px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.nav-brand img { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(61,220,122,0.4)); }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1; }
.nav-brand-name { font-size: 1.2rem; font-weight: 800; color: var(--white); }
.nav-brand-sub  { font-size: 0.6rem; font-weight: 500; color: var(--green-glow); letter-spacing: 0.16em; text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-menu a {
  font-size: 0.86rem; font-weight: 500; color: var(--lt);
  padding: 7px 13px; border-radius: 8px;
  transition: var(--ease);
}
.nav-menu a:hover { color: var(--white); background: rgba(61,220,122,0.07); }
.nav-menu a.active { color: var(--green-glow); }
.nav-menu .nav-cta {
  background: linear-gradient(135deg, var(--green), var(--emerald));
  color: #fff; font-weight: 700;
  padding: 8px 22px; border-radius: 999px;
  margin-left: 6px;
}
.nav-menu .nav-cta:hover { box-shadow: var(--green-shadow); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   HERO – Single Clear Image
   ================================================================ */
.hero {
  position: relative;
  height: 65vh;
  min-height: 440px;
  max-height: 720px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 0 48px 48px;
}
.c-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
}
.c-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 45%, transparent 70%);
  pointer-events: none;
}
.c-content {
  position: relative; z-index: 2;
  max-width: 620px;
}
.c-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  font-weight: 700; color: var(--white); line-height: 1.15; margin-bottom: 14px;
  text-shadow: 0 3px 14px rgba(0,0,0,0.8);
}
.c-title em { font-style: italic; color: var(--green-glow); }
.c-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,0.92); line-height: 1.6; max-width: 500px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.85);
}

/* ================================================================
   STATS STRIP
   ================================================================ */
.stats-strip {
  background: linear-gradient(90deg, var(--forest-2) 0%, #0f2518 50%, var(--forest-2) 100%);
  border-top: 1px solid rgba(61,220,122,0.14);
  border-bottom: 1px solid rgba(61,220,122,0.14);
  padding: 48px 0;
}
.stats-row {
  display: flex; align-items: center; justify-content: center;
  gap: 0; max-width: 860px; margin: 0 auto; padding: 0 28px; flex-wrap: wrap;
}
.stat-item { display: flex; flex-direction: column; align-items: center; flex: 1; min-width: 130px; padding: 8px; }
.stat-num  { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 900; color: var(--green-glow); line-height: 1; }
.stat-unit { font-size: 1.2rem; font-weight: 700; color: var(--green-glow); }
.stat-lbl  { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 6px; text-align: center; }
.stat-div  { width: 1px; height: 54px; background: rgba(255,255,255,0.08); }

/* ================================================================
   ABOUT (Our Story - Clean Card Layout)
   ================================================================ */
.about { padding: 45px 0 100px; background: var(--forest-2); }
.about-card-wrap {
  background: rgba(11,28,17,0.85);
  border: 1px solid rgba(61,220,122,0.18);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  max-width: 940px; margin: 0 auto;
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}
.about-text-full { text-align: left; }
.about-body { color: var(--muted); margin-bottom: 16px; font-size: 0.95rem; line-height: 1.75; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; }
.pill {
  font-size: 0.78rem; font-weight: 600; color: var(--green-glow);
  background: rgba(61,220,122,0.07); border: 1px solid rgba(61,220,122,0.2);
  padding: 6px 14px; border-radius: 999px;
  transition: var(--ease);
}
.pill:hover { background: rgba(61,220,122,0.16); }

/* ================================================================
   MISSION – 3 Pillars (Driven by Impact - Background Images)
   ================================================================ */
.mission-sec {
  padding: 100px 0;
  background: var(--forest-2);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pillar-card {
  position: relative;
  min-height: 320px;
  border: 1px solid rgba(61,220,122,0.25);
  border-radius: var(--radius-lg);
  padding: 44px 32px 36px;
  transition: var(--ease);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.card-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform 0.6s ease;
}
.pillar-card:hover .card-bg { transform: scale(1.08); }
.card-dim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,10,6,0.92) 0%, rgba(6,15,10,0.72) 60%, rgba(6,15,10,0.45) 100%);
  transition: background 0.3s ease;
}
.pillar-card:hover .card-dim {
  background: linear-gradient(to top, rgba(4,10,6,0.85) 0%, rgba(6,15,10,0.60) 60%, rgba(6,15,10,0.35) 100%);
}
.card-body { position: relative; z-index: 2; }

.pillar-card:hover {
  transform: translateY(-8px);
  border-color: rgba(61,220,122,0.45);
  box-shadow: 0 22px 50px rgba(0,0,0,0.45), 0 0 20px rgba(61,220,122,0.12);
}
.pillar-card.feat {
  border-color: rgba(61,220,122,0.35);
}
.pillar-num {
  position: absolute; top: 18px; right: 20px; z-index: 2;
  font-size: 1.2rem; font-weight: 900;
  color: var(--green-glow); background: rgba(6,15,10,0.85);
  padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(61,220,122,0.3);
  line-height: 1; pointer-events: none;
}
.pillar-icon {
  font-size: 2.2rem; margin-bottom: 16px;
  width: 56px; height: 56px;
  background: rgba(26,138,69,0.3); border: 1px solid rgba(61,220,122,0.35); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.pillar-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; font-weight: 700; color: var(--white); margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}
.pillar-card p {
  font-size: 0.9rem; color: rgba(255,255,255,0.88); line-height: 1.65;
  text-shadow: 0 1px 6px rgba(0,0,0,0.9);
}

/* ================================================================
   ACTIVITIES / GALLERY  (GIMC Outreaches style)
   ================================================================ */
.activities-sec { padding: 90px 0 40px; background: var(--forest-2); }
.activities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 260px 260px;
  gap: 16px;
}
.act-item {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  border: 1px solid rgba(61,220,122,0.06);
}
.act-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.act-item:hover img { transform: scale(1.07); }
.act-over {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,15,10,0.92) 0%, rgba(6,15,10,0.3) 55%, transparent 100%);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  padding: 22px;
  opacity: 0; transition: var(--ease);
}
.act-item:hover .act-over { opacity: 1; }
.act-tag {
  font-size: 0.78rem; font-weight: 700; color: var(--green-glow);
  background: rgba(61,220,122,0.12); border: 1px solid rgba(61,220,122,0.22);
  padding: 4px 10px; border-radius: 6px; margin-bottom: 8px;
  display: inline-block;
}
.act-over p { font-size: 0.82rem; color: rgba(255,255,255,0.82); line-height: 1.5; }
.act-wide { grid-column: span 2; }

/* ================================================================
   SIDEWAYS VIDEO CAROUSEL
   ================================================================ */
.video-carousel-wrap {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(61,220,122,0.12);
}
.v-sec-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}
.v-nav-btns {
  display: flex;
  gap: 12px;
}
.v-nav-btn {
  width: 44px; height: 44px;
  background: rgba(26,138,69,0.25);
  border: 1px solid rgba(61,220,122,0.3);
  color: #fff; border-radius: 50%;
  font-size: 1.4rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--ease);
}
.v-nav-btn:hover {
  background: var(--green);
  border-color: var(--green-glow);
  transform: scale(1.08);
}
.v-tag {
  font-size: 0.78rem; font-weight: 700; color: var(--green-glow);
  background: rgba(61,220,122,0.1); border: 1px solid rgba(61,220,122,0.2);
  padding: 4px 12px; border-radius: 999px; display: inline-block; margin-bottom: 8px;
}
.v-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 700; color: var(--white); margin-bottom: 4px;
}
.v-sub { font-size: 0.88rem; color: var(--muted); }

.video-track-container {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(61,220,122,0.3) transparent;
  padding: 12px 4px 24px;
  cursor: grab;
}
.video-track-container:active { cursor: grabbing; }
.video-track-container::-webkit-scrollbar { height: 6px; }
.video-track-container::-webkit-scrollbar-thumb { background: rgba(61,220,122,0.3); border-radius: 999px; }

.video-track {
  display: flex;
  gap: 24px;
  width: max-content;
}
.v-card {
  position: relative;
  width: 380px; height: 300px;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden; flex-shrink: 0;
  border: 1px solid rgba(61,220,122,0.25);
  box-shadow: 0 14px 36px rgba(0,0,0,0.45);
  background: #000;
  transition: transform 0.4s ease, border-color 0.4s ease;
}
.v-card:hover {
  transform: translateY(-6px);
  border-color: var(--green-glow);
}
.farm-video {
  width: 100%; height: 100%; object-fit: cover;
}
.v-card-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, transparent 100%);
  display: flex; flex-direction: column; gap: 4px;
}
.v-badge {
  font-size: 0.68rem; font-weight: 800; color: var(--green-glow);
  text-transform: uppercase; letter-spacing: 0.12em;
}
.v-card-info h4 {
  font-size: 0.95rem; font-weight: 700; color: var(--white);
}

/* ================================================================
   SERVICES  (GIMC Programs style – 5 cards)
   ================================================================ */
/* ================================================================
   SERVICES (Five Pillars of Our Farm)
   ================================================================ */
.services-sec {
  padding: 100px 0;
  background: var(--forest-2);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
}
/* Row 1: 3 cards taking 2 columns each */
.services-grid > .srv-card:nth-child(1) { grid-column: span 2; }
.services-grid > .srv-card:nth-child(2) { grid-column: span 2; }
.services-grid > .srv-card:nth-child(3) { grid-column: span 2; }
/* Row 2: 2 cards centered (start at col 2, take 2 cols each) */
.services-grid > .srv-card:nth-child(4) { grid-column: 2 / span 2; }
.services-grid > .srv-card:nth-child(5) { grid-column: 4 / span 2; }

.card-img-header {
  position: relative;
  width: 100%;
  height: 265px;
  overflow: hidden;
  flex-shrink: 0;
}
.card-img-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}
.srv-card:hover .card-img-header img {
  transform: scale(1.08);
}
.srv-num-badge {
  position: absolute; top: 12px; right: 12px;
  background: rgba(6,15,10,0.85); color: var(--green-glow);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em;
  padding: 3px 10px; border-radius: 999px;
  border: 1px solid rgba(61,220,122,0.3);
  z-index: 2;
}

.srv-card {
  position: relative;
  background: #0b1f13;
  border: 1px solid rgba(61,220,122,0.22);
  border-radius: var(--radius-lg);
  transition: var(--ease);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.srv-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--emerald));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.srv-card:hover::after { transform: scaleX(1); }
.srv-card:hover {
  transform: translateY(-6px);
  border-color: rgba(61,220,122,0.45);
  box-shadow: 0 22px 50px rgba(0,0,0,0.45), 0 0 20px rgba(61,220,122,0.12);
}
.srv-card.feat {
  border-color: rgba(61,220,122,0.35);
  background: #0e2718;
}
.card-body-content {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}
.srv-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
  width: 100%;
}
.srv-icon-wrap {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(26,138,69,0.22); border: 1px solid rgba(61,220,122,0.28);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
}
.srv-icon { font-size: 1.15rem; }
.srv-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 700; color: var(--white);
  text-align: center;
}
.card-body-content p {
  font-size: 0.84rem; color: var(--muted); line-height: 1.45; margin-bottom: 10px;
  text-align: center;
}
.srv-list {
  display: flex; flex-direction: column; gap: 5px; margin: 4px 0 12px;
  padding: 0; list-style: none; width: 100%; align-items: center;
}
.srv-list li {
  font-size: 0.8rem; color: rgba(255,255,255,0.9);
  text-align: center;
  padding: 3px 10px;
  background: rgba(61,220,122,0.06);
  border: 1px solid rgba(61,220,122,0.14);
  border-radius: 999px;
  width: 100%; max-width: 240px;
}
.srv-list li::before {
  display: none;
}
.srv-link {
  font-size: 0.85rem; font-weight: 700; color: var(--green-glow);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin-top: auto;
  transition: var(--ease); text-align: center;
}
.srv-link:hover { gap: 10px; color: #fff; }

/* ================================================================
   WHY US
   ================================================================ */
.why-sec { padding: 110px 0; background: var(--forest-2); }
.why-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center; }
.why-points { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.why-pt {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 18px 22px; background: rgba(61,220,122,0.03);
  border: 1px solid rgba(61,220,122,0.08); border-radius: var(--radius);
  transition: var(--ease);
}
.why-pt:hover { background: rgba(61,220,122,0.07); border-color: rgba(61,220,122,0.2); transform: translateX(5px); }
.wp-ico { font-size: 1.5rem; flex-shrink: 0; }
.wp-txt h4 { font-size: 0.92rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.wp-txt p  { font-size: 0.82rem; color: var(--muted); line-height: 1.55; }

.why-visual { position: relative; padding: 36px 0 36px 36px; }
.wi-top { border-radius: var(--radius-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.wi-bot {
  position: absolute; bottom: 0; left: 0;
  width: 55%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius); box-shadow: 0 16px 50px rgba(0,0,0,0.5);
  border: 3px solid rgba(61,220,122,0.1);
}
.wi-badge {
  position: absolute; top: 0; right: -10px;
  width: 92px; height: 92px;
  background: linear-gradient(135deg, var(--green), var(--emerald));
  border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: var(--green-shadow);
}
.wi-badge .num { font-size: 1.4rem; font-weight: 900; color: #fff; line-height: 1; }
.wi-badge .lbl { font-size: 0.6rem; font-weight: 700; color: rgba(255,255,255,0.85); text-transform: uppercase; letter-spacing: 0.08em; }

/* ================================================================
   SACCO SECTION
   ================================================================ */
.sacco-sec {
  position: relative; padding: 130px 0;
  display: flex; align-items: center; overflow: hidden; min-height: 620px;
}
.sacco-bg { position: absolute; inset: 0; }
.sacco-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.sacco-bg-dim {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(6,15,10,0.94) 0%, rgba(11,28,17,0.82) 55%, rgba(6,15,10,0.65) 100%);
}
.sacco-inner { position: relative; z-index: 2; }
.sacco-lead {
  font-size: 1rem; color: rgba(255,255,255,0.78); max-width: 580px;
  line-height: 1.75; margin-bottom: 52px;
}
.sacco-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 100%;
}
.sacco-card {
  background: rgba(255,255,255,0.05); backdrop-filter: blur(14px);
  border: 1px solid rgba(61,220,122,0.12); border-radius: var(--radius);
  padding: 28px 24px; transition: var(--ease);
}
.sacco-card:hover { background: rgba(61,220,122,0.08); border-color: rgba(61,220,122,0.3); transform: translateY(-4px); }
.sacco-icon { font-size: 1.8rem; margin-bottom: 14px; }
.sacco-card h4 { font-size: 0.97rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.sacco-card p  { font-size: 0.84rem; color: rgba(255,255,255,0.6); line-height: 1.6; }
.sacco-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testi-sec { padding: 110px 0; background: linear-gradient(180deg, #060f0a 0%, #0b1c11 100%); }
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.t-card {
  background: rgba(11,28,17,0.9); border: 1px solid rgba(61,220,122,0.09);
  border-radius: var(--radius-lg); padding: 36px;
  position: relative; overflow: hidden; transition: var(--ease);
}
.t-card::before {
  content: '"'; position: absolute; top: -12px; right: 24px;
  font-family: 'Playfair Display', serif; font-size: 8rem; color: rgba(61,220,122,0.05);
  line-height: 1; pointer-events: none;
}
.t-card:hover { transform: translateY(-5px); border-color: rgba(61,220,122,0.24); box-shadow: 0 18px 50px rgba(0,0,0,0.32); }
.t-card.feat { border-color: rgba(61,220,122,0.28); background: rgba(26,138,69,0.08); }
.t-stars { color: var(--gold-lt); font-size: 0.9rem; letter-spacing: 0.06em; margin-bottom: 16px; }
.t-text  { font-size: 0.9rem; color: var(--lt); line-height: 1.75; margin-bottom: 24px; font-style: italic; }
.t-auth  { display: flex; align-items: center; gap: 12px; }
.t-av    {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--emerald));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem; color: white; flex-shrink: 0;
}
.t-info strong { display: block; font-size: 0.86rem; font-weight: 700; color: var(--white); }
.t-info span   { font-size: 0.76rem; color: var(--muted); }

/* ================================================================
   CTA BANNER
   ================================================================ */
.cta-sec {
  position: relative; padding: 120px 0;
  display: flex; align-items: center; overflow: hidden; min-height: 460px;
}
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.38); }
.cta-dim { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(6,15,10,0.92) 0%, rgba(11,28,17,0.76) 100%); }
.cta-inner { position: relative; z-index: 2; text-align: center; max-width: 680px; margin: 0 auto; }
.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  color: var(--white); font-weight: 700; margin-bottom: 18px;
}
.cta-sub { font-size: 1rem; color: rgba(255,255,255,0.76); margin-bottom: 38px; line-height: 1.72; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ================================================================
   CONTACT
   ================================================================ */
.contact-sec { padding: 110px 0; background: var(--forest-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.contact-intro { font-size: 0.95rem; color: var(--lt); margin-bottom: 36px; line-height: 1.75; }
.c-details { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.c-detail  { display: flex; align-items: center; gap: 14px; }
.c-ico {
  width: 46px; height: 46px;
  background: rgba(26,138,69,0.12); border: 1px solid rgba(61,220,122,0.2); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.c-ico-txt strong { display: block; font-size: 0.72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.c-ico-txt span   { font-size: 0.9rem; color: var(--white); }
.socials { display: flex; gap: 10px; }
.s-link {
  width: 40px; height: 40px; border-radius: 9px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; color: var(--muted);
  transition: var(--ease);
}
.s-link svg { width: 16px; height: 16px; }
.s-link:hover { background: rgba(61,220,122,0.1); border-color: rgba(61,220,122,0.28); color: var(--green-glow); }

.c-form-wrap {
  background: rgba(11,28,17,0.9); border: 1px solid rgba(61,220,122,0.1);
  border-radius: var(--radius-lg); padding: 44px 40px;
}
.c-form-title { font-family: 'Playfair Display', serif; font-size: 1.55rem; color: var(--white); margin-bottom: 30px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.f-group label { font-size: 0.72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.f-group input,
.f-group select,
.f-group textarea {
  background: rgba(61,220,122,0.04); border: 1px solid rgba(61,220,122,0.12); border-radius: 10px;
  padding: 12px 14px; font-family: 'Inter', sans-serif; font-size: 0.9rem;
  color: var(--white); outline: none; width: 100%; resize: vertical; appearance: none;
  transition: var(--ease);
}
.f-group select option { background: var(--forest-2); color: var(--white); }
.f-group input:focus,
.f-group select:focus,
.f-group textarea:focus {
  border-color: rgba(61,220,122,0.45);
  background: rgba(61,220,122,0.06);
  box-shadow: 0 0 0 3px rgba(61,220,122,0.07);
}
.f-group input::placeholder,
.f-group textarea::placeholder { color: rgba(255,255,255,0.2); }
.f-success {
  display: none; align-items: center; gap: 10px;
  background: rgba(46,204,113,0.1); border: 1px solid rgba(46,204,113,0.28);
  color: #2ecc71; padding: 12px 16px; border-radius: 9px;
  font-size: 0.86rem; font-weight: 500; margin-top: 10px;
}
.f-success.show { display: flex; }

/* ================================================================
   FOOTER
   ================================================================ */
.footer { background: #030809; }
.footer-top { padding: 72px 0 54px; }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 44px; }
.f-brand img { width: 64px; margin-bottom: 16px; filter: drop-shadow(0 2px 8px rgba(61,220,122,0.3)); }
.f-brand p   { font-size: 0.84rem; color: var(--muted); line-height: 1.72; margin-bottom: 22px; }
.f-socials { display: flex; gap: 8px; }
.f-socials a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center; color: var(--muted);
  transition: var(--ease);
}
.f-socials a svg { width: 15px; height: 15px; }
.f-socials a:hover { background: rgba(61,220,122,0.1); border-color: rgba(61,220,122,0.28); color: var(--green-glow); }
.f-col h4 { font-size: 0.78rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 18px; }
.f-col ul { display: flex; flex-direction: column; gap: 10px; }
.f-col li a { font-size: 0.84rem; color: var(--muted); transition: var(--ease); }
.f-col li a:hover { color: var(--green-glow); padding-left: 4px; }
.f-col .plain li { font-size: 0.84rem; color: var(--muted); line-height: 1.55; }
.footer-bot { border-top: 1px solid rgba(255,255,255,0.04); padding: 22px 0; }
.footer-bot .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bot p { font-size: 0.78rem; color: var(--muted); }
.f-bot-links { display: flex; gap: 22px; }
.f-bot-links a { font-size: 0.78rem; color: var(--muted); transition: var(--ease); }
.f-bot-links a:hover { color: var(--green-glow); }

/* ================================================================
   FLOATING WHATSAPP CHAT BUTTON
   ================================================================ */
.wa-float {
  position: fixed; bottom: 28px; left: 28px; z-index: 850;
  width: 54px; height: 54px;
  background: #25d366; color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: var(--ease); text-decoration: none;
}
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
.wa-float:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 10px 30px rgba(37,211,102,0.65); }
.wa-tooltip {
  position: absolute; left: 66px; top: 50%; transform: translateY(-50%);
  background: #0b1c11; color: #fff; border: 1px solid rgba(61,220,122,0.3);
  padding: 6px 12px; border-radius: 8px; font-size: 0.78rem; font-weight: 600;
  white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 18px rgba(0,0,0,0.4);
}
.wa-float:hover .wa-tooltip { opacity: 1; transform: translateY(-50%) translateX(4px); }

/* ================================================================
   BACK TO TOP
   ================================================================ */
.btt {
  position: fixed; bottom: 28px; right: 28px; z-index: 800;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--green), var(--emerald));
  color: #fff; border: none; border-radius: 50%;
  font-size: 1.1rem; font-weight: 700; cursor: pointer;
  box-shadow: var(--green-shadow); opacity: 0;
  transform: translateY(16px); pointer-events: none;
  transition: var(--ease);
}
.btt.show { opacity: 1; transform: translateY(0); pointer-events: all; }
.btt:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(26,138,69,0.48); }

/* ================================================================
   KEYFRAMES
   ================================================================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid > .srv-card:nth-child(1),
  .services-grid > .srv-card:nth-child(2),
  .services-grid > .srv-card:nth-child(3),
  .services-grid > .srv-card:nth-child(4),
  .services-grid > .srv-card:nth-child(5) { grid-column: auto; }
  .services-grid > .srv-card:nth-child(5) { grid-column: span 2; max-width: 540px; margin: 0 auto; width: 100%; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .pillars-grid > .pillar-card:nth-child(3) { grid-column: span 2; max-width: 540px; margin: 0 auto; width: 100%; }
}

@media (max-width: 1024px) {
  .about-grid, .why-grid { grid-template-columns: 1fr; gap: 52px; }
  .contact-grid           { grid-template-columns: 1fr; gap: 52px; }
  .sacco-grid             { grid-template-columns: repeat(2, 1fr); }
  .about-text             { padding-left: 0; }
  .about-thumb            { width: 140px; right: -14px; bottom: -14px; }
  .why-visual             { padding: 0; }
  .wi-bot                 { display: none; }
  .wi-badge               { top: -14px; right: 12px; }
  .activities-grid        { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px 220px; }
  .act-tall               { grid-row: span 1; }
  .act-wide               { grid-column: span 2; }
  .f-grid                 { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-menu {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: rgba(6,15,10,0.98); backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 60px 28px; gap: 4px;
    transition: right 0.4s ease; border-left: 1px solid rgba(61,220,122,0.08);
    z-index: 850;
  }
  .nav-menu.open { right: 0; }
  .nav-menu a { font-size: 1rem; padding: 12px 0; border-radius: 0; background: transparent; }
  .nav-menu .nav-cta { margin-top: 16px; padding: 10px 22px; border-radius: 999px; }
  .hamburger { display: flex; }

  /* Hero */
  .c-content { padding: 0 28px; }

  /* Pillars */
  .pillars-grid { grid-template-columns: 1fr; }
  .pillars-grid > .pillar-card:nth-child(3) { grid-column: auto; max-width: 100%; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .services-grid > .srv-card:nth-child(4),
  .services-grid > .srv-card:nth-child(5) { grid-column: auto; }

  /* Activities */
  .activities-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 180px 180px; }

  /* Testi */
  .testi-grid { grid-template-columns: 1fr; }

  /* Stats */
  .stat-div { display: none; }
  .stats-row { justify-content: space-around; }

  /* SACCO */
  .sacco-grid { grid-template-columns: 1fr; }

  /* Contact form */
  .c-form-wrap { padding: 28px 22px; }
  .f-row { grid-template-columns: 1fr; }

  /* Footer */
  .f-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
  .hero { height: 60vh; min-height: 380px; }
  .c-title { font-size: 1.8rem; }
  .h2      { font-size: 1.8rem; }
  .about-thumb, .about-badge { display: none; }
  .activities-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .act-wide { grid-column: span 1; }
  .cta-btns { flex-direction: column; align-items: center; }
  .footer-bot .container { flex-direction: column; align-items: flex-start; }
  .sacco-cta { flex-direction: column; align-items: center; }
}
