:root {
  --navy: #235c40;
  --navy-dark: #1a4a33;
  --gold: #059848;
  --gold-light: #2ebd6c;
  --grey-bg: #f6f8f6;
  --text: #23303d;
  --muted: #6b7684;
  --white: #ffffff;
  --radius: 8px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: 'Sora', 'Segoe UI', Helvetica, Arial, sans-serif; line-height: 1.2; margin: 0 0 .5em; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .8rem; }
.btn {
  display: inline-block; padding: 12px 26px; border-radius: var(--radius);
  background: var(--gold); color: #fff; font-weight: 700;
  border: none; cursor: pointer; font-size: .95rem; transition: background .15s ease;
}
.btn:hover { background: var(--gold-light); }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }

/* Header */
.site-header {
  background: rgba(35, 92, 64, .85);
  -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 8px 32px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.22);
  color: var(--white); position: sticky; top: 0; z-index: 50;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 90px; }

/* Anchor targets (gallery category pills, About Us dropdown deep-links like
   #leadership/#history/#mission-vision) must not land flush under the sticky
   glass header, or the heading they jump to is hidden behind it and the jump
   looks like it landed on the wrong section. */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 112px; }
.logo { font-weight: 800; font-size: 1.35rem; letter-spacing: .02em; font-family: 'Sora', sans-serif; }
.logo span { color: var(--gold); }
.logo-img { height: 46px; display: block; }
/* frosted chip so the green logo stays crisp on the glass header */
.site-header .logo {
  background: rgba(255,255,255,.88); padding: 8px 14px; border-radius: 16px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.9);
  display: flex; align-items: center; color: var(--navy);
}
nav.main-nav { display: flex; gap: 26px; align-items: center; }
nav.main-nav > a { font-weight: 600; font-size: .92rem; opacity: .9; }
nav.main-nav > a:hover { color: var(--gold-light); opacity: 1; }
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.6rem; cursor: pointer; }

/* Dropdown nav (About Us / Services) */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 4px; font-weight: 600; font-size: .92rem; opacity: .9; }
.nav-dropdown > a:hover { color: var(--gold-light); opacity: 1; }
.nav-dropdown .caret { font-size: .65rem; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; background: var(--white); color: var(--text);
  min-width: 220px; border-radius: var(--radius); box-shadow: 0 16px 32px rgba(0,0,0,.16);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.site-header .btn-outline {
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.45); border-radius: 999px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3);
}
.site-header .btn-outline:hover { background: rgba(255,255,255,.3); color: var(--white); }
.dropdown-menu {
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(255,255,255,.6); border-radius: 16px;
}
.dropdown-menu a { display: block; padding: 9px 12px; border-radius: 6px; font-size: .88rem; font-weight: 500; opacity: 1; }
.dropdown-menu a:hover { background: var(--grey-bg); color: var(--navy); }

/* Hero carousel */
.hero-carousel { position: relative; height: 560px; padding: 0; overflow: hidden; color: var(--white); }
.carousel-track { position: relative; width: 100%; height: 100%; }
.carousel-slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  background-color: var(--navy);
  background-image: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  background-size: cover; background-position: center;
  opacity: 0; visibility: hidden; transition: opacity .6s ease;
}
.carousel-slide.is-active { opacity: 1; visibility: visible; }
.carousel-slide .eyebrow { color: var(--gold-light); text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.carousel-slide h1 { font-size: 2.8rem; max-width: 720px; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.carousel-slide p.lead { text-shadow: 0 1px 8px rgba(0,0,0,.35); font-size: 1.1rem; color: #e6ede8; max-width: 620px; }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.18); color: #fff; font-size: 1rem;
}
.carousel-arrow:hover { background: rgba(255,255,255,.32); }
.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }
.carousel-dots { position: absolute; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; }
.carousel-dot.is-active { background: var(--gold); }

.highlights-band { padding: 46px 0; background: var(--grey-bg); }
.hero-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.hero-highlights .card { background: var(--white); border: 1px solid #e6e9ed; border-radius: var(--radius); padding: 20px; }
.hero-highlights h3 { color: var(--navy); font-size: 1.05rem; }
.hero-highlights p { margin: 4px 0; font-size: .9rem; color: var(--muted); }

/* Sections */
section { padding: 70px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 42px; }
.section-alt { background: var(--grey-bg); }
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.service-card, .project-card, .team-card, .post-card {
  background: var(--white); border: 1px solid #e6e9ed; border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .2s ease, transform .2s ease;
}
.service-card:hover, .project-card:hover, .post-card:hover, .team-card:hover { box-shadow: 0 12px 28px rgba(15,36,56,.12); transform: translateY(-3px); }
.team-card { display: block; color: inherit; text-decoration: none; cursor: pointer; }
.card-media { aspect-ratio: 16/10; background: #dfe4ea; display: flex; align-items: center; justify-content: center; color: #9aa4af; font-size: .85rem; }
.card-body { padding: 22px; }
.card-body h3 { font-size: 1.15rem; }
.card-body p { color: var(--muted); font-size: .93rem; }
.project-meta { color: var(--gold) !important; font-weight: 700; font-size: .78rem !important; text-transform: uppercase; letter-spacing: .04em; margin-top: 4px; }

.filter-pills { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 30px; }
.filter-pill {
  background: var(--white); border: 1px solid #e1e5ea; border-radius: 999px; padding: 9px 20px;
  font-size: .88rem; font-weight: 700; color: var(--text); cursor: pointer; transition: all .15s ease;
}
.filter-pill:hover { border-color: var(--gold); }
.filter-pill.is-active { background: var(--gold); border-color: var(--gold); color: var(--white); }
.card-body .more { color: var(--gold); font-weight: 700; font-size: .85rem; display: inline-block; margin-top: 8px; }
.badge-ongoing {
  display: inline-block; background: #fbf0dc; color: #8a611a; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px;
}

.team-card { text-align: center; padding-bottom: 20px; }
.team-card .card-media { aspect-ratio: 1/1; }
.team-card h3 { font-size: 1.02rem; margin-top: 16px; }
.team-card p { color: var(--gold); font-size: .85rem; font-weight: 700; }

/* Leadership Team — expandable bio cards (About page) */
.leader-list { display: flex; flex-direction: column; gap: 16px; }
.leader-card {
  background: var(--white); border: 1px solid #e6e9ed; border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .2s ease;
}
.leader-summary {
  width: 100%; display: flex; align-items: center; gap: 18px; padding: 22px 26px;
  background: none; border: 0; text-align: left; cursor: pointer; font: inherit; color: inherit;
  transition: background .15s ease;
}
.leader-summary:not(:disabled):hover, .leader-summary:not(:disabled):focus-visible { background: var(--grey-bg); }
.leader-summary:disabled { cursor: default; }
.leader-summary:focus-visible { outline: 2px solid var(--gold-light); outline-offset: -2px; }
.leader-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.leader-heading { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.leader-name { font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.leader-role { font-size: .88rem; color: var(--gold); font-weight: 700; }
.leader-credentials { font-size: .85rem; color: var(--muted); }
.leader-toggle {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,.06);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--navy);
  transition: background .2s ease;
}
.leader-summary[aria-expanded="true"] .leader-toggle { background: var(--gold-light); color: var(--white); }
.leader-bio { padding: 0 26px 26px 100px; }
.leader-bio p { color: var(--text); line-height: 1.65; margin: 0; }
@media (max-width: 640px) {
  .leader-bio { padding-left: 26px; }
}

.clients-band {
  background: linear-gradient(120deg, var(--navy-dark), var(--navy));
  padding: 64px 0;
}
.clients-band .eyebrow { color: var(--gold-light); }
.clients-band .section-head h2 { color: var(--white); }
.clients-strip { display: flex; flex-wrap: nowrap; gap: 36px; align-items: center; flex-shrink: 0; padding: 0 18px; }
.clients-strip .client-logo {
  height: 76px; min-width: 130px; padding: 12px 22px; background: var(--white);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.clients-strip .client-logo img {
  max-height: 52px; max-width: 170px; width: auto; height: auto;
}
.clients-strip .client-name {
  font-size: .82rem; color: #cfd8e2; border: 1px solid rgba(255,255,255,.25); border-radius: 999px;
  padding: 8px 18px; white-space: nowrap;
}

.stats-band {
  color: var(--white);
  background:
    radial-gradient(circle at 15% 20%, rgba(46,189,108,.45), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(120,214,160,.35), transparent 45%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
}
/* padding-right (instead of a gap on the track) keeps the loop seam the same width as every other gap */
.stats-strip { display: flex; flex-wrap: nowrap; gap: 32px; padding-right: 32px; flex-shrink: 0; }
.stat-item {
  text-align: center; min-width: 260px; padding: 30px 26px; border-radius: 24px;
  background: rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8);
  border: 1px solid rgba(255,255,255,.32);
  box-shadow: 0 10px 30px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.4);
}
.stat-value { font-size: 2.4rem; font-weight: 800; color: var(--white); text-shadow: 0 2px 10px rgba(0,0,0,.15); }
.stat-label { color: rgba(255,255,255,.88); font-size: .9rem; margin-top: 4px; }

/* Auto-sliding marquee, used for the stats strip and the partner logo strip */
.marquee { overflow: hidden; width: 100%; padding: 14px 0 26px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee-scroll 32s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

.cta-band { background: var(--gold); color: #fff; text-align: center; padding: 56px 0; }
.cta-band h2 { margin-bottom: 6px; }

/* Footer */
footer.site-footer { background: var(--navy-dark); color: #cfd8e2; padding: 56px 0 26px; font-size: .92rem; }
footer.site-footer .grid-4 { margin-bottom: 40px; }
footer.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer li { margin-bottom: 8px; }
footer.site-footer a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .82rem; color: #8a97a6; }

.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 900;
  max-width: 760px; margin: 0 auto;
  background: var(--navy-dark); color: #dfe6ed;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0,0,0,.28);
  padding: 16px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: .88rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; flex: 1 1 320px; }
.cookie-banner a { color: var(--gold-light); }
.cookie-banner .btn { flex: 0 0 auto; padding: 10px 20px; font-size: .85rem; }

/* Detail pages */
.detail-hero { background: var(--navy-dark); color: var(--white); padding: 60px 0 40px; }
.detail-body { max-width: 760px; margin: 0 auto; padding: 50px 24px; }
.detail-body img { border-radius: var(--radius); margin-bottom: 24px; }
.detail-body.page-body-wide { max-width: var(--max-width); }

/* Gallery lightbox — opens images in an overlay on the same page instead of
   a new tab. */
.lightbox {
  position: fixed; inset: 0; background: rgba(20,54,38,.9); z-index: 1000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px;
}
.lightbox[hidden] { display: none; }
.lightbox-image { max-width: min(90vw, 1100px); max-height: 78vh; object-fit: contain; border-radius: 4px; }
.lightbox-caption { color: #e6ede8; margin-top: 14px; font-size: .95rem; text-align: center; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px; background: none; border: 0; color: var(--white);
  font-size: 2.2rem; line-height: 1; cursor: pointer;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.1);
  border: 0; color: var(--white); width: 48px; height: 48px; border-radius: 50%; font-size: 1.2rem; cursor: pointer;
}
.lightbox-nav:hover { background: rgba(255,255,255,.2); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
@media (max-width: 640px) {
  .lightbox { padding: 20px; }
  .lightbox-nav { width: 40px; height: 40px; }
}
.project-photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 10px 0 30px; }
.project-photo-grid img { border-radius: var(--radius); width: 100%; height: 200px; object-fit: cover; margin-bottom: 0; }

/* Gallery */
.gallery-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.gallery-chip {
  padding: 8px 16px; border-radius: 999px; background: var(--grey-bg); border: 1px solid #e6e9ed;
  font-size: .85rem; font-weight: 600; color: var(--navy);
}
.gallery-chip:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

/* Forms */
form.contact-form { display: grid; gap: 16px; max-width: 620px; }
form.contact-form label { font-weight: 600; font-size: .88rem; display: block; margin-bottom: 6px; }
form.contact-form input, form.contact-form textarea, form.contact-form select {
  width: 100%; padding: 12px 14px; border: 1px solid #d6dade; border-radius: var(--radius); font-size: .95rem; font-family: inherit; background: #fff;
}
.alert-success { background: #e6f6ec; color: #17703a; padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  nav.main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-dark);
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 0;
  }
  nav.main-nav.is-open { display: flex; }
  nav.main-nav > a, .nav-dropdown > a { padding: 12px 24px; }
  .nav-dropdown .dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    background: rgba(255,255,255,.04); border-radius: 0; display: none; margin: 0 12px 8px;
  }
  .nav-dropdown.is-open .dropdown-menu { display: block; }
  .nav-dropdown .dropdown-menu a { color: #cfd8e2; }
  .hero-carousel { height: auto; min-height: 480px; }
  .carousel-slide h1 { font-size: 2.1rem; }
}

