.team-section {
  overflow: hidden;
  background: #0a1525;
  color: var(--text);
}

.team-section .section-heading {
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 28px;
  text-align: center;
}

.team-section .section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.team-section .eyebrow {
  justify-content: center;
  margin-bottom: 12px;
}

.team-section .eyebrow::before {
  display: none;
}

.team-grid {
  width: min(100%, 580px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.team-card {
  width: 100%;
  max-width: 280px;
  justify-self: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.17);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(76, 215, 195, 0.45);
}

.team-photo {
  width: 100%;
  height: 220px;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.team-photo-serhan {
  background-position: center 18%;
}

.team-card-content {
  min-height: 112px;
  padding: 17px 18px 19px;
  text-align: center;
}

.team-card h3 {
  margin: 0;
  color: #fff;
  font-size: 1.15rem;
  letter-spacing: -0.025em;
}

.team-title {
  display: block;
  margin: 6px 0 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.4;
}

@media (max-width: 680px) {
  .team-section .section-heading h2 {
    font-size: 1.2rem;
  }

  .team-grid {
    width: min(100%, 285px);
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .team-card {
    max-width: 275px;
  }

  .team-photo {
    height: 210px;
  }

  .team-card-content {
    min-height: 106px;
    padding: 16px 17px 18px;
  }
}
