/*------------------------------------------------------------------------------
---------------------------------------------------------------------------------
------------------OUR TEAM PAGE / CEO-------------------------------------*/

/* Fotns */
@import url('https://fonts.googleapis.com/css?family=Raleway:100,200,300,400,500,600,700,800,900');

/* Custom css */
body {
  font-family: 'Raleway', sans-serif;
  position: relative;
}

.team-header h3 {
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 0;
  font-weight: 400;
}

.team-header h1 {
  font-size: 60px;
  color: #932771;
  text-transform: uppercase;
  font-size: 400;
  font-weight: 700;
  margin-top: 0;
}
.team-header i {
  position: relative;
  font-size: 50px;
  color: #932771;
}
.team-header i:before {
  content:'';
  height: 1px;
  width: 50px;
  position: absolute;
  top: 0;
  left: 0;
  background: #932771;
}


.team-header i:after {
  content:'';
  height: 1px;
  width: 50px;
  position: absolute;
  top: 0;
  right: 0;
  margin-right: 20px;
  background: #932771;
}

.team-img {
  margin: 100px 0;
  position: relative;
}




.img-profile img{
  position: relative;
  height: 100%;
  width: 100%;
 
  border-radius: 20px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.team-member {
  margin: 60px 0;
}

.team-member:after {
  content: '';
  position: absolute;
  width: 1px;
  height: 90%;
  background: #932771;
  top: 30px;
  left: -40px;
}

.team-member h2 {
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
} 

.header-hr {
  width: 30%;
  height: 1px;
  background: #932771;
  display: inline-block;
}

.team-member h4 {
  font-size: 20px;
  font-weight: 400;
  margin: 0;
}

.team-member ul.social-icon {
  list-style-type: none;
  margin: 30px 0;
  padding: 0;
}

.team-member ul.social-icon li {
  display: inline-block;
}

.team-member ul.social-icon li a {
  border: 1px solid #cdcdcd;
  width: 30px;
  height: 30px;
  border-radius:50%;
  font-size: 14px;
  line-height: 30px;
  display: block;
  text-align: center;
  transition: .3s all;
}

.team-member ul.social-icon li a:hover {
  border-color: #932771;
  color: #932771;
}

.team-member p {
  font-size: 14px;
  font-weight: 500;
}

a.view-btn {
  border: 2px solid #932771;
  font-weight: 700;
  font-size: 14px;
  color: #000;
  text-transform: uppercase;
  padding: 5px;
  position: relative;
  z-index: 1;
}

a.view-btn:hover {
  text-decoration: none;
  color: #fff
}
a.view-btn:after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: #932771;
  transition: all 0.3s ease;
}

a.view-btn:hover:after {
  top: 0;
  height: 100%;
}

.hr-2 {
  width: 30px;
  height: 3px;
  background: #932771;
  position: relative;
  margin: 0;
  margin-bottom: 40px;
  margin-top: 20px;
}

.hr-2:after {
  position: absolute;
  content:'';
  top: 0;
  right: -100px;
  width: 30px;
  height: 3px;
  background: #932771;
  margin-right: 20px;
}


.hr-2:before {
  position: absolute;
  content:'';
  top: 0;
  left: 20px;
  width: 30px;
  height: 4px;
  background: #932771;
  margin-left: 20px;
}

@media screen and (max-width: 800px) {
  .team-member {
    text-align: center;
  }
  
  .team-img {
    margin: 50px 0;
  }
}


/*------------------------------------------------------------------------------
---------------------------------------------------------------------------------
------------------MEMBERS-------------------------------------*/

.team {
  padding-bottom: 70px;
  font-family: "Poppins", sans-serif;
}
.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;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 10px;

}
.team__item:after {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: rgba(34, 48, 96, 0.8);
  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: 0 0 26px;
  margin-bottom: 26px;
  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;
}
.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: 26px;
  position: relative;
}
.team__text .team__title h4 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 6px;
}
.team__text .team__title span {
  font-size: 15px;
  color: #88c417;
}
.team__text p {
  color: #e4e4e4;
  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 30px;
  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: #88c417;
}
@media (max-width: 768px) {
  .team__item {
    height: 350px;
  }
  .team__text {
    padding: 25px 20px 20px;
  }
}

