/* Global RESET*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BASE */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #2c2c2c;
  background-color: #fafafa;
}

/* HEADER / NAV */
header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 15px 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 42px;
}

.logo span {
  font-weight: 600;
  font-size: 1.1rem;
  color: #1f2933;
}

/* Nav links */
.nav-links a {
  margin-left: 22px;
  text-decoration: none;
  color: #444;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #2e7d32;
}

/* IMAGE HERO */
.page-hero {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay */
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* Text Container */
.page-hero-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  padding: 20px;
  z-index: 1;
}

/* Title */
.page-hero-title {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* Subtitle */
.page-hero-subtitle {
  color: #e5e5e5;
  font-size: 1rem;
  max-width: 650px;
}

/* SECTIONS */
.section {
  max-width: 900px;
  margin: 45px auto;
  padding: 0 20px;
}

/* All section headers */
.section :is(h1, h2, h3, h4, h5, h6) {
  color: #2e7d32;
  margin-bottom: 10px;
  font-weight: 600;
}

/* Paragraph spacing */
.section p {
  margin-bottom: 15px;
}

/* TEAM LAYOUT */
.team-member {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

/* Image */
.team-member img {
  width: 130px;
  height: 170px; /* EDIT HERE TO ADJUST IMAGE SIZE */
  object-fit: cover;
  flex-shrink: 0;
}

/* Text container */
.team-info {
  flex: 1;
}

/* Name */
.team-info h3 {
  margin: 0 0 5px 0;
  color: #2e7d32;
}

/* Role */
.role {
  font-weight: 600;
  color: #666;
  margin-bottom: 8px;
}

/* LINKS */
a {
  color: #2e7d32;
}

a:hover {
  text-decoration: underline;
}

/* BUTTONS */
.button {
  display: inline-block;
  padding: 10px 18px;
  background-color: #2e7d32;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
}

.button:hover {
  background-color: #256628;
}

/* FOOTER */
footer {
  background-color: #1f2933;
  color: #d1d5db;
  margin-top: 60px;
  padding: 35px 20px;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-content p {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer-content strong {
  color: #ffffff;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
  }

  .nav-links a {
    margin: 5px 15px 5px 0;
  }

  .page-hero {
    height: 180px;
  }

  .page-hero-title {
    font-size: 1.5rem;
  }

  /* Stack team vertically on mobile */
  .team-member {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .team-member img {
    width: 90px;
    height: 90px;
  }
}

.page-title {
color: #2e7d32;
}
