.team-section {
  padding: 40px 0;
}
.team-section .team-container {
  margin: auto;
  text-align: center;
  width: 100%:
}
.team-section .team-subheading {
  font-size: 25px;
}
.team-section .team-heading {
  margin-bottom: 28px;
  font-weight: 600;
}
.team-section .team-grid {
  display: grid;
  gap: 26px;
}
.team-section .team-grid.columns-2 {
  grid-template-columns: repeat(2, 1fr);
}
.team-section .team-grid.columns-3 {
  grid-template-columns: repeat(3, 1fr);
}
.team-section .team-grid.columns-4 {
  grid-template-columns: repeat(4, 1fr);
}
.team-section .team-grid.columns-5 {
  grid-template-columns: repeat(5, 1fr);
}
.team-section .team-grid.columns-3 {
  grid-template-columns: repeat(3, 300px);
  justify-content: center;
}
.team-section .team-grid.columns-2 {
  grid-template-columns: repeat(2, 300px);
  justify-content: center;
}
.team-section .team-card {
  text-align: center;
}
.team-section .team-img {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}
.team-section .team-img img {
  width: 100%;
  height: auto;
  display: block;
}
.team-section .team-name {
  margin-top: 15px;
  font-size: 25px;
  color: #222;
}
.team-section .team-role {
  color: #222;
  font-size: 16px;
  margin-top: -10px;
}
@media (max-width: 992px) {
  .team-section .team-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 576px) {
  .team-section .team-grid {
    grid-template-columns: 1fr !important;
  }
}
