:root{
  --text:#1f2937;
  --muted:#475569;
  --border:#e5e7eb;
  --brand:#0f766e;
  --kj-yellow: rgb(249,217,1);
  --kj-orange: rgb(225,106,14);
  --kj-blue: rgb(40,22,109);
}

*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--text);background:#fff}
a{color:inherit}
.container{max-width:1100px;margin:0 auto;padding:0 18px}
.section{padding:46px 0}
.muted{color:var(--muted);margin:6px 0 0}

/* Header */
.nav{border-bottom:1px solid var(--border);position:sticky;top:0;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);z-index:10}
.navbar{display:flex;justify-content:space-between;align-items:center;padding:12px 0;gap:12px}
.brand{font-weight:900}
.brand span{color:var(--brand)}
.brand-link{text-decoration:none}
.menu{display:flex;gap:8px;flex-wrap:wrap;align-items:center}

/* Donate button (header) */
.btn-donate{
  text-decoration:none;
  background:var(--brand);
  color:#fff;
  padding:10px 14px;
  border-radius:14px;
  font-weight:900;
  display:inline-block;
}
.btn-donate:hover{opacity:.95}
.btn-donate.active{box-shadow:0 10px 20px rgba(0,0,0,.10)}

/* Hero */
.hero-center{text-align:center}
.hero-img{max-width:100%;height:auto;border-radius:14px;border:1px solid var(--border)}

/* Section title */
.section-title h2{margin:0}
.section-title{margin-bottom:14px}

/* Counter */
.counter-section{background:linear-gradient(180deg,#ffffff,#f8fafc);text-align:center}
.counterWrap{display:flex;flex-direction:column;align-items:center;gap:8px;margin-bottom:18px}
.counter-label{font-size:18px;font-weight:900;color:var(--brand);letter-spacing:.5px}
.counter{font-size:54px;font-weight:950;color:#0f172a}
.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.kpi{background:#fff;border:1px solid var(--border);border-radius:18px;padding:16px;text-align:center;box-shadow:0 8px 22px rgba(0,0,0,.05);transition:transform .2s ease, box-shadow .2s ease}
.kpi:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(0,0,0,.08)}
.kpi-top{font-weight:950;font-size:16px;margin-bottom:8px}
.kpi-value{font-weight:950;font-size:26px}
.kpi.health{border-top:7px solid #22c55e}
.kpi.food{border-top:7px solid #f97316}
.kpi.education{border-top:7px solid #6366f1}
.kpi.housing{border-top:7px solid #0ea5e9}

/* Impact cards */
.impact-section{background:linear-gradient(180deg,#f8fafc,#ffffff);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.impact-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.impact-card{border-radius:18px;padding:22px;border:1px solid rgba(15,23,42,.06)}
.impact-card h3{margin:0 0 10px}
.impact-card p{margin:0;line-height:1.6;color:var(--muted)}
.impact-card.who{background:#eef2ff;border-left:6px solid #6366f1}
.impact-card.mission{background:#ecfeff;border-left:6px solid #06b6d4}
.impact-card.vision{background:#f0fdf4;border-left:6px solid #22c55e}
.impact-card.work{background:#fff7ed;border-left:6px solid #f97316}

/* Our Work section */
.how-section{background:linear-gradient(180deg,#ecfeff,#ffffff);border-top:1px solid rgba(6,182,212,.18);border-bottom:1px solid rgba(6,182,212,.18)}
.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:14px}
.how-card{background:#fff;border:1px solid var(--border);border-radius:18px;padding:20px;box-shadow:0 8px 22px rgba(0,0,0,.05)}
.how-card h3{margin:0 0 8px}
.how-card p{margin:0;color:var(--muted);line-height:1.6}
.how-card.purpose{border-top:7px solid #6366f1}
.how-card.process{border-top:7px solid #22c55e}
.how-card.trust{border-top:7px solid #f97316}

/* Buttons */
.link-btn{
  margin-top:12px;
  display:inline-block;
  background:var(--brand);
  color:#fff;
  border:none;
  padding:10px 12px;
  border-radius:12px;
  cursor:pointer;
  font-weight:900;
}
.link-btn:hover{opacity:.95}

/* Testimonials (Slider) */
.testimonials-section{background:linear-gradient(180deg,#ffffff,#f8fafc)}
.slider-title{display:flex;align-items:flex-end;justify-content:space-between;gap:14px}
.slider-controls{display:flex;gap:10px}
.slider-btn{
  width:44px;height:44px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  cursor:pointer;
  font-size:22px;
  line-height:1;
  box-shadow:0 8px 18px rgba(0,0,0,.06);
}
.slider-btn:hover{transform:translateY(-1px)}
.slider-btn:disabled{opacity:.4;cursor:not-allowed;transform:none}

.testimonial-slider{overflow:hidden;border-radius:18px;margin-top:12px}
.testimonial-track{
  display:flex;
  gap:18px;
  will-change: transform;
  transition: transform .35s ease;
  padding:2px;
}
.testimonial-card{
  flex: 0 0 calc((100% - 54px) / 4);
  border-radius:18px;
  border:1px solid var(--border);
  padding:18px;
  box-shadow:0 8px 22px rgba(0,0,0,.05);
  background:#fff;
}
.quote p{margin:0;line-height:1.7;color:#334155}
.by{margin-top:10px;font-weight:900;color:#0f172a}
.quote{border-left:7px solid #e5e7eb}
.quote.q1{border-left-color:#6366f1;background:#f5f3ff}
.quote.q2{border-left-color:#22c55e;background:#f0fdf4}
.quote.q3{border-left-color:#f97316;background:#fff7ed}
.quote.q4{border-left-color:#0ea5e9;background:#eff6ff}
.quote.q5{border-left-color:#ec4899;background:#fdf2f8}

.slider-dots{display:flex;justify-content:center;gap:8px;margin-top:14px}
.dot{width:8px;height:8px;border-radius:999px;background:#cbd5e1}
.dot.active{background:var(--brand)}

/* Team */
.team-section{background:linear-gradient(180deg,#ffffff,#f8fafc)}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.card{background:#fff;border:1px solid var(--border);border-radius:18px;padding:18px}

.member{transition:transform .2s ease, box-shadow .2s ease}
.member {text-align: center;}
.member:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(0,0,0,.08)}
.member-head{display:flex;gap:12px;align-items:center;margin-bottom:10px}
.avatar{
  width:46px;height:46px;border-radius:16px;
  display:flex;align-items:center;justify-content:center;
  font-weight:950;color:#fff;
  background:linear-gradient(135deg,#6366f1,#0ea5e9);
}
.avatar-photo {
  object-fit: cover;
  background: #f8fafc;
}

.member-name{font-weight:950}
.member-role{color:var(--muted);font-weight:800;font-size:14px}
.member-snippet{margin:0 0 10px;color:#334155;line-height:1.65}
.member.m1{border-top:7px solid #6366f1}
.member.m2{border-top:7px solid #22c55e}
.member.m3{border-top:7px solid #f97316}
.member.m4{border-top:7px solid #0ea5e9}
.member.m5{border-top:7px solid #ec4899}
.member.m6{border-top:7px solid #a855f7}

/* Popups */
.modal-overlay{
  position:fixed;inset:0;
  display:none;
  align-items:center;justify-content:center;
  background:rgba(15,23,42,.65);
  z-index:50;
  padding:18px;
}
.modal{
  width:min(720px, 100%);
  background:#fff;
  border-radius:20px;
  padding:22px 22px 18px;
  border:1px solid rgba(15,23,42,.12);
  box-shadow:0 24px 60px rgba(0,0,0,.25);
  position:relative;
}
.modal h3{margin:0 0 10px}
.modal-text{color:#334155;line-height:1.75}
.close-btn{
  position:absolute;top:10px;right:12px;
  width:40px;height:40px;
  border-radius:12px;border:1px solid var(--border);
  background:#fff;cursor:pointer;
  font-size:22px;line-height:1;
}

/* Footer (smaller height) */
.footer{background:#0b1220;color:#e5e7eb;padding:16px 0}
.footerGrid{display:grid;grid-template-columns:1.4fr .8fr;gap:18px}
.footer-title{font-weight:950;margin-bottom:6px}
.footer-text{color:#cbd5e1;font-size:13px;line-height:1.5}
.copy{margin-top:10px;padding-top:10px;border-top:1px solid rgba(229,231,235,.12);text-align:center;color:#cbd5e1;font-size:12px}

/* Donate page */
.donate-hero{background:linear-gradient(180deg,#ffffff,#f8fafc)}
.donate-wrap{max-width:920px}
.donate-title{margin:0 0 8px;font-size:34px}
.donate-lead{margin:0 0 16px;color:var(--muted);line-height:1.7;font-size:16px}
.donate-badges{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.donate-badge{
  background:#ecfeff;
  border:1px solid rgba(6,182,212,.25);
  color:#0f172a;
  padding:10px 12px;
  border-radius:14px;
  font-weight:800;
}
.donate-badge.strong{
  background:#f0fdf4;
  border-color:rgba(34,197,94,.25);
}
.card-soft{
  background:#ffffff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:18px;
  box-shadow:0 8px 22px rgba(0,0,0,.05);
  margin-bottom:18px;
}
.donate-h2{margin:0 0 8px;font-size:18px}
.donate-p{margin:0;color:#334155;line-height:1.7}
.donate-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.donate-card{
  background:#ffffff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:18px;
  box-shadow:0 8px 22px rgba(0,0,0,.05);
}
.donate-card h3{margin:0 0 8px}
.donate-key{
  margin:10px 0 6px;
  padding:10px 12px;
  border-radius:14px;
  background:#f8fafc;
  border:1px dashed rgba(15,23,42,.20);
  font-weight:900;
}
.donate-note{margin:0;color:var(--muted);line-height:1.6;font-size:14px}
.donate-bank{margin-top:10px;color:#334155;line-height:1.7}

.method-zelle{border-top:7px solid #6366f1}
.method-paypal{border-top:7px solid #0ea5e9}
.method-bank{border-top:7px solid #22c55e}
.method-other{border-top:7px solid #f97316}

/* Responsive */
@media (max-width: 980px){
  .impact-grid{grid-template-columns:1fr 1fr}
  .kpis{grid-template-columns:1fr 1fr}
  .how-grid{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}
  .footerGrid{grid-template-columns:1fr}
  .donate-grid{grid-template-columns:1fr}

  /* Testimonials: 2 cards */
  .testimonial-card{flex:0 0 calc((100% - 18px) / 2)}
  .work-grid{grid-template-columns:1fr 1fr}
}
@media (max-width: 560px){
  /* Testimonials: 1 card */
  .testimonial-card{flex:0 0 100%}
}
@media (max-width: 520px){
  .counter{font-size:46px}
  .work-grid{grid-template-columns:1fr}
}

/* Our Work (Videos) */
.work-videos-section{
  background:linear-gradient(180deg,#ffffff,#f8fafc);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}

.work-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:14px;
}

.work-card{
  text-decoration:none;
  color:inherit;
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:18px;
  box-shadow:0 8px 22px rgba(0,0,0,.05);
  display:flex;
  flex-direction:column;
  gap:10px;
  min-height:150px;
  transition:transform .2s ease, box-shadow .2s ease;
}

.work-card:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 30px rgba(0,0,0,.08);
}

.work-icon{
  width:44px;
  height:44px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f1f5f9;
  border:1px solid rgba(15,23,42,.08);
  color:var(--brand); /* neutral brand color icons */
}

.work-text h3{
  margin:0;
  font-weight:950;
}

.work-text p{
  margin:4px 0 0;
  color:var(--muted);
  line-height:1.6;
}

.work-link{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:900;
  color:var(--brand);
}

.work-link::after{
  content:"→";
  font-weight:900;
}

/* Category colors like About Us (cards), icons stay neutral */
.work-card.work-health{
  background:#f0fdf4;
  border-color:rgba(34,197,94,.22);
  border-top:7px solid #22c55e;
}
.work-card.work-food{
  background:#fff7ed;
  border-color:rgba(249,115,22,.22);
  border-top:7px solid #f97316;
}
.work-card.work-housing{
  background:#eff6ff;
  border-color:rgba(59,130,246,.22);
  border-top:7px solid #0ea5e9;
}
.work-card.work-education{
  background:#f5f3ff;
  border-color:rgba(99,102,241,.22);
  border-top:7px solid #6366f1;
}

/* =========================
   OPTION B: Blue header + footer
   ========================= */
/* =========================
   OPTION B: Blue header + footer
   ========================= */
.nav{
  background: rgb(40, 22, 109) !important;
  border-bottom: 1px solid rgba(255,255,255,.14) !important;
  backdrop-filter: none !important;
}
.nav a{color:#fff}
.brand span{color: var(--kj-yellow)}

.nav .brand-link{
  color:#fff;
}

/* Keep logo badge subtle on blue header (works for both text and logo) */
.nav .brand-link{
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(255,255,255,.14);
}

/* Contact button (secondary) on blue header */
.nav .btn-contact{
  text-decoration:none;
  background: transparent !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.65) !important;
  border-radius:18px;
  font-weight:950;
  padding:10px 16px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
  box-shadow:none !important;
  transition:transform .2s ease, background .2s ease, border-color .2s ease;
}
.nav .btn-contact:hover{
  background: rgba(255,255,255,.14) !important;
  border-color: rgba(255,255,255,.80) !important;
  transform: translateY(-1px);
}
.nav .btn-contact.active{
  background: rgba(255,255,255,.18) !important;
  border-color: rgba(255,255,255,.90) !important;
}

/* Donate button stays orange (already), just ensure text stays white on gradient */
.nav .btn-donate{color:#fff !important}

/* Footer in brand blue */
.footer{
  background: rgb(40, 22, 109) !important;
  color: rgba(255,255,255,.92) !important;
}
.footer-text{color: rgba(255,255,255,.82) !important}
.copy{
  color: rgba(255,255,255,.72) !important;
  border-top: 1px solid rgba(255,255,255,.14) !important;
}

/* Mobile header spacing on blue */
@media (max-width: 520px){
  .navbar{padding:10px 0}
  .menu{gap:8px}
  .btn-contact,.btn-donate{padding:9px 12px;border-radius:16px}
  .logo-img{height:44px}
}

/* =========================
   OPTION B – BLUE HEADER & FOOTER
   Brand Blue: rgb(40,22,109)
   ========================= */

/* Header */
.nav{
  background: rgb(40, 22, 109);
  border-bottom: none;
}

.nav a,
.nav .brand,
.nav .menu a{
  color:#ffffff;
}

.nav .brand span{
  color:#ffffff;
}

/* Keep logo readable on blue */
.brand-link{
  background: rgba(255,255,255,.10);
}

/* Contact button on header (secondary) */
.btn-contact{
  background: transparent;
  color:#ffffff;
  border:1px solid rgba(255,255,255,.55);
}
.btn-contact:hover{
  background: rgba(255,255,255,.15);
}

/* Donate button remains orange */
.btn-donate{
  background: var(--kj-orange);
  color:#ffffff;
}
.btn-donate:hover{
  background: linear-gradient(90deg, var(--kj-yellow), var(--kj-orange));
}

/* Footer */
.footer{
  background: rgb(40, 22, 109);
  color:#e5e7eb;
}

.footer-title,
.footer-text,
.copy{
  color:#e5e7eb;
}

.footer-text a{
  color:#ffffff;
}

/* Footer divider */
.copy{
  border-top:1px solid rgba(255,255,255,.18);
}

/* =========================
   END OPTION B
   ========================= */
/* =========================
   OPTION B – BLUE HEADER & FOOTER
   Brand Blue: rgb(40,22,109)
   ========================= */

/* Header */
.nav{
  background: rgb(40, 22, 109);
  border-bottom: none;
}

.nav a,
.nav .brand,
.nav .menu a{
  color:#ffffff;
}

.nav .brand span{
  color:#ffffff;
}

/* Keep logo readable on blue */
.brand-link{
  background: rgba(255,255,255,.10);
}

/* Contact button on header (secondary) */
.btn-contact{
  background: transparent;
  color:#ffffff;
  border:1px solid rgba(255,255,255,.55);
}
.btn-contact:hover{
  background: rgba(255,255,255,.15);
}

/* Donate button remains orange */
.btn-donate{
  background: var(--kj-orange);
  color:#ffffff;
}
.btn-donate:hover{
  background: linear-gradient(90deg, var(--kj-yellow), var(--kj-orange));
}

/* Footer */
.footer{
  background: rgb(40, 22, 109);
  color:#e5e7eb;
}

.footer-title,
.footer-text,
.copy{
  color:#e5e7eb;
}

.footer-text a{
  color:#ffffff;
}

/* Footer divider */
.copy{
  border-top:1px solid rgba(255,255,255,.18);
}

/* =========================
   END OPTION B
   ========================= */
/* ===== Header logo size fix ===== */

/* Desktop + tablet */
.logo-img{
  height: 48px;
  width: auto;
}

/* Mobile */
@media (max-width: 520px){
  .logo-img{
    height: 38px;
  }
}

/* Tighten logo background badge */
.brand-link{
  padding: 4px 8px;
  border-radius: 12px;
}

/* =========================
   Contact form alignment
   ========================= */
.form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
  margin-top: 10px;
}
.form-row{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.form-row.full{
  grid-column: 1 / -1;
}
.form-label{
  font-weight:800;
  color:#0f172a;
}
.form-control{
  width:100%;
  box-sizing:border-box;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  font-size:15px;
  outline:none;
}
.form-control:focus{
  border-color: rgba(225,106,14,.55);
  box-shadow: 0 0 0 4px rgba(249,217,1,.22);
}
.form-actions{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
  margin-top: 6px;
}
@media (max-width: 820px){
  .form-grid{grid-template-columns: 1fr;}
}

/* Override: Learn more / Read more button style (pill outline like screenshot) */
.link-btn{
  background:#fff;
  color:#0f172a;
  border:1px solid rgba(225,106,14,.35); /* subtle orange outline */
  border-radius:999px;
  padding:10px 16px;
  font-weight:800;
}

.link-btn:hover{
  background:rgba(249,217,1,.18); /* soft yellow hover */
  border-color:rgba(225,106,14,.55);
}

/* Fix Our Work layout on mobile: allow wrapping */
@media (max-width: 600px){
  .work-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .work-card{
    min-width: 0;   /* prevents overflow */
  }
}

/* Preserve Our Work card colors on mobile */
@media (max-width: 600px){
  .work-card{
    background: inherit;
  }

  .work-card.health{
    border-top: 4px solid #22c55e; /* green */
  }

  .work-card.food{
    border-top: 4px solid #f97316; /* orange */
  }

  .work-card.education{
    border-top: 4px solid #6366f1; /* blue */
  }

  .work-card.housing{
    border-top: 4px solid #0ea5e9; /* teal */
  }
}


/* =========================================================
   FIX: Our Work colors on mobile (preserve category styling)
   Targets existing classes: work-health, work-food, work-education, work-housing
   ========================================================= */
@media (max-width: 600px){
  .work-card.work-health{
    background:#f0fdf4 !important;
    border-color:rgba(34,197,94,.22) !important;
    border-top:7px solid #22c55e !important;
  }
  .work-card.work-food{
    background:#fff7ed !important;
    border-color:rgba(249,115,22,.22) !important;
    border-top:7px solid #f97316 !important;
  }
  .work-card.work-education{
    background:#f5f3ff !important;
    border-color:rgba(99,102,241,.22) !important;
    border-top:7px solid #6366f1 !important;
  }
  .work-card.work-housing{
    background:#eff6ff !important;
    border-color:rgba(59,130,246,.22) !important;
    border-top:7px solid #0ea5e9 !important;
  }
}

/* Our Work – match How We Help style (KPI colors) */
.work-card.work-health {
  border-top: 7px solid #22c55e; /* Health */
}

.work-card.work-food {
  border-top: 7px solid #f97316; /* Food */
}

.work-card.work-education {
  border-top: 7px solid #6366f1; /* Education */
}

.work-card.work-housing {
  border-top: 7px solid #0ea5e9; /* Housing */
}

/* Team member photo (large circular) */
.member-photo {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.member-photo img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  background: #f8fafc;
  border: 1px solid rgba(15,23,42,.08);
}

