/*team*/
.team {
  padding-bottom: 70px;
}
.team .section-title {
  text-align: left;
  margin-bottom: 50px;
}
.team__item {
  height: 480px;
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  border-radius: 8px;
  box-shadow: 0px 0px 50px -30px rgb(34 43 95 / 70%);
}
.set-bg-1{
  background: url(https://www.aktechsolutions.in/images/team-2.png);
  background-size: cover;
  background-position: center;
}
.set-bg-2{
  background: url(https://www.aktechsolutions.in/images/team-2.png);
  background-size: cover;
  background-position: center;
}
.set-bg-3{
  background: url(https://www.aktechsolutions.in/images/team-2.png);
  background-size: cover;
  background-position: center;
}
.team__item:after {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: rgb(34 43 95 / 80%);
  content: "";
  z-index: -1;
  opacity: 0;
  -webkit-transition: all, 0.5s, ease-out, 0.5s;
  -o-transition: all, 0.5s, ease-out, 0.5s;
  transition: all, 0.5s, ease-out, 0.5s;
}
.team__item:hover:after {
  opacity: 1;
}
.team__item:hover .team__text {
  top: 0;
}
.team__item:hover .team__text .team__title {
    border-bottom: 1px solid rgba(183, 183, 183, 0.2);
    padding: 0px 0 5px;
    opacity: 0;
    visibility: hidden;
    position: relative;
    bottom: initial;
    opacity: 1;
    visibility: visible;
}
.team__item:hover .team__text p {
  top: 0;
  opacity: 1;
  visibility: visible;
  -webkit-transition: all 0.5s ease 0.3s;
  -o-transition: all 0.5s ease 0.3s;
  transition: all 0.5s ease 0.3s;
  padding: 3.5em 0;
}

.team__item:hover .team__text .team__social {
  opacity: 1;
  visibility: visible;
  bottom: 34px;
  -webkit-transition: all 0.5s ease 0.5s;
  -o-transition: all 0.5s ease 0.5s;
  transition: all 0.5s ease 0.5s;
}
.team__text {
  height: 100%;
  top: 361px;
  position: relative;
  padding: 35px 30px 30px;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
.team__text .team__title {
    border-bottom: 1px solid rgba(183, 183, 183, 0.2);
    padding: 0 0 26px;
    margin-bottom: 10px;
    position: relative;
}
.team__text .team__title h4 {
  color: #E20A4A;
  font-weight: 700;
  margin-bottom: 6px;
  background: #FFF;
}
.team__text .team__title span {
  font-size: 15px;
  color: #E20A4A;
  background: #FFF;
}
.team__text p {
  color: #FFF;
  line-height: 26px;
  opacity: 0;
  visibility: hidden;
  position: relative;
  top: 50px;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
.team__text .team__social {
  position: absolute;
  left: 0;
  width: 100%;
  padding: 0;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
}
.team__text .team__social a {
  display: inline-block;
  font-size: 20px;
  color: #fff;
  margin-right: 34px;
  -webkit-transition: all, 0.3s;
  -o-transition: all, 0.3s;
  transition: all, 0.3s;
}
.team__text .team__social a:last-child {
  margin-right: 0;
}
.team__text .team__social a:hover {
  color: #E20A4A;
}
@media (max-width: 767px) {
  .team__item {
    height: 360px;
  }
  .team__text {
    padding: 25px 20px 20px;
  }
  .team__text .team__social{
    left: -10px;
  }
  .team__item:hover .team__text p{
    padding: 1em 0;
  }
}
@media(max-width: 991px) and (min-width: 768px){
  .team__item:hover .team__text p{
    padding: 3em 0;
  }
}
/*team*/