/* Reset + Base Styles */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

main {
  margin-top: 80px; /* adjust depending on header height */
}
.container {
  max-width: 1000px;
  margin: 0 auto;
}

.main-header {
  background-color: white;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
/* Top green bar */
.top-bar {
  background-color: #02d302; 
  padding: 12px 0;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.email-link a {
  color: black;
  font-size: 14px;
  text-decoration: none;
}

.email-link i {
  margin-right: 6px;
}

.email-link a:hover {
  color: #d4f7d4; /* lighter hover */
}
.social-links {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.social-links a {
  color: black;
  font-size: 16px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #d4f7d4; /* lighter green hover */
}

@media (max-width: 768px) {
  .top-bar-content {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

/* Nav wrapper below */
.nav-wrapper {
  background: #fff; 
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  border-bottom: 1px solid #ddd;
  position: relative;
}

body {
  padding-top: 80px; /* prevents content from hiding under fixed header */
}

.logo {
  height: 60px;
  flex-shrink: 0;
}

/* Desktop view */
.nav ul {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

/* Hover underline effect */
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background-color: #228b22; /* leaf green */
  transition: width 0.3s ease;
}

.nav a:hover {
  color: #228b22;
}

.nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 30px;
  background: none;
  border: none;
  color: #228b22; /* green to match brand */
  cursor: pointer;
}

/* Mobile view */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

 .nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background-color: #0e7162;
  }

  .nav.active {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
  }

  .nav ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .nav a {
    display: block;
    padding: 12px 20px;
    color: white;
  }

  .nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #d4f7d4;
  }

  .nav a::after {
    display: none; /* disable underline effect on mobile */
  }
}
.nav a.active {
  color: #228b22; /* leaf green */
  font-weight: 600;
  position: relative;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background-color: #228b22;
}
.hero {
  padding: 80px 20px;
  background-color: #f9f9f9;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap; /* makes it responsive */
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #228b22; /* leaf green */
}

.hero-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #333;
}

.hero-video {
  position: relative;
  flex: 1;
  max-width: 600px;
}

.hero-video video {
  width: 100%;
  border-radius: 8px;
  display: block;
}

/* Mute/Unmute button */
.mute-toggle {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.mute-toggle:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Mobile view */
@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    margin-bottom: 20px;
  }

  .hero-video iframe {
    height: 250px;
  }
}

.btn {
  background-color: #30d138;
  color: black;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.mission {
  background-color: white;
  padding: 60px 20px;
  text-align: center;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #0e7162;
  color: white;
  padding: 10px;
  z-index: 100;
}

.skip-link:focus {
  left: 10px;
}
/* Intro section styling */
.intro {
  background-color: white;
  padding: 60px 20px;
  text-align: left;
  color: #222;
}

.intro h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0e7162;
}

.intro h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 30px 0 10px;
  color: #0e7162;
}

.intro p {
  font-size: 1.1rem;
  line-height: 1.9;
  font-weight: 500;
  margin-bottom: 20px;
}

.intro ul {
  padding-left: 20px;
  list-style-type: disc;
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 500;
}

.intro .btn {
  margin-top: 30px;
}

html {
  scroll-padding-top: 140px; /* height of header (green bar + nav) */
}
/* Board Members Section */
.board-members {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.member-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.member-card:hover {
  transform: translateY(-5px);
}

.member-photo {
  height: auto; /* Let the image dictate height */
  aspect-ratio: 3/4; /* Optional: Forces a portrait ratio (width:height) */
}

.member-photo img {
  width: 100%;
  height: auto; /* Natural height */
  display: block; /* Removes extra space below image */
}

.member-info {
  padding: 20px;
}

.member-info h4 {
  font-size: 1.2rem;
  color: #0e7162;
  margin-bottom: 5px;
}

.member-position {
  display: block;
  font-weight: 600;
  color: #555;
  margin-bottom: 15px;
}

.member-contact {
  margin-top: 15px;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.member-contact a {
  color: #0e7162;
  margin-right: 12px;
  font-size: 1.1rem;
  transition: opacity 0.3s;
}

.member-contact a:hover {
  opacity: 0.8;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .board-members {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
}

.footer {
  background-color: #0e7162;
  color: white;
  padding: 40px 20px 20px;
}

.footer a {
  color: #c6ffc1;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.footer-column {
  flex: 1 1 250px;
}

.footer-column h3 {
  margin-bottom: 15px;
  font-size: 1.1rem;
  border-bottom: 1px solid #8be98c;
  padding-bottom: 5px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  font-size: 0.9rem;
}
