/* Reset & base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f7f7f7; /* light background */
  color: #222; /* dark text */
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background-color: #e4e4e4; /* light gray header */
  padding: 1rem 2rem;
  text-align: center;
}

h1 {
  color: #3d9140; /* frog green */
  font-size: 2.5rem;
  margin-bottom: 0.25rem;
}

em {
  color: #555;
}

nav {
  margin-bottom: 1rem;
}

.nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #ccc;
}

.nav-list li a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-list li a:hover,
.nav-list li a.active {
  background-color: #3d9140;
  color: #fff;
}

main {
  flex-grow: 1;
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  border-radius: 6px;
}

.intro,
.joining-info {
  text-align: left;
  margin-bottom: 3rem;
}

.hero-image {
  max-width: 200px;
  margin-top: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.news ul,
.joining-info ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

footer {
  background-color: #e4e4e4;
  color: #555;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  border-top: 1px solid #ccc;
}

.lab-leads,
.lab-members {
  margin-bottom: 3rem;
}

.lead-container,
.member-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 1rem;
}

.member-card {
  background-color: #f0f0f0;
  padding: 1rem;
  border-radius: 8px;
  width: 200px;
  text-align: center;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.member-card img {
  width: 100%;
  max-width: 150px;
  border-radius: 50%;
  margin-bottom: 0.5rem;
  object-fit: cover;
}

.bio {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #444;
}

.bio p {
  margin-bottom: 0.5rem;
}

.hidden {
  display: none;
}

.toggle-bio {
  margin-top: 0.5rem;
  background-color: #3d9140;
  color: white;
  border: none;
  padding: 0.4rem 0.6rem;
  font-size: 0.85rem;
  border-radius: 4px;
  cursor: pointer;
}

.toggle-bio:hover {
  background-color: #2f7131;
}


.project-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.project-card {
  background-color: #f0f0f0;
  border-left: 6px solid #3d9140; /* frog green accent */
  padding: 1rem 1.25rem;
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

.project-card h3 {
  margin-bottom: 0.5rem;
  color: #222;
}

.project-card p {
  margin-bottom: 0.4rem;
  color: #444;
}

.project-card a {
  color: #3d9140;
  text-decoration: none;
  font-weight: 500;
}

.project-card a:hover {
  text-decoration: underline;
}


.joining-lab {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #f9f9f9;
  border-left: 6px solid #3d9140;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.joining-lab h2,
.joining-lab h3 {
  color: #3d9140;
}

.joining-lab ul {
  padding-left: 2rem; /* Increase this number if you want more indent */
  margin-bottom: 1rem;
  list-style-position: outside;
}

.joining-lab li {
  margin-bottom: 0.5rem;
}
