:root {
  --green-900: #0f4d2c;
  --green-800: #166534;
  --green-700: #1f7a43;
  --green-600: #2f9e57;
  --green-500: #49b96b;
  --green-300: #b9e7c4;
  --green-200: #dff5e5;
  --green-100: #f4fbf6;
  --text-dark: #163020;
  --text-medium: #496154;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(15, 77, 44, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --transition: all 0.28s ease;
  --container: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

.soft-bg {
  background: linear-gradient(180deg, #f8fdf9 0%, #eef9f1 100%);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.section-head.center {
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
}

.section-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--green-200);
  color: var(--green-800);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-tag.light {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

h1,
h2,
h3,
h4 {
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.5rem, 4vw, 4.8rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

p {
  color: var(--text-medium);
}

.lead {
  font-size: 1.08rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: var(--white);
  box-shadow: 0 14px 30px rgba(31, 122, 67, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-outline {
  border: 1px solid rgba(31, 122, 67, 0.2);
  color: var(--green-800);
  background: var(--white);
}

.btn-outline:hover {
  background: var(--green-100);
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--green-800);
  font-weight: 700;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.nav-wrapper {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  padding: 4px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
}

.brand-subtitle {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
}

.site-header.scrolled .brand-title,
.site-header.scrolled .brand-subtitle {
  color: var(--text-dark);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.desktop-nav a {
  color: #1f3d2b;
  font-weight: 500;
  opacity: 0.85;
  transition: all 0.3s ease;
}

.desktop-nav a:hover {
  color: #2e7d4f;
  opacity: 1;
}

.desktop-nav a.active {
  color: #2e7d4f;
  font-weight: 600;
}

/* =========================
   DROPDOWN MENU
========================= */

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 8px 0;
  min-width: 200px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s;
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: #163020;
}

.dropdown-menu a:hover {
  background: #f4fbf6;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-header.scrolled .desktop-nav a {
  color: var(--text-dark);
}

.desktop-nav a.active,
.desktop-nav a:hover {
  color: var(--green-500);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lang-switcher {
  display: flex;
  gap: 8px;
}

.lang-switcher a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
}

.site-header.scrolled .lang-switcher a {
  color: var(--green-900);
  border-color: rgba(31, 122, 67, 0.15);
  background: var(--green-100);
}

.lang-switcher a.active {
  background: var(--green-600);
  color: var(--white);
  border-color: transparent;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 99px;
}

.site-header.scrolled .menu-toggle {
  background: var(--green-100);
}

.site-header.scrolled .menu-toggle span {
  background: var(--green-900);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 45, 25, 0.78) 0%, rgba(10, 45, 25, 0.52) 42%, rgba(10, 45, 25, 0.2) 100%),
    linear-gradient(180deg, rgba(13, 70, 37, 0.2) 0%, rgba(13, 70, 37, 0.46) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  color: var(--white);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #dff5e5;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero p {
  max-width: 700px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 54px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  padding: 22px;
  border-radius: var(--radius-md);
}

.hero-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.hero-card span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.intro-grid,
.impact-grid,
.cta-strip-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.intro-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 460px;
}

.intro-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: rgba(255, 255, 255, 0.94);
  padding: 16px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.floating-badge span {
  display: block;
  font-size: 0.85rem;
  color: var(--green-700);
}

.floating-badge strong {
  color: var(--green-900);
}

.cards-3,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card,
.news-card,
.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--green-100);
  color: var(--green-800);
  font-weight: 800;
}

.impact-text p {
  max-width: 560px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.stat-card {
  text-align: center;
  padding: 34px 18px;
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  color: var(--green-800);
  margin-bottom: 6px;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 24px;
}

.project-card,
.news-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.project-card img,
.news-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.project-card.large img {
  height: 100%;
  min-height: 100%;
}

.project-card.large {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
}

.project-content,
.news-content {
  padding: 24px;
}

.project-label,
.news-date {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--green-700);
  font-size: 0.88rem;
  font-weight: 700;
}

.donation-banner {
  background:
    linear-gradient(135deg, rgba(15, 77, 44, 0.96), rgba(47, 158, 87, 0.9)),
    url("https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?auto=format&fit=crop&w=1200&q=80")
      center/cover;
  color: var(--white);
}

.donation-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.donation-text p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
}

.donation-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.donation-amount {
  min-width: 100px;
  text-align: center;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-weight: 700;
  transition: var(--transition);
}

.donation-amount:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.22);
}

.cta-strip {
  padding: 72px 0;
  background: var(--green-100);
}

.site-footer {
  background: #1c5236;
  color: rgba(255, 255, 255, 0.95);
  padding-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 34px;
}

.footer-logo {
  width: 78px;
  margin-bottom: 14px;
  background: #ffffff;
  border-radius: 50%;
  padding: 4px;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.92);
}

.site-footer h4 {
  color: var(--white);
  margin-bottom: 16px;
}

.site-footer li {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer a:hover {
  color: #c8f5d6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0 26px;
}

@media (max-width: 1100px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding: 0 16px 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  }

  .mobile-menu.show {
    display: flex;
  }

  .mobile-menu a {
    color: var(--text-dark);
    font-weight: 600;
    padding: 10px 0;
  }

  .mobile-donate {
    margin-top: 8px;
  }

  .hero-cards,
  .cards-3,
  .news-grid,
  .project-grid,
  .footer-grid,
  .intro-grid,
  .impact-grid,
  .cta-strip-inner {
    grid-template-columns: 1fr;
  }

  .project-card.large {
    grid-template-columns: 1fr;
  }

  .project-card.large img {
    height: 260px;
  }

  .donation-box,
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .brand-subtitle {
    display: none;
  }

  .lang-switcher {
    display: none;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    padding-top: 120px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .intro-image-card {
    min-height: 320px;
  }

  .site-footer {
    padding-top: 54px;
  }
}
.logo {
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.2);
}

audio {
  width: 100%;
  margin-top: 10px;
}

.intro.section {
  padding-top: 170px;
}
.mobile-menu {
  max-height: calc(100vh - 88px);
  overflow-y: auto;
}

.mobile-group-links {
  display: none;
  padding-left: 16px;
  margin-top: 8px;
}

.mobile-group.open .mobile-group-links {
  display: grid;
  gap: 12px;
}

.mobile-group-title {
  display: block;
  color: var(--green-800);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  padding: 10px 0;
}
@media (max-width: 600px) {
  h1 {
    font-size: clamp(2.1rem, 12vw, 3.2rem);
    line-height: 1.12;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .intro-grid {
    gap: 28px;
  }

  .intro.section {
    padding-top: 130px;
  }
}
@media (max-width: 768px) {

  .brand div {
    display: none;
  }

  .brand::after {
    content: "BBTD";
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
  }

}
