/* needTeam page start */

.our-team-section:before {
  position: absolute;
  top: -0;
  left: 0;
  content: " ";
  background: url(img/service-section-bottom.png);
  background-size: 100% 100px;
  width: 100%;
  height: 100px;
  float: left;
  z-index: 99;
}
.our-team {
  padding: 30px 0 30px;
  background: var(--light-color);
  text-align: center;
  overflow: hidden;
  position: relative;
  border-bottom: 5px solid var(--primary-color);
}
/* .our-team:hover {
    border-bottom: 5px solid var(--dark-color);
  } */

.our-team .pic {
  display: inline-block;
  width: 130px;
  height: 130px;
  z-index: 1;
  position: relative;
}
.our-team .pic:before {
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--primary-color);
  position: absolute;
  bottom: 135%;
  right: 0;
  left: 0;
  opacity: 1;
  transform: scale(3);
  transition: all 0.3s linear 0s;
}
/* .our-team:hover .pic:before {
    height: 100%;
    background: #2f2f2f;
  } */
.our-team .pic:after {
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--secondary-color);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transition: all 0.3s linear 0s;
}
.our-team .pic img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  transform: scale(1);
  transition: all 0.9s ease 0s;
  box-shadow: 0 0 0 14px var(--light-color);
  transform: scale(0.7);
  position: relative;
  z-index: 2;
}

.our-team .team-content {
  margin-bottom: 30px;
}
.our-team .title {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-color);
  letter-spacing: 1px;
  text-transform: capitalize;
  margin-bottom: 5px;
}
.title-2 {
  color: var(--light-color);
  margin: 5px;
  font-size: 15px;
}
.our-team .post {
  display: block;
  font-size: 15px;
  color: var(--dark-color);
  text-transform: capitalize;
  margin-top: 5px;
}
/* .our-team .post .team-email-txt {
  font-size: 10px;
  font-weight: 500;
} */
.our-team .social {
  width: 100%;
  padding: 0;
  margin: 0;
  background: var(--primary-color);
  position: absolute;
  bottom: 0;
  left: 0;
  transition: all 0.5s ease 0s;
}
/* .our-team:hover .social {
    bottom: 0;
  } */

@media only screen and (max-width: 990px) {
  .our-team {
    margin-bottom: 30px;
  }
}
/* needTeam page end */ 