/* ================================================================
   Greenwater Foundation — Shared Stylesheet
   Brand: #00907e (teal), #1a3a6b (deep blue), #abe0f9 (light blue)
   Font: Work Sans (Google Fonts)
   ================================================================ */

:root {
  --teal:        #00907e;
  --teal-dark:   #007060;
  --teal-light:  #e6f7f5;
  --blue:        #1a3a6b;
  --blue-light:  #abe0f9;
  --blue-pale:   #eef6fd;
  --ink:         #1c2b3a;
  --gray:        #5a6a7a;
  --gray-light:  #f4f6f8;
  --white:       #ffffff;
  --max-w:       1020px;
  --radius:      10px;
  --shadow:      0 4px 24px rgba(0,0,0,0.08);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ---- Layout ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--alt { background: var(--gray-light); }
.section--teal { background: var(--teal); color: var(--white); }
.section--blue { background: var(--blue); color: var(--white); }
.section--dark { background: var(--ink); color: var(--white); }

/* ---- Navigation ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #e8ecf0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__logo img {
  height: 40px;
  width: 40px;
  flex-shrink: 0;
}
.nav__logo-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.nav__logo-top {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.01em;
}
.nav__logo-bottom {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.01em;
}
.nav__links a:hover,
.nav__links a.active {
  background: var(--teal-light);
  color: var(--teal);
  text-decoration: none;
}
.nav__links .btn--nav {
  background: var(--teal);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 6px;
}
.nav__links .btn--nav:hover {
  background: var(--teal-dark);
  color: var(--white);
}
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--blue);
}
.hero--short { min-height: 500px; }
.hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
}
.hero__tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 16px;
}
.hero__title {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  max-width: 760px;
  margin-bottom: 20px;
}
.hero__sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.88);
  max-width: 640px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
}
.btn--primary {
  background: var(--teal);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--teal-dark);
  color: var(--white);
  text-decoration: none;
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  text-decoration: none;
}
.btn--outline-teal {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn--outline-teal:hover {
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
  font-size: 14px;
  padding: 10px 20px;
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  text-decoration: none;
}

/* ---- Typography ---- */
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.section-label--white { color: var(--blue-light); }
.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title--white { color: var(--white); }
.section-title--teal { color: var(--teal); }
.lead {
  font-size: 19px;
  color: var(--gray);
  max-width: 680px;
  line-height: 1.65;
}
.lead--white { color: rgba(255,255,255,0.85); }

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--teal);
  padding: 48px 24px;
}
.stats-bar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item__number {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item__label {
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  line-height: 1.4;
}
.stat-item__divider {
  width: 32px;
  height: 3px;
  background: var(--blue-light);
  margin: 12px auto;
  border-radius: 2px;
}

/* ---- Cards / Feature Grid ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 36px rgba(0,0,0,0.12);
}
.card__img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.card__body { padding: 24px; }
.card__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}
.card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
  line-height: 1.3;
}
.card__text { color: var(--gray); font-size: 15px; }

/* ---- Split Sections ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split__img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
}
.split__text p {
  color: var(--gray);
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.7;
}

/* ---- Mini Stats ---- */
.mini-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.mini-stat__num {
  font-size: 32px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}
.mini-stat__label {
  font-size: 13px;
  color: var(--gray);
  margin-top: 4px;
}

/* ---- Checklist ---- */
.checklist { margin: 16px 0 24px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 15px;
  color: var(--gray);
  line-height: 1.5;
}
.checklist li::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  background: var(--teal);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3 3 7-7' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* ---- Pillar Cards ---- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.pillar {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.pillar__icon {
  width: 60px;
  height: 60px;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 26px;
}
.pillar__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}
.pillar__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
}
.pillar__text { font-size: 15px; color: var(--gray); line-height: 1.6; }

/* ---- Team Grid ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s;
}
.team-card:hover { transform: translateY(-4px); }
.team-card__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top;
}
.team-card__body { padding: 20px; }
.team-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 4px;
  line-height: 1.3;
}
.team-card__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.team-card__bio {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

/* ---- Partners ---- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.partner-card {
  background: var(--white);
  border: 1px solid #e4eaf0;
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
  color: inherit;
  text-decoration: none;
}
.partner-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  text-decoration: none;
}
.partner-card__logo {
  height: 52px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  margin-bottom: 20px;
}
.partner-card__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}
.partner-card__desc { font-size: 14px; color: var(--gray); line-height: 1.6; }
.partner-card__placeholder {
  height: 52px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.partner-card__placeholder-label {
  font-size: 20px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.04em;
}

/* ---- Resources ---- */
.resource-list { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.resource-item {
  background: var(--white);
  border: 1px solid #e4eaf0;
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  transition: box-shadow 0.2s;
}
.resource-item:hover { box-shadow: var(--shadow); }
.resource-item__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
}
.resource-item__name a { color: var(--blue); }
.resource-item__name a:hover { color: var(--teal); }
.resource-item__desc { font-size: 15px; color: var(--gray); }

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal-dark) 100%);
  padding: 72px 24px;
  text-align: center;
}
.cta-banner__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.cta-banner__text {
  font-size: 17px;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 auto 32px;
}
.cta-banner__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Footer ---- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 60px 24px 32px;
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer__brand-logo img {
  height: 44px;
  width: 44px;
}
.footer__brand-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.footer__tagline { font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.footer__contact { font-size: 14px; line-height: 1.8; }
.footer__contact a { color: var(--blue-light); }
.footer__col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s;
}
.footer__links a:hover { color: var(--blue-light); text-decoration: none; }
.footer__bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__social { display: flex; gap: 12px; align-items: center; }
.footer__social a {
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  transition: color 0.15s;
}
.footer__social a:hover { color: var(--blue-light); text-decoration: none; }

/* ---- Accent divider ---- */
.divider {
  height: 5px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--blue-light) 100%);
  border: none;
}

/* ---- Benefit cols ---- */
.benefit-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.benefit-col__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--teal-light);
}
.benefit-col ul li {
  font-size: 14px;
  color: var(--gray);
  padding: 5px 0;
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.benefit-col ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* ---- Contact Box ---- */
.contact-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 48px;
  max-width: 640px;
}
.contact-box p { font-size: 15px; color: var(--gray); margin-bottom: 8px; }
.contact-box strong { color: var(--blue); }
.contact-box a { color: var(--teal); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse { direction: ltr; }
  .pillars { grid-template-columns: 1fr; }
  .benefit-cols { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-bar__inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 680px) {
  .nav__links { display: none; flex-direction: column; }
  .nav__links.open { display: flex; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); padding: 16px 24px 24px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
  .nav__toggle { display: flex; }
  .section { padding: 56px 0; }
  .hero { min-height: 420px; }
  .hero--short { min-height: 380px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .mini-stats { gap: 20px; }
  .partner-grid { grid-template-columns: 1fr; }
}
