
/* -------- Team Profiles -------- */
.team-profiles .container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: stretch;
  padding: 0 1rem;
}
.profile-card {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 6px 36px 0 rgba(30,167,247,0.10);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex: auto;
  max-width: 410px;
  min-width: 310px;
  margin-bottom: 1.6rem;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.25s;
}
.profile-card:hover {
  box-shadow: 0 16px 56px 0 rgba(30,167,247,0.15);
}
.profile-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin: 2.2rem auto 1rem auto;
  box-shadow: 0 3px 12px rgba(30,167,247,0.11);
}
.profile-info {
  padding: 0 2rem 2rem 2rem;
  text-align: center;
}
.profile-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a232d;
  margin-bottom: 0.13rem;
}
.profile-card h3 {
  font-size: 1rem;
  font-weight: 500;
  color: #1ea7f7;
  margin-bottom: 1rem;
  margin-top: 0.2rem;
}
.profile-card p {
  color: #3e4b59;
  font-size: 1.05rem;
  margin-bottom: 0;
  line-height: 1.6;
}
.profile-detail {
  display: block;
  margin-top: 0.8em;
  font-size: 0.99em;
  color: #1ea7f7;
  font-style: italic;
}

.team-profiles {
  background: #fff;
  padding: 2.5rem 0 2.5rem 0;
}
.team-profiles h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
  margin-top: 0.2rem;
  color: #141820;
}

@media (max-width: 600px) {
  .profile-card { padding: 0; }
}
@media (max-width: 900px) {
  .team-profiles .container {
    flex-direction: column;
    align-items: center;
  }
  .profile-card {
    max-width: 95vw;
  }
}

@media (min-width: 901px) {
  .profile-card {
    flex: 0 1 410px;
  }
}