:root {
  --dark-green: #0d2f2a;
  --deep-green: #103b34;
  --forest-green: #1d4d40;
  --green-strong: #1d6b4c;
  --green-soft: #6d9f7d;
  --olive: #8aa77d;
  --gold: #c59a5b;
  --sand: #e7e0d2;
  --ivory: #f7f5f0;
  --text: #1e2d2d;
  --muted: #5e6f6b;
  --shadow: rgba(6, 29, 22, 0.16);
  --gt-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --gt-dur-fast: 0.18s;
  --gt-dur: 0.3s;
  --gt-dur-slow: 0.6s;
  --gt-dur-media: 0.4s;
  --gt-lift: -4px;
  --gt-green: var(--green-strong);
  --gt-lime: #a8e063;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background: #f4f2ee;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1280px;
  width: min(90vw, 1280px);
  margin: 0 auto;
}

.top-bar {
  background: linear-gradient(90deg, #0a2d2a 0%, #123f38 100%);
  color: #f5f3ee;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile menu/drawer base styles */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.2rem;
  color: var(--dark-green);
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 40px);
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
}

.mobile-drawer-inner {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: min(320px, 86vw);
  background: #fff;
  box-shadow: -12px 0 30px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--gt-dur-fast) var(--gt-ease);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-drawer.open .mobile-drawer-inner {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.36);
  opacity: 0;
  transition: opacity var(--gt-dur-fast) var(--gt-ease);
  pointer-events: none;
  z-index: 1;
}

.mobile-drawer.open .mobile-drawer-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer.open {
  pointer-events: auto;
}

.mobile-drawer-inner {
  z-index: 2;
}

.mobile-drawer-close {
  background: transparent;
  border: none;
  align-self: flex-end;
  font-size: 1.2rem;
  padding: 6px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav a {
  color: var(--dark-green);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
  padding: 8px 4px;
}

.mobile-whatsapp-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

/* Hide floating WhatsApp on desktop by default */
.floating-whatsapp { display: none }

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.socials a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.8rem;
  transition: transform var(--gt-dur-fast) var(--gt-ease);
}

.socials a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
}

.top-contact {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-contact > div {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.call-us a,
.business-hrs span:last-child {
  font-weight: 600;
  color: #f1f0eb;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 0.82rem;
}

.badge-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(197, 154, 91, 0.24);
  border: 1px solid rgba(197, 154, 91, 0.7);
  color: var(--gold);
}

.top-donate,
.whatsapp-pill,
.whatsapp-header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  transition: transform var(--gt-dur-fast) var(--gt-ease);
}

.top-donate {
  padding: 9px 14px;
  background: linear-gradient(90deg, #c89d68 0%, #b88148 100%);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.whatsapp-pill,
.whatsapp-header-button {
  width: 32px;
  height: 32px;
  background: #25d366;
  color: #fff;
  font-size: 0.95rem;
}

.whatsapp-header-button {
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.28);
}

.top-donate:hover,
.whatsapp-pill:hover,
.service-card:hover,
.project-card:hover,
.gallery-item:hover {
  transform: translateY(-2px);
}

.site-header {
  background: #f3f2ef;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.03);
  position: relative;
  z-index: 5;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 94px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--dark-green);
}

.custom-brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.brand-logo {
  display: block;
  width: 310px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.header-brand-logo {
  mix-blend-mode: multiply;
}

.site-header .custom-brand {
  margin-right: auto;
}
.footer-brand-logo {
  width: 150px;
}

.brand-mark {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(12, 52, 41, 0.05);
  border: 2px solid rgba(12, 52, 41, 0.75);
  display: inline-block;
}

.leaf {
  position: absolute;
  width: 21px;
  height: 28px;
  top: 12px;
  background: linear-gradient(180deg, #103b34 0%, #2f7a5a 100%);
  border-radius: 100% 0 100% 0;
  transform-origin: center bottom;
}

.leaf-left {
  left: 8px;
  transform: rotate(-32deg);
}

.leaf-right {
  right: 8px;
  transform: scaleX(-1) rotate(-32deg);
}

.seed {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(197, 154, 91, 0.15);
}

.brand-text {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 2.8vw, 3.3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.main-nav a {
  position: relative;
  color: var(--text);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  padding: 10px 0;
  transition: none;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--gt-dur) var(--gt-ease);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

/* Dropdown nav */
.nav-dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-toggle {
  cursor: default;
  display: inline-block;
  color: inherit;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  padding: 10px 0;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  margin-top: 0;
  background: #fff;
  color: var(--text);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  padding: 8px 10px;
  min-width: 160px;
  display: none;
  z-index: 200;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: block;
}
.dropdown-menu a {
  display: block;
  padding: 6px 8px;
  color: var(--text);
  font-weight: 600;
}
.dropdown-menu a:hover { background: #f4f2ee; }

/* underline for dropdown toggle when active */
.nav-dropdown .dropdown-toggle {
  position: relative;
}
.nav-dropdown .dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--gt-dur) var(--gt-ease);
}
.nav-dropdown .dropdown-toggle.active::after { transform: scaleX(1); }

/* Podcast grid */
.podcast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.podcast-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(17, 76, 60, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(18, 42, 35, 0.06);
  transition: transform var(--gt-dur) var(--gt-ease);
}

.podcast-item:hover,
.podcast-item:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(18, 42, 35, 0.1);
}

.podcast-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.podcast-meta {
  padding: 18px 18px 20px;
}

.podcast-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  background: rgba(16, 59, 52, 0.08);
  color: var(--deep-green);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.podcast-item h3 {
  margin: 0;
  color: var(--deep-green);
  font-size: 1.08rem;
  line-height: 1.45;
}

.featured-video-card {
  margin: 32px 0 18px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(17, 76, 60, 0.08);
  box-shadow: 0 18px 40px rgba(18, 42, 35, 0.06);
  background: #fff;
}

.featured-video-link {
  position: relative;
  display: block;
  color: #fff;
  text-decoration: none;
}

.featured-video-link img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.featured-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 22, 18, 0.1) 0%, rgba(7, 22, 18, 0.78) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(2px);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-video-overlay h3 {
  margin: 12px 0 0;
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  line-height: 1.15;
  color: #fff;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
  color: var(--gt-green);
}

.hero {
  position: relative;
  min-height: 760px;
  background-image: url("assets/gallery/Conservation-Awarness.PNG");
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 21, 17, 0.34) 0%, rgba(5, 22, 18, 0.14) 48%, rgba(7, 22, 18, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0 80px;
  max-width: 900px;
  color: #f4f2ee;
}

.eyebrow {
  margin: 0 0 20px;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.hero h1 {
  margin: 0;
  max-width: 840px;
  font-size: clamp(2.8rem, 4vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 800;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
}

.hero .lead {
  max-width: 690px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.45vw, 1.45rem);
  line-height: 1.5;
  font-weight: 500;
}

/* Caption animation helpers for hero text (moved into mobile breakpoint) */

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
  padding: 18px 28px;
  border-radius: 8px;
  background: linear-gradient(90deg, #c89d68 0%, #b88148 100%);
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  box-shadow: 0 12px 30px rgba(184, 129, 72, 0.28);
  transition: transform var(--gt-dur) var(--gt-ease);
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(184, 129, 72, 0.32);
}

.primary-btn.alt {
  background: linear-gradient(90deg, #e7d5b0 0%, #c89d68 100%);
  color: #163e35;
}

.carousel-arrow {
  position: absolute;
  z-index: 60;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.1rem;
  backdrop-filter: blur(2px);
  cursor: pointer;
}

.carousel-arrow.left {
  left: 30px;
}

.carousel-arrow.right {
  right: 30px;
}

.about {
  padding: 100px 0 70px;
  background: #f7f5f2;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}

.section-tag {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--green-strong);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 700;
}

.section-tag.center {
  margin: 0 auto 18px;
}

.about-copy h2,
.section-header h2,
.contact-copy h2 {
  margin: 0 0 20px;
  font-size: clamp(2.3rem, 3vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: var(--dark-green);
}

.about-copy p,
.contact-copy p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.mission-panel {
  padding: 18px 0;
}

.mission-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  padding: 24px 22px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(16, 59, 52, 0.08);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(15, 40, 35, 0.06);
}

.mission-card + .mission-card {
  margin-top: 18px;
}

.icon-wrap,
.service-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(17, 76, 60, 0.12) 0%, rgba(197, 154, 91, 0.14) 100%);
  color: var(--forest-green);
  font-size: 1.4rem;
}

.mission-card h3,
.service-card h3,
.contact-card h3 {
  margin: 0 0 8px;
  color: var(--deep-green);
  font-size: 1.25rem;
}

.mission-card p,
.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.activities {
  padding: 40px 0 100px;
  background: linear-gradient(180deg, #f7f5f2 0%, #eef3ef 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 42px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.service-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 18px 40px rgba(18, 42, 35, 0.06);
  border: 1px solid rgba(17, 76, 60, 0.08);
  color: var(--text);
  display: block;
  transition: transform var(--gt-dur) var(--gt-ease);
}

.thematic-image {
  width: calc(100% + 48px);
  height: 230px;
  margin: 0 -24px 24px;
  object-fit: cover;
  object-position: center center;
  border-radius: 20px 20px 0 0;
  display: block;
  transition: transform var(--gt-dur-media) var(--gt-ease);
}

.thematic-card {
  padding-top: 0;
}

.service-card:hover .thematic-image {
  transform: scale(1.04);
}

.article-card[id] {
  scroll-margin-top: 120px;
}

.service-card:hover,
.project-card:hover,
.gallery-item:hover,
.article-card:hover,
.info-card:hover {
  background: #eef8f2;
  border-color: rgba(29, 108, 76, 0.38);
}

.service-icon {
  margin-bottom: 22px;
}

.highlight-band {
  background: linear-gradient(90deg, rgba(11, 54, 45, 0.96), rgba(16, 74, 56, 0.94));
  color: #fff;
}

.highlight-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 36px 0;
}

.highlight-inner span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 8px;
}

.highlight-inner h3 {
  margin: 0;
  font-size: clamp(1.7rem, 2.5vw, 2.6rem);
  line-height: 1.2;
}

.contact {
  padding: 100px 0 110px;
  background: #f6f3ee;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items: center;
}

.contact-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 34px 30px;
  box-shadow: 0 18px 48px rgba(10, 36, 31, 0.08);
  border: 1px solid rgba(16, 59, 52, 0.08);
}

.contact-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  color: var(--text);
  font-weight: 600;
}

.contact-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.contact-card li i {
  color: var(--green-strong);
}

.page-hero {
  position: relative;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.page-hero-about {
  background-image: linear-gradient(90deg, rgba(5, 31, 26, 0.5), rgba(5, 31, 26, 0.25)), url("assets/gallery/Youth-Empowerment.jpg");
}

.page-hero-activities {
  background-image: linear-gradient(90deg, rgba(5, 31, 26, 0.5), rgba(5, 31, 26, 0.25)), url("assets/gallery/gtf-school-engagement.jpg");
}

.page-hero-contact {
  background-image: linear-gradient(90deg, rgba(5, 31, 26, 0.5), rgba(5, 31, 26, 0.25)), url("assets/gallery/Conservation-Awarness.PNG");
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 21, 18, 0.18);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  color: #fff;
  max-width: 850px;
}

.page-hero-content h1 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.activity-detail-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  background-image: linear-gradient(90deg, rgba(5, 31, 26, 0.52), rgba(5, 31, 26, 0.2)), var(--activity-image);
  background-position: center;
  background-size: cover;
}

.activity-detail-hero-content {
  max-width: 900px;
  padding: 100px 0 76px;
  color: #fff;
}

.activity-detail-hero-content h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.activity-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 42px;
  align-items: start;
}

.activity-detail-grid article h2 {
  margin: 0 0 22px;
  color: var(--deep-green);
  font-size: clamp(2.2rem, 3.5vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.activity-detail-grid article p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.activity-detail-panel {
  padding: 30px 28px;
  background: #fff;
  border: 1px solid rgba(17, 76, 60, 0.1);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(18, 42, 35, 0.07);
}

.activity-detail-panel h3 {
  margin: 0 0 18px;
  color: var(--deep-green);
  font-size: 1.35rem;
}

.activity-detail-panel ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.section-tag.light {
  color: rgba(255, 255, 255, 0.9);
}

.content-section,
.values-section,
.contact-page-section {
  padding: 100px 0;
}

.two-column,
.contact-page-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 38px;
  align-items: start;
}

.feature-box,
.contact-copy-box,
.contact-form,
.info-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(17, 76, 60, 0.08);
  box-shadow: 0 18px 40px rgba(18, 42, 35, 0.06);
}

.feature-box {
  padding: 30px 28px;
}

.feature-box h3 {
  margin: 0 0 18px;
  font-size: 1.5rem;
  color: var(--deep-green);
}

.feature-box ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.narrow {
  max-width: 720px;
  margin: 0 auto 42px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.info-card {
  padding: 28px 24px;
}

.info-card h3 {
  margin: 16px 0 10px;
  font-size: 1.3rem;
  color: var(--deep-green);
}

.info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.founders-section {
  padding: 20px 0 110px;
}

.founder-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.founder-card {
  background: #fff;
  border: 1px solid rgba(17, 76, 60, 0.08);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(18, 42, 35, 0.06);
  transition: transform var(--gt-dur) var(--gt-ease);
}

.founder-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 46px rgba(18, 42, 35, 0.12);
}

.founder-card img {
  display: block;
  width: 100%;
  height: 290px;
  object-fit: cover;
}

.founder-content {
  padding: 22px 20px 24px;
}

.founder-role {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--primary-green);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.founder-card h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  color: var(--deep-green);
}

.founder-history {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.96rem;
}

.founder-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-top: 18px;
  border-radius: 50%;
  background: rgba(17, 76, 60, 0.08);
  color: var(--deep-green);
  font-size: 1rem;
  transition: transform var(--gt-dur-fast) var(--gt-ease);
}

.founder-linkedin:hover,
.founder-linkedin:focus-visible {
  background: rgba(17, 76, 60, 0.14);
  transform: translateY(-1px);
}

.page-activities {
  padding: 90px 0 110px;
}

.detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-card {
  min-height: 0;
  padding: 0 0 24px;
  overflow: hidden;
}

.detail-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.detail-card h3,
.detail-card p {
  margin-right: 24px;
  margin-left: 24px;
}

.detail-card h3 {
  margin-top: 22px;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.activity-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 470px;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(17, 76, 60, 0.12);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(18, 42, 35, 0.07);
  transition: transform var(--gt-dur) var(--gt-ease);
}

.activity-card:hover,
.activity-card:focus-visible {
  transform: translateY(calc(var(--gt-lift) - 2px));
  border-color: rgba(29, 108, 76, 0.42);
  box-shadow: 0 24px 46px rgba(18, 42, 35, 0.13);
}

.activity-card:focus-visible {
  outline: 3px solid rgba(197, 154, 91, 0.5);
  outline-offset: 4px;
}

.activity-image {
  min-height: 230px;
  background-position: center;
  background-size: cover;
  transition: transform var(--gt-dur-media) var(--gt-ease);
}

.activity-card:hover .activity-image,
.activity-card:focus-visible .activity-image {
  transform: scale(1.04);
}

.activity-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 24px 26px;
}

.activity-meta {
  margin-bottom: 14px;
  color: var(--green-strong);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.activity-content h2 {
  margin: 0 0 12px;
  color: var(--deep-green);
  font-size: 1.35rem;
  line-height: 1.2;
}

.activity-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.activity-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--green-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.activity-link i {
  transition: transform var(--gt-dur-fast) var(--gt-ease);
}

.activity-card:hover .activity-link i,
.activity-card:focus-visible .activity-link i {
  transform: translateX(4px);
}

.contact-copy-box {
  padding: 32px 28px;
}

.contact-copy-box h2 {
  margin: 0 0 20px;
  font-size: clamp(2.2rem, 3vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: var(--dark-green);
}

.contact-copy-box p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.8;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  color: var(--muted);
  font-weight: 600;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-list li i {
  color: var(--green-strong);
}

.contact-form {
  padding: 26px 24px;
}

.field-group {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field-group label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--deep-green);
  font-weight: 700;
}

.field-group input,
.field-group textarea {
  width: 100%;
  border: 1px solid rgba(17, 76, 60, 0.2);
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: #f9f8f5;
}

.field-group input:focus,
.field-group textarea:focus {
  outline: 2px solid rgba(29, 108, 76, 0.2);
  border-color: rgba(29, 108, 76, 0.5);
}

.contact-form .primary-btn {
  margin-top: 8px;
  border: none;
  cursor: pointer;
}

.projects-page-grid {
  display: grid;
  gap: 26px;
}

.project-spotlight {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  background: #fff;
  border-radius: 22px;
  padding: 18px;
  border: 1px solid rgba(17, 76, 60, 0.08);
  box-shadow: 0 18px 40px rgba(18, 42, 35, 0.06);
}

.project-spotlight img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
}

.project-spotlight h2 {
  margin: 0 0 12px;
  color: var(--deep-green);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.project-spotlight p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.volunteer-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.volunteer-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 3vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: var(--dark-green);
}

.volunteer-copy p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.8;
}
.stats-strip {
  padding: 12px 0 26px;
  background: #f5f3ee;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  min-height: 130px;
  padding: 24px 22px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(16, 59, 52, 0.12);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(14, 38, 30, 0.05);
}

.stat-box strong {
  display: block;
  font-size: clamp(2.4rem, 2.7vw, 3.3rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--deep-green);
}

.stat-box span {
  display: block;
  font-size: clamp(1.02rem, 1.25vw, 1.35rem);
  line-height: 1.35;
  color: var(--text);
  font-weight: 500;
}

.partners-section {
  padding: 40px 0 110px;
  background: linear-gradient(180deg, #f8f6f1 0%, #eef5ef 100%);
}
.donation-methods {
  padding: 28px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(16, 59, 52, 0.1);
  border-radius: 16px;
}

.donation-methods h3,
.payment-method h4 {
  color: var(--deep-green);
}

.donation-methods-intro,
.payment-method p {
  color: var(--muted);
  line-height: 1.65;
}

.payment-method {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(16, 59, 52, 0.1);
}

.payment-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green-strong);
}

.payment-method h4,
.payment-method p {
  margin: 0;
}

.payment-method h4 {
  margin-bottom: 5px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.partner-item {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ffffff 0%, #edf5ef 100%);
  border: 1px solid rgba(17, 76, 60, 0.08);
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(18, 42, 35, 0.06);
  text-align: center;
  padding: 18px 16px;
}

.partner-link-item {
  text-decoration: none;
  transition: transform var(--gt-dur) var(--gt-ease);
}

.partner-link-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(18, 42, 35, 0.08);
  border-color: rgba(17, 76, 60, 0.18);
}

.partner-item span {
  color: var(--deep-green);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.site-footer {
  background: linear-gradient(180deg, #0d2f2a 0%, #082b27 100%);
  color: rgba(255, 255, 255, 0.78);
  padding: 76px 0 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.8fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-partners {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-partners-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.footer-partners-head span {
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
}

.footer-partners-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform var(--gt-dur) var(--gt-ease);
}

.partner-logo:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
}

.partner-logo-image {
  display: block;
  max-width: 100%;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(1.04);
}

.partner-link {
  display: inline-block;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

.partner-link strong {
  display: block;
  font-size: 0.72rem;
}

.footer-brand {
  max-width: 420px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 18px;
  color: #fff;
}

.footer-brand-logo {
  width: 250px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.footer-logo .brand-mark {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
}

.footer-logo .brand-text {
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 2rem);
}

.footer-brand p,
.footer-newsletter p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.footer-cta {
  color: var(--gold);
  font-weight: 700;
}

.footer-links h4,
.footer-newsletter h4 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 1.15rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.footer-links a,
.footer-contact-email a,
.footer-callout a {
  color: rgba(255, 255, 255, 0.74);
}

.footer-links a:hover,
.footer-contact-email a:hover,
.footer-callout a:hover {
  color: #fff;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 8px 12px 8px 18px;
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font: inherit;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.newsletter-form button {
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #c89d68 0%, #b88148 100%);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 12px 18px;
  cursor: pointer;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-contact-email,
.footer-callout,
.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mail-icon,
.call-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--gold);
  background: rgba(197, 154, 91, 0.12);
  border: 1px solid rgba(197, 154, 91, 0.36);
}

.footer-callout span:first-of-type,
.footer-socials > span {
  color: rgba(255, 255, 255, 0.72);
}

.bottom-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bottom-socials a {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: transform var(--gt-dur-fast) var(--gt-ease);
}

.bottom-socials a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

.footer-copy {
  padding-top: 22px;
  text-align: center;
}

.footer-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.9rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-actions .primary-btn,
.hero-actions .secondary-btn {
  min-height: 62px;
}

.hero-actions .primary-btn {
  margin-top: 0;
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  backdrop-filter: blur(6px);
}

.projects-section {
  padding: 90px 0 100px;
  background: #f4f8f4;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.project-card {
  overflow: hidden;
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(17, 76, 60, 0.08);
  box-shadow: 0 18px 40px rgba(18, 42, 35, 0.06);
  transition: transform var(--gt-dur) var(--gt-ease);
}

.project-card:hover,
.service-card:hover,
.info-card:hover,
.article-card:hover,
.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 42px rgba(18, 42, 35, 0.1);
}

.project-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.project-content {
  padding: 24px 22px 28px;
}

.project-content span,
.article-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-strong);
  margin-bottom: 12px;
}

.project-content h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  color: var(--deep-green);
}

.project-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.page-hero-gallery {
  background-image: linear-gradient(90deg, rgba(5, 31, 26, 0.72), rgba(5, 31, 26, 0.52)), url("assets/gallery/Why-you-cant-miss-TCS26-scaled.jpg");
}

.page-hero-articles {
  background-image: linear-gradient(90deg, rgba(5, 31, 26, 0.72), rgba(5, 31, 26, 0.52)), url("assets/gallery/Global-youth-climate-summit-day-2-132.jpg");
}

.page-hero-donate {
  background-image: linear-gradient(90deg, rgba(5, 31, 26, 0.72), rgba(5, 31, 26, 0.52)), url("assets/gallery/planting.jpg");
}

.page-hero-projects {
  background-image: linear-gradient(90deg, rgba(5, 31, 26, 0.72), rgba(5, 31, 26, 0.52)), url("assets/gallery/Local-Confrence-of-the-Youth.jpg");
}

.page-hero-volunteer {
  background-image: linear-gradient(90deg, rgba(5, 31, 26, 0.72), rgba(5, 31, 26, 0.52)), url("assets/gallery/GTF-Mentorship-Program-scaled.jpg");
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(18, 42, 35, 0.08);
  border: 1px solid rgba(17, 76, 60, 0.08);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform var(--gt-dur-media) var(--gt-ease);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.article-list {
  display: grid;
  gap: 24px;
}

.article-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid rgba(17, 76, 60, 0.08);
  box-shadow: 0 18px 40px rgba(18, 42, 35, 0.06);
  transition: transform var(--gt-dur) var(--gt-ease);
}

.article-card h2 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.15;
  color: var(--deep-green);
}

.article-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.donation-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.donation-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: var(--dark-green);
}

.donation-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.donation-form {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  border: 1px solid rgba(17, 76, 60, 0.08);
  box-shadow: 0 18px 40px rgba(18, 42, 35, 0.06);
}

.donation-details-box {
  margin-top: 26px;
  padding: 20px 22px;
  background: linear-gradient(180deg, rgba(16, 59, 52, 0.04) 0%, rgba(16, 59, 52, 0.02) 100%);
  border: 1px solid rgba(16, 59, 52, 0.08);
  border-radius: 16px;
}

.donation-details-box h3 {
  margin: 0 0 12px;
  color: var(--deep-green);
  font-size: 1.2rem;
}

.donation-details-box ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  line-height: 1.9;
}

.form-note {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--muted);
}

.amount-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.amount-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f3f7f4;
  color: var(--text);
  font-weight: 600;
}

.donation-message {
  margin-top: 18px;
  min-height: 24px;
  font-weight: 600;
  color: var(--green-strong);
}

.donation-message.error {
  color: #a32f2f;
}

.donation-message.success {
  color: #196847;
}

.floating-donate {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  background: linear-gradient(90deg, #c89d68 0%, #b88148 100%);
  color: #fff;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 18px 30px rgba(184, 129, 72, 0.28);
  transition: transform var(--gt-dur) var(--gt-ease);
}

.floating-donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(184, 129, 72, 0.34);
}

@media (max-width: 1100px) {
  .nav-wrap,
  .top-bar-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .main-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .top-contact {
    justify-content: center;
    flex-wrap: wrap;
  }

  .values-grid,
  .founder-grid,
  .projects-grid,
  .service-grid,
  .about-grid,
  .contact-page-grid,
  .two-column,
  .activity-detail-grid,
  .detail-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: 660px;
  }

  .hero-content {
    padding: 60px 0;
  }
}

@media (max-width: 760px) {
  /* hide the green top bar on mobile */
  .top-bar {
    display: none;
  }

  /* Make header background white so logo blends */
  .site-header {
    background: #fff;
    box-shadow: none;
    border-bottom: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 130;
    position: relative;
  }

  /* hide the desktop nav on mobile; use drawer only */
  .main-nav { display: none }

  /* Force header layout: logo left, menu toggle flush right */
  .nav-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    position: relative;
  }

  .brand {
    margin-right: 0;
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
  }

  .brand-logo {
    width: 225px;
    max-width: 100%;
    background: transparent;
    border: none;
  }
.footer-brand-logo {
    width: 132px;
  }

  /* remove brand-mark background on mobile so logo sits directly on header */
  .brand-mark { background: transparent; border: none }

  /* Position hamburger button absolutely so it's flush to the right edge */
  .mobile-menu-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
  }

  /* show hero with captions on mobile (smaller height) */
  .hero { min-height: 360px; }
  .hero-overlay { display: block }
  .hero-content { display: block }

  /* ensure logo sits flush with white background */
  .brand-logo { background: transparent }

  /* hide the floating whatsapp (keep WhatsApp inside drawer only) */
  .floating-whatsapp { display: none }

  /* Show the mobile drawer container when active */
  .mobile-drawer {
    display: block;
  }

  .container {
    width: min(94vw, 1280px);
  }

  /* Caption animation helpers for hero text (mobile only) */
  .hero .caption-anim {
    transition: opacity var(--gt-dur-slow) var(--gt-ease), transform var(--gt-dur-slow) var(--gt-ease);
  }
  .hero .caption-hidden { opacity: 0; transform: translateY(10px); }
  .hero .caption-visible { opacity: 1; transform: translateY(0); }

  body {
    overflow-x: hidden;
  }

  .top-bar-inner {
    min-height: 58px;
    gap: 10px;
    padding: 10px 0;
  }

  .socials {
    gap: 8px;
  }

  .socials a {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
  }

  .top-contact {
    gap: 10px;
    width: 100%;
    justify-content: center;
    font-size: 0.58rem;
    letter-spacing: 0.05em;
  }

  .top-contact > div {
    gap: 6px;
    white-space: normal;
  }

  .call-us a,
  .business-hrs span:last-child {
    font-size: 0.68rem;
  }

  .badge-icon {
    width: 18px;
    height: 18px;
    font-size: 0.56rem;
  }

  .whatsapp-header-button {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .nav-wrap {
    min-height: auto;
    padding: 12px 0;
  }

  .brand-logo {
    width: 180px;
  }

  .main-nav {
    gap: 8px 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .main-nav a {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }

  .hero {
    min-height: 460px;
  }

  .hero-content {
    padding: 28px 0 26px;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 8.4vw, 3.25rem);
    line-height: 0.98;
  }

  .hero .lead {
    margin-top: 18px;
    max-width: 100%;
    font-size: 0.92rem;
    line-height: 1.4;
  }

  .primary-btn,
  .secondary-btn {
    width: auto;
    padding: 14px 20px;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .about,
  .activities,
  .contact,
  .content-section,
  .values-section,
  .contact-page-section {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .about-grid,
  .contact-wrap,
  .donation-wrap,
  .activity-detail-grid,
  .two-column,
  .contact-page-grid,
  .detail-grid,
  .gallery-grid,
  .service-grid,
  .values-grid,
  .founder-grid,
  .projects-grid,
  .about-grid,
  .podcast-grid,
  .activities-grid {
    grid-template-columns: 1fr;
  }

  .donation-wrap {
    align-items: stretch;
    gap: 28px;
  }

  .donation-copy h2 {
    font-size: clamp(1.9rem, 7vw, 2.6rem);
    line-height: 1.08;
  }

  .donation-methods {
    padding: 22px 20px;
  }

  .payment-method {
    gap: 12px;
  }

  .payment-method > div {
    min-width: 0;
  }

  .about-copy h2,
  .section-header h2,
  .contact-copy h2,
  .activity-detail-grid article h2 {
    font-size: clamp(2rem, 7vw, 3rem);
    line-height: 1.08;
  }

  .about-copy p,
  .contact-copy p,
  .activity-detail-grid article p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .mission-card {
    grid-template-columns: 52px 1fr;
    gap: 14px;
    padding: 18px 16px;
  }

  .icon-wrap {
    width: 48px;
    height: 48px;
    font-size: 1.15rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .stat-box {
    padding: 22px 12px;
  }

  .stat-box strong {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .stat-box span {
    font-size: 0.78rem;
  }

  .section-header {
    margin-bottom: 24px;
  }

  .service-grid {
    gap: 16px;
  }

  .service-card {
    padding: 0 0 18px;
  }

  .thematic-image {
    width: 100%;
    height: 200px;
    margin: 0 0 18px;
    border-radius: 18px 18px 0 0;
  }

  .highlight-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 26px 0;
  }

  .highlight-inner h3 {
    font-size: clamp(1.6rem, 6vw, 2.3rem);
  }

  .page-hero {
    min-height: 270px;
  }

  .page-hero-content {
    padding: 42px 0;
  }

  .page-hero-content h1,
  .activity-detail-hero-content h1 {
    font-size: clamp(2.1rem, 8vw, 3.4rem);
    line-height: 1.02;
  }

  .activity-detail-hero {
    min-height: 360px;
  }

  .activity-detail-hero-content {
    padding: 60px 0 38px;
  }

  .activity-detail-panel,
  .feature-box,
  .info-card,
  .contact-form,
  .contact-copy-box {
    padding-left: 18px;
    padding-right: 18px;
  }

  .partners-grid,
  .footer-partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .partner-item {
    min-height: 95px;
    padding: 12px 10px;
    font-size: 0.9rem;
  }

  .footer-partners-grid .partner-item {
    min-height: 90px;
    padding: 10px 8px;
  }

  .footer-partners-grid .partner-item span {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }

  .site-footer {
    padding-top: 28px;
  }

  .footer-top,
  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .featured-video-link img {
    height: 220px;
  }

  .primary-btn {
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .top-bar-inner {
    align-items: center;
  }

  .top-contact {
    justify-content: center;
    text-align: center;
  }

  .top-contact > div {
    white-space: normal;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    width: 150px;
  }

  .main-nav {
    gap: 6px 8px;
  }

  .main-nav a {
    font-size: 0.56rem;
    letter-spacing: 0.05em;
  }

  .hero {
    min-height: 412px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero .lead {
    font-size: 0.96rem;
  }

  .settings-row,
  .donation-actions,
  .footer-top,
  .footer-bottom,
  .partners-grid,
  .footer-partners-grid {
    grid-template-columns: 1fr;
  }

  .footer-partners-grid .partner-item {
    min-height: 80px;
  }

  .footer-partners-grid .partner-item span {
    font-size: 0.58rem;
    letter-spacing: 0.05em;
  }

  .podcast-grid {
    grid-template-columns: 1fr;
  }

  .donation-methods {
    padding: 20px 16px;
  }

  .featured-video-link img {
    height: 190px;
  }

  .founder-card img {
    height: 240px;
  }

  .carousel-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .floating-donate {
    right: 16px;
    bottom: 16px;
    padding: 12px 16px;
    font-size: 0.72rem;
  }

  /* Mobile-only floating WhatsApp button positioned near donate */
  .floating-whatsapp {
    position: fixed;
    right: 120px;
    bottom: 20px;
    z-index: 60;
    background: #25d366;
    color: #fff;
    padding: 12px 14px;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(37,211,102,0.12);
    display: none;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    text-decoration: none;
  }

  .floating-whatsapp i { font-size: 1rem }
}

.primary-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.primary-btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -25%;
  bottom: -25%;
  left: -45%;
  width: 35%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  transform: translateX(-160%);
  transition: transform var(--gt-dur) var(--gt-ease);
  pointer-events: none;
}

.secondary-btn {
  transition: transform var(--gt-dur-fast) var(--gt-ease);
}

.gt-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--gt-dur-slow) var(--gt-ease) var(--gt-delay, 0ms),
    transform var(--gt-dur-slow) var(--gt-ease) var(--gt-delay, 0ms);
}

:is(.service-card, .mission-card, .contact-card, .info-card, .project-card, .project-spotlight, .activity-card, .podcast-item, .gallery-item, .article-card, .founder-card, .stat-box) {
  position: relative;
  transition: transform var(--gt-dur) var(--gt-ease);
}

:is(.service-card, .mission-card, .contact-card, .info-card, .project-card, .project-spotlight, .activity-card, .podcast-item, .gallery-item, .article-card, .founder-card, .stat-box)::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gt-lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--gt-dur) var(--gt-ease);
  pointer-events: none;
}

.thematic-card,
.detail-card {
  overflow: hidden;
}

.project-spotlight > a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
}

:is(.thematic-card, .detail-card, .project-card, .gallery-item, .podcast-item, .founder-card)::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity var(--gt-dur-fast) var(--gt-ease);
  pointer-events: none;
}

.thematic-card::after { height: 230px; }
.detail-card::after { aspect-ratio: 16 / 9; }
.project-card::after { height: 260px; }
.gallery-item::after { height: 300px; }
.podcast-item::after { height: 220px; }
.founder-card::after { height: 290px; }

.project-spotlight > a::after,
.activity-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity var(--gt-dur-fast) var(--gt-ease);
  pointer-events: none;
}

.activity-image {
  position: relative;
  overflow: hidden;
}

:is(.thematic-image, .detail-image, .project-card img, .project-spotlight img, .gallery-item img, .podcast-item img, .founder-card img, .activity-image) {
  transition: transform var(--gt-dur-media) var(--gt-ease);
}

:is(.primary-link, .activity-link, .footer-cta, .footer-links a, .footer-contact-email a, .footer-callout a, .content-section p a, .article-card h2 a) {
  position: relative;
}

:is(.primary-link, .activity-link, .footer-cta, .footer-links a, .footer-contact-email a, .footer-callout a, .content-section p a, .article-card h2 a)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--gt-dur-fast) var(--gt-ease);
  pointer-events: none;
}

:is(.main-nav a, .mobile-nav a, .dropdown-menu a, .primary-btn, .secondary-btn, .top-donate, .whatsapp-header-button, .mobile-menu-toggle, .mobile-drawer-close, .mobile-whatsapp-link, .carousel-arrow, .floating-donate, .service-card a, .project-card a, .project-spotlight a, .podcast-item, .activity-link, .primary-link, .gallery-item a, .founder-linkedin, .footer-links a, .footer-cta, .footer-contact-email a, .footer-callout a, .bottom-socials a, .socials a, .newsletter-form button, .contact-form button, .field-group input, .field-group textarea):focus-visible {
  outline: 2px solid var(--gt-lime);
  outline-offset: 3px;
}

.main-nav a:focus-visible::after,
.nav-dropdown .dropdown-toggle.active::after {
  transform: scaleX(1);
}

.field-group input:focus,
.field-group textarea:focus {
  outline: 2px solid var(--gt-lime);
  outline-offset: 3px;
}

.contact-card:focus-within {
  outline: 2px solid var(--gt-lime);
  outline-offset: 3px;
}

.activity-card:focus-visible {
  outline: 2px solid var(--gt-lime);
  outline-offset: 3px;
}

.activity-link i,
.primary-link i {
  transition: transform var(--gt-dur-fast) var(--gt-ease);
}

@media (hover: hover) and (pointer: fine) {
  .primary-btn:hover,
  .primary-btn:focus-visible {
    filter: brightness(0.95);
  }

  .primary-btn:hover::before,
  .primary-btn:focus-visible::before {
    transform: translateX(480%);
  }

  .secondary-btn:hover,
  .secondary-btn:focus-visible {
    transform: translateY(-1px);
    background: #fff;
    color: var(--dark-green);
  }

  .primary-btn:active,
  .secondary-btn:active {
    transform: translateY(-1px);
  }

  :is(.service-card, .mission-card, .contact-card, .info-card, .project-card, .project-spotlight, .activity-card, .podcast-item, .gallery-item, .article-card, .founder-card, .stat-box):hover,
  :is(.service-card, .mission-card, .contact-card, .info-card, .project-card, .project-spotlight, .activity-card, .podcast-item, .gallery-item, .article-card, .founder-card, .stat-box):focus-within {
    transform: translateY(calc(var(--gt-lift) - 2px));
    box-shadow: 0 22px 42px rgba(18, 42, 35, 0.12);
  }

  :is(.service-card, .mission-card, .contact-card, .info-card, .project-card, .project-spotlight, .activity-card, .podcast-item, .gallery-item, .article-card, .founder-card, .stat-box):hover::before,
  :is(.service-card, .mission-card, .contact-card, .info-card, .project-card, .project-spotlight, .activity-card, .podcast-item, .gallery-item, .article-card, .founder-card, .stat-box):focus-within::before {
    transform: scaleX(1);
  }

  :is(.thematic-card, .detail-card, .project-card, .gallery-item, .podcast-item, .founder-card):hover::after,
  :is(.thematic-card, .detail-card, .project-card, .gallery-item, .podcast-item, .founder-card):focus-within::after,
  .project-spotlight > a:hover::after,
  .project-spotlight > a:focus-visible::after,
  .activity-card:hover .activity-image::after,
  .activity-card:focus-within .activity-image::after {
    opacity: 1;
  }

  :is(.thematic-card, .detail-card, .project-card, .gallery-item, .podcast-item, .founder-card):hover :is(img),
  :is(.thematic-card, .detail-card, .project-card, .gallery-item, .podcast-item, .founder-card):focus-within :is(img),
  .project-spotlight > a:hover img,
  .project-spotlight > a:focus-visible img,
  .activity-card:hover .activity-image,
  .activity-card:focus-within .activity-image {
    transform: scale(1.04);
  }

  :is(.primary-link, .activity-link, .footer-cta, .footer-links a, .footer-contact-email a, .footer-callout a, .content-section p a, .article-card h2 a):hover::after,
  :is(.primary-link, .activity-link, .footer-cta, .footer-links a, .footer-contact-email a, .footer-callout a, .content-section p a, .article-card h2 a):focus-visible::after {
    transform: scaleX(1);
  }

  .activity-card:hover .activity-link i,
  .activity-card:focus-within .activity-link i,
  .primary-link:hover i,
  .primary-link:focus-visible i {
    transform: translateX(4px);
  }
}

@media (max-width: 760px) {
  .mobile-nav a { --gt-delay: 0ms; }
  .mobile-nav a:nth-child(2) { --gt-delay: 30ms; }
  .mobile-nav a:nth-child(3) { --gt-delay: 60ms; }
  .mobile-nav a:nth-child(4) { --gt-delay: 90ms; }
  .mobile-nav a:nth-child(5) { --gt-delay: 120ms; }
  .mobile-nav a:nth-child(6) { --gt-delay: 150ms; }
  .mobile-nav a:nth-child(7) { --gt-delay: 180ms; }

  .mobile-drawer.open .mobile-nav a {
    animation: gt-menu-link-in var(--gt-dur-fast) var(--gt-ease) both;
    animation-delay: var(--gt-delay);
  }
}

@keyframes gt-menu-link-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html,
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-name: none !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    transform: none !important;
  }
}

.primary-btn:focus-visible {
  transform: translateY(-3px);
  filter: brightness(0.95);
}

.primary-btn:focus-visible::before {
  transform: translateX(480%);
}

.secondary-btn:focus-visible {
  transform: translateY(-1px);
  background: #fff;
  color: var(--dark-green);
}

:is(.service-card, .mission-card, .contact-card, .info-card, .project-card, .project-spotlight, .activity-card, .podcast-item, .gallery-item, .article-card, .founder-card, .stat-box):focus-within {
  transform: translateY(calc(var(--gt-lift) - 2px));
  box-shadow: 0 22px 42px rgba(18, 42, 35, 0.12);
}

:is(.service-card, .mission-card, .contact-card, .info-card, .project-card, .project-spotlight, .activity-card, .podcast-item, .gallery-item, .article-card, .founder-card, .stat-box):focus-within::before {
  transform: scaleX(1);
}

:is(.thematic-card, .detail-card, .project-card, .gallery-item, .podcast-item, .founder-card):focus-within::after,
.activity-card:focus-within .activity-image::after {
  opacity: 1;
}

:is(.thematic-card, .detail-card, .project-card, .gallery-item, .podcast-item, .founder-card):focus-within img,
.project-spotlight > a:focus-visible img,
.activity-card:focus-within .activity-image {
  transform: scale(1.04);
}

:is(.primary-link, .activity-link, .footer-cta, .footer-links a, .footer-contact-email a, .footer-callout a, .content-section p a, .article-card h2 a):focus-visible::after {
  transform: scaleX(1);
}

.activity-card:focus-within .activity-link i,
.primary-link:focus-visible i {
  transform: translateX(4px);
}

:is(.socials a, .top-donate, .whatsapp-pill, .whatsapp-header-button, .bottom-socials a, .floating-donate, .partner-link-item, .partner-logo):focus-visible {
  transform: translateY(-2px);
}

.dropdown-menu a:focus-visible {
  background: #f4f2ee;
}

.footer-links a:focus-visible,
.footer-contact-email a:focus-visible,
.footer-callout a:focus-visible {
  color: #fff;
}


