:root {
  --green-dark: #003f2b;
  --green: #007a3d;
  --green-2: #0a9b58;
  --light-green: #9fdc4b;
  --soft-green: #effaf3;
  --gold: #d7a83f;
  --text: #111827;
  --muted: #6b7280;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  --radius: 18px;
}

/* ========================================= */
/* GLOBAL */
/* ========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: #fff;
  color: #111;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1250px;
  margin: auto;
}

a {
  text-decoration: none;
}

img {
  width: 100%;
  display: block;
}

/* ========================================= */
/* TOPBAR */
/* ========================================= */

.topbar {
  background: var(--green-dark);
  color: #eafff2;
  font-size: 13px;
}

.topbar .container {
  min-height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 8px 0;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar span {
  opacity: 0.95;
  white-space: nowrap;
}

.topbar a {
  color: #fff;
}

/* ========================================= */
/* NAVBAR */
/* ========================================= */

nav {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-inner {
  max-width: 1250px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 85px;
  gap: 30px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-circle {
  width: 65px;
  height: 65px;
  border-radius: 50%;

  background: #f8fffb;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-circle img {
  width: 85%;
  height: 85%;
  object-fit: contain;
}

.logo-text .brand {
  font-size: 24px;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}

.logo-text .sub {
  font-size: 13px;
  color: var(--green-dark);
  font-weight: 700;
  letter-spacing: .2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: #111;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green);
}

.btn-donate-nav {
  background: var(--green-dark);
  color: #fff !important;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  transition: 0.3s;
}

.btn-donate-nav:hover {
  background: var(--green);
  transform: translateY(-2px);
}

/* ========================================= */
/* MOBILE MENU */
/* ========================================= */

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* ========================================= */
/* DROPDOWN */
/* ========================================= */

.dropdown {
  position: relative;
}

.dropdown-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.dropdown-btn i {
  font-size: 10px;
}

.dropdown-menu {
  position: absolute;
  top: 48px;
  left: 0;
  width: 360px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  padding: 18px 0;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 9999;
  max-height: 500px;
  overflow-y: auto;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  top: 42px;
}

.dropdown-menu a {
  display: block;
  padding: 14px 24px;
  font-size: 14px;
  color: #222;
  line-height: 1.5;
  transition: 0.3s;
  border-bottom: 1px solid #f3f3f3;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: #f5fdf8;
  color: #0f9d58;
  padding-left: 30px;
}

.dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background: #0f9d58;
  border-radius: 20px;
}

/* ========================================= */
/* HERO */
/* ========================================= */

.hero-new {
  min-height: 420px;
  background:
    linear-gradient(rgba(0, 50, 30, 0.8), rgba(0, 50, 30, 0.65)),
    url("https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?q=80&w=1400&auto=format&fit=crop")
    center/cover;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero-new h1 {
  font-size: 72px;
  margin-bottom: 18px;
  font-weight: 800;
}

.hero-new p {
  font-size: 18px;
  line-height: 1.9;
  max-width: 650px;
}

/* ========================================= */
/* FILTERS */
/* ========================================= */

.filters {
  padding: 50px 0 30px;
}

.filter-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-buttons button {
  padding: 14px 26px;
  border: none;
  border-radius: 10px;
  background: #f4f4f4;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.filter-buttons button.active,
.filter-buttons button:hover {
  background: #0f9d58;
  color: #fff;
  transform: translateY(-2px);
}

/* ========================================= */
/* GALLERY */
/* ========================================= */

.gallery {
  padding-bottom: 100px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.gallery-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #eee;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  transition: 0.35s;
}

.gallery-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
}

.gallery-card img {
  height: 270px;
  object-fit: cover;
}

.gallery-content {
  padding: 28px;
}

.gallery-content h3 {
  font-size: 25px;
  margin-bottom: 18px;
  line-height: 1.4;
}

.gallery-content a {
  color: #0f9d58;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.gallery-content a:hover {
  gap: 14px;
}

/* ========================================= */
/* MODAL */
/* ========================================= */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 40px;
  z-index: 9999;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #071a12;
  width: 100%;
  max-width: 1050px;
  border-radius: 25px;
  padding: 35px;
  position: relative;
  color: #fff;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 34px;
  cursor: pointer;
  transition: 0.3s;
}

.close-modal:hover {
  color: #8dd63f;
}

.modal h2 {
  font-size: 48px;
  margin-bottom: 10px;
}

.modal p {
  color: #ddd;
  margin-bottom: 30px;
  line-height: 1.8;
}

.carousel {
  position: relative;
}

.carousel img {
  height: 520px;
  object-fit: cover;
  border-radius: 18px;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  height: 58px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #111;
  font-size: 22px;
  transition: 0.3s;
}

.arrow:hover {
  background: #0f9d58;
  color: #fff;
}

.arrow.left {
  left: -25px;
}

.arrow.right {
  right: -25px;
}

.thumbnails {
  display: flex;
  gap: 15px;
  margin-top: 22px;
  overflow-x: auto;
  padding-bottom: 5px;
}

.thumbnails::-webkit-scrollbar {
  height: 6px;
}

.thumbnails::-webkit-scrollbar-thumb {
  background: #0f9d58;
  border-radius: 20px;
}

.thumbnails img {
  width: 120px;
  min-width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: 0.3s;
}

.thumbnails img:hover {
  transform: scale(1.05);
}

.thumbnails img.active {
  border-color: #0f9d58;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 28px;
}

.download-btn {
  background: #0f9d58;
  padding: 15px 26px;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  transition: 0.3s;
}

.download-btn:hover {
  background: #14b96a;
}

/* ========================================= */
/* IMPACT */
/* ========================================= */

.impact {
  background:
    linear-gradient(rgba(0, 55, 33, 0.88), rgba(0, 55, 33, 0.88)),
    url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?q=80&w=1400&auto=format&fit=crop")
    center/cover;
  padding: 80px 0;
  color: #fff;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  text-align: center;
  gap: 30px;
}

.impact-item i {
  color: #8dd63f;
  font-size: 44px;
  margin-bottom: 20px;
}

.impact-item h2 {
  font-size: 52px;
  margin-bottom: 10px;
}

.impact-item p {
  font-size: 16px;
}

/* ========================================= */
/* FOOTER */
/* ========================================= */

footer {
  background: #003522;
  color: white;
}

.footer-main {
  padding: 60px 0;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.4fr 1.35fr;
  gap: 36px;
}

.footer-col h4 {
  margin-bottom: 15px;
  font-size: 17px;
}

.footer-col p,
.footer-col li {
  color: #cceada;
  font-size: 13px;
  list-style: none;
  margin-bottom: 10px;
  line-height: 1.8;
}

.socials {
  display: flex;
  gap: 10px;
  margin: 16px 0 18px;
}

.socials span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0a7f4b;
  display: grid;
  place-items: center;
}

.socials a {
  color: #fff;
}

.whatsapp {
  display: inline-flex;
  background: #09a65a;
  color: white;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.copyright {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 18px 0;
  color: #cceada;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

/* ========================================= */
/* RESPONSIVE */
/* ========================================= */

@media (max-width: 1200px) {

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .impact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 85px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
    display: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }

  .nav-links.active {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    display: none;
    margin-top: 10px;
    box-shadow: none;
    border: 1px solid #eee;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-new h1 {
    font-size: 56px;
  }

  .carousel img {
    height: 420px;
  }

  .arrow.left {
    left: 10px;
  }

  .arrow.right {
    right: 10px;
  }
}

@media (max-width: 768px) {

  .topbar .container {
    justify-content: center;
    text-align: center;
  }

  .topbar-left,
  .topbar-right {
    justify-content: center;
  }

  .hero-new {
    min-height: 500px;
    text-align: center;
  }

  .hero-new h1 {
    font-size: 44px;
  }

  .hero-new p {
    font-size: 16px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .copyright {
    flex-direction: column;
    text-align: center;
  }

  .modal {
    padding: 15px;
  }

  .modal-content {
    padding: 24px;
  }

  .modal h2 {
    font-size: 34px;
  }

  .carousel img {
    height: 300px;
  }

  .thumbnails img {
    width: 90px;
    min-width: 90px;
    height: 70px;
  }
}

@media (max-width: 480px) {

  .hero-new h1 {
    font-size: 36px;
  }

  .logo-text .brand {
    font-size: 18px;
  }

  .logo-text .sub {
    font-size: 11px;
  }

  .nav-inner {
    padding: 0 16px;
  }

  .gallery-content {
    padding: 22px;
  }

  .gallery-content h3 {
    font-size: 22px;
  }

  .modal h2 {
    font-size: 28px;
  }

  .carousel img {
    height: 240px;
  }

  .arrow {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}