/* Team section container */
.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Individual team member styling */
.team-member {
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  text-align: center;
  margin-bottom: 30px;
}

/* Profile image styling */
.profile-image {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Team member name */
.team-member h3 {
  font-family: "Livvic Medium", "Times New Roman", Georgia, Serif;
  font-size: 1.2rem;
  margin: 0 0 5px;
  color: #fff;
}

/* Team member role */
.team-member p {
  font-family: "Livvic ExtraLight", "Times New Roman", Georgia, Serif;
  font-size: 0.9rem;
  margin: 0;
  color: #ddd;
}

/* Responsive media queries */
@media (max-width: 1200px) {
  /* For medium screens - 3 per row */
  .team-container {
    justify-content: center;
  }
  
  .team-member {
    flex: 0 0 calc(33.333% - 30px);
    max-width: calc(33.333% - 30px);
  }
}

@media (max-width: 768px) {
  /* For mobile - 1 per row */
  .team-member {
    flex: 0 0 100%;
    max-width: 280px;
  }
}
