/* ═══════════════════════════════════════════════════════════════
   SISD Website Stylesheet
   Combined & organized - Cleaned and deduplicated
   ═══════════════════════════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  color: #1a2340;
  background: #fff;
  overflow-x: hidden;
}

/* ── COLOUR TOKENS ── */
:root {
  --gold: #c8860a;
  --gold-lt: #e8a020;
  --gold-glow: #f5c842;
  --green: #4caf22;
  --green-dark: #3d8b1a;
  --navy: #0d1b3e;
  --navy-md: #162050;
  --navy-light: #1a2f5a;
  --white: #ffffff;
  --off: #f7f7f7;
  --off2: #f7f9fc;
  --text: #1a2340;
  --text-light: #5a6a8a;
  --card-shadow: 0 12px 40px rgba(13, 27, 62, 0.10);
  --card-radius: 24px;
}

/* ── UTILITY ── */
.eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: .4rem;
  background: rgba(200, 134, 10, 0.10);
  padding: 0.2rem 1rem;
  border-radius: 50px;
}
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.section-sub {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 700px;
  margin: 0.5rem auto 0;
}
.btn {
  display: inline-block;
  padding: .75rem 2rem;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform .25s, box-shadow .25s, filter .25s;
}
.btn:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 8px 22px rgba(0,0,0,.22); }
.btn-gold { background: var(--gold-lt); color: var(--navy); }
.btn-outline-gold { background: transparent; color: var(--gold-lt); border: 2px solid var(--gold-lt); }
.btn-outline-gold:hover { background: var(--gold-lt); color: var(--navy); }

/* ── SCROLL-REVEAL base ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .75s cubic-bezier(.4,0,.2,1), transform .75s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity:0; transform:translateX(-50px); transition: opacity .8s ease, transform .8s ease; }
.reveal-right { opacity:0; transform:translateX(50px); transition: opacity .8s ease, transform .8s ease; }
.reveal-left.visible,
.reveal-right.visible { opacity:1; transform:translateX(0); }
.reveal-scale { opacity:0; transform:scale(.85); transition: opacity .8s ease, transform .8s ease; }
.reveal-scale.visible { opacity:1; transform:scale(1); }

.delay-1 { transition-delay:.12s !important; }
.delay-2 { transition-delay:.24s !important; }
.delay-3 { transition-delay:.36s !important; }

.stagger-children>* {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.34, 1.56, .64, 1);
}
.stagger-children.visible>*:nth-child(1) { transition-delay: .04s; }
.stagger-children.visible>*:nth-child(2) { transition-delay: .10s; }
.stagger-children.visible>*:nth-child(3) { transition-delay: .16s; }
.stagger-children.visible>*:nth-child(4) { transition-delay: .22s; }
.stagger-children.visible>*:nth-child(5) { transition-delay: .28s; }
.stagger-children.visible>*:nth-child(6) { transition-delay: .34s; }
.stagger-children.visible>*:nth-child(7) { transition-delay: .40s; }
.stagger-children.visible>*:nth-child(8) { transition-delay: .46s; }
.stagger-children.visible>* { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────────────────── */
/* 0. NAVBAR                                           */
/* ─────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  box-shadow: 0 2px 18px rgba(0,0,0,.35);
  transition: background .3s, box-shadow .3s;
}
#navbar.scrolled {
  background: rgba(13,27,62,.97);
  box-shadow: 0 4px 30px rgba(0,0,0,.5);
}
#navbar .nav-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}
#navbar .nav-brand .nb-box {
  background: #fff;
  border: 2px solid var(--gold-lt);
  border-radius: 8px;
  padding: .4rem .7rem;
  display: flex; align-items: center; gap: .4rem;
}
#navbar .nav-brand .nb-box .logo-img {
  height: 32px;
  width: auto;
}
#navbar .nav-brand .nb-box .nb-text h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: .85rem; font-weight: 800; line-height: 1;
  color: var(--green);
  margin: 0;
}
#navbar .nav-brand .nb-box .nb-text p {
  font-family: 'Montserrat', sans-serif;
  font-size: .68rem; font-weight: 700;
  color: var(--gold); letter-spacing: .05em;
  margin-top: 2px;
}
#navbar nav {
  display: flex;
  align-items: center;
  gap: .2rem;
}
#navbar nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .08em;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  padding: .45rem .9rem;
  border-radius: 4px;
  transition: color .2s, background .2s;
  position: relative;
}
#navbar nav a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: .9rem; right: .9rem;
  height: 2px;
  background: var(--gold-lt);
  transform: scaleX(0);
  transition: transform .25s;
  border-radius: 2px;
}
#navbar nav a:hover,
#navbar nav a.active { color: #fff; }
#navbar nav a:hover::after,
#navbar nav a.active::after { transform: scaleX(1); }
#navbar nav a.active { color: var(--gold-lt); }
#navbar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt), var(--gold));
}
#nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
#nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
#nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav-toggle.open span:nth-child(2) { opacity: 0; }
#nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media(max-width:700px){
  #nav-toggle { display: flex; }
  #navbar nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 1rem 0 1.5rem;
    border-top: 3px solid var(--gold-lt);
  }
  #navbar nav.open { display: flex; }
  #navbar nav a { padding: .7rem 2rem; width: 100%; }
  #navbar nav a::after { left: 2rem; right: 2rem; }
}

/* ─────────────────────────────────────────────────── */
/* 0b. FULL-BLEED BANNER HERO (SLIDESHOW)              */
/* ─────────────────────────────────────────────────── */
#banner-hero {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  margin-top: 72px;
}
.slideshow-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.slide.active { opacity: 1; }
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,27,62,.18) 0%, rgba(13,27,62,.55) 55%, rgba(13,27,62,.72) 100%);
  z-index: 1;
}
#banner-hero .banner-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 8%;
}
#banner-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  text-shadow: 0 3px 24px rgba(0,0,0,.55);
  animation: bannerTitleIn 1.2s cubic-bezier(.22,1,.36,1) both;
  margin-bottom: 1.2rem;
}
@keyframes bannerTitleIn {
  from { opacity:0; transform: translateY(40px) scale(.96); }
  to { opacity:1; transform: translateY(0) scale(1); }
}
#banner-hero .banner-sub {
  font-size: clamp(.95rem, 2vw, 1.18rem);
  color: rgba(255,255,255,.92);
  max-width: 700px;
  line-height: 1.75;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
  animation: bannerTitleIn 1.4s .2s cubic-bezier(.22,1,.36,1) both;
  margin-bottom: 1rem;
}
#banner-hero .banner-quote {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(.9rem, 1.8vw, 1.05rem);
  font-weight: 700;
  font-style: italic;
  color: var(--gold-lt);
  letter-spacing: .04em;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
  animation: bannerTitleIn 1.5s .4s cubic-bezier(.22,1,.36,1) both;
  margin-bottom: 2.2rem;
}
#banner-hero .btn {
  animation: bannerTitleIn 1.5s .6s cubic-bezier(.22,1,.36,1) both;
  font-size: 1rem;
  padding: .85rem 2.4rem;
}
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,.6);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
  z-index: 2;
}
.scroll-hint .arrow {
  width: 22px; height: 22px;
  border-right: 2px solid rgba(255,255,255,.6);
  border-bottom: 2px solid rgba(255,255,255,.6);
  transform: rotate(45deg);
}
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ─────────────────────────────────────────────────── */
/* 1. HERO – "CSO Collective for Resilience"           */
/* ─────────────────────────────────────────────────── */
#hero {
  padding: 80px 8% 0;
  background: #fff;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 72px;
}
#hero .hero-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}
#hero .hero-img-wrap {
  flex: 0 0 360px;
  max-width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(200,134,10,.25);
  animation: heroImgFloat 6s ease-in-out infinite;
}
@keyframes heroImgFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
#hero .hero-img-wrap img { width:100%; display:block; }
#hero .hero-text { flex: 1 1 320px; }
#hero .hero-text p { font-size: 1rem; line-height: 1.75; color: #3a3a3a; margin-bottom: 1.1rem; white-space: pre-line; }
#hero .hero-text p strong { color: var(--text); }
#hero .hero-wave {
  margin-top: 60px;
  height: 70px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-lt) 100%);
  clip-path: ellipse(55% 100% at 50% 100%);
}
#hero .hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.2rem;
  animation: titleGlow 3s ease-in-out infinite alternate;
}
@keyframes titleGlow {
  from { text-shadow: none; }
  to { text-shadow: 0 0 18px rgba(76,175,34,.35); }
}

/* ── PARTICLE CANVAS ── */
#particles { position:absolute; inset:0; pointer-events:none; z-index:0; }
#hero { position:relative; }
#hero .hero-inner { position:relative; z-index:1; }
#hero .hero-wave { position:relative; z-index:1; }

/* ─────────────────────────────────────────────────── */
/* 2. STRATEGIC / THEMATIC AREAS                      */
/* ─────────────────────────────────────────────────── */
#approaches {
  padding: 80px 8%;
  background: var(--off);
  position: relative;
  overflow: hidden;
}
#approaches::before {
  content:'';
  position:absolute; inset:0;
  background-image: radial-gradient(var(--gold-lt) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  opacity: .18;
  pointer-events: none;
}
#approaches .section-header { text-align:center; margin-bottom: 2.5rem; }
#approaches .section-header .section-sub {
  color: #555;
  max-width: 700px;
  margin: 0.5rem auto 0;
  font-size: 1rem;
  line-height: 1.7;
}

.strategic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  max-width: 1200px;
  margin: 0 auto;
}
.strategic-item {
  background: var(--white);
  border-radius: 18px;
  padding: 1.8rem 1.6rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-left: 5px solid var(--gold-lt);
  transition: transform .35s, box-shadow .35s;
  position: relative;
  overflow: hidden;
}
.strategic-item::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at top right, rgba(200,134,10,0.06), transparent 70%);
  border-radius: 0 0 0 80px;
  pointer-events: none;
}
.strategic-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
}
.strategic-item .item-number {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: .7rem;
  color: var(--gold);
  background: rgba(200,134,10,0.10);
  padding: 0.15rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
  letter-spacing: 0.05em;
}
.strategic-item h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
  line-height: 1.3;
}
.strategic-item ul {
  list-style: none;
  padding: 0; margin: 0;
}
.strategic-item ul li {
  font-size: .88rem;
  color: #4a5a7a;
  padding: 0.25rem 0 0.25rem 1.4rem;
  position: relative;
  line-height: 1.6;
}
.strategic-item ul li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

@media(max-width:768px) {
  .strategic-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
  .strategic-item {
    padding: 1.4rem 1.2rem;
  }
  .strategic-item h4 { font-size: .95rem; }
  .strategic-item ul li { font-size: .82rem; }
}
@media(max-width:480px) {
  .strategic-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────── */
/* 3. FUNDING THE FUTURE                               */
/* ─────────────────────────────────────────────────── */
#funding {
  background: var(--navy);
  padding: 90px 8%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#funding::before {
  content:'';
  position:absolute;
  top:-80px; left:0; right:0;
  height:100px;
  background: #fff;
  clip-path: ellipse(55% 100% at 50% 0%);
}
#funding::after {
  content:'';
  position:absolute;
  bottom:-1px; left:0; right:0;
  height:80px;
  background: #fff;
  clip-path: ellipse(55% 100% at 50% 100%);
}
#funding h2 {
  font-family:'Montserrat',sans-serif;
  font-size:clamp(2rem,4vw,3rem);
  font-weight:800;
  color: var(--green);
  margin-bottom:1.6rem;
  animation: titleGlow 3s ease-in-out infinite alternate;
}
#funding p {
  color: rgba(255,255,255,.88);
  font-size:1rem;
  line-height:1.8;
  max-width: 820px;
  margin: 0 auto 2.4rem;
}
#funding .btn-gold::after {
  content:'';
  position:absolute;
  top:0; left:-100%;
  width:60%; height:100%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.45),transparent);
  animation: shimmer 2.5s infinite;
}
@keyframes shimmer { to { left:160%; } }

/* ─────────────────────────────────────────────────── */
/* 4. FUNDING MEMBERS (Carousel)                       */
/* ─────────────────────────────────────────────────── */
#members {
  padding: 80px 8%;
  background: #fff;
}
#members .section-header { text-align:center; margin-bottom:3rem; }

.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 0 40px;
}
.carousel-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 50%;
  padding: 0 15px;
  box-sizing: border-box;
}
.member-item {
  background: var(--off);
  border-radius: 14px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  width: 100%;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.member-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}
.member-item .logo-wrap {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .8rem;
}
.member-item .logo-wrap img {
  max-height: 70px;
  max-width: 100%;
  object-fit: contain;
}
.member-item .logo-wrap .fallback {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  background: var(--gold-lt);
  padding: .4rem .8rem;
  border-radius: 8px;
}
.member-item h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  color: var(--text);
  margin-bottom: .4rem;
}
.member-item p {
  font-size: .8rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: .8rem;
}
.member-item a {
  font-size: .8rem;
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  transition: color .2s;
}
.member-item a:hover { color: var(--green); }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(13,27,62,.7);
  color: #fff;
  border: 2px solid var(--gold-lt);
  border-radius: 50%;
  width: 44px; height: 44px;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s, transform .3s;
}
.carousel-btn:hover {
  background: var(--gold-lt);
  color: var(--navy);
  transform: translateY(-50%) scale(1.1);
}
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.carousel-dots button {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
  transition: background .3s, transform .3s;
  padding: 0;
}
.carousel-dots button.active {
  background: var(--gold-lt);
  transform: scale(1.2);
}

/* ─────────────────────────────────────────────────── */
/* 5. PARTNERS (Carousel)                             */
/* ─────────────────────────────────────────────────── */
#partners {
  padding: 70px 8%;
  background: var(--off);
}
#partners .section-header { text-align:center; margin-bottom:3rem; }

.partner-item {
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  width: 100%;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.partner-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}
.partner-item .logo-wrap {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .8rem;
}
.partner-item .logo-wrap img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
}
.partner-item .logo-wrap .fallback {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--gold-lt);
  padding: .3rem .7rem;
  border-radius: 6px;
}
.partner-item h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: .3rem;
}
.partner-item a {
  font-size: .8rem;
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  transition: color .2s;
}
.partner-item a:hover { color: var(--green); }

/* ─────────────────────────────────────────────────── */
/* 6. WHY PARTNER WITH SISD?                           */
/* ─────────────────────────────────────────────────── */
#why-partner {
  padding: 80px 8%;
  background: #fff;
}
#why-partner .section-header { margin-bottom: 3rem; }
#why-partner .section-header .section-title { font-size:clamp(1.6rem,3vw,2.3rem); }
#why-partner .partner-grid {
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:1.6rem;
  max-width:640px;
}
.partner-card {
  border-radius: 16px;
  padding: 2rem 1.6rem;
  color:#fff;
  position:relative;
  overflow:hidden;
  transition: transform .35s, box-shadow .35s;
}
.partner-card:hover { transform:translateY(-6px); }
.partner-card.green { background: linear-gradient(145deg, var(--green), #2d7a0f); box-shadow:0 4px 20px rgba(76,175,34,.3); }
.partner-card.navy { background: linear-gradient(145deg, var(--navy-md), #0a1228); box-shadow:0 4px 20px rgba(13,27,62,.3); }
.partner-card .card-icon { font-size:2.4rem; margin-bottom:1rem; display:block; }
.partner-card h4 { font-family:'Montserrat',sans-serif; font-weight:700; font-size:.95rem; color:var(--gold-lt); margin-bottom:.7rem; }
.partner-card p { font-size:.82rem; line-height:1.65; opacity:.9; }
.partner-card.green:hover { box-shadow: 0 0 0 3px var(--gold-lt), 0 8px 30px rgba(76,175,34,.4); }
.partner-card.navy:hover { box-shadow: 0 0 0 3px var(--gold-lt), 0 8px 30px rgba(13,27,62,.5); }
#why-partner .dagu-logo-wrap {
  text-align:center;
  margin-bottom:2rem;
  animation: spinGlow 8s linear infinite;
}
@keyframes spinGlow {
  0% { filter: drop-shadow(0 0 4px var(--green)); }
  50% { filter: drop-shadow(0 0 18px var(--gold-lt)); }
  100%{ filter: drop-shadow(0 0 4px var(--green)); }
}
#why-partner .dagu-logo-wrap img { width:110px; }

/* ─────────────────────────────────────────────────── */
/* 7. GET INVOLVED                                     */
/* ─────────────────────────────────────────────────── */
#get-involved {
  padding: 80px 8%;
  background: #f0f2f7;
  text-align: center;
}
#get-involved .eyebrow { justify-content:center; display:block; }
#get-involved h2 {
  font-family:'Montserrat',sans-serif;
  font-size:clamp(1.8rem,3.5vw,2.6rem);
  font-weight:800;
  margin-bottom:3rem;
}
#get-involved .involve-row {
  display:flex; gap:2rem; justify-content:center; flex-wrap:wrap;
}
.involve-card {
  border-radius:16px;
  padding: 2.8rem 2.2rem;
  flex: 1 1 280px; max-width:380px;
  text-align:center;
  transition: transform .35s, box-shadow .35s;
}
.involve-card:hover { transform:translateY(-8px); }
.involve-card.dark { background: var(--navy); color:#fff; }
.involve-card.golden { background: var(--gold-lt); color: var(--navy); }
.involve-card .card-icon { font-size:2.8rem; margin-bottom:1.2rem; display:block; }
.involve-card h3 { font-family:'Montserrat',sans-serif; font-weight:800; font-size:1.2rem; margin-bottom:.8rem; }
.involve-card p { font-size:.88rem; line-height:1.7; margin-bottom:1.6rem; opacity:.88; }
.involve-card.dark .btn { background:var(--gold-lt); color:var(--navy); }
.involve-card.golden .btn { background:var(--navy); color:#fff; }

/* ─────────────────────────────────────────────────── */
/* 8. OUR WORK – Carousel of cards                    */
/* ─────────────────────────────────────────────────── */
#our-work {
  padding: 80px 8%;
  background: #fff;
}
#our-work .section-header {
  text-align: center;
  margin-bottom: 3rem;
}
#our-work .carousel-slide {
  flex: 0 0 100%;
  padding: 0 15px;
  box-sizing: border-box;
}
.work-item {
  background: var(--off);
  border-radius: 24px;
  padding: 2.5rem 2.5rem 2.8rem;
  box-shadow: 0 6px 24px rgba(0,0,0,.06);
  transition: transform .35s, box-shadow .35s;
  border: 1px solid rgba(255,255,255,0.8);
  height: 100%;
}
.work-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(13,27,62,.10);
}
.work-item .work-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1.5rem;
  font-weight: 500;
  padding-left: 1.2rem;
  border-left: 4px solid var(--gold-lt);
}
.work-item .work-description strong { color: var(--navy); }
.work-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.work-images .img-wrap {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  transition: transform .4s, box-shadow .4s;
  aspect-ratio: 4 / 3;
  background: #e9edf4;
}
.work-images .img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s;
}
.work-images .img-wrap:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 32px rgba(200,134,10,.20);
}
.work-images .img-wrap:hover img { transform: scale(1.06); }

@media(max-width:768px) {
  .work-item { padding: 1.8rem 1.5rem 2rem; }
  .work-item .work-description { font-size: 0.95rem; }
  .work-images { grid-template-columns: 1fr 1fr; }
}
@media(max-width:480px) {
  .work-images { grid-template-columns: 1fr; }
  .carousel-container { padding: 0 10px; }
}

/* ─────────────────────────────────────────────────── */
/* 9. CERTIFICATES – image slider                     */
/* ─────────────────────────────────────────────────── */
#certificates {
  background: linear-gradient(145deg, #0d1b3e, #162050);
  padding: 70px 8% 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#certificates::before {
  content: '';
  position: absolute;
  top: -60px; left: 0; right: 0;
  height: 80px;
  background: #fff;
  clip-path: ellipse(55% 100% at 50% 0%);
}
#certificates::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: #fff;
  clip-path: ellipse(55% 100% at 50% 100%);
}
#certificates .section-header {
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}
#certificates .section-title { color: #fff; }
#certificates .cert-slider {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  background: #1a2645;
}
.cert-track {
  display: flex;
  transition: transform 0.8s ease-in-out;
  will-change: transform;
}
.cert-slide {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 16 / 11;
  background: #1a2645;
  padding: 12px;
}
.cert-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

/* ─────────────────────────────────────────────────── */
/* 10. STAFF PROFILE (Homepage Preview)               */
/* ─────────────────────────────────────────────────── */
#staff {
  padding: 80px 8%;
  background: #f0f2f7;
}
#staff .section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.staff-slider {
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
  background: #fff;
  position: relative;
}
.staff-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(.25,.46,.45,.94);
}
.staff-slide {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  background: #fff;
}
.staff-slide .staff-img {
  width: 140px; height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gold-lt);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  margin-bottom: 1.2rem;
}
.staff-slide h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .2rem;
}
.staff-slide .staff-position {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: .04em;
  margin-bottom: .8rem;
}
.staff-slide p {
  font-size: .95rem;
  line-height: 1.7;
  color: #3a4a6a;
  max-width: 500px;
  margin: 0 auto;
}
.staff-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 1.2rem 0 1.8rem;
  background: #fff;
}
.staff-dots button {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
  transition: background .3s, transform .3s;
}
.staff-dots button.active {
  background: var(--gold-lt);
  transform: scale(1.2);
}
.staff-slider .staff-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(13,27,62,.6);
  color: #fff;
  border: 2px solid var(--gold-lt);
  border-radius: 50%;
  width: 40px; height: 40px;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background .3s, transform .3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.staff-btn:hover {
  background: var(--gold-lt);
  color: var(--navy);
  transform: translateY(-50%) scale(1.1);
}
.staff-btn.prev { left: 10px; }
.staff-btn.next { right: 10px; }

@media(max-width:600px) {
  .staff-slide .staff-img { width: 100px; height: 100px; }
  .staff-slide h3 { font-size: 1.1rem; }
  .staff-slide p { font-size: .85rem; }
  .staff-btn { width: 32px; height: 32px; font-size: 1rem; }
}

/* ─────────────────────────────────────────────────── */
/* 11. STAFF PAGE - Full Staff Profiles               */
/* ─────────────────────────────────────────────────── */
.staff-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.staff-page-card {
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.staff-page-card:hover {
  transform: translateY(-6px);
}

.staff-page-card .staff-page-inner {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
  height: 100%;
}
.staff-page-card .staff-page-inner:hover {
  box-shadow: 0 12px 40px rgba(13, 27, 62, 0.14);
}

/* ── IMAGE WRAPPER - FIXED: Shows full head ── */
.staff-page-card .staff-img-wrap {
  width: 100%;
  height: 320px;
  background: #e9edf4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  position: relative;
}

/* Default image - shows full image with contain */
.staff-page-card .staff-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: #f5f7fa;
  padding: 10px;
}

/* Option 1: Cover with top alignment - best for portrait photos */
.staff-page-card .staff-img-wrap img.cover-top {
  object-fit: cover;
  object-position: center 15%;
  padding: 0;
}

/* Option 2: Cover with center alignment */
.staff-page-card .staff-img-wrap img.cover-center {
  object-fit: cover;
  object-position: center center;
  padding: 0;
}

/* Option 3: Contain - shows entire image */
.staff-page-card .staff-img-wrap img.contain-fit {
  object-fit: contain;
  object-position: center center;
  padding: 10px;
}

/* Staff info section */
.staff-page-card .staff-info {
  padding: 1.4rem 1.6rem 1.8rem;
}
.staff-page-card .staff-info h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}
.staff-page-card .staff-info .staff-position {
  color: var(--gold);
  font-weight: 600;
  font-size: .95rem;
}
.staff-page-card .staff-info .staff-contact {
  font-size: .82rem;
  color: var(--gold);
  margin: 6px 0;
}
.staff-page-card .staff-info .staff-contact a {
  color: var(--gold);
  text-decoration: none;
}
.staff-page-card .staff-info .staff-contact a:hover {
  text-decoration: underline;
}
.staff-page-card .staff-info .staff-bio {
  font-size: .9rem;
  color: #444;
  margin-top: 8px;
  line-height: 1.7;
}
.staff-page-card .staff-info .staff-bio p {
  margin-bottom: 0.5rem;
}
.staff-page-card .staff-info .staff-bio p:last-child {
  margin-bottom: 0;
}

/* ── Responsive Staff Page ── */
@media(max-width: 768px) {
  .staff-page-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  .staff-page-card .staff-img-wrap {
    height: 260px;
  }
  .staff-page-card .staff-info {
    padding: 1rem 1.2rem 1.4rem;
  }
  .staff-page-card .staff-info h3 {
    font-size: 1.05rem;
  }
}

@media(max-width: 480px) {
  .staff-page-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .staff-page-card .staff-img-wrap {
    height: 240px;
  }
  .staff-page-card .staff-info {
    padding: 0.8rem 1rem 1.2rem;
  }
  .staff-page-card .staff-info h3 {
    font-size: 0.95rem;
  }
  .staff-page-card .staff-info .staff-bio {
    font-size: .82rem;
  }
}

/* ─────────────────────────────────────────────────── */
/* 12. LATEST NEWS                                    */
/* ─────────────────────────────────────────────────── */
#news {
  padding: 80px 8%;
  background: #fff;
}
#news .section-header { text-align:center; margin-bottom:3rem; }
#news .news-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:2rem;
}
@media(max-width:900px) { #news .news-grid { grid-template-columns:repeat(2,1fr); } }
@media(max-width:600px) { #news .news-grid { grid-template-columns:1fr; } }

.news-card {
  border:1px solid #e0e4ef;
  border-radius:14px;
  overflow:hidden;
  transition: transform .35s, box-shadow .35s, border-color .3s;
  background:#fff;
}
.news-card:hover {
  transform:translateY(-6px);
  box-shadow: 0 14px 40px rgba(13,27,62,.12);
  border-color: var(--gold-lt);
}
.news-card img { width:100%; height:180px; object-fit:cover; display:block; }
.news-card .nc-body { padding:1.4rem 1.3rem; }
.news-card h4 { font-family:'Montserrat',sans-serif; font-weight:700; font-size:.97rem; margin-bottom:.5rem; line-height:1.4; }
.news-card .meta { font-size:.75rem; color:#888; margin-bottom:.9rem; }
.news-card p { font-size:.84rem; line-height:1.65; color:#444; margin-bottom:1rem; }
.news-card .read-more { color:var(--gold); font-weight:700; font-size:.84rem; text-decoration:none; }
.news-card .read-more:hover { color:var(--green); }

/* ─────────────────────────────────────────────────── */
/* 13. FOOTER                                          */
/* ─────────────────────────────────────────────────── */
#footer {
  background: var(--navy);
  padding: 60px 8% 0;
  position:relative;
}
#footer::before {
  content:'';
  position:absolute; top:-60px; left:0; right:0;
  height:80px;
  background: #eef1f7;
  clip-path: ellipse(60% 100% at 50% 0%);
}
#footer .footer-inner {
  display:grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap:3rem;
  padding-bottom:50px;
}
.footer-brand .logo-box {
  background: rgba(255,255,255,0.06);
  border: 2px solid var(--gold-lt);
  border-radius:10px;
  padding:.8rem 1.2rem;
  display:inline-flex; align-items:center; gap:.6rem;
  margin-bottom:1.2rem;
  backdrop-filter:blur(4px);
}
.footer-brand .logo-box .logo-img { height: 36px; width: auto; }
.footer-brand .logo-box .brand-name h3 {
  color:var(--green);
  font-family:'Montserrat',sans-serif;
  font-size:1rem;
  font-weight:800;
  line-height:1;
  margin:0;
}
.footer-brand .tagline {
  color:rgba(255,255,255,.7);
  font-size:.85rem;
  line-height:1.8;
  margin-bottom:1.4rem;
  max-width:380px;
}
.footer-brand .contact-item {
  color:rgba(255,255,255,.8);
  font-size:.83rem;
  margin-bottom:.5rem;
  display:flex;
  align-items:center;
  gap:.5rem;
}
.footer-brand .contact-item span { font-size:1rem; }
.footer-brand .contact-item a {
  color:rgba(255,255,255,.8);
  text-decoration:none;
  transition:color .2s;
}
.footer-brand .contact-item a:hover { color:var(--gold-lt); }
.footer-brand .contact-item .label {
  font-size:0.7rem;
  opacity:0.5;
  font-weight:400;
}
.footer-col h4 {
  font-family:'Montserrat',sans-serif;
  font-weight:700;
  color:#fff;
  font-size:1rem;
  margin-bottom:1.2rem;
  letter-spacing:0.04em;
  position:relative;
  padding-bottom:0.6rem;
}
.footer-col h4::after {
  content:'';
  position:absolute;
  bottom:0; left:0;
  width:30px; height:3px;
  background:var(--gold-lt);
  border-radius:3px;
}
.footer-col a {
  display:block;
  color:rgba(255,255,255,.7);
  font-size:.87rem;
  margin-bottom:.7rem;
  text-decoration:none;
  transition:color .25s, transform .25s;
}
.footer-col a:hover {
  color:var(--gold-lt);
  transform:translateX(6px);
}
.social-row {
  display:flex;
  gap:0.8rem;
  margin-top:1.5rem;
}
.social-btn {
  width:42px; height:42px;
  border-radius:50%;
  background:rgba(255,255,255,0.08);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1rem;
  text-decoration:none;
  color:#fff;
  transition:background .3s, transform .3s, box-shadow .3s;
  border:1px solid rgba(255,255,255,0.06);
}
.social-btn:hover {
  background:var(--gold-lt);
  transform:scale(1.12) translateY(-2px);
  box-shadow:0 8px 24px rgba(200,134,10,0.25);
  color:var(--navy);
}
.footer-map {
  border-radius:14px;
  overflow:hidden;
  height:150px;
  background:linear-gradient(135deg, #1a2f5a, #0d1b3e);
  display:flex;
  align-items:center;
  justify-content:center;
  color:rgba(255,255,255,.4);
  font-size:.85rem;
  border:1px solid rgba(255,255,255,0.06);
  flex-direction:column;
  gap:6px;
}
.footer-map span { font-size:2rem; }
.footer-map iframe {
  width:100%;
  height:100%;
  border:0;
  display:block;
}
.footer-bar {
  background:linear-gradient(90deg, var(--gold), var(--gold-lt), var(--gold));
  text-align:center;
  padding:1rem;
  font-size:.8rem;
  color:var(--navy);
  font-weight:600;
  border-radius:0 0 12px 12px;
}
.footer-bar a {
  color:var(--navy);
  text-decoration:underline;
  font-weight:700;
}

@media(max-width:768px) {
  #footer .footer-inner { grid-template-columns:1fr 1fr; }
  #mini-hero { height:200px; }
  .footer-col h4::after { left:0; }
}
@media(max-width:480px) {
  #footer .footer-inner { grid-template-columns:1fr; }
  .footer-brand .tagline { max-width:100%; }
}

/* ─────────────────────────────────────────────────── */
/* MINI HERO                                          */
/* ─────────────────────────────────────────────────── */
#mini-hero {
  position: relative;
  height: 280px;
  min-height: 220px;
  overflow: hidden;
  margin-top: 72px;
  background: url('bg.jpg') center center / cover no-repeat;
}
#mini-hero .mini-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,62,.85) 0%, rgba(13,27,62,.60) 100%);
  z-index: 1;
}
#mini-hero .mini-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 8%;
  opacity: 0;
  transform: translateY(18px);
  animation: sisdPageFadeIn .8s cubic-bezier(.25,.46,.45,.94) .1s forwards;
}
@keyframes sisdPageFadeIn { to { opacity: 1; transform: translateY(0); } }
#mini-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
#mini-hero h1 span { color: var(--gold-lt); }
#mini-hero p {
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  max-width: 600px;
  margin-top: .5rem;
}

/* ─────────────────────────────────────────────────── */
/* ABOUT SECTIONS – card style                         */
/* ─────────────────────────────────────────────────── */
.about-section {
  padding: 50px 8%;
  position: relative;
}
.about-section:nth-child(odd) .section-card { background: #ffffff; }
.about-section:nth-child(even) .section-card { background: linear-gradient(145deg, #f8faff, #f0f4fe); }

.section-card {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 45px 45px 55px;
  transition: transform .4s, box-shadow .4s;
  border: 1px solid rgba(255,255,255,0.6);
  position: relative;
  overflow: hidden;
}
.section-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt), var(--green));
  opacity: 0.6;
}
.section-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(13,27,62,0.14);
}
.about-section .section-header {
  text-align: center;
  margin-bottom: 2.2rem;
}
.about-section .content-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.about-section .content-wrap .section-img {
  width: 170px;
  max-width: 170px;
  height: 170px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 8px 28px rgba(13,27,62,0.12);
  transition: transform .5s cubic-bezier(.34,1.56,.64,1), box-shadow .4s ease;
  display: block;
  border: 4px solid rgba(200,134,10,0.15);
}
.about-section .content-wrap .section-img:hover {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 12px 40px rgba(200,134,10,0.25);
  border-color: var(--gold-lt);
}
.about-section .content-wrap .text-col {
  width: 100%;
  text-align: left;
}
.about-section .content-wrap .text-col p {
  font-size: 1rem;
  line-height: 1.9;
  color: #3a4a6a;
}
.about-section .content-wrap .text-col p strong { color: var(--text); }

@media(max-width:600px) {
  .about-section .content-wrap .section-img { width: 130px; height: 130px; }
  .section-card { padding: 30px 20px 35px; }
  .about-section .content-wrap .text-col { text-align: center; }
  .about-section .content-wrap .text-col ul,
  .about-section .content-wrap .text-col .values-list,
  .about-section .content-wrap .text-col .strategic-grid,
  .about-section .content-wrap .text-col .achievement-list { text-align: left; }
}

/* Values list */
.values-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.8rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  width: 100%;
}
.values-list li {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  padding: .8rem 1rem;
  border-radius: 50px;
  text-align: center;
  font-weight: 600;
  font-size: .9rem;
  box-shadow: 0 4px 14px rgba(76,175,34,0.25);
  transition: transform .3s, box-shadow .3s;
  cursor: default;
  letter-spacing: 0.02em;
}
.values-list li:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 28px rgba(76,175,34,0.35);
}

/* Achievements list */
.achievement-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem 2rem;
  width: 100%;
}
.achievement-list li {
  padding: .4rem 0 .4rem 1.8rem;
  position: relative;
  font-size: .95rem;
  line-height: 1.6;
  color: #3a4a6a;
}
.achievement-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.2rem;
}

@media(max-width:768px) {
  .achievement-list { grid-template-columns: 1fr; }
  .values-list { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width:480px) {
  .values-list { grid-template-columns: 1fr 1fr; }
}

/* ── CERTIFICATE CAROUSEL – INFINITE LOOP ── */
.cert-carousel {
  position: relative;
  overflow: hidden;
  margin-top: 1.5rem;
  width: 100%;
}
.cert-carousel .cert-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  width: 100%;
}
.cert-carousel .cert-slide {
  flex: 0 0 25%;
  padding: 0 12px;
  box-sizing: border-box;
  min-width: 0;
}
.cert-carousel .cert-img-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  background: #e9edf4;
  transition: transform .4s, box-shadow .4s;
  border: 2px solid rgba(255,255,255,0.5);
}
.cert-carousel .cert-img-wrapper img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s;
}
.cert-carousel .cert-img-wrapper:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 36px rgba(200,134,10,0.20);
  border-color: var(--gold-lt);
}
.cert-carousel .cert-img-wrapper:hover img { transform: scale(1.08); }

.cert-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(13,27,62,.75);
  color: #fff;
  border: 2px solid var(--gold-lt);
  border-radius: 50%;
  width: 46px; height: 46px;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s, transform .3s, box-shadow .3s;
  user-select: none;
  backdrop-filter: blur(4px);
}
.cert-btn:hover {
  background: var(--gold-lt);
  color: var(--navy);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 8px 24px rgba(200,134,10,0.3);
}
.cert-btn.prev { left: 10px; }
.cert-btn.next { right: 10px; }

@media(max-width:768px) {
  .cert-carousel .cert-slide { flex: 0 0 50%; }
}
@media(max-width:480px) {
  .cert-carousel .cert-slide { flex: 0 0 100%; }
}

/* ─────────────────────────────────────────────────── */
/* EXTRA SHARED STYLES                                 */
/* ─────────────────────────────────────────────────── */
.page-section {
  padding: 70px 8%;
}
.page-section .section-header {
  text-align: center;
  margin-bottom: 2.6rem;
}

/* ── PROJECTS PAGE ── */
.project-report {
  max-width: 1000px;
  margin: 0 auto 3rem;
  background: #fff;
  border-radius: var(--card-radius, 24px);
  box-shadow: var(--card-shadow, 0 12px 40px rgba(13,27,62,0.10));
  padding: 45px 45px 50px;
  border: 1px solid rgba(255,255,255,0.6);
  position: relative;
  overflow: hidden;
}
.project-report::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt), var(--green));
}
.project-report .report-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(76,175,34,0.14);
  padding: .3rem 1rem;
  border-radius: 50px;
  margin-bottom: .9rem;
}
.project-report h2.report-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: .4rem;
}
.project-report .report-meta {
  font-size: .85rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.6rem;
  letter-spacing: .02em;
}
.project-report h3.report-subhead {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin: 1.6rem 0 .7rem;
  padding-left: .9rem;
  border-left: 4px solid var(--gold-lt);
}
.project-report p {
  font-size: .96rem;
  line-height: 1.85;
  color: #3a4a6a;
  margin-bottom: .5rem;
}
.project-report ul.report-list {
  list-style: none;
  padding: 0;
  margin: .6rem 0 0;
}
.project-report ul.report-list li {
  font-size: .93rem;
  line-height: 1.75;
  color: #3a4a6a;
  padding: .3rem 0 .3rem 1.6rem;
  position: relative;
}
.project-report ul.report-list li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.report-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 1.4rem 0 1.8rem;
}
.report-stats .stat-box {
  background: linear-gradient(145deg, #f8faff, #f0f4fe);
  border-radius: 14px;
  padding: 1rem .8rem;
  text-align: center;
  border: 1px solid rgba(200,134,10,0.12);
}
.report-stats .stat-box .stat-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--green);
  display: block;
}
.report-stats .stat-box .stat-label {
  font-size: .72rem;
  color: #5a6a8a;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-top: .2rem;
  display: block;
}
.report-note {
  background: rgba(200,134,10,0.08);
  border-left: 4px solid var(--gold-lt);
  border-radius: 0 10px 10px 0;
  padding: .9rem 1.2rem;
  font-size: .88rem;
  color: #4a3a10;
  margin-top: 1rem;
}

/* Ongoing projects */
.ongoing-projects {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  gap: 1.2rem;
}
.ongoing-projects .ongoing-item {
  background: #fff;
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
  box-shadow: 0 4px 18px rgba(0,0,0,.06);
  border-left: 5px solid var(--green);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.ongoing-projects .ongoing-item .num-badge {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  width: 34px; height: 34px;
  flex: 0 0 34px;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
}
.ongoing-projects .ongoing-item h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: .3rem;
}
.ongoing-projects .ongoing-item p {
  font-size: .87rem;
  color: #4a5a7a;
  line-height: 1.6;
}
.ongoing-projects .ongoing-item .funder-tag {
  display: inline-block;
  margin-top: .4rem;
  font-size: .76rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px dotted var(--gold);
  transition: color .2s;
}
.ongoing-projects .ongoing-item .funder-tag:hover { color: var(--green); }

/* ── GALLERY PAGE ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.4rem;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #e9edf4;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  transition: transform .4s, box-shadow .4s;
  position: relative;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(200,134,10,.2); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(13,27,62,.85), transparent);
  color: #fff;
  font-size: .78rem;
  padding: .8rem .7rem .5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
}
.gallery-filter button {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .04em;
  padding: .5rem 1.2rem;
  border-radius: 50px;
  border: 2px solid var(--gold-lt);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  transition: background .25s, color .25s;
}
.gallery-filter button.active,
.gallery-filter button:hover {
  background: var(--gold-lt);
  color: var(--navy);
}

/* ── NEWS PAGE TOOLBAR ── */
.news-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.news-toolbar .gallery-filter {
  margin-bottom: 0;
  justify-content: flex-start;
  flex: 1 1 auto;
}
.news-search-wrap {
  flex: 0 0 auto;
  width: 260px;
  max-width: 100%;
}
.news-search-wrap input {
  width: 100%;
  padding: .6rem 1.1rem;
  border-radius: 50px;
  border: 2px solid var(--gold-lt);
  font-family: 'Open Sans', sans-serif;
  font-size: .85rem;
  color: var(--navy);
  outline: none;
  transition: border-color .25s;
}
.news-search-wrap input:focus { border-color: var(--gold); }
@media (max-width: 640px) {
  .news-toolbar { flex-direction: column; align-items: stretch; }
  .news-search-wrap { width: 100%; }
}

/* ── CONTACT PAGE ── */
.contact-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
}
.contact-info-card {
  background: var(--navy);
  border-radius: 20px;
  padding: 2.4rem 2rem;
  color: #fff;
}
.contact-info-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--gold-lt);
  margin-bottom: 1.4rem;
}
.contact-info-card .ci-row {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  margin-bottom: 1.3rem;
  font-size: .9rem;
  line-height: 1.6;
}
.contact-info-card .ci-row span.ci-icon { font-size: 1.2rem; }
.contact-info-card .ci-row a { color: #fff; text-decoration: none; }
.contact-info-card .ci-row a:hover { color: var(--gold-lt); }
.contact-form-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.4rem 2rem;
  box-shadow: var(--card-shadow, 0 12px 40px rgba(13,27,62,.10));
}
.contact-form-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 1.4rem;
}
.form-row { margin-bottom: 1.2rem; display: flex; flex-direction: column; gap: .4rem; }
.form-row label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
}
.form-row input, .form-row textarea {
  padding: .8rem 1rem;
  border-radius: 10px;
  border: 1.5px solid #dfe4f0;
  font-family: 'Open Sans', sans-serif;
  font-size: .92rem;
  color: var(--text);
  transition: border-color .25s, box-shadow .25s;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--gold-lt);
  box-shadow: 0 0 0 3px rgba(232,160,32,0.15);
}
.form-row textarea { resize: vertical; min-height: 130px; }
.contact-form-card .btn { margin-top: .4rem; }
.form-status { font-size: .85rem; margin-top: .8rem; font-weight: 600; }
.form-status.success { color: var(--green); }
.map-embed-wrap {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,.1);
}
.map-embed-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }

@media(max-width: 850px) {
  .contact-wrap { grid-template-columns: 1fr; }
}

/* ── OUR WORK PAGE intro ── */
.our-work-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.85;
  color: #3a4a6a;
}

/* ── NEWS PAGE (grid variant) ── */
.news-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media(max-width: 900px) { .news-page-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 600px) { .news-page-grid { grid-template-columns: 1fr; } }

/* ── FUNDING MEMBERS PAGE static grid ── */
.members-static-grid,
.partners-static-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
  max-width: 1200px;
  margin: 0 auto 3.5rem;
}

/* ── MISC ── */
.intro-lead {
  max-width: 780px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.85;
  color: #3a4a6a;
}
.partner-tag {
  font-size: .8rem;
  color: var(--gold);
  font-weight: 600;
}
.staff-contact a {
  color: var(--gold);
  text-decoration: none;
}
.staff-contact a:hover { text-decoration: underline; }

/* ─────────────────────────────────────────────────── */
/* 11. STAFF PAGE - Redesigned with Circular Photos  */
/* ─────────────────────────────────────────────────── */

.staff-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Staff Card - Modern Design */
.staff-page-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(13, 27, 62, 0.08);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.4s ease;
  position: relative;
}
.staff-page-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(13, 27, 62, 0.14);
}

/* Card Top with Gradient */
.staff-page-card .card-top {
  background: linear-gradient(135deg, #0d1b3e 0%, #162050 50%, #1a2f5a 100%);
  padding: 30px 20px 60px;
  text-align: center;
  position: relative;
}

/* Decorative circles behind profile */
.staff-page-card .card-top::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(232, 160, 32, 0.08);
  pointer-events: none;
}
.staff-page-card .card-top::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(232, 160, 32, 0.06);
  pointer-events: none;
}

/* Circular Profile Image */
.staff-page-card .profile-img-wrap {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  border: 4px solid var(--gold-lt);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  background: #fff;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.staff-page-card:hover .profile-img-wrap {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(232, 160, 32, 0.3);
}

.staff-page-card .profile-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.5s ease;
}
.staff-page-card:hover .profile-img-wrap img {
  transform: scale(1.08);
}

/* Staff Info */
.staff-page-card .staff-info {
  padding: 0 24px 28px;
  text-align: center;
  position: relative;
  z-index: 2;
  margin-top: -10px;
}

.staff-page-card .staff-info .staff-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 2px;
  letter-spacing: -0.02em;
}

.staff-page-card .staff-info .staff-position {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

/* Divider */
.staff-page-card .staff-info .divider {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  border-radius: 3px;
  margin: 0 auto 14px;
}

/* Contact Info */
.staff-page-card .staff-info .staff-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}
.staff-page-card .staff-info .staff-contact span {
  font-size: 0.82rem;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.staff-page-card .staff-info .staff-contact span .icon {
  font-size: 0.9rem;
}
.staff-page-card .staff-info .staff-contact a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.staff-page-card .staff-info .staff-contact a:hover {
  color: var(--green);
  text-decoration: underline;
}

/* Bio */
.staff-page-card .staff-info .staff-bio {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #555;
  text-align: left;
  margin-top: 8px;
  border-top: 1px solid #f0f2f7;
  padding-top: 14px;
}
.staff-page-card .staff-info .staff-bio p {
  margin-bottom: 0.5rem;
}
.staff-page-card .staff-info .staff-bio p:last-child {
  margin-bottom: 0;
}

/* Social Icons */
.staff-page-card .staff-info .social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}
.staff-page-card .staff-info .social-icons a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--off);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}
.staff-page-card .staff-info .social-icons a:hover {
  background: var(--gold-lt);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 160, 32, 0.3);
}

/* ── Responsive ── */
@media(max-width: 768px) {
  .staff-page-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.8rem;
  }
  .staff-page-card .profile-img-wrap {
    width: 120px;
    height: 120px;
  }
  .staff-page-card .card-top {
    padding: 24px 16px 50px;
  }
  .staff-page-card .staff-info {
    padding: 0 18px 22px;
  }
  .staff-page-card .staff-info .staff-name {
    font-size: 1.1rem;
  }
}

@media(max-width: 480px) {
  .staff-page-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .staff-page-card .profile-img-wrap {
    width: 110px;
    height: 110px;
  }
  .staff-page-card .card-top {
    padding: 20px 12px 44px;
  }
  .staff-page-card .staff-info .staff-bio {
    font-size: 0.82rem;
  }
}