/* team.css — styles specific to the Team page */

/* ========= Hero Banner ========= */
.team-hero {
  width: 100%;
  overflow: hidden;
  margin-bottom: 3rem;
}

.team-banner {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 0 0 16px 16px;
}

/* ========= Chairperson Section ========= */
.chairperson {
  max-width: 1100px;
  margin: auto;
  padding: 2rem 1rem;
  font-family: 'Inter', sans-serif;
}

.chairperson h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #2e7d32;
  text-align: center;
  margin-bottom: 2rem;
}

.chairperson-content {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.chairperson-img {
  width: 280px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.chairperson-text {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
  max-width: 650px;
}

/* ========= Board Section ========= */
.board {
  text-align: center;
  padding: 3rem 1rem;
  background-color: #f9f9f9;
}

.board h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #2e7d32;
  margin-bottom: 2rem;
}

.board-img-container {
  max-width: 900px;
  margin: 0 auto;
}

.board-img-container img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* ========= Responsive ========= */
@media (max-width: 768px) {
  .chairperson-content {
    flex-direction: column;
    align-items: center;
  }

  .chairperson-img {
    width: 80%;
  }

  .chairperson-text {
    padding: 0 1rem;
  }
}
