.team-section {display: none;
  padding: 105px 0 136px;
}

.team-thumb {
  position: relative;
}

.team-thumb img {
  width: 100%;
}

.team-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  transition: .5s;
  opacity: 0;
}

.team-items-box:hover .team-icon {
  bottom: 68px;
  opacity: 1;
}

.team-icon ul {
  list-style: none;
  margin: 0;
}

.team-icon ul li {
  display: block;
  margin-top: 3px;
}

.team-icon ul li a i {
  display: inline-block;
  height: 50px;
  width: 60px;
  background: #fff;
  text-align: center;
  line-height: 50px;
  color: var(--color-primary);
  font-size: 26px;
  position: relative;
  z-index: 1;
  transition: .5s;
}

.team-icon ul li a:hover i {
  color: #ffffff;
}

.team-icon ul li a i::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-primary);
  transform: scale(0);
  z-index: -1;
  transition: .5s;
}

.team-icon ul li a i:hover::after {
  transform: scale(1);
}

.team-main-icon {
  position: absolute;
  bottom: 0px;
  right: 0;
  z-index: 999;
}

.team-main-icon span {
  height: 60px;
  width: 60px;
  background: var(--color-primary);
  display: inline-block;
  text-align: center;
  line-height: 60px;
  color: #fff;
  font-size: 30px;
  position: relative;
  z-index: 1;
}

.team-main-icon span::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  transform: scale(0);
  z-index: -1;
  transition: .5s;
}

.team-items-box:hover .team-main-icon span::before {
  transform: scale(1);
}

.team-main-icon span i {
  font-size: 30px;
  transition: .5s;
}

.team-items-box:hover .team-main-icon span i {
  color: var(--color-primary);
}

.team-content {
  background: #ffffff;
  position: absolute;
  bottom: -16px;
  left: 0;
  z-index: 1;
  width: 274px;
  height: 75px;
  padding: 6px 26px 0px;
  clip-path: polygon(0% 0%, 88% 0%, 100% 100%, 0% 100%);
}

.team-content h4,
.team-content h4 a {
  font-size: 25px;
  line-height: 30px;
  color: var(--title-text-color);
  font-weight: 600;
  text-decoration: none;
  transition: .5s;
}

.team-items-box:hover .team-content h4 a {
  color: var(--color-primary);
}

.team-content span {
  font-size: 16px;
  line-height: 38px;
  font-weight: 400;
  transition: .5s;
}


@media (max-width: 991px) {
  .team-items-box {
    margin-bottom: 40px;
  }
}
