
img {
  max-width: 100%;
  height: auto;
}
.team-section {
  background-repeat: no-repeat;
}
.team-member {
  position: relative;
  text-align: center;
  margin-bottom: 5px;
}

.team-member .inner-box {
  position: relative;
  overflow: hidden;
  max-width: 500px;
  margin: 0 auto;
}

.team-member .inner-box .image-box {
  margin-bottom: 0px;
}

.team-member .image-box img {
  display: block;
  width: 100%;
}

.team-member .desc-content {
  position: relative;
  bottom: 0px;
  padding: 25px 20px;
  background: #ffffff;
  opacity: 1;
  border: 1px solid #e9eaee;
  transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -webkit-transition: all 0.6s ease;
  -ms-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  left: 0;
}

.team-member:hover .desc-content {
  left: -200px;
  opacity: 0;
}

.team-member h3 {
  font-size: 20px;
  margin-bottom: 0px;
  color: #181818;
  font-weight: 500;
  text-transform: capitalize;
}

.team-member .designation {
  font-size: 15px;
  color: #3f51b5;
}

.team-member .hover-content {
  position: absolute;
  left: 0px;
  bottom: 0px;
  width: 100%;
  padding: 25px 20px;
  background: #3f51b5;
  transform: translateX(-100%);
  color: #ffffff;
  opacity: 0;
  transition: all 0.7s ease;
  -moz-transition: all 0.7s ease;
  -webkit-transition: all 0.7s ease;
  -ms-transition: all 0.7s ease;
  -o-transition: all 0.7s ease;
}

.team-member:hover .hover-content {
  transform: translateX(-0%);
  opacity: 1;
}

.team-member .hover-content h3 {
  color: #ffffff;
}

.team-member .hover-content .designation {
  margin-bottom: 10px;
  color: #ffffff;
}

.team-member .social a {
  position: relative;
  display: inline-block;
  margin: 2px 5px;
  color: #ffffff;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
}
