:root {
  --green: #006400;
  --gold: #FFD700;
  --white: #fff;
  --gray: #f0f0f0;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--gray);
  color: var(--green);
    padding-top: 120px; /* adjust based on your header height */
}

@media (max-width: 768px) {
  body {
    padding-top: 160px; /* adjust for mobile header height */
  }
}

/* Header */
.header {
  background: linear-gradient(to right, var(--green), var(--gold));
  color: var(--white);
  padding: 10px 20px;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  flex-wrap: wrap;
}

.logo-transparent {
  width: 80px;
  height: auto;
  object-fit: contain;
  background: none;
  border: none;
}

.org-name {
  font-size: 1.5em;
  margin: 0;
  text-align: center;
  flex-grow: 1;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* ensures it stays above other content */
  background-color: white; /* or your preferred background */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* optional for visual separation */
}

/* Menu Toggle Buttons */
.menu-toggle,
.menu-close {
  background: none;
  border: none;
  font-size: 2em;
  color: var(--white);
  cursor: pointer;
  display: none;
  position: absolute;
  top: 10px;
  z-index: 1001;
}

.menu-toggle {
  left: 4px;
}

.menu-close {
  right: 25px;
}

/* Navigation */
.nav-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.nav-links a,
.dropdown-toggle,
.dropdown-menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.2);
  transition: background 0.3s;
  font-size: 1em;
  display: inline-block;
}

.nav-links a:hover,
.dropdown-toggle:hover,
.dropdown-menu a:hover {
  background-color: var(--gold);
  color: var(--green);
}

/* Dropdown */
.dropdown {
  position: absolute;
}

.dropdown-toggle {
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.arrow-icon {
  font-size: 1em;
  transition: transform 0.3s ease;
  color: var(--white);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 10;
  padding: 10px 0;
  background-color: rgba(255, 215, 0, 0.2);
  border-radius: 10px;
}

.dropdown-menu.show {
  display: flex;
}

.dropdown-menu a.active {
  background-color: var(--green);
  color: var(--white);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 10px;
    background-color: var(--green);
    padding: 20px;
    border-radius: 10px;
    margin-top: 10px;
  }

  .nav-links.show {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    background-color: rgba(255, 215, 0, 0.2);
    padding: 10px;
    border-radius: 10px;
  }

  .dropdown:hover .dropdown-menu {
    display: none;
  }

  .header-top {
    flex-direction: column;
    align-items: center;
    position: relative;
  }

  .org-name {
    text-align: center;
    margin-top: 10px;
  }
}

/* Hide both icons by default */
.menu-toggle,
.menu-close {
  display: none;
}

/* Show ☰ only when menu is closed */
.menu-toggle.show {
  display: block;
}

/* Show ✖ only when menu is open */
.menu-close.show {
  display: block;
}

/* Slideshow */
.slideshow {
  position: relative;
  width: 100%;
  height: 60vh;
  max-height: 500px;
  overflow: hidden;
}

.slide-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.slide-container.active {
  opacity: 1;
  z-index: 1;
}

.slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shadow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.3));
  pointer-events: none;
  z-index: 2;
}

/* Slide message text — full overlay with left-aligned headline */
.slide-message {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  background-color: rgba(0, 0, 0, 0.5); /* full dark overlay */
  color: var(--white);
  display: flex;
  align-items: center;         /* vertical centering */
  justify-content: flex-start; /* align text to the left */
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
  font-size: 2em;
  font-weight: bold;
  text-align: left;
}

@media (max-width: 768px) {
  .slide-message {
    font-size: 1.2em;
    padding-left: 20px;
    padding-right: 20px;
  }
}

.welcome-section {
  background-color: var(--white);
  padding: 60px 20px;
  text-align: center;
}

.welcome-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Welcome Section */
.welcome-content h2 {
  font-size: 2em;
  color: var(--green);
  margin-bottom: 20px;
}

.welcome-content p {
  font-size: 1.2em;
  line-height: 1.6;
  color: #333;
  margin-bottom: 30px;
}

/* News Section */
.news-section {
  padding: 40px 20px;
  background-color: var(--white);
  text-align: center;
}

.news-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.news-box {
  background-color: var(--gray);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.news-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.news-box p {
  padding: 10px;
  font-size: 0.95em;
}

/* Buttons */
.button-like {
  display: inline-block;
  background-color: var(--green);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 8px 16px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.2s ease, background-color 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.button-like:hover {
  background-color: var(--gold);
  color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0,0,0,0.3);
}

.button-like:active {
  transform: scale(0.95);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* status section */
.stats-section {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
  background-color: var(--gray);
  text-align: center;
}

.stat-box {
  background-color: var(--white);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 180px;
}

.counter {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--green);
  display: block;
  margin-bottom: 10px;
}

/* Footer */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--green);
  color: var(--white);
  padding: 20px;
  flex-wrap: wrap;
}

.social-icons a img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  transition: transform 0.1s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.social-icons a img:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0,0,0,0.3);
}

.social-icons a img:active {
  transform: scale(0.95);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.contact-link .footer-btn {
  background-color: rgba(255,255,255,0.2);
  padding: 8px 16px;
  border-radius: 20px;
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.contact-link .footer-btn:hover {
  background-color: var(--gold);
  color: var(--green);
}

.footer-logo img.logo-transparent {
  width: 80px;
  height: auto;
  object-fit: contain;
  background: none;
  border: none;
}

/* Scroll-to-Top Button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: none;
  z-index: 1000;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.scroll-top img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: transparent;
  border: none;
}

.scroll-top.show {
  display: block;
  opacity: 1;
  transform: scale(1);
}

.scroll-top:hover {
  transform: scale(1.1);
}

/* Responsive Layout */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 10px;
    background-color: var(--green);
    padding: 20px;
    border-radius: 10px;
    margin-top: 10px;
  }

  .nav-links.show {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    background-color: rgba(255, 215, 0, 0.2);
    padding: 10px;
    border-radius: 10px;
  }

  .dropdown:hover .dropdown-menu {
    display: none; /* Disable hover behavior on mobile */
  }

  .header-top {
    flex-direction: column;
    align-items: center;
    position: relative;
  }

  .org-name {
    text-align: center;
    margin-top: 10px;
  }

  .slideshow {
    height: 40vh;
  }

  .news-box img {
    height: auto;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .social-icons {
    margin-bottom: 10px;
  }
}

.nav-links {
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-links.show {
  transform: translateY(0);
  opacity: 1;
}









