.our-team-section-style6 {
  margin: 30px 0;
}

.team-card-style6 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  background-color: #3b599814;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  padding: 25px 20px;
  transition: all 0.3s ease;
  gap: 20px;
  justify-content: center;
  flex-direction: column;
}

.team-card-style6:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.team-card-style6 .team-image-wrapper {
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1;
}

.team-card-style6 .team-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-card-style6:hover .team-image-wrapper img {
  transform: scale(1.05);
}

.team-card-style6 .team-title {
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 5px 0;
  text-align: center;
}

.team-card-style6 .team-post {
  font-size: 13px;
  color: #34495e;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
  text-align: center;
}

.team-card-style6 .team-bio {
  font-size: 14px;
  color: #7f8c8d;
  line-height: 1.5;
  margin-bottom: 15px;
}

.team-card-style6 .team-bio p {
  margin: 0;
}

.team-card-style6 .team-social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
}

.team-card-style6 .team-social li {
  display: inline-block;
}

.team-social li:first-child {
  margin-left: 0;
}

.team-card-style6 .team-social li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #f0f4f8;
  color: #3b5998;
  font-size: 13px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.team-card-style6 .team-social li a:hover {
  background-color: #3b5998;
  color: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 1023px) and (min-width: 768px) {
  .our-team-section-style6 .col-md-3 {
    width: 33.33%;
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }

  .our-team {
    margin-bottom: 30px;
  }
}

@media (max-width: 992px) {
  .team-card-style6 {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
  }

  .team-card-style6 .team-social {
    justify-content: center;
  }
}