:root {
  --main-green: #3A5A40;
  --accent-green: #588157;
  --light-green: #A3B18A;
  --fresh-green: #DAD7CD;
  --offwhite: #f0f4f0;
  --background: #E9F5DB;
  --card-bg: #f8f9fa;
  --border: #DAD7CD;
  --text-dark: #333333;
  --text-light: #454545;
  --shadow: 0 8px 32px 0 rgba(60, 90, 64, 0.10);
}

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(135deg, var(--background) 0%, var(--offwhite) 100%);
  color: var(--text-dark);
  min-height: 100vh;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem 1.5rem 1rem;
  background: rgba(250, 255, 250, 0.85);
  box-shadow: var(--shadow);
  border-bottom: 2px solid var(--border);
  position: relative;
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 0.4rem;
  justify-content: center;
}

.header-logo {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  box-shadow: 0 6px 24px 0 rgba(52, 168, 83, 0.13), 0 1.5px 8px 0 rgba(58, 90, 64, 0.09);
  border: 3px solid var(--main-green);
  background: #fff;
  object-fit: contain;
  transition: transform 0.18s, box-shadow 0.18s;
}

.header-logo:hover,
.header-logo:focus {
  transform: scale(1.07) rotate(-3deg);
  box-shadow: 0 10px 32px 0 rgba(76, 175, 80, 0.17);
}

#text-logo {
  font-size: 2rem;
  font-weight: 800;
  color: var(--main-green);
  letter-spacing: 2px;
  text-shadow: 0 2px 12px rgba(58, 90, 64, 0.07);
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

header p {
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0.2rem 0 0 0;
}

/* --- NAVIGATION BAR --- */
nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background: var(--main-green);
  padding: 0.7rem 0;
  box-shadow: 0 2px 8px 0 rgba(58, 90, 64, 0.06);
  gap: 2rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 1px;
  transition: color 0.18s, background 0.18s;
  padding: 0.2rem 0.7rem;
  border-radius: 8px;
  margin: 0.2em 0.2em;
  display: block;
  white-space: nowrap;
}

nav a:hover,
nav a:focus {
  background: var(--accent-green);
  color: #fff;
}

/* --- FLEX GROUP STYLES FOR RESPONSIVENESS --- */
.team-members,
.projects-list,
.project-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
  width: 100%;
  box-sizing: border-box;
}

.team-members>*,
.projects-list>*,
.project-links>* {
  text-align: center;
}

/* --- MAIN CONTENT --- */
main {
  max-width: 940px;
  margin: 2rem auto 0 auto;
  padding: 0 1rem 2rem 1rem;
}

section {
  margin-bottom: 2.5rem;
}

h2 {
  color: var(--main-green);
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-align: center;
}

h3,
h4 {
  color: var(--accent-green);
  margin-top: 0;
}

.responsive-img {
  width: 100%;
  max-width: 600px;
  border-radius: 20px;
  display: block;
  margin: 1.5rem auto 0.5rem auto;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.caption {
  text-align: center;
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.member {
  background: rgba(58, 90, 64, 0.09);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1.1rem 1.2rem;
  min-width: 180px;
  text-align: center;
  flex: 1 1 180px;
  transition: box-shadow 0.18s, transform 0.13s;
  border: 1.2px solid var(--border);
}

.member:hover {
  box-shadow: 0 8px 24px 0 rgba(76, 175, 80, 0.10);
  transform: translateY(-2px) scale(1.025);
}

.project-card {
  background: rgba(250, 255, 250, 0.92);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.3rem 1.4rem 1.6rem 1.4rem;
  min-width: 260px;
  max-width: 360px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1.5px solid var(--light-green);
  transition: box-shadow 0.18s, transform 0.13s;
  margin-bottom: 1em;
}

.project-card:hover {
  box-shadow: 0 10px 28px 0 rgba(76, 175, 80, 0.11);
  transform: translateY(-2px) scale(1.025);
}

.project-img {
  width: 100%;
  max-width: 260px;
  border-radius: 12px;
  margin-bottom: 1em;
  box-shadow: 0 2px 16px 0 rgba(58, 90, 64, 0.06);
  object-fit: cover;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
  margin-top: 0.6em;
  width: 100%;
  box-sizing: border-box;
}

.project-link {
  background: var(--main-green);
  color: #fff;
  padding: 0.4em 1.3em;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.17s, color 0.17s;
  box-shadow: 0 2px 8px 0 rgba(52, 168, 83, 0.09);
  display: inline-block;
  white-space: nowrap;
}

.project-link:hover {
  background: var(--accent-green);
  color: #fff;
}

#contact {
  max-width: 540px;
  margin: 0 auto;
}

.email-link {
  color: var(--main-green);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed var(--main-green);
  transition: color 0.16s, border-bottom 0.16s;
}

.email-link:hover,
.email-link:focus {
  color: var(--accent-green);
  border-bottom: 1px solid var(--accent-green);
  text-decoration: underline;
}

footer {
  background: var(--main-green);
  color: #fff;
  text-align: center;
  padding: 1.2rem 0 1rem 0;
  margin-top: 2rem;
  letter-spacing: 0.4px;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  box-shadow: 0 -2px 16px 0 rgba(58, 90, 64, 0.07);
  font-size: 1rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .projects-list {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }

  .project-card {
    max-width: 98vw;
  }
}

@media (max-width: 850px) {

  .component-details,
  .team-members,
  .mission-overview,
  .journey-images {
    flex-direction: column;
    gap: 1.1rem;
  }

  header {
    padding-bottom: 2.5rem;
  }

  .header-logo {
    position: static;
    margin-bottom: 0.7rem;
  }
}

@media (max-width: 700px) {
  .journey-images img {
    max-width: 98vw;
  }

  .projects-list,
  .team-members,
  .project-links,
  nav {
    flex-direction: column;
    gap: 0.5em;
    align-items: stretch;
  }

  nav a {
    width: 100%;
    text-align: center;
    margin: 0.2em 0;
  }
}

@media (max-width: 600px) {
  nav {
    gap: 0.7rem;
    flex-wrap: wrap;
    font-size: 0.98rem;
    padding: 0.6rem 0.1rem;
  }

  main {
    padding: 0 0.2rem 2rem 0.2rem;
  }

  header {
    padding: 1.1rem 0.5rem 1rem 0.5rem;
  }

  .responsive-img {
    border-radius: 12px;
  }
}

section p {
  text-align: center;
}

.news-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  justify-content: center;
  margin-top: 20px;
}

.news-card {
  background: rgba(250, 255, 250, 0.92);
  border-radius: 18px;
  box-shadow: var(--shadow, 0 2px 16px 0 rgba(58, 90, 64, 0.07));
  padding: 1rem 1.1rem 1.2rem 1.1rem;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1.5px solid var(--light-green, #a8e6a3);
  transition: box-shadow 0.18s, transform 0.13s;
  margin-bottom: 1em;
}

.news-card:hover {
  box-shadow: 0 10px 28px 0 rgba(76, 175, 80, 0.11);
  transform: translateY(-2px) scale(1.025);
}

.news-card img {
  width: 100%;
  max-width: 260px;
  border-radius: 12px;
  margin-bottom: 0.7em;
  box-shadow: 0 2px 16px 0 rgba(58, 90, 64, 0.06);
  object-fit: cover;
}

.news-card .caption {
  padding-top: 0.3em;
  font-size: 0.98em;
  text-align: center;
  color: #444;
}