:root {
  --background: #d9d9d9;
  --dark-green: #046a38;
  --accents: #ff8400;
  --white: #ffffff;
}
header {
  position: relative;
  background-color: var(--dark-green);
  color: var(--white);
  padding: 20px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  border-radius: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Logo on top-left corner */
header img.logo {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  height: 110px;
  width: auto;
}

/* Center title and nav vertically */
.header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-center h1 {
  margin: 0 0 10px;
  font-size: 2rem;
}
.container {
  background-color: var(--background);
  overflow: hidden;
  min-height: 100vh; /* keep at least full viewport height */
  display: block; /* remove flex centering */
  width: 100%;
  box-sizing: border-box;
}

body {
  font-family: "Lato", sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: white;
  padding: 20px; /* this creates the white "margin" look */
  box-sizing: border-box;
}
nav ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

nav li a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.25rem 0.5rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}
nav li a.active {
  border-bottom: 2px solid var(--accents); /* underline in accent color */
  color: var(--accents); /* optional: change text color too */
}

nav li a:hover,
nav li a:focus {
  border-bottom: 2px solid var(--accents);
  color: var(--accents);
  outline: none;
}
.featured-section {
  background-color: var(--dark-green);
  color: var(--white);
  width: 90%;
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  text-align: center;
}
.featured-story {
  margin: 40px auto;
  width: 90%;
  max-width: 1000px;
  text-align: center;
}

.featured-story h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--white);
}

.story-card {
  background-color: #fff;
  color: var(--dark-green);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.story-card img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
  object-fit: cover;
}

.story-card h3 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.story-card p {
  line-height: 1.6;
  margin-bottom: 15px;
  color: #333;
}

.read-more {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--accents);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s;
}

.read-more:hover {
  background: #e67300;
}
footer {
  margin-top: 20px;
  padding: 15px 20px;
  background-color: var(--dark-green);
  border-top: 2px solid var(--accents);
  color: var(--white);
  text-align: center;
  border-radius: 0;
}
html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: "Lato", sans-serif;
  background-color: var(--background);
  height: 100%;
}
main {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.about-section {
  margin: 40px auto 20px;
  padding: 20px;
  width: 90%;
  max-width: 800px;
  background-color: var(--dark-green);
  color: var(--white);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  text-align: center;
  font-family: "Lato", sans-serif;
}

.about-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  color: var(--white);
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.team-container {
  width: 100vw; /* Full viewport width */
  max-width: 100%; /* Prevent overflow horizontally */
  overflow: hidden; /* Hide anything outside the container */
  margin: 40px 0; /* Space above and below */
}
.team-container img {
  width: 100%; /* Make image fill the container width */
  height: 533px; /* Fixed height for banner look */
  object-fit: cover; /* Crop to fill without distortion */
  display: block; /* Remove inline gap */
  border-radius: 0; /* No rounded corners */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); /* Optional subtle shadow */
}
.team-section {
  margin: 20px auto;
  width: 90%;
  max-width: 800px;
  background-color: var(--dark-green);
  color: var(--white);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.team-section h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.team-members {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.team-member {
  flex: 1 1 250px;
  background-color: var(--white);
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.team-member h3 {
  margin: 10px 0 8px;
  color: var(--dark-green);
}

.team-member p {
  font-size: 1rem;
  margin: 0;
  color: var(--dark-green);
}
.history-section {
  background-color: var(--dark-green);
  color: var(--white);
  width: 90%;
  max-width: 800px;
  margin: 40px auto;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.history-section h2 {
  margin-bottom: 20px;
  font-size: 2rem;
}

.history-photo {
  width: 80%; /* smaller width */
  max-width: 500px; /* limit max size */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  margin: 0 auto 20px auto; /* center horizontally with bottom margin */
  filter: grayscale(30%); /* optional vintage vibe */
  display: block; /* makes margin auto work horizontally */
}

.history-text {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  color: #ddd;
  font-style: italic;
}
.faq-section {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background-color: var(--dark-green); /* light green */
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-section h2 {
  text-align: center;
  color: var(--white);
  margin-bottom: 30px;
  font-size: 2rem;
}

.faq-item {
  background-color: var(--white);
  border: 2px solid var(--dark-green);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.faq-question {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: var(--dark-green);
}

.faq-answer {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}
@media (max-width: 600px) {
  header {
    padding-left: 20px; /* add some padding for logo space */
  }

  header img.logo {
    position: static; /* remove absolute */
    display: block;
    margin: 0 auto 10px; /* center and add spacing below */
    height: 70px; /* smaller height */
    transform: none; /* reset transform */
  }

  nav ul {
    flex-direction: row; /* horizontal layout */
    overflow-x: auto; /* optional, for horizontal scroll */
    gap: 1rem;
    padding-left: 10px;
    -webkit-overflow-scrolling: touch;
  }
}
.updates-section {
  display: flex;
  flex-direction: column; /* stack cards vertically */
  gap: 30px;
  margin: 40px auto;
  width: 90%;
  max-width: 800px;
  background-color: var(--dark-green); /* dark green like About/FAQ */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.update-card {
  display: flex;
  background-color: var(--white); /* card itself stays white */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.update-card img {
  width: 300px; /* fixed width */
  height: 200px;
  object-fit: cover;
}

.update-content {
  padding: 15px;
  flex: 1;
}

.update-content h3 {
  margin: 0 0 10px;
  color: var(--dark-green);
}

.update-content p {
  margin: 0;
  font-size: 1rem;
  color: #333;
}

.announcement-header {
  display: flex;
  align-items: center; /* vertically center logo with text */
  gap: 10px; /* space between logo and heading */
}

.announcement-logo img {
  width: 30px; /* control size */
  height: auto;
  opacity: 0.7; /* subtle */
}
/* Mobile adjustments */
@media (max-width: 600px) {
  .update-card {
    flex-direction: column;
  }

  .update-card img {
    width: 100%;
    height: auto;
  }
}
@media (max-width: 600px) {
  /* Keep announcement logo small on mobile */
  .update-card .announcement-logo img {
    width: 60px;
    height: 60px;
    margin: 10px auto 0; /* center it a bit */
    display: block;
  }

  /* Stack text below the logo */
  .update-card .announcement-logo {
    justify-content: center;
  }
}
