/* ========================
   Base / Reset
======================== */
body {
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #222;
  background: #ffffff;
}

main, section, footer {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  box-sizing: border-box;
}

/* ========================
   Header
======================== */
header {
  width: 100%;
  background: #1f3d2b;  /* dark green */
  color: white;
  padding: 4rem 1rem;
  box-sizing: border-box;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 700;
  color: white;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Header nav */
header nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

header nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

header nav a:hover {
  text-decoration: underline;
}

/* ========================
   Hero Section
======================== */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #2f7d4c;  /* lighter green for contrast */
  color: white;
  padding: 5rem 2rem;
  margin: 2rem 0;
  border-radius: 8px;
}

.hero h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
  color: #e0f0e5;
}

/* Hero buttons */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-buttons .button {
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  font-weight: bold;
  color: white;
  background: #245c38;  /* darker button for contrast */
  border-radius: 4px;
  text-decoration: none;
  margin: 0;
}

.hero-buttons .button:hover {
  background: #1f3d2b;
}

/* ========================
   General Buttons
======================== */
.button {
  display: inline-block;
  background: #2f7d4c;
  color: white;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  margin: 0.5rem 0;
}

.button:hover {
  background: #245c38;
}

/* ========================
   Sections
======================== */
section {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.projects-preview ul,
.mission ul {
  list-style-type: disc;
  margin-left: 2rem;
}

/* ========================
   Footer
======================== */
footer {
  text-align: center;
  padding: 2rem 1rem;
  background: #f4f4f4;
  margin-top: 3rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

footer a {
  color: #2f7d4c;
  text-decoration: none;
  margin: 0 0.5rem;
  font-weight: bold;
}

footer a:hover {
  text-decoration: underline;
}

/* ========================
   Responsive
======================== */
@media (max-width: 600px) {
  nav a {
    display: block;
    margin: 0.5rem 0;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .hero-buttons .button {
    width: 80%;
    text-align: center;
  }

  header nav {
    flex-direction: column;
    gap: 0.5rem;
  }
}
