/* =====================================================
   T.K. MEMORIAL TRUST — LOGO THEME (Green / Teal / Laurel Gold)
   Colours taken from the logo: green + teal hands, golden-brown laurel,
   red→orange→green outer ring. Same class names as before, so
   default.php / About.php etc. keep working without edits.
   ===================================================== */

:root {
  --green: #1f9d3a;
  --green-dark: #146f2a;
  --teal: #12a3c9;
  --teal-dark: #0b7896;
  --gold: #8a6a14;          /* laurel */
  --gold-light: #c9a74a;
  --red: #e03a2f;
  --orange: #f39a2b;
  --ink: #10201a;
  --ink-soft: #1b3a2e;
  --deep: #071f1a;          /* dark sections */
  --muted: #5a6b63;
  --mint: #f2f9f4;
  --line: #e1ece4;
  --ring: linear-gradient(90deg, var(--red), var(--orange) 30%, var(--green) 65%, var(--teal));
  --brand: linear-gradient(135deg, var(--green), var(--teal));
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 32, 26, .08);
  --shadow-lg: 0 18px 44px rgba(16, 32, 26, .16);
  --font-head: 'Manrope', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', Tahoma, sans-serif;
  --header-height: 76px;
}

/* ===================== GLOBAL ===================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body {
  font-family: var(--font-body);
  background: #fff;
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
}
img { max-width: 100%; }
a:focus-visible, button:focus-visible, .menu-toggle:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 6px;
}
#about-section, #what-we-do, #video-gallery, #gallery-section { scroll-margin-top: 96px; }

h1, h2, h3, h4 { font-family: var(--font-head); letter-spacing: -.01em; }

.section-tag {
  display: inline-block;
  color: var(--green-dark);
  background: rgba(31, 157, 58, .1);
  font-weight: 700;
  font-size: .85rem;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 12px;
}

/* ===================== TOP BAR ===================== */
.top-bar {
  background: var(--deep);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 5%;
  font-size: 13.5px;
  position: relative;
}
.top-bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--ring); }
.top-bar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.top-bar-info a { color: #cfe3d8; text-decoration: none; transition: color .25s; }
.top-bar-info a i { color: var(--gold-light); margin-right: 6px; }
.top-bar-info a:hover { color: #fff; }
.top-bar .social-icons { display: flex; align-items: center; margin-left: auto; }
.top-bar .social-icons a { color: #fff; text-decoration: none; }
.top-bar .social-icons i { margin: 0 9px; transition: color .25s; color: #fff; }
.top-bar .social-icons a:hover i { color: var(--gold-light); }
.top-bar .contact {
  border-left: 1px solid rgba(255, 255, 255, .3);
  padding-left: 12px;
  margin-left: 6px;
  position: relative;
  z-index: 5;
}

/* ===================== HEADER (white, sticky) ===================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 5%;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease, padding .3s ease;
}
.main-header.scrolled { box-shadow: 0 6px 22px rgba(16, 32, 26, .1); padding: 7px 5%; }
.header-left { display: flex; align-items: center; }
.logo img { max-height: 68px; width: auto; display: block; transition: max-height .3s ease; }
.main-header.scrolled .logo img { max-height: 54px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  margin-right: 18px;
  white-space: nowrap;
}
.nav-menu > a, .dropdown > span {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  padding: 9px 14px;
  border-radius: 10px;
  transition: background .25s, color .25s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-menu strong { font-weight: 600; }
.nav-menu i { color: var(--green); font-size: .9rem; margin-right: 4px; }
.nav-menu > a:hover, .dropdown:hover > span { background: var(--mint); color: var(--green-dark); }

.dropdown { position: relative; cursor: pointer; }
.dropdown-content {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; } /* hover bridge */
.dropdown:hover .dropdown-content { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-content a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  color: var(--ink);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  border-radius: 9px;
  transition: background .2s, color .2s, padding-left .2s;
}
.dropdown-content a i { width: 20px; text-align: center; color: var(--teal-dark); margin: 0; }
.dropdown-content a:hover { background: var(--mint); color: var(--green-dark); padding-left: 18px; }

.right-actions { display: flex; align-items: center; gap: 14px; }
.btn-filled {
  background: var(--brand);
  color: #fff;
  padding: 11px 24px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 6px 16px rgba(18, 163, 201, .3);
  transition: transform .25s, box-shadow .25s, filter .25s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
}
.btn-filled i { color: #ffd9d4; }
.btn-filled:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(31, 157, 58, .38); filter: brightness(1.06); }

/* ===================== HERO SLIDER ===================== */
.slider-container {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-height) - 40px);
  min-height: 520px;
  max-height: 820px;
  overflow: hidden;
  background: var(--deep);
}
.slider-container img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.slider-container img.active { opacity: 1; animation: kenBurns 14s ease-in-out infinite alternate; }
@keyframes kenBurns { 0% { transform: scale(1.02); } 100% { transform: scale(1.1) translate(-1%, -1%); } }

.slider-container::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(7, 31, 26, .86) 0%, rgba(7, 31, 26, .55) 48%, rgba(7, 31, 26, .15) 100%),
    linear-gradient(0deg, rgba(7, 31, 26, .75) 0%, transparent 45%);
}
.slider-container::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--ring); z-index: 4; }

.slider-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 0 8%;
}
.slide-text {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-46%);
  width: 100%;
  max-width: 640px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .9s ease, transform .9s ease;
  text-align: left;
}
.slide-text.active { opacity: 1; transform: translateY(-50%); pointer-events: auto; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}
.hero-eyebrow i { color: var(--gold-light); }
.slide-text h1 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.12;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 3px 16px rgba(0, 0, 0, .4);
}
.slide-text p { font-size: 1.15rem; color: #e6f2ec; margin-bottom: 28px; max-width: 540px; }
.slide-text .btn-filled { padding: 14px 32px; font-size: 1rem; }
.slide-text .btn-filled i { font-size: .95rem; }

.slider-dots { position: absolute; bottom: 7%; left: 8%; display: flex; gap: 10px; z-index: 3; }
.slider-dots .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  cursor: pointer;
  transition: all .3s ease;
}
.slider-dots .dot:hover { background: rgba(255, 255, 255, .75); }
.slider-dots .dot.active { background: var(--gold-light); width: 28px; border-radius: 6px; }

.slider-controls {
  position: absolute;
  right: 4%;
  bottom: 6%;
  display: flex;
  gap: 10px;
  z-index: 3;
}
.slider-controls button {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .4);
  width: 46px; height: 46px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 15px;
  backdrop-filter: blur(4px);
  transition: all .25s ease;
}
.slider-controls button:hover { background: var(--green); border-color: var(--green); transform: scale(1.07); }

/* ===================== HERO STATS (overlaps hero) ===================== */
.hero-stats-wrap { padding: 0 5%; background: #fff; position: relative; z-index: 5; }
.hero-stats {
  max-width: 1080px;
  margin: -44px auto 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 26px 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px 36px;
}
.hero-stats .stat { display: flex; align-items: center; gap: 14px; }
.hero-stats .stat i {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green-dark);
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.hero-stats .stat:nth-child(even) i { color: var(--teal-dark); }
.hero-stats .stat h3 { font-size: 1.45rem; color: var(--ink); font-weight: 800; line-height: 1.1; }
.hero-stats .stat h3.static { font-size: 1.1rem; }
.hero-stats .stat span { font-size: .82rem; color: var(--muted); display: block; margin-top: 3px; }

/* ===================== TRANSPARENCY ===================== */
.transparency-section { background: #fff; padding: 90px 8% 80px; text-align: center; }
.transparency-head { max-width: 660px; margin: 0 auto 44px; }
.transparency-head h2 { font-size: 2.3rem; font-weight: 800; color: var(--ink); margin-bottom: 14px; line-height: 1.2; }
.transparency-head p { color: var(--muted); font-size: 1.03rem; }
.transparency-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1040px;
  margin: 0 auto 30px;
}
.t-point {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--mint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: left;
  transition: border-color .25s, background .25s;
}
.t-point:hover { border-color: var(--green); background: #fff; }
.t-point i {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.t-point h4 { font-size: 1rem; color: var(--ink); margin-bottom: 4px; font-weight: 700; }
.t-point p { font-size: .86rem; color: var(--muted); line-height: 1.55; margin: 0; }

/* ===================== LEGAL CARD ===================== */
.legal-card {
  position: relative;
  display: flex; align-items: center; gap: 26px;
  max-width: 740px;
  margin: 50px auto;
  padding: 24px 32px;
  background: linear-gradient(135deg, #fff, var(--mint));
  border: 1px solid var(--line);
  border-radius: 18px;
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.legal-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, var(--red), var(--orange), var(--green), var(--teal)); }
.legal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.legal-ribbon {
  position: absolute; top: -2px; right: 24px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #fff; width: 34px; height: 44px;
  display: flex; align-items: flex-start; justify-content: center; padding-top: 8px; font-size: 13px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
}
.legal-seal {
  flex-shrink: 0; width: 96px; height: 96px; border-radius: 50%;
  border: 3px solid var(--gold-light); padding: 6px; background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.legal-seal img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.legal-info { flex: 1; }
.legal-tag { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--green-dark); margin-bottom: 4px; }
.legal-info h3 { font-size: 20px; margin: 0 0 6px; font-weight: 800; color: var(--ink); }
.legal-info p { margin: 0 0 10px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.legal-cta { font-size: 13.5px; font-weight: 700; color: var(--teal-dark); display: inline-flex; align-items: center; gap: 6px; transition: gap .3s; }
.legal-card:hover .legal-cta { gap: 10px; color: var(--green-dark); }
.legal-stamp-text {
  position: absolute; right: -14px; bottom: 6px;
  font-family: var(--font-head); font-weight: 800; font-size: 2.6rem;
  color: rgba(31, 157, 58, .06); transform: rotate(-12deg); pointer-events: none; user-select: none;
}

/* ===================== ABOUT ===================== */
.about-section {
  display: flex; align-items: center; justify-content: center;
  gap: 64px; padding: 90px 8%;
  background: var(--mint);
  flex-wrap: wrap;
}
.about-content { flex: 1 1 45%; max-width: 600px; }
.about-content h2 { font-size: 2.6rem; font-weight: 800; color: var(--ink); margin-bottom: 20px; line-height: 1.15; position: relative; }
.about-content h2::after { content: ""; display: block; width: 84px; height: 4px; margin-top: 16px; background: var(--ring); border-radius: 3px; }
.about-content > p { margin: 22px 0 24px; color: var(--muted); line-height: 1.85; font-size: 1.05rem; }
.about-people { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.person {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 10px;
  padding: 11px 16px; min-width: 180px;
}
.person:nth-child(even) { border-left-color: var(--teal); }
.person strong { display: block; color: var(--ink); font-size: .95rem; }
.person span { font-size: .8rem; color: var(--gold); font-weight: 600; }
.reg-card {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px; margin-bottom: 26px;
}
.reg-card i { color: var(--green); font-size: 1.4rem; margin-top: 2px; }
.reg-card p { font-size: .88rem; color: var(--muted); margin: 0 0 4px; line-height: 1.55; }
.reg-card p:last-child { margin-bottom: 0; }
.reg-card strong { color: var(--ink); }

.btn-red {
  background: var(--brand); color: #fff;
  padding: 14px 34px; display: inline-block;
  border-radius: 50px; font-weight: 700; text-decoration: none;
  transition: transform .25s, box-shadow .25s; margin-top: 12px;
  box-shadow: 0 8px 20px rgba(18, 163, 201, .28);
}
.btn-red:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(31, 157, 58, .35); }

.about-images { flex: 1 1 45%; position: relative; max-width: 520px; height: 460px; margin: 0 auto; }
.collage-frame {
  position: absolute; background: #fff; padding: 10px 10px 14px;
  border-radius: 12px; box-shadow: var(--shadow-lg);
  transition: transform .4s ease, box-shadow .4s ease;
}
.collage-frame img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.collage-frame:hover { transform: scale(1.05) rotate(0deg) !important; z-index: 10; }
.frame-1 { width: 62%; height: 300px; top: 0; left: 0; transform: rotate(-3deg); z-index: 1; border-top: 4px solid var(--green); }
.frame-2 { width: 46%; height: 220px; top: 130px; right: 0; transform: rotate(4deg); z-index: 2; border-top: 4px solid var(--teal); }
.frame-3 { width: 42%; height: 190px; bottom: 0; left: 8%; transform: rotate(2deg); z-index: 3; border-top: 4px solid var(--gold-light); }
.about-badge {
  position: absolute; bottom: -18px; right: 10%;
  background: var(--deep); border: 3px solid var(--gold-light);
  border-radius: 50%; width: 100px; height: 100px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(7, 31, 26, .35); z-index: 5;
}
.badge-year { color: var(--gold-light); font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; }
.badge-label { color: #fff; font-size: .72rem; }

/* ===================== WHAT WE DO ===================== */
.what-we-do {
  text-align: center; padding: 96px 20px;
  background:
    radial-gradient(60% 80% at 85% 0%, rgba(18, 163, 201, .22), transparent 70%),
    radial-gradient(50% 70% at 0% 100%, rgba(31, 157, 58, .25), transparent 70%),
    var(--deep);
}
.what-we-do h2 { font-size: 2.4rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.what-we-do h2::after { content: ""; width: 90px; height: 4px; background: var(--ring); display: block; margin: 16px auto 50px; border-radius: 3px; }
.work-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px; max-width: 1200px; margin: 0 auto;
}
.card {
  background: #fff; border-radius: 18px; overflow: hidden; position: relative;
  height: 320px; cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
  transition: transform .4s ease, box-shadow .4s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 18px 38px rgba(0, 0, 0, .38); }
.card-front {
  position: absolute; inset: 0; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 25px; transition: opacity .3s ease;
}
.card-front img { width: 80px; height: 80px; margin-bottom: 18px; object-fit: contain; transition: transform .3s; }
.card-front h3 { font-size: 1.12rem; color: var(--ink); font-weight: 800; margin-bottom: 10px; }
.underline { width: 36px; height: 4px; background: var(--ring); border-radius: 2px; transition: width .3s; }
.card:hover .card-front img { transform: scale(1.06); }
.card:hover .underline { width: 56px; }
.card-hover {
  position: absolute; inset: 0; color: #fff;
  background: linear-gradient(160deg, var(--green-dark), var(--teal-dark));
  opacity: 0; transform: translateY(100%); transition: all .4s ease;
  padding: 30px 22px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
}
.card-hover p { font-size: .96rem; line-height: 1.6; margin-bottom: 18px; }
.card-hover a { background: #fff; color: var(--green-dark); padding: 9px 22px; border-radius: 30px; text-decoration: none; font-weight: 700; transition: transform .25s; }
.card-hover a:hover { transform: scale(1.06); }
.card:hover .card-front { opacity: 0; }
.card:hover .card-hover { opacity: 1; transform: translateY(0); }
.card.pink { border-top: 5px solid var(--red); }
.card.blue { border-top: 5px solid var(--teal); }
.card.purple { border-top: 5px solid var(--gold-light); }
.card.orange { border-top: 5px solid var(--orange); }
.card.green { border-top: 5px solid var(--green); }

/* ===================== JOURNEY TIMELINE ===================== */
.journey-section { background: #fff; padding: 90px 8% 100px; text-align: center; overflow: hidden; }
.journey-section h2 { font-size: 2.4rem; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.journey-sub { color: var(--muted); max-width: 520px; margin: 0 auto 60px; font-size: 1rem; }
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding: 20px 0; }
.timeline::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 4px;
  background: linear-gradient(180deg, var(--red), var(--orange), var(--green), var(--teal));
  transform: translateX(-50%); border-radius: 3px;
}
.timeline-item {
  position: relative; width: 50%; padding: 0 50px 60px;
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.timeline-item.in-view { opacity: 1; transform: translateY(0); }
.timeline-item.left { left: 0; text-align: right; }
.timeline-item.right { left: 50%; text-align: left; }
.timeline-content {
  background: #fff; border-radius: var(--radius); padding: 24px 26px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  display: inline-block; width: 100%;
}
.timeline-year {
  display: inline-block; background: var(--brand); color: #fff;
  font-size: .78rem; font-weight: 700; padding: 4px 14px; border-radius: 20px; margin-bottom: 10px;
}
.timeline-content h3 { font-size: 1.12rem; color: var(--ink); font-weight: 800; margin-bottom: 8px; }
.timeline-content p { font-size: .92rem; color: var(--muted); line-height: 1.65; margin: 0; }
.timeline-dot {
  position: absolute; top: 4px; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 3px solid var(--green); color: var(--green-dark);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  box-shadow: 0 4px 12px rgba(16, 32, 26, .15); z-index: 2;
}
.timeline-item.left .timeline-dot { right: -22px; }
.timeline-item.right .timeline-dot { left: -22px; border-color: var(--teal); color: var(--teal-dark); }
.timeline-dot.active-dot { background: var(--green); color: #fff; animation: pulseDot 2s ease-in-out infinite; }
@keyframes pulseDot { 0%, 100% { box-shadow: 0 0 0 0 rgba(31, 157, 58, .5); } 50% { box-shadow: 0 0 0 11px rgba(31, 157, 58, 0); } }

/* ===================== WHERE WE WORK ===================== */
.where-we-work { display: flex; align-items: flex-start; gap: 40px; padding: 90px 8%; background: var(--mint); flex-wrap: wrap; }
.www-content { flex: 1 1 42%; max-width: 560px; }
.www-content h2 { font-size: 2.4rem; font-weight: 800; color: var(--ink); margin-bottom: 20px; }
.www-content h2::after { content: ""; display: block; width: 84px; height: 4px; margin-top: 14px; background: var(--ring); border-radius: 3px; }
.www-content p { margin: 24px 0 0; color: var(--muted); line-height: 1.8; }
.www-content strong { color: var(--ink); }
.www-locations { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.www-loc {
  background: #fff; border: 1px solid var(--line); padding: 8px 16px; border-radius: 30px;
  font-size: .86rem; color: var(--ink); font-weight: 600; display: flex; align-items: center; gap: 8px;
}
.www-loc i { color: var(--green); font-size: .8rem; }
.www-map { flex: 1 1 45%; display: flex; flex-direction: column; align-items: center; max-width: 560px; margin: 0 auto; padding-top: 30px; }
.map-wrap { position: relative; width: 100%; max-width: 500px; }
.india-img { width: 100%; height: auto; display: block; filter: grayscale(1) opacity(.55); }
.ncr-marker { position: absolute; transform: translate(-50%, -50%); width: 14px; height: 14px; }
.marker-dot {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--green); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); z-index: 2;
}
.pulse-ring {
  position: absolute; top: 50%; left: 50%; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--green); transform: translate(-50%, -50%);
  animation: ringPulse 2.4s ease-out infinite; opacity: .7;
}
.pulse-ring.delay { animation-delay: 1.2s; }
@keyframes ringPulse { 0% { width: 14px; height: 14px; opacity: .7; } 100% { width: 52px; height: 52px; opacity: 0; } }
.secondary-marker {
  position: absolute; transform: translate(-50%, -50%); width: 9px; height: 9px; border-radius: 50%;
  background: var(--teal); border: 1.5px solid #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, .2); z-index: 1;
}
.map-label { margin-top: 18px; display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--ink); font-weight: 600; }
.map-label-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); display: inline-block; }

/* ===================== GALLERY ===================== */
.gallery-section { background: #fff; padding: 80px 20px; text-align: center; overflow: hidden; }
.gallery-section h2 { font-size: 2.4rem; margin-bottom: 40px; color: var(--ink); font-weight: 800; }
.gallery-section h2::after { content: ""; width: 90px; height: 4px; background: var(--ring); display: block; margin: 14px auto 0; border-radius: 2px; }
.masonry-slider { width: 100%; max-width: 1100px; margin: auto; overflow: hidden; position: relative; display: flex; justify-content: center; align-items: center; }
.slider-track { display: flex; width: calc(800px * 3); animation: loopScroll 32s linear infinite; align-items: center; }
.slider-track:hover { animation-play-state: paused; }
.slide-block { width: 800px; flex-shrink: 0; padding: 10px; }
.campaign-title { font-size: 1.3rem; color: var(--ink); margin-bottom: 14px; font-weight: 800; text-align: center; }
.slide-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; gap: 10px; justify-items: center; }
.slide-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); transition: transform .35s, box-shadow .35s; }
.slide-grid img:hover { transform: scale(1.04); box-shadow: var(--shadow-lg); cursor: pointer; }
@keyframes loopScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-2400px); } }
.view-more {
  display: inline-block; margin: 30px auto 0; background: var(--brand); color: #fff;
  padding: 13px 32px; border-radius: 50px; text-decoration: none; font-weight: 700;
  transition: transform .25s, box-shadow .25s;
}
.view-more:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(18, 163, 201, .3); }

/* ===================== VIDEO GALLERY ===================== */
.video-gallery { background: var(--mint); padding: 80px 20px; text-align: center; }
.video-gallery h2 { font-size: 2.4rem; margin-bottom: 14px; color: var(--ink); font-weight: 800; }
.video-gallery h2::after { content: ""; width: 90px; height: 4px; background: var(--ring); display: block; margin: 14px auto 18px; border-radius: 2px; }
.video-sub { color: var(--muted); max-width: 480px; margin: 0 auto 40px; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; max-width: 1200px; margin: 0 auto; }
.video-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.video-card iframe { width: 100%; height: 200px; border: none; }
.video-card h3 { padding: 15px; font-size: 1.05rem; color: var(--ink); font-weight: 700; }
.video-thumb { position: relative; width: 100%; height: 200px; cursor: pointer; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.video-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(7, 31, 26, .55)); }
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; box-shadow: 0 8px 20px rgba(0, 0, 0, .35); z-index: 2; transition: transform .3s;
}
.video-card:hover .play-btn { transform: translate(-50%, -50%) scale(1.12); }
.video-card:hover .video-thumb img { transform: scale(1.07); }

/* ===================== FOOTER ===================== */
footer {
  position: relative;
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(18, 163, 201, .18), transparent 70%),
    var(--deep);
  color: #dbe9e1;
  padding: 70px 20px 25px;
}
footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--ring); }
.footer-container { display: grid; grid-template-columns: 1.6fr 1.3fr 1fr 1fr .8fr; gap: 32px; max-width: 1200px; margin: auto; }
.footer-logo h2 { font-size: 26px; margin-bottom: 12px; color: #fff; }
.footer-logo p { color: #b7cfc3; font-size: 14px; line-height: 1.7; margin-bottom: 8px; }
.footer-logo strong { color: var(--gold-light); }
.footer-contact h3, .footer-links h3, .footer-Legal h3, .footer-social h3 { margin-bottom: 16px; font-size: 18px; color: #fff; }
.footer-contact h3::after, .footer-links h3::after, .footer-Legal h3::after, .footer-social h3::after {
  content: ""; width: 40px; height: 3px; background: var(--ring); display: block; margin-top: 7px; border-radius: 2px;
}
.footer-contact p { color: #b7cfc3; margin: 9px 0; font-size: 14px; }
.footer-contact i { color: var(--gold-light); margin-right: 8px; }
.footer-links ul, .footer-Legal ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a, .footer-Legal a { position: relative; color: #b7cfc3; text-decoration: none; transition: color .3s; font-size: 14px; }
.footer-links a:hover, .footer-Legal a:hover { color: #fff; }
.footer-links a::after { content: ""; position: absolute; width: 0; height: 2px; left: 0; bottom: -3px; background: var(--teal); transition: width .3s; }
.footer-links a:hover::after { width: 100%; }
.footer-social .social-icons { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social .social-icons a {
  width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .08); color: #fff; font-size: 16px; text-decoration: none; transition: .3s;
}
.footer-social .social-icons a:hover { background: var(--brand); transform: translateY(-3px); }
.footer-donate-btn {
  display: inline-block; margin-top: 12px; background: var(--brand); color: #fff;
  padding: 11px 24px; border-radius: 50px; text-decoration: none; font-weight: 700; transition: .3s;
}
.footer-donate-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(18, 163, 201, .35); }
.trust-badges { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; max-width: 1200px; margin: 44px auto 0; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.badge {
  text-align: center; text-decoration: none; color: #b7cfc3; transition: .3s;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px; padding: 16px 26px; min-width: 150px;
}
.badge i { font-size: 30px; color: var(--gold-light); margin-bottom: 8px; display: block; }
.badge span { font-size: 13.5px; font-weight: 600; }
.badge:hover { background: rgba(255, 255, 255, .1); transform: translateY(-3px); color: #fff; }
.footer-bottom { text-align: center; padding-top: 20px; font-size: 14px; color: #8fb0a0; border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 30px; }
.footer-bottom a { color: var(--gold-light); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* ===================== MOBILE TOGGLE ===================== */
.menu-toggle {
  display: none; font-size: 22px; cursor: pointer; color: var(--ink);
  width: 44px; height: 44px; align-items: center; justify-content: center;
  border-radius: 12px; background: var(--mint); border: 1px solid var(--line);
}

/* ===================== MOBILE DRAWER ===================== */
.mobile-drawer {
  position: fixed; top: 0; width: min(310px, 86vw); left: min(-310px, -86vw);
  height: 100dvh; background: #fff; box-shadow: 4px 0 28px rgba(16, 32, 26, .25);
  transition: left .4s ease; z-index: 9999;
  display: flex; flex-direction: column;
  border-top-right-radius: 16px; border-bottom-right-radius: 16px;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.mobile-drawer.active { left: 0; }
.drawer-overlay {
  position: fixed; inset: 0; height: 100dvh; background: rgba(7, 31, 26, .62);
  opacity: 0; visibility: hidden; transition: .3s; z-index: 9998; backdrop-filter: blur(2px);
}
.drawer-overlay.active { opacity: 1; visibility: visible; }
body.drawer-open { overflow: hidden; }
.drawer-header {
  display: flex; justify-content: space-between; align-items: center; padding: 16px 20px;
  background: var(--deep); flex-shrink: 0; border-bottom: 4px solid transparent; border-image: var(--ring) 1;
}
.drawer-header img { height: 46px; background: #fff; border-radius: 50%; padding: 2px; }
#drawer-close { font-size: 22px; color: #fff; transition: .2s; cursor: pointer; padding: 6px; line-height: 1; }
#drawer-close:hover { color: var(--gold-light); }
.drawer-menu { display: flex; flex-direction: column; margin-top: 8px; }
.drawer-menu a {
  padding: 15px 22px; text-decoration: none; color: var(--ink); font-weight: 600;
  border-bottom: 1px solid var(--line); transition: all .25s; display: flex; align-items: center; gap: 12px;
}
.drawer-menu a i { color: var(--green); width: 18px; text-align: center; }
.drawer-menu a:hover { background: var(--mint); color: var(--green-dark); padding-left: 28px; }
.drawer-accordion { border-bottom: 1px solid var(--line); }
.drawer-accordion-toggle {
  width: 100%; background: none; border: none; padding: 15px 22px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: var(--ink); cursor: pointer; transition: .25s;
}
.drawer-accordion-toggle span { display: flex; align-items: center; gap: 12px; }
.drawer-accordion-toggle span i { color: var(--green); width: 18px; text-align: center; }
.drawer-accordion-toggle:hover { background: var(--mint); color: var(--green-dark); }
.accordion-icon { font-size: .8rem; transition: transform .3s; color: var(--teal-dark); }
.drawer-accordion.open .accordion-icon { transform: rotate(180deg); }
.drawer-accordion-panel { max-height: 0; overflow: hidden; background: var(--mint); transition: max-height .35s ease; }
.drawer-accordion.open .drawer-accordion-panel { max-height: 360px; }
.drawer-accordion-panel a {
  display: flex; align-items: center; gap: 10px; padding: 12px 22px 12px 44px;
  color: var(--ink); text-decoration: none; font-size: .92rem; border-bottom: 1px solid rgba(0, 0, 0, .04); transition: .25s;
}
.drawer-accordion-panel a i { width: 16px; color: var(--teal-dark); font-size: .85rem; }
.drawer-accordion-panel a:hover { background: #fff; padding-left: 50px; color: var(--green-dark); }
.drawer-accordion-panel a:last-child { border-bottom: none; }
.drawer-donate { padding: 20px; }
.drawer-donate a { display: block; background: var(--brand); text-align: center; padding: 13px; border-radius: 50px; font-weight: 700; color: #fff; text-decoration: none; }
.drawer-info { padding: 0 20px; font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.drawer-social { display: flex; gap: 15px; padding: 0 20px 20px; }
.drawer-social a { font-size: 18px; color: var(--ink); }
.drawer-social a:hover { color: var(--green); }
.drawer-footer { margin-top: auto; padding: 15px 20px; font-size: 13px; color: #777; border-top: 1px solid var(--line); text-align: center; flex-shrink: 0; }
.drawer-footer a { color: var(--green-dark); text-decoration: none; font-weight: 600; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1100px) {
  .nav-menu { display: none !important; }
  .menu-toggle { display: flex; }
  .right-actions { margin-left: auto; }
  .main-header { justify-content: flex-start; }
}
@media (max-width: 1024px) and (min-width: 1101px) {
  .nav-menu > a, .dropdown > span { font-size: .88rem; padding: 8px 10px; }
}
@media (max-width: 992px) {
  .about-images { max-width: 380px; height: 400px; }
  .slide-block { width: 600px; }
  .slide-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .footer-container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .transparency-points { grid-template-columns: 1fr; max-width: 480px; }
  .where-we-work { flex-direction: column-reverse; text-align: center; padding: 70px 6%; }
  .www-content h2::after { margin-left: auto; margin-right: auto; }
  .www-locations { justify-content: center; }
  .www-map { padding-top: 0; }
}
@media (max-width: 768px) {
  .top-bar-info { display: none; }
  .top-bar { justify-content: center; }
  .top-bar .social-icons { margin-left: 0; }
  .slider-container { height: 68dvh; min-height: 460px; }
  .slider-container::before { background: linear-gradient(0deg, rgba(7, 31, 26, .9) 0%, rgba(7, 31, 26, .55) 60%, rgba(7, 31, 26, .35) 100%); }
  .slide-text { left: 6%; right: 6%; width: auto; }
  .slide-text h1 { font-size: 1.7rem; }
  .slide-text p { font-size: .98rem; }
  .hero-eyebrow { font-size: .75rem; padding: 5px 12px; }
  .slider-dots { left: 6%; bottom: 5%; }
  .slider-controls { display: none; }
  .hero-stats { margin-top: -30px; padding: 22px 20px; gap: 20px 24px; justify-content: center; }
  .hero-stats .stat i { width: 44px; height: 44px; font-size: 1.05rem; }
  .hero-stats .stat h3 { font-size: 1.2rem; }
  .what-we-do { padding: 64px 15px; }
  .what-we-do h2, .gallery-section h2, .video-gallery h2, .journey-section h2 { font-size: 1.9rem; }
  .card { height: 280px; }
  .work-cards { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 20px; }
  .timeline-item, .timeline-item.left, .timeline-item.right { width: 100%; left: 0; text-align: left; padding: 0 0 45px 58px; }
  .timeline-item.left .timeline-dot, .timeline-item.right .timeline-dot { left: -1px; right: auto; }
  .journey-section { padding: 64px 6% 70px; }
  .main-header, .main-header.scrolled { padding: 8px 4%; }
  .logo img, .main-header.scrolled .logo img { max-height: 52px; }
  .btn-filled { padding: 9px 18px; font-size: .86rem; }
}
@media (max-width: 600px) {
  .slide-block { width: 100%; padding: 8px; }
  .slide-grid { grid-auto-rows: 145px; gap: 8px; }
  .campaign-title { font-size: 1.1rem; }
  .footer-container { grid-template-columns: 1fr; text-align: center; }
  .footer-contact h3::after, .footer-links h3::after, .footer-Legal h3::after, .footer-social h3::after { margin-left: auto; margin-right: auto; }
  .footer-social .social-icons { justify-content: center; }
  .footer-links ul, .footer-Legal ul { align-items: center; }
  .legal-card { flex-direction: column; text-align: center; gap: 14px; padding: 28px 20px; margin: 50px 16px 30px; }
  .legal-seal { width: 78px; height: 78px; }
  .transparency-section { padding: 64px 5% 56px; }
  .transparency-head h2 { font-size: 1.7rem; }
}
@media (max-width: 576px) {
  .about-images { height: 340px; }
  .frame-1 { height: 220px; }
  .frame-2 { height: 160px; top: 100px; }
  .frame-3 { height: 140px; }
  .about-badge { width: 78px; height: 78px; bottom: -14px; }
  .badge-year { font-size: .95rem; }
}
@media (max-width: 480px) {
  .work-cards { grid-template-columns: 1fr; }
  .card { height: 260px; }
  .card-front img { width: 56px; height: 56px; }
  .about-section { padding: 64px 5%; }
  .about-content h2, .www-content h2 { font-size: 1.7rem; }
  .btn-filled span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .timeline-item { opacity: 1; transform: none; }
}