.team-section {
  text-align: center;
  background: #f0f8ff;
  padding: 60px 20px;
}

.team-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.team-section p {
  color: #555;
  margin-bottom: 40px;
}

.filter-buttons {
  margin-bottom: 30px;
  text-align: center;
}

.filter-btn {
  background: #005f87;
  color: white;
  border: 1px solid #000000;
  border-color: black;
  margin: 0 50px;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 1.2rem;
  text-decoration: none;
  text-transform: capitalize;
  display: inline-block;
}

.filter-btn:hover,
.filter-btn.active {
  background: #35bddb;
  color: black;
  text-decoration: none;
}

.selected-category {
  margin-top: 30px;
  color: #333;
  font-size: 1.3rem;
}

.team-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  padding: 0 20px;
}

.card {
  background: #fff;
  padding: 10px;
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  flex: 1 1 300px;
}

.card img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: block;
}

.card h3 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #0077b6;
  margin-bottom: 5px;
}

.card h5 {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.9rem;
  color: #666;
}

/* Governor card gets special style */
.governor-card {
  background: #fff;
  /* border: 2px solid #a39f9f; */
  margin: 30px auto 50px auto;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.governor-card img{
  border-radius: 0%;
  height: 260px;
  width: 230px;
}

@media (min-width: 768px) {
  .team-cards {
    justify-content: center;
  }

  .card {
    flex: 1 1 30%;
  }
}
