/* ============================================
   TRASH MTAANI — shared site styles (UNEP-inspired)
   ============================================ */

:root {
  /* Exact green from Trash Mtaani's original site code */
  --un-blue: #7CB342;
  --un-blue-dark: #7CB342;
  --navy: #7CB342;    /* dark backgrounds now reuse the exact original hover-green, not a separate deep tone */
  --sky: #9CCB6B;
  --leaf: #7CB342;
  --leaf-dark: #7CB342;
  --gold: #F2C77A;         /* lighter mustard/marigold - the ONLY mustard shade used site-wide */
  --ink: #262B1E;
  --paper: #F7F5F0;        /* neutral off-white, gently warm but not pink */
  --mist: #F1EEE7;         /* slightly deeper neutral tone for alternating sections */
  --mellow-green: #96C86A; /* softer, lighter green for large hero/header blocks */
  --line: #E1E6D6;
  --shadow: 0 4px 16px rgba(43, 67, 24, 0.09);
  --shadow-hover: 0 10px 26px rgba(43, 67, 24, 0.15);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: 'Roboto', 'Poppins', sans-serif;
  background: var(--paper);
  color: var(--ink);
  opacity: 0;
  transition: opacity .5s ease-in;
  overflow-x: hidden;
}
body.loaded { opacity: 1; }

h1, h2, h3 { font-family: 'Roboto Condensed', 'Poppins', sans-serif; font-weight: 700; letter-spacing: -.01em; }

h2 {
  color: var(--un-blue);
  font-size: clamp(1.6rem, 4vw, 2.15rem);
  margin: 0 0 .3rem;
  text-transform: uppercase;
}

.section-icon {
  display: block;
  width: 76px;
  height: auto;
  object-fit: contain;
  margin: 0 auto .75rem;
  opacity: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--un-blue-dark);
  background: rgba(124, 179, 66, 0.12);
  padding: .3rem .8rem;
  border-radius: 3px;
  margin-bottom: .8rem;
  border-left: 3px solid var(--un-blue);
}

a { color: inherit; }

/* ---------------- TOP BAR + NAV ---------------- */
.top-bar {
  background: var(--navy); color: #E4EEDD; font-size: .78rem;
  text-align: center; padding: .4rem 1rem; letter-spacing: .03em;
}

nav {
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .6rem 1.5rem;
  border-bottom: 3px solid var(--un-blue);
  position: fixed;
  width: 100%;
  top: 28px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-left { display: flex; align-items: center; gap: .75rem; }
.nav-left img.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.logo { font-weight: 700; color: var(--un-blue); font-size: 1.1rem; text-transform: uppercase; letter-spacing: .02em; }
.motto { font-size: .74rem; color: #5c6b78; }

nav ul {
  list-style: none;
  display: flex;
  gap: 1.3rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav ul li a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  position: relative;
  padding-bottom: 3px;
}

nav ul li a::after {
  content: "";
  position: absolute;
  width: 0; height: 2px;
  left: 0; bottom: -2px;
  background: var(--un-blue);
  transition: width .25s;
}
nav ul li a:hover::after { width: 100%; }

nav ul li a.nav-cta {
  background: var(--un-blue); color: #fff; padding: .55rem 1.1rem; border-radius: 3px;
}
nav ul li a.nav-cta::after { display: none; }
nav ul li a.nav-cta:hover { background: var(--un-blue-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--un-blue); border-radius: 2px; }

@media (max-width: 900px) {
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem;
    gap: .9rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  nav ul.open { display: flex; }
  .nav-toggle { display: flex; }
}

/* ---------------- HERO (home page) ---------------- */
.hero {
  margin-top: 92px;
  padding: 5rem 1.5rem 6rem;
  background: var(--mist);
    /*linear-gradient(135deg, rgba(43,67,24,0.90), rgba(124,179,66,0.78)),
    url('img/group_photo.jpeg') center/cover no-repeat; */
  text-align: center;
  position: relative;
}
.hero-inner { max-width: 760px; margin: 0 auto; }
.hero-logo-wrap { position: relative; display: inline-block; margin: 0 auto 1.3rem; }
.hero img.hero-logo {
  display: block;
  max-width: 260px;
  width: 55%;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.3));
  background: transparent;
  image-rendering: -webkit-optimize-contrast;
  animation: mascotToss 2.6s ease-in-out infinite;
  transform-origin: 60% 90%;
}
@keyframes mascotToss {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(-3deg); }
  35% { transform: rotate(4deg); }
  50% { transform: rotate(-1deg); }
  70% { transform: rotate(0deg); }
}
/* small paper wad arcing from the mascot's hand into the bin, looping with the toss */
.toss-paper {
  position: absolute;
  width: 3.2%;
  aspect-ratio: 1;
  background: #fff;
  border: 1.5px solid rgba(38,43,30,0.3);
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  opacity: 0;
  pointer-events: none;
  animation: tossArc 2.6s ease-in-out infinite;
}
@keyframes tossArc {
  0%   { left: 19%; top: 16%; opacity: 0; transform: scale(.5) rotate(0deg); }
  10%  { opacity: 1; }
  40%  { left: 27%; top: 6%;  transform: scale(1) rotate(160deg); opacity: 1; }
  68%  { left: 31%; top: 40%; transform: scale(.75) rotate(320deg); opacity: 1; }
  80%  { opacity: 0; transform: scale(.6) rotate(360deg); }
  100% { left: 31%; top: 44%; opacity: 0; }
}
.hero .eyebrow { background: rgba(255,255,255,0.24); color: #fff; border-left-color: var(--gold); }
.hero h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  margin: 0 0 .8rem;
  line-height: 1.1;
  text-transform: none;
  color: var(--un-blue-dark); /* brand green, matches the h2 headings used elsewhere on the site */
}
.hero p.tagline {
  max-width: 560px; margin: 0 auto 1.8rem;
  color: #5c6b78; font-size: 1.08rem; line-height: 1.7;
}
.hero-btns { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
.hero .btn-ghost { color: var(--ink); border-color: rgba(38,43,30,0.35); }
.hero .btn-ghost:hover { background: rgba(38,43,30,0.06); }
.btn {
  display: inline-block;
  padding: .8rem 1.7rem;
  border-radius: 3px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, background .15s;
  cursor: pointer;
  border: none;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(242,169,59,0.35); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.6); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); }
.btn-blue { background: var(--un-blue); color: #fff; }
.btn-blue:hover { background: var(--un-blue-dark); }

/* ---------------- SECTIONS ---------------- */
.section {
  padding: 4.5rem 1.5rem;
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section.alt { background: var(--mist); }
.section.alt-full { background: var(--mist); max-width: none; }
.section.alt-full > *:not(.section-icon):not(.eyebrow) { max-width: 1100px; margin-left: auto; margin-right: auto; width: 100%; }

.section p { font-size: 1.03rem; line-height: 1.85; max-width: 780px; color: #3A4652; }

/* Stat strip */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); width: 100%; margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden;
}
.stat-box { background: #fff; padding: 1.6rem 1rem; }
.stat-box .num { font-family: 'Roboto Condensed', sans-serif; font-size: 2.1rem; font-weight: 700; color: var(--un-blue); }
.stat-box .lab { font-size: .78rem; color: #5c6b78; text-transform: uppercase; letter-spacing: .04em; margin-top: .2rem; }
@media (max-width: 700px) { .stat-strip { grid-template-columns: 1fr 1fr; } }

/* How it works */
.how-it-works {
  text-align: left; width: 100%; max-width: 800px; margin-top: 1.5rem;
  display: grid; gap: 1rem;
}
.how-step {
  background: #fff;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex; gap: 1rem; align-items: flex-start;
  border-left: 4px solid var(--un-blue);
  transition: transform .2s, box-shadow .2s;
}
.how-step:hover { transform: translateX(4px); box-shadow: var(--shadow-hover); }
.how-step .num {
  font-family: 'Roboto Condensed', sans-serif; font-weight: 700; font-size: 1.3rem;
  color: var(--un-blue); flex-shrink: 0; width: 30px;
}

/* Impact */
.impact-cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; width: 100%; margin-top: 1.2rem;
}
.impact-card {
  background: #fff; padding: 1.4rem; border-radius: var(--radius);
  box-shadow: var(--shadow); text-align: left; font-size: .97rem; line-height: 1.6;
  border-top: 3px solid var(--gold);
  transition: transform .2s, box-shadow .2s;
}
.impact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
@media (max-width: 640px) { .impact-cards { grid-template-columns: 1fr; } }

/* Team */
.team-grid {
  width: 100%; margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
}
.team-grid .v-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
  margin-bottom: 1.6rem;
}
.team-grid .v-row:last-child { margin-bottom: 0; }
.team-grid .v-row .team-member { flex: 1 1 180px; max-width: 220px; }
.team-member {
  background: #fff; border-radius: var(--radius); padding: 1.3rem 1rem;
  box-shadow: var(--shadow); text-align: center;
  transition: transform .2s, box-shadow .2s;
  border-bottom: 3px solid transparent;
}
.team-member:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-bottom-color: var(--un-blue); }
.team-member img {
  width: 92px; height: 92px; object-fit: cover; border-radius: 50%;
  margin-bottom: .7rem; border: 3px solid var(--mist);
}
.team-member .name { font-weight: 700; color: var(--un-blue); }
.team-member .role { font-size: .82rem; color: #5c6b78; margin: .15rem 0 .6rem; }
.toggle-btn {
  background: var(--mist); color: var(--un-blue-dark); border: none;
  cursor: pointer; font-size: .8rem; font-weight: 700; padding: .4rem .9rem; border-radius: 3px;
  text-transform: uppercase; letter-spacing: .02em;
}
.toggle-btn:hover { background: #e2edf4; }
.dropdown {
  margin-top: .8rem; background: var(--mist); padding: .8rem; font-size: .84rem;
  display: none; border-radius: 6px; text-align: left; line-height: 1.6; color: #4a5563;
}

/* Projects — card grid */
.project-grid {
  width: 100%; margin-top: 1.5rem;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem;
}
.project-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; text-align: left;
  box-shadow: var(--shadow); text-decoration: none; color: var(--ink);
  transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column;
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.project-card img { width: 100%; height: 170px; object-fit: cover; }
.project-card-body { padding: 1.1rem 1.2rem 1.3rem; flex: 1; display: flex; flex-direction: column; }
.project-card-tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--un-blue); margin-bottom: .4rem; }
.project-card-title { font-weight: 700; color: var(--un-blue); font-size: 1.05rem; line-height: 1.4; margin-bottom: .5rem; }
.project-card-arrow { margin-top: auto; font-weight: 700; color: var(--un-blue); font-size: .85rem; text-transform: uppercase; }

/* Partners */
.partners-container { display: flex; justify-content: center; align-items: stretch; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.5rem; width: 100%; }
.partner {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.3rem 1.2rem; display: flex; flex-direction: column; align-items: center; gap: .6rem;
  min-width: 160px; max-width: 190px; border-top: 3px solid var(--un-blue);
}
.partner p { margin: 0; font-weight: 700; font-size: .88rem; color: var(--un-blue); }
.partner img { max-width: 90px; height: auto; }

/* Eco Run feature section */
.ecorun-card {
  width: 100%; margin-top: 1.8rem;
  background: linear-gradient(135deg, var(--navy), var(--un-blue-dark));
  border-radius: var(--radius);
  overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-hover);
  color: #fff;
  text-align: left;
}
.ecorun-card-img { background: url('img/group_photo.jpeg') center/cover no-repeat; min-height: 280px; }
.ecorun-card-body { padding: 2.2rem 2rem; display: flex; flex-direction: column; gap: 1rem; }
.ecorun-card-body .eyebrow { background: var(--gold); color: var(--ink); border-left-color: var(--gold); align-self: flex-start; }
.ecorun-card-body h3 { margin: 0; font-size: 1.5rem; color: #fff; text-transform: none; }
.ecorun-card-body p { color: #E7EFD9; font-size: .96rem; line-height: 1.7; margin: 0; }
.ecorun-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin: .4rem 0; }
.ecorun-detail { background: rgba(253,246,234,0.92); border-radius: 6px; padding: .8rem .7rem; text-align: center; }
.ecorun-detail .val { font-family: 'Roboto Condensed', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--gold); }
.ecorun-detail .lab { font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); margin-top: .15rem; }
.ecorun-cats { display: flex; gap: .6rem; flex-wrap: wrap; }
.ecorun-cat-pill { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); color: #fff; font-size: .78rem; font-weight: 700; padding: .3rem .8rem; border-radius: 999px; }
.ecorun-card-btns { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: .4rem; }
@media (max-width: 800px) {
  .ecorun-card { grid-template-columns: 1fr; }
  .ecorun-card-img { min-height: 200px; }
  .ecorun-detail-grid { grid-template-columns: 1fr 1fr; }
}

.ecorun-pay-card {
  width: 100%; margin-top: 1.2rem;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-hover);
  display: grid; grid-template-columns: auto 1fr; gap: 1.8rem; align-items: center;
  padding: 1.8rem 2rem; text-align: left; border: 1px solid var(--line);
}
.ecorun-pay-qr {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .6rem;
  width: 148px; height: 148px; flex-shrink: 0; box-shadow: var(--shadow);
}
.ecorun-pay-qr img { width: 100%; height: 100%; object-fit: contain; image-rendering: -webkit-optimize-contrast; }
.ecorun-pay-body .eyebrow { margin-bottom: .5rem; }
.ecorun-pay-body h3 { margin: 0 0 .4rem; font-size: 1.15rem; color: var(--un-blue); text-transform: none; }
.ecorun-pay-body p { margin: 0 0 1rem; font-size: .92rem; line-height: 1.6; color: #4a5563; max-width: none; }
.ecorun-pay-link { font-size: .82rem; color: var(--un-blue-dark); word-break: break-all; margin-top: .7rem; display: block; }
@media (max-width: 640px) {
  .ecorun-pay-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

/* BSF Training videos */
.video-grid {
  width: 100%; margin-top: 1.5rem;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem;
}
.video-grid video {
  width: 100%; height: 220px; border-radius: var(--radius);
  background: #000; box-shadow: var(--shadow); display: block;
}
@media (max-width: 640px) { .video-grid { grid-template-columns: 1fr; } .video-grid video { height: 260px; } }

/* Get Involved cards */
.involve-grid {
  width: 100%; margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
}
.involve-grid .v-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem;
  margin-bottom: 1.4rem;
}
.involve-grid .v-row:last-child { margin-bottom: 0; }
.involve-grid .v-row .involve-card { flex: 1 1 240px; max-width: 280px; }
.involve-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.8rem 1.5rem; text-align: left; display: flex; flex-direction: column; gap: .7rem;
  border-top: 4px solid var(--un-blue);
  transition: transform .2s, box-shadow .2s;
}
.involve-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.involve-card .icon { font-size: 1.8rem; }
.involve-card h3 { margin: 0; color: var(--un-blue); font-size: 1.1rem; text-transform: none; }
.involve-card p { margin: 0; font-size: .93rem; line-height: 1.6; color: #4a5563; max-width: none; }
.involve-card .btn { align-self: flex-start; margin-top: auto; padding: .6rem 1.2rem; font-size: .8rem; }
.donate-details {
  background: var(--mist); border-radius: 6px; padding: .8rem .9rem;
  font-size: .85rem; line-height: 1.6; color: var(--ink);
}
.donate-details p { margin: 0 0 .5rem; font-size: inherit; color: inherit; }
.donate-details p:last-child { margin-bottom: 0; }

.newsletter-box {
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 2.5rem 2rem; width: 100%; margin-top: 2rem; text-align: center;
}
.newsletter-box h3 { color: #fff; text-transform: uppercase; margin: 0 0 .5rem; }
.newsletter-box p { color: #E4EEDD; max-width: 480px; margin: 0 auto 1.3rem; font-size: .95rem; }
.newsletter-form { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; max-width: 460px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; min-width: 200px; padding: .8rem 1rem; border-radius: 3px; border: none; font-family: inherit; font-size: .92rem;
}

/* Contact */
.contact-info { font-size: 1.02rem; line-height: 2; }
.contact-info a { color: var(--un-blue); font-weight: 600; text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }

/* Footer / top button */
footer {
  background: var(--navy); color: #E4EEDD; text-align: center; padding: 1.6rem; font-size: .85rem;
}
footer a { color: #fff; }
.back-to-top {
  position: fixed; bottom: 22px; right: 22px;
  background: var(--un-blue); color: #fff; font-weight: 700;
  padding: .65rem 1.1rem; border: none; border-radius: 3px; cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2); z-index: 900; text-transform: uppercase; font-size: .8rem;
}
.back-to-top:hover { background: var(--un-blue-dark); }

/* ---------------- PROJECT / GET INVOLVED PAGE HEADER ---------------- */
.page-header {
  margin-top: 92px; padding: 3.5rem 1.5rem 2.5rem; text-align: center;
  background: linear-gradient(135deg, var(--mellow-green), var(--un-blue)); color: #fff;
}
.page-header .eyebrow { background: rgba(255,255,255,0.14); color: var(--gold); border-left-color: var(--gold); }
.page-header h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 0; text-transform: none; }

.carousel-wrapper {
  position: relative; overflow: hidden; width: 100%;
  background: var(--mist); padding: 2rem 0 1.5rem;
}
.carousel {
  display: flex; gap: 1rem; overflow-x: auto; scroll-behavior: smooth;
  padding: .5rem 4vw; scroll-snap-type: x mandatory;
}
.carousel img {
  width: 100%; max-width: 400px; height: 420px; object-fit: cover;
  flex-shrink: 0; border-radius: var(--radius); box-shadow: var(--shadow); scroll-snap-align: center;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: var(--un-blue); border: none; color: #fff; font-size: 1.7rem;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer; z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.carousel-btn.left { left: 12px; }
.carousel-btn.right { right: 12px; }
.carousel-btn:hover { background: var(--un-blue-dark); }

.description {
  max-width: 820px; margin: 0 auto; padding: 2rem 1.6rem 3rem;
  font-size: 1.04rem; line-height: 1.9; color: #3A4652; text-align: left;
}

.back-link {
  display: inline-flex; align-items: center; gap: .5rem;
  margin: 0 auto 3rem; padding: .8rem 1.8rem;
  background: var(--gold); color: var(--ink); font-weight: 700; font-size: .88rem;
  border-radius: 3px; text-decoration: none; box-shadow: var(--shadow);
  transition: transform .15s; text-transform: uppercase; letter-spacing: .02em;
}
.back-link:hover { transform: translateY(-2px); }
.back-link-wrap { text-align: center; }

@media (max-width: 600px) {
  .carousel img { max-width: 88vw; height: 320px; }
  .section { padding: 3rem 1.2rem; }
}