@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');

/* Reset Styles */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
  font-family: 'Open Sans', sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Layout */
.container {
  display: grid;
  grid-template-areas:
    "header"
    "nav"
    "main"
    "footer";
  grid-template-rows: auto auto 1fr auto;
  min-height: 100vh;
}

/* Header */
header {
  grid-area: header;
  background-color: #4a6c5c;
  color: white;
  padding: 1rem;
  text-align: center;
}

.logo {
  width: 60px;
  vertical-align: middle;
}

/* Horizontal Navigation */
nav {
  grid-area: nav;
  background-color: #6b8f71;
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 1rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  transition: background-color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background-color: #4a6c5c;
  border-radius: 4px;
}

/* Main Content */
main {
  grid-area: main;
  padding: 2rem;
}

.about-intro,
.mission,
.team {
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.about-intro h2,
.mission h3,
.team h3 {
  color: #4a6c5c;
  margin-bottom: 1rem;
}

.about-intro p,
.mission p {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
}

/* Team Section */
.team-members {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1.5rem;
}

.member {
  background-color: white;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  width: 200px;
}

.member img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 20px auto;
  padding: 0 15px;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.required-asterisk {
  color: red;
  font-weight: bold;
  margin-left: 3px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  box-sizing: border-box;
}

.submit-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: #5a7d6c;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #486456;
}

@media (min-width: 600px) {
  .submit-btn {
    width: auto;
    min-width: 150px;
  }
}

/* Footer */
footer {
  grid-area: footer;
  background-color: #333;
  color: white;
  padding: 2rem 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-content h4 {
  margin-bottom: 0.5rem;
}

.footer-content ul {
  list-style: none;
  padding: 0;
}

.footer-content ul li {
  margin-bottom: 0.3rem;
}

.footer-content a {
  color: #ddd;
  text-decoration: none;
}

.footer-content a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #444;
  padding-top: 1rem;
}
