.team-default {
  overflow-x: hidden;
  background-color: var(--hd-body-bg);
}

.team-default .meet-the-team-wrap .team-row {
  display: flex;
  flex-wrap: wrap;
  width: 900px;
  gap: 25px;
  margin: 0 auto;
}

.team-default .team-single-item {
  position: relative;
  overflow: hidden;
  border-radius: 100px;
  transition: all 0.3s ease-in-out;
  margin-bottom: 32px;
  width: 160px;
  height: 220px;
}
.team-default .team-single-item:nth-child(5n + 1) {
  margin-top: 0px;
}
.team-default .team-single-item:nth-child(5n + 2) {
  margin-top: 145px;
}
.team-default .team-single-item:nth-child(5n + 3) {
  margin-top: 72px;
}
.team-default .team-single-item:nth-child(5n + 4) {
  margin-top: 0px;
}
.team-default .team-single-item:nth-child(5n + 5) {
  margin-top: 72px;
}

.team-default .team-single-item > img {
  height: 100%;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
  object-fit: cover;
}

.team-default .team-single-item:hover {
  box-shadow: -10px 5px 0 var(--hd-primary);
}

.team-default .team-single-item:hover > img {
  transform: scale(1.1);
}

.team-default .team-single-bio {
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.3s ease-in-out;
}

.team-default .team-single-item:hover .team-single-bio {
  opacity: 1;
  color: #fff;
}

.team-default .team-single-bio h3 {
  font-size: 20px;
}

.team-default .team-single-bio p {
  opacity: 0.8;
}

@media (max-width: 900px) {
  .team-default .meet-the-team-wrap {
    overflow-x: auto;
    padding: 0 20px;
  }
}

.team-default .heading-area {
  text-align: center;
  padding: 60px 0;
  color: var(--hd-text);
}

.team-default .heading-icon svg {
  width: 100px;
  height: 100px;
}

.team-default .heading-icon svg path {
  stroke: var(--hd-text);
}

.team-default .heading-area h2 {
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  margin-bottom: 20px;
}

.team-default .heading-area p {
  opacity: 0.6;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 28.8px */
  letter-spacing: 1.2px;
}

.team-default .heading-area .btn {
  margin: 30px 0;
}

@media (max-width: 767px) {
  .team-default .heading-area h2 {
    font-size: 32px;
  }

  .team-default .heading-area p {
    font-size: 16px;
  }
}
