/* RESET */
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* HERO */
header {
  background: #2e8b57;
  color: white;
  text-align: center;
  padding: 40px 20px;
}

header a {
  display: inline-block;
  margin: 10px;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

header a:first-child {
  background: white;
  color: #2e8b57;
}

header a:last-child {
  border: 2px solid white;
  color: white;
}

/* SECTIONS */
section {
  padding: 60px 20px;
}

#programs {
  background: #f4f4f4;
  text-align: center;
}

#programs h3 {
  color: #2e8b57;
}

/* DONATE */
#donate {
  background: #2e8b57;
  color: white;
  text-align: center;
}

#donate a {
  background: white;
  color: #2e8b57;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

/* FOOTER */
footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 30px;
}

/* HERO SLIDER */
.hero {
  position: relative;
  height: 50vh;
  overflow: hidden;
}

.slides {
  position: absolute;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  text-align: center;
  padding: 30px 20px;
}

.hero-content a {
  display: inline-block;
  margin: 10px;
  padding: 12px 25px;
  background: white;
  color: #2e8b57;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

/* SLIDER ARROWS */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 30px;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 3;
}

.arrow.prev {
  left: 20px;
}

.arrow.next {
  right: 20px;
}

.arrow:hover {
  background: rgba(0,0,0,0.8);
}

/* DOTS */
.dots {
  position: absolute;
  bottom: 30px;
  width: 100%;
  text-align: center;
  z-index: 3;
}

.dot {
  display: inline-block;
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: white;
}

/* ABOUT US SECTION */
.about-us {
  padding: 50px 20px;
  background-color: #f5f5f5; /* light background */
  text-align: center;
}

.about-us h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #333;
}

.about-us p {
  font-size: 18px;
  color: #555;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.vision-mission {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.vision, .mission {
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  max-width: 350px;
}

.vision h3, .mission h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #74665d; /* accent color */
}

.vision p, .mission p {
  font-size: 16px;
  color: #555;
  line-height: 1.5;
}

/* Hover effect for cards */
.vision, .mission {
  transition: transform 0.3s, box-shadow 0.3s;
}

.vision:hover, .mission:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* NAVIGATION MENU */
.navbar {
  background-color: #74665d; /* main color */
  padding: 5px 20px;
  position: sticky; /* menu stays on top when scrolling */
  top: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar .logo a {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
}

.navbar .nav-links {
  list-style: none;
  display: flex; /* horizontal layout */
  gap: 30px;    /* space between links */
}

.navbar .nav-links li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.navbar .nav-links li a:hover {
  color: #ffcc00; /* hover highlight */
}

/* Mobile Hamburger Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: #fff;
  border-radius: 2px;
}

/* Responsive Mobile Menu */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: -100%;
    background-color: #74665d;
    flex-direction: column;
    width: 200px;
    transition: right 0.3s;
    border-radius: 0 0 10px 10px;
  }

  .nav-links.active {
    right: 0;
  }

  .menu-toggle {
    display: flex;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* REMOVE GAP BETWEEN ABOUT US AND SLIDER */
.about-us {
  padding-bottom: 10;
}

.about-us p {
  margin-bottom: 0;
}

.hero {
  margin-top: 0;
}

/* REMOVE SPACE BETWEEN HERO SLIDER AND ABOUT US */
.about-us {
  padding-top: 0;
}

/* Remove space between EDUCATION and Program Focus */
.education h2 {
  margin-bottom: 0;
}

.education h3,
.education .program-focus {
  margin-top: 5px; /* or 0 if you want them tight */
}

/* EDUCATION spacing fix */
#programs h3 {
  margin-bottom: 4px;
}

#programs .program-focus {
  margin-top: 0;
  margin-bottom: 8px;
  font-weight: bold;
}

#programs ul {
  margin-top: 0;
  padding-left: 20px;
}

#programs .program-list {
  list-style-position: inside;
  padding-left: 0;
  margin: 0 auto;
  max-width: 700px;
}

#programs .program-list li {
  text-align: center;
}



