:root {
  --primary-green: rgb(0,168,89);
  --secondary-orange: rgb(255,102,0);
  --text-dark: #333333;
  --bg-light: #f9f9f9;
  --light-bg: #f8f9fa;
  --nav-height: 80px;
  --transition-speed: 0.3s;
}

body {
  font-family: 'Merriweather', serif;
  background: var(--bg-light);
  color: var(--text-dark);
}

header#navigationBar {
  position: sticky;
  top: 0;
  width: 100vw;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.10);
  border-bottom: 1.5px solid rgba(0,0,0,0.04);
  border-radius: 0 0 18px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0;
  transition: background 0.4s cubic-bezier(.4,0,.2,1), box-shadow 0.4s cubic-bezier(.4,0,.2,1);
}
.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-right: 2rem;
}
.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--primary-green);
  background: #fff;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.logo-text-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-green);
  letter-spacing: 1px;
}
.logo-caption {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  opacity: 0.7;
  letter-spacing: 1px;
}
nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  position: relative;
}
nav ul {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
nav ul li {
  position: relative;
}
nav ul li a {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  background: transparent;
  transition: color 0.3s, background 0.3s, box-shadow 0.3s, transform 0.3s;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}
nav ul li a::before {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--secondary-orange));
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}
nav ul li a:hover, nav ul li a:focus {
  color: var(--primary-green);
  background: rgba(0,168,89,0.07);
  box-shadow: 0 2px 12px 0 rgba(0,168,89,0.07);
  transform: translateY(-2px) scale(1.04);
}
nav ul li a:hover::before, nav ul li a:focus::before {
  transform: scaleX(1);
}
nav ul li a.donate {
  background: linear-gradient(90deg, var(--primary-green), var(--secondary-orange));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 12px 0 rgba(0,168,89,0.10);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
}
nav ul li a.donate:hover, nav ul li a.donate:focus {
  background: linear-gradient(90deg, var(--secondary-orange), var(--primary-green));
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(255,102,0,0.13);
  transform: scale(1.06);
}

.program-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 5rem 2rem 4rem 2rem;
  min-height: 60vh;
  background: var(--bg-light);
  border-radius: 2rem;
  box-shadow: 0 4px 24px rgba(0,168,89,0.07), 0 1.5px 6px rgba(0,0,0,0.04);
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}
.program-section:nth-child(even) {
  flex-direction: row-reverse;
  background: #fff;
  box-shadow: 0 8px 32px rgba(255,102,0,0.07), 0 1.5px 8px rgba(0,0,0,0.06);
}
.program-img {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.program-img > img {
  width: 100%;
  max-width: 340px;
  height: 220px;
  object-fit: cover;
  border-radius: 1.2rem;
  box-shadow: 0 4px 18px rgba(0,168,89,0.10);
  margin-bottom: 0.7rem;
}
.program-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 1.2rem;
}
.program-image-grid img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,168,89,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.program-image-grid img:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(0,168,89,0.16);
}
.program-content {
  flex: 1 1 55%;
  padding: 2.5rem 2rem;
  background: rgba(255,255,255,0.97);
  border-radius: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,168,89,0.06);
  animation: fadeInUp 1s;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.program-content h2 {
  color: var(--primary-green);
  font-size: 2.3rem;
  margin-bottom: 1.2rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0,168,89,0.07);
}
.program-content p {
  font-size: 1.18rem;
  line-height: 1.8;
  margin-bottom: 0.7rem;
  color: var(--text-dark);
  opacity: 0.93;
}
@media (max-width: 900px) {
  .program-section {
    flex-direction: column !important;
    gap: 2rem;
    padding: 2.5rem 0.5rem;
  }
  .program-img > img {
    max-width: 98vw;
    height: 160px;
  }
  .program-image-grid img {
    height: 70px;
  }
  .program-content {
    max-width: 98vw;
    padding: 1.5rem 0.7rem;
  }
}
@media (max-width: 600px) {
  .program-section {
    padding: 1.2rem 0.2rem;
    border-radius: 1rem;
  }
  .program-img > img {
    height: 180px;
    max-width: 100vw;
    width: 100vw;
    border-radius: 0.7rem;
  }
  .program-image-grid {
    grid-template-columns: 1fr;
  }
  .program-image-grid img {
    height: 130px;
    max-width: 100vw;
    width: 100vw;
  }
  .program-content h2 {
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
  }
  .program-content {
    padding: 1rem 0.2rem;
    border-radius: 0.7rem;
  }
}

/* Footer Styles */
footer {
  background: linear-gradient(135deg, var(--primary-green) 60%, #004d2a 100%);
  color: white;
  padding: 4rem 0 0;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 -8px 32px 0 rgba(0,168,89,0.10);
  border-top-left-radius: 2.5rem;
  border-top-right-radius: 2.5rem;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.08' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.07);
  border-radius: 1.5rem 1.5rem 0 0;
  box-shadow: 0 2px 12px rgba(0,168,89,0.06);
}
.footer-logo-section {
  flex: 0 0 170px;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}
.footer-logo {
  width: 170px;
  height: auto;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
  border-radius: 1.2rem;
  box-shadow: 0 2px 8px rgba(0,168,89,0.10);
}
.footer-logo:hover {
  transform: scale(1.07) rotate(-2deg);
}
.footer-tagline {
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.5px;
}
.footer-links, .footer-contact {
  flex: 1 1 180px;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}
.footer-links h3, .footer-contact h3 {
  font-size: 1.18rem;
  margin-bottom: 0.7rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0,168,89,0.10);
}
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links ul li a {
  color: rgba(255,255,255,0.93);
  text-decoration: none;
  transition: color 0.3s, transform 0.2s;
  font-size: 1rem;
  border-radius: 6px;
  padding: 0.2rem 0.4rem;
}
.footer-links ul li a:hover {
  color: var(--secondary-orange);
  background: rgba(255,255,255,0.10);
  transform: translateX(5px) scale(1.04);
}
.footer-newsletter {
  flex: 0 1 370px;
  max-width: 370px;
  margin: 0 auto 0 auto;
  align-self: center;
  justify-self: center;
  background: rgba(255,255,255,0.13);
  border-radius: 1.1rem;
  padding: 1.3rem 1.2rem 1.1rem 1.2rem;
  box-shadow: 0 2px 12px rgba(0,168,89,0.10);
  border: 1.5px solid var(--primary-green);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-newsletter h4, .footer-newsletter p {
  color: #fff;
  font-weight: bold;
}
.footer-newsletter:before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(120deg, var(--primary-green) 0%, var(--secondary-orange) 100%);
  opacity: 0.08;
  z-index: 0;
}
.footer-newsletter h3 {
  color: var(--primary-green);
  font-size: 1.18rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
}
.footer-newsletter p {
  color: var(--text-dark);
  opacity: 0.85;
  margin-bottom: 0.7rem;
  position: relative;
  z-index: 1;
}
.newsletter-form {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.2rem;
  position: relative;
  z-index: 1;
}
.newsletter-form input[type="email"] {
  flex: 1 1 60%;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1.5px solid var(--primary-green);
  font-size: 1rem;
  outline: none;
  background: #fff;
  color: var(--text-dark);
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(0,168,89,0.07);
}
.newsletter-form input[type="email"]:focus {
  border: 1.5px solid var(--secondary-orange);
  box-shadow: 0 2px 8px rgba(255,102,0,0.10);
}
.newsletter-form button {
  background: linear-gradient(90deg, var(--primary-green), var(--secondary-orange));
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(0,168,89,0.10);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.newsletter-form button:hover {
  background: linear-gradient(90deg, var(--secondary-orange), var(--primary-green));
  transform: scale(1.06);
}
.footer-contact p {
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.93);
}
.footer-social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 0.7rem;
}
.footer-social-icons a {
  color: #fff;
  font-size: 1.3rem;
  transition: color 0.2s;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-social-icons a:hover {
  color: var(--secondary-orange);
  background: rgba(255,255,255,0.18);
}
.footer-bottom {
  grid-column: 1/-1;
  text-align: center;
  color: #b6e2c6;
  font-size: 1rem;
  margin-top: 2.5rem;
  letter-spacing: 0.5px;
  opacity: 0.93;
}
@media (max-width: 900px) {
  .footer-container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: flex-start;
  }
  .footer-newsletter {
    flex: 1 1 100%;
    max-width: 100%;
    margin: 1.2rem auto 0 auto;
    align-self: center;
  }
}
@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 0 0.7rem;
  }
  .footer-logo-section, .footer-links, .footer-newsletter, .footer-contact {
    align-items: flex-start;
    text-align: left;
    width: 100%;
    min-width: 0;
  }
  .footer-newsletter {
    max-width: 100%;
    padding: 0.8rem 0.5rem 0.7rem 0.5rem;
    margin: 0.7rem auto 0 auto;
  }
  .newsletter-form {
    flex-direction: column;
    gap: 0.5rem;
  }
  .newsletter-form input[type="email"] {
    width: 100%;
    font-size: 0.98rem;
  }
  .newsletter-form button {
    width: 100%;
    font-size: 0.98rem;
  }
}

/* --- Navigation Dropdowns --- */
nav ul li.has-dropdown {
  position: relative;
}
nav ul li .dropdown {
  display: none;
  position: absolute;
  top: 110%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: rgba(255,255,255,0.98);
  border-radius: 14px;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.10);
  padding: 0.7rem 0;
  z-index: 100;
  border: 1px solid rgba(0,168,89,0.07);
  flex-direction: column;
  gap: 0;
}
nav ul li.has-dropdown:hover > .dropdown,
nav ul li.has-dropdown:focus-within > .dropdown,
nav ul li.has-dropdown.open > .dropdown {
  display: flex;
}
nav ul li .dropdown li a {
  display: block;
  padding: 0.7rem 1.5rem;
  color: var(--text-dark);
  border-radius: 6px;
  background: transparent;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.25s, color 0.25s, padding 0.25s;
}
nav ul li .dropdown li a:hover, nav ul li .dropdown li a:focus {
  background: var(--primary-green);
  color: #fff;
  padding-left: 2.2rem;
}

/* Mobile Nav Dropdowns */
@media (max-width: 900px) {
  nav ul {
    flex-direction: column;
    gap: 0.5rem;
    background: rgba(255,255,255,0.98);
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100vw;
    height: calc(100vh - var(--nav-height));
    z-index: 2000;
    padding: 2rem 0 0 0;
    box-shadow: 0 8px 32px 0 rgba(31,38,135,0.10);
    border-radius: 0 0 18px 18px;
    transform: translateY(-120%);
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
  }
  nav ul.open {
    transform: translateY(0);
  }
  nav ul li .dropdown {
    position: static;
    transform: none;
    min-width: 100%;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
    display: none;
  }
  nav ul li.has-dropdown.open > .dropdown {
    display: flex;
  }
  nav ul li .dropdown li a {
    padding: 0.7rem 2rem;
    font-size: 1.05rem;
  }
}

.programs-topbar {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2.2rem 0.7rem 1.2rem;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 4px 18px 0 rgba(0,168,89,0.07);
  position: sticky;
  top: 0;
  z-index: 1001;
  gap: 1.2rem;
}
.programs-social-center {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.programs-social-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,168,89,0.07);
  border-radius: 2rem;
  padding: 0.2rem 0.7rem;
  box-shadow: 0 2px 8px rgba(0,168,89,0.07);
}
.programs-social-icons .social-icon {
  color: var(--primary-green);
  font-size: 1.18rem;
  background: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  box-shadow: 0 1px 4px rgba(0,168,89,0.08);
}
.programs-social-icons .social-icon:hover {
  background: var(--primary-green);
  color: #fff;
  transform: scale(1.13);
}
.donate-btn-topbar {
  margin-left: 1.1rem;
  background: linear-gradient(90deg, var(--primary-green), var(--secondary-orange));
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1.3rem;
  box-shadow: 0 2px 12px 0 rgba(0,168,89,0.10);
  text-decoration: none;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.donate-btn-topbar:hover, .donate-btn-topbar:focus {
  background: linear-gradient(90deg, var(--secondary-orange), var(--primary-green));
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(255,102,0,0.13);
  transform: scale(1.06);
}
@media (max-width: 1300px) {
  .programs-topbar {
    max-width: 100vw;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}
@media (max-width: 900px) {
  .programs-topbar {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.7rem 0.7rem 0.5rem 0.5rem;
  }
}
@media (max-width: 600px) {
  .programs-topbar {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.3rem 0.3rem 0.3rem;
  }
}
/* Scroll to Top Button */
#scrollToTop {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  background: linear-gradient(90deg, var(--primary-green), var(--secondary-orange));
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 2px 8px rgba(255,102,0,0.12);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.2s, background 0.2s;
  z-index: 200;
}
#scrollToTop.visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1.08);
}
#scrollToTop:hover {
  background: linear-gradient(90deg, var(--secondary-orange), var(--primary-green));
  transform: scale(1.13);
}
@media (max-width: 600px) {
  #scrollToTop {
    right: 1rem;
    bottom: 1rem;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

.home-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(90deg, var(--primary-green), var(--secondary-orange));
  color: #fff;
  font-weight: 800;
  font-size: 1.18rem;
  border: none;
  border-radius: 12px;
  padding: 0.7rem 2.1rem;
  box-shadow: 0 4px 18px 0 rgba(0,168,89,0.13);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
  cursor: pointer;
  outline: none;
}
.home-btn:hover, .home-btn:focus {
  background: linear-gradient(90deg, var(--secondary-orange), var(--primary-green));
  color: #fff;
  box-shadow: 0 8px 28px 0 rgba(255,102,0,0.18);
  transform: scale(1.07) translateY(-2px);
}
.home-btn i {
  font-size: 1.2em;
  margin-right: 0.2em;
}
@media (max-width: 600px) {
  .home-btn {
    font-size: 1.01rem;
    padding: 0.5rem 1.1rem;
  }
} 