/* ===== KOINONIA FOUNDATION – GLOBAL STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark:  #0e4400;
  --green-mid:   #179c83;
  --green-light: #e8f5f0;
  --gray-bg:     #f8f9fa;
  --gray-light:  #dadada;
  --white:       #ffffff;
  --text:        #1a1a1a;
  --text-muted:  #6b7280;
  --radius:      1rem;
  --radius-sm:   .5rem;
  --shadow:      0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:   0 8px 40px rgba(0,0,0,.16);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

h1,h2,h3,h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ── UTILITY ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.section   { padding: 5rem 1.25rem; }
.section-sm { padding: 3.5rem 1.25rem; }
.text-center { text-align: center; }
.tag { font-family: 'DM Sans', sans-serif; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.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; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 2rem; border-radius: 2rem; border: none;
  font-size: .95rem; font-weight: 600; transition: all .25s;
}
.btn-primary { background: var(--green-mid); color: #fff; }
.btn-primary:hover { background: #127a6a; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(23,156,131,.35); }
.btn-dark { background: var(--green-dark); color: #fff; }
.btn-dark:hover { background: #0a3300; transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--green-dark); }
.btn-white:hover { background: #f0faf7; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 2px solid #f0f0f0;
  transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.icon-box {
  width: 3.5rem; height: 3.5rem; border-radius: .875rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-box svg { width: 1.5rem; height: 1.5rem; }
.icon-box-green { background: var(--green-mid); }
.icon-box-green svg { stroke: #fff; }
.icon-box-light { background: var(--green-light); }
.icon-box-light svg { stroke: var(--green-dark); }
.icon-box-white { background: #fff; }
.icon-box-white svg { stroke: var(--green-dark); }

.check-dot {
  width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: var(--green-dark); color: #fff;
  display: flex; align-items: center; justify-center: center;
  flex-shrink: 0; align-items: center; justify-content: center;
}
.check-dot svg { width: .75rem; height: .75rem; stroke: #fff; }

/* ── TOPBAR ── */
.topbar {
  background: var(--green-dark); color: #fff;
  padding: .6rem 1.25rem; overflow: hidden;
  display: flex; justify-content: space-between; align-items: center;
}
.topbar-scroll { flex: 1; overflow: hidden; margin-right: 1rem; }
.marquee-track { display: inline-block; white-space: nowrap; animation: marquee 30s linear infinite; font-size: .8rem; }
@keyframes marquee { 0%{ transform:translateX(0) } 100%{ transform:translateX(-50%) } }
.topbar-social { display: flex; gap: .75rem; flex-shrink: 0; }
.topbar-social a { color: #fff; opacity: .8; transition: opacity .2s; }
.topbar-social a:hover { opacity: 1; color: var(--green-mid); }
.topbar-social svg { width: 1rem; height: 1rem; stroke: currentColor; fill:none; stroke-width:2; }

/* ── HEADER ── */
.site-header { background: var(--gray-light); }
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.25rem;
  display: flex; justify-content: space-between; align-items: center;
  height: 5rem;
}
.logo img { height: 3rem; width: auto; object-fit: contain; }
.contact-bar { display: flex; gap: 2rem; }
.contact-item { display: flex; align-items: center; gap: .75rem; }
.contact-item .icon-box { width: 2.5rem; height: 2.5rem; border-radius: 50%; }
.contact-item p:first-child { font-size: .7rem; color: var(--text-muted); }
.contact-item p:last-child { font-size: .82rem; font-weight: 600; }

/* ── NAV ── */
.site-nav { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.06); position: relative; }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.25rem;
  display: flex; align-items: center; justify-content: center; height: 3.25rem;
}
.nav-inner ul { display: flex; list-style: none; gap: 2.5rem; }
.nav-inner a { font-size: .9rem; font-weight: 600; color: var(--text); transition: color .2s; }
.nav-inner a:hover, .nav-inner a.active { color: var(--green-dark); }

/* sticky header wrapper */
.sticky-header { position: sticky; top: 0; z-index: 999; }

/* hamburger */
.hamburger { display: none; background: none; border: none; padding: .4rem; }
.hamburger svg { width: 1.75rem; height: 1.75rem; stroke: var(--text); stroke-width: 2; fill: none; }
.mobile-menu {
  display: none; background: #fff; padding: 1.25rem;
  border-top: 1px solid #eee;
}
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: .25rem; margin-bottom: 1.5rem; }
.mobile-menu a { display: block; padding: .6rem 0; font-weight: 600; border-bottom: 1px solid #f5f5f5; }
.mobile-info { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.25rem; }
.mobile-info span { font-size: .85rem; color: var(--text-muted); }
.mobile-social { display: flex; gap: .75rem; }
.mobile-social a {
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--green-dark); color: #fff;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.mobile-social a:hover { background: var(--green-mid); }
.mobile-social svg { width: 1rem; height: 1rem; stroke: #fff; fill: none; stroke-width: 2; }

/* ── HERO SLIDER ── */
.hero { position: relative; height: 680px; overflow: hidden; }
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s;
}
.slide.active { opacity: 1; }
.slide-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.42); }
.slide-content {
  position: relative; z-index: 2; max-width: 1200px; margin: 0 auto;
  padding: 0 1.25rem; height: 100%; display: flex; align-items: center;
}
.slide-tagline { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; color: #fff; }
.slide-tagline-line { width: 3rem; height: 2px; background: #fff; }
.slide h2 { font-size: clamp(2.5rem,6vw,4.5rem); color: #fff; margin-bottom: 1.25rem; max-width: 26rem; }
.slide p { color: rgba(255,255,255,.9); font-size: 1.05rem; max-width: 34rem; margin-bottom: 2rem; }
.slide-circle { position: absolute; left: 0; top: 0; width: 520px; height: 520px; background: var(--green-dark); border-radius: 50%; opacity: .28; transform: translate(-33%,-33%); pointer-events: none; }
.play-btn {
  position: absolute; right: 6rem; top: 50%; transform: translateY(-50%);
  width: 5.5rem; height: 5.5rem; background: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; border: none;
  transition: transform .25s; box-shadow: 0 4px 24px rgba(0,0,0,.2);
}
.play-btn:hover { transform: translateY(-50%) scale(1.1); }
.play-btn svg { width: 1.6rem; height: 1.6rem; fill: var(--green-dark); margin-left: .2rem; }
.slide-dots { position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%); display: flex; gap: .5rem; }
.dot { width: .6rem; height: .6rem; border-radius: 1rem; background: rgba(255,255,255,.45); border: none; transition: all .3s; }
.dot.active { background: #fff; width: 2rem; }

/* ── SECTION HEADERS ── */
.sec-head { margin-bottom: 3.5rem; }
.sec-head .tag { color: var(--green-mid); display: block; margin-bottom: .6rem; }
.sec-head h2 { font-size: clamp(1.8rem,3.5vw,2.75rem); }
.sec-head p { color: var(--text-muted); max-width: 42rem; margin: .75rem auto 0; }
.sec-head--left .sec-head p { margin-left: 0; }

/* ── CHALLENGE / SOLUTIONS CARDS ── */
.challenge-grid .card { padding: 2rem; }
.challenge-grid .card h3 { font-size: 1.3rem; color: var(--green-mid); margin: 1rem 0 .5rem; font-family: 'DM Sans',sans-serif; font-weight: 700; }
.challenge-grid .card p { color: var(--text-muted); font-size: .92rem; }

/* ── ABOUT SECTION ── */
.about-images { position: relative; }
.about-img-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about-img-grid .col { display: flex; flex-direction: column; gap: 1rem; }
.about-img { border-radius: var(--radius); overflow: hidden; }
.about-img img { width:100%; height:100%; object-fit:cover; }
.about-img-tall { height: 17rem; }
.about-img-square { height: 10rem; }
.about-img-full { height: 27rem; margin-top: 2.5rem; }
.about-badge {
  position: absolute; bottom: -2rem; left: -1.5rem;
  background: #fff; padding: 1.2rem 1.6rem; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about-badge .year { font-size: 2.8rem; font-weight: 800; color: var(--green-dark); line-height: 1; }
.about-badge small { font-size: .75rem; font-weight: 600; display: block; margin-top: .2rem; }
.icon-placeholder { background: var(--green-light); border-radius: var(--radius); height: 10rem; display: flex; align-items: center; justify-content: center; }
.icon-placeholder svg { width: 3rem; height: 3rem; stroke: var(--green-dark); fill: none; stroke-width: 1.5; }

.about-text ul { list-style: none; display: flex; flex-direction: column; gap: .8rem; margin-bottom: 2rem; }
.about-text li { display: flex; align-items: center; gap: .75rem; font-weight: 500; }

/* ── STATS ── */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.stat-card { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 2px 12px rgba(0,0,0,.08); text-align: center; }
.stat-card .num { font-size: 2.8rem; font-weight: 800; color: var(--green-mid); line-height: 1; margin-bottom: .4rem; }
.stat-card .label { font-size: .82rem; font-weight: 600; color: var(--text-muted); }

/* ── PARTNERSHIP ── */
.partner-item { display: flex; gap: 1.5rem; align-items: flex-start; }
.partner-item h3 { font-size: 1.1rem; font-weight: 700; font-family: 'DM Sans',sans-serif; margin-bottom: .4rem; }
.partner-item p { font-size: .88rem; color: rgba(255,255,255,.75); }

/* ── SERVICES PAGE ── */
.service-card { border-radius: var(--radius); overflow: hidden; }
.service-card .simg { position: relative; height: 11rem; overflow: hidden; }
.service-card .simg img { width:100%; height:100%; object-fit:cover; transition: transform .5s; }
.service-card:hover .simg img { transform: scale(1.08); }
.service-card .simg-overlay { position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.6),transparent); }
.service-card .simg h3 { position:absolute;bottom:1rem;left:1rem;color:#fff;font-size:1.1rem;font-family:'DM Sans',sans-serif;font-weight:700; }
.service-card .sbody { padding: 1.25rem; background: #fff; }
.service-card .sbody p { font-size: .85rem; color: var(--text-muted); margin-bottom: .75rem; }
.service-card .more { font-size: .82rem; font-weight: 600; color: var(--green-dark); display: flex; align-items: center; gap: .25rem; }
.service-card:hover .more { color: var(--green-mid); }
.more svg { width: .9rem; height: .9rem; stroke: currentColor; fill:none; stroke-width:2.5; }

/* ── SERVICE DETAIL ── */
.service-detail-grid { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; align-items: start; }
.service-cover { border-radius: var(--radius); overflow: hidden; height: 22rem; margin-bottom: 2.5rem; }
.service-cover img { width:100%; height:100%; object-fit: cover; }
.service-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 2.5rem; }
.service-gallery img { width:100%; height:11rem; object-fit:cover; border-radius: var(--radius-sm); }
.benefits-list { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.benefits-list li { display: flex; align-items: center; gap: .75rem; font-weight: 500; }
.benefits-list .dot-check { width:1.4rem;height:1.4rem;border-radius:50%;background:var(--green-dark);display:flex;align-items:center;justify-content:center;flex-shrink:0; }
.benefits-list .dot-check svg { width:.75rem;height:.75rem;stroke:#fff;fill:none;stroke-width:3; }
.sidebar-services-list { display: flex; flex-direction: column; gap: .4rem; }
.srv-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: .7rem 1rem; border-radius: var(--radius-sm); font-weight: 600; font-size: .88rem;
  transition: background .2s, color .2s;
}
.srv-link.cur { background: var(--green-dark); color: #fff; }
.srv-link:not(.cur) { background: #f5f5f5; color: var(--green-dark); }
.srv-link:not(.cur):hover { background: #e8f5f0; }
.srv-link svg { width: 1rem; height: 1rem; stroke: currentColor; fill:none; stroke-width:2.5; }
.sidebar-cta { background: var(--green-dark); color: #fff; border-radius: var(--radius); padding: 1.5rem; position: relative; overflow: hidden; }
.sidebar-cta h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.sidebar-cta p { font-size: .85rem; margin-bottom: 1.25rem; opacity: .85; }
.sidebar-cta-bg { position: absolute; bottom: -1rem; right: -1rem; opacity: .15; }
.sidebar-cta-bg svg { width: 6rem; height: 6rem; stroke: #fff; fill:none; stroke-width:1; }

/* ── PAGE HERO ── */
.page-hero {
  position: relative; height: 20rem;
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
  text-align: center;
}
.page-hero::after { content:''; position:absolute;inset:0;background:rgba(0,0,0,.52); }
.page-hero-inner { position: relative; z-index: 2; color: #fff; }
.page-hero h1 { font-size: clamp(2rem,5vw,3.5rem); margin-bottom: 1rem; }
.breadcrumb { display: flex; align-items: center; gap: .5rem; justify-content: center; font-size: .88rem; }
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: var(--green-mid); }
.breadcrumb .sep { width: 1.5rem; height: 1.5rem; background: rgba(255,255,255,.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.breadcrumb .sep svg { width: .7rem; height: .7rem; stroke: #fff; fill:none; stroke-width:3; }
.breadcrumb .current { color: var(--green-mid); }

/* ── ABOUT PAGE ── */
.why-item { display: flex; gap: 1rem; background: #fff; border-radius: var(--radius); padding: 1.25rem; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.why-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }
.why-item p { font-size: .82rem; color: var(--text-muted); }
.activity-card { padding: 2rem; text-align: left; }
.activity-card h3 { font-size: 1.05rem; color: var(--green-mid); font-weight: 700; font-family: 'DM Sans',sans-serif; margin: .75rem 0 .5rem; }
.activity-card p { font-size: .88rem; color: var(--text-muted); }
.team-card .timg { position: relative; height: 22rem; border-radius: var(--radius); overflow: hidden; margin-bottom: 1rem; }
.team-card .timg img { width:100%;height:100%;object-fit:cover; }
.team-card .tplus { position:absolute;bottom:-1.5rem;left:50%;transform:translateX(-50%); width:3.5rem;height:3.5rem;background:#fff;border-radius:50%;box-shadow:var(--shadow);display:flex;align-items:center;justify-content:center;font-size:1.6rem;color:var(--text-muted);transition:background .2s,color .2s;border:none; }
.team-card .tplus:hover { background:var(--green-dark);color:#fff; }
.team-card .tinfo { text-align:center;padding-top:2rem; }
.team-card .tinfo h3 { font-size:1.25rem;margin-bottom:.25rem; }
.team-card .tinfo span { font-size:.88rem;color:var(--green-dark);font-weight:600; }
.mv-card { padding: 2rem; text-align: center; }
.mv-card .mv-icon { width:4rem;height:4rem;background:var(--green-light);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1rem; }
.mv-card .mv-icon svg { width:1.75rem;height:1.75rem;stroke:var(--green-dark);fill:none;stroke-width:1.5; }
.mv-card.dark { position:relative;overflow:hidden; }
.mv-card.dark::before { content:'';position:absolute;inset:0;background:rgba(14,68,0,.92);z-index:0; }
.mv-card.dark>* { position:relative;z-index:1; }
.mv-card.dark .mv-icon { background:#fff; }
.mv-card.dark h3 { color:#fff; }
.mv-card.dark p { color:rgba(255,255,255,.88); }
.mv-bg-img { position:absolute;inset:0;object-fit:cover;width:100%;height:100%;z-index:0; }

/* ── CONTACT PAGE ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-form label { display:block;font-size:.82rem;font-weight:700;margin-bottom:.4rem; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%; padding: .7rem 1rem; border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-sm); font-family: inherit; font-size: .9rem;
  transition: border-color .2s; outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--green-mid); }
.contact-form textarea { min-height: 9rem; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.25rem; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.contact-info-item .ci-text h3 { font-size:.95rem;font-weight:700;margin-bottom:.25rem; }
.contact-info-item .ci-text p { font-size:.85rem;color:var(--text-muted); }
.social-row { display:flex;gap:.75rem;margin-top:.5rem; }
.social-btn { width:2.5rem;height:2.5rem;border-radius:50%;display:flex;align-items:center;justify-content:center; transition:background .2s; }
.social-btn svg { width:1rem;height:1rem;stroke:currentColor;fill:none;stroke-width:2; }
.social-btn.dark { background:var(--green-dark);color:#fff; }
.social-btn.dark:hover { background:var(--green-mid); }
.social-btn.teal { background:var(--green-dark);color:#fff; }
.social-btn.teal:hover { background:var(--green-mid); }
.map-placeholder { background:#e5e7eb;border-radius:var(--radius);height:22rem;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1rem; }
.map-placeholder svg { width:3rem;height:3rem;stroke:var(--green-dark);fill:none;stroke-width:1.5; }
.map-placeholder p { font-weight:600;font-size:.95rem; }
.map-placeholder small { font-size:.8rem;color:var(--text-muted); }
.connect-card { background:var(--green-dark);color:#fff;border-radius:var(--radius);padding:1.5rem; }
.connect-card h3 { font-size:1.15rem;margin-bottom:.5rem; }
.connect-card p { font-size:.85rem;opacity:.85;margin-bottom:1rem; }

/* ── BUSINESS CASE ── */
.bc-objective { display:flex;align-items:flex-start;gap:.75rem;margin-bottom:.75rem; }
.bc-objective svg { width:1.1rem;height:1.1rem;stroke:var(--green-mid);fill:none;stroke-width:2.5;flex-shrink:0;margin-top:.2rem; }
.bc-objective p { font-size:.9rem;color:#374151; }
.phase-card { padding:1.75rem; }
.phase-num { font-size:2.5rem;font-weight:800;color:var(--green-mid);line-height:1;margin-bottom:.5rem; }
.phase-card h3 { font-size:1.05rem;font-weight:700;color:var(--green-dark);margin-bottom:.5rem; }
.phase-card p { font-size:.85rem;color:var(--text-muted); }

/* ── FOOTER ── */
.site-footer { background: var(--green-dark); color: #fff; padding: 2.5rem 1.25rem; text-align: center; }
.footer-logo { margin: 0 auto 1rem; }
.footer-logo img { height: 3rem; filter: brightness(0) invert(1); }
.site-footer p { font-size: .8rem; color: rgba(255,255,255,.5); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .contact-bar { display: none; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .service-detail-grid { grid-template-columns: 1fr; }
  .sidebar-area { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero { height: 520px; }
  .play-btn { display: none; }
  .slide-circle { width: 280px; height: 280px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .hamburger { display: block; }
  .topbar { display: none; }
  .nav-inner { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .about-img-full { height: 18rem; margin-top: 1rem; }
  .about-badge { left: .5rem; }
  .section { padding: 3rem 1.25rem; }
  .sec-head { margin-bottom: 2.5rem; }
  .partner-item { flex-direction: column; text-align: center; align-items: center; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
