/* .display-4 {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
  }



.courses-item img {
    position: relative;
    margin-top: 40px;
    transition: .5s;
  }
  
  .courses-list-item img {
    position: relative;
    transition: .5s;
  }
  
  .courses-item .courses-text,
  .courses-list-item .courses-text {
    position: absolute;
    width: 100%;
    height: calc(100% + 86px);
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: linear-gradient(to bottom, rgba(18, 15, 45, 0), #120f2d);
    transition: .5s;
    z-index: 1;
  }
  
  .courses-list-item .courses-text {
    height: 100%;
  }
  
  .courses-item:hover img {
    margin-top: 0px;
  }
  
  .courses-list-item:hover img {
    transform: scale(1.2);
  }
  
  .courses-item:hover .courses-text {
    height: calc(100% + 40px);
  }
  
  .team-carousel .owl-nav,
  .related-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 60px;
    top: calc(50% - 30px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
  }
  
  .team-carousel .owl-nav .owl-prev,
  .team-carousel .owl-nav .owl-next,
  .related-carousel .owl-nav .owl-prev,
  .related-carousel .owl-nav .owl-next {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: #2878EB;
    font-size: 22px;
    transition: .5s;
  }
  
  .team-carousel .owl-nav .owl-prev:hover,
  .team-carousel .owl-nav .owl-next:hover,
  .related-carousel .owl-nav .owl-prev:hover,
  .related-carousel .owl-nav .owl-next:hover {
    background: #F14D5D;
  }


  .back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 11;
  } */




  @import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
.teacher-card{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* font-family: 'Poppins',sans-serif; */
  font-family: 'Montserrat', sans-serif !important;
  padding: 50px;
  text-align: center;
}
.teacher-container{
  height: 250px;
  width: 250px;
  overflow: hidden;
  margin: 0 auto;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.3);
  background: linear-gradient(45deg, #7b00e0, #ae31d9);
}
.teacher-container:hover{
  height: 400px;
  width: 350px;
  border-radius: 5px;
  box-shadow: 0px 1px 35px 0px rgba(0,0,0,0.3);
}
.teacher-container .teacher-wrapper img{
  position: relative;
  z-index: 20;
  /* border-radius: 50%; */
  border-radius: 200px 200px 200px 200px;
  display: block;
  height: 200px;
  width: 200px;
  border: 5px solid #fff;
  object-fit: cover;
  margin: 20px auto;
  transition: all 0.3s ease;
}
.teacher-container:hover .teacher-wrapper img.active{
  height: 470px;
  width: 350px;
  margin: 0px auto;
  border: none;
  border-radius: 5px;
}
.teacher-wrapper .teacher-title{
  color: #fff;
  font-size: 30px;
  font-weight: 500;
  padding: 10px;
  line-height: 25px;
}
.teacher-wrapper .teacher-place{
  color: #fff;
  font-size: 17px;
  line-height: 0px;
  margin: 10px 0;
}
.teacher-content{
  color: #fff;
  font-size: 17px;
  margin-top: 10px;
  padding: 1px 20px 10px 20px!important;
}
.teacher-content .teacher-buttons{
  display: flex;
  padding-left: 70px;
}
.teacher-buttons .teacher-btn{
  height: 40px;
  width: 150px;
  margin: 0 5px;
}
.teacher-buttons .teacher-btn button{
  height: 100%;
  width: 100%;
  background: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  border-radius: 5px;
  transition: all 0.3s;
}
.teacher-btn button:hover{
  transform: scale(0.95);
}
.teacher-container .teacher-icons{
  position: relative;
  margin-top: -385px;
  margin-left: 10px;
  list-style: none;
}
.teacher-container .teacher-icons.active{
  display: none;
}
.teacher-container .teacher-icons li{
  height: 40px;
  width: 40px;
  margin: 5px 0;
  opacity: 0;
  margin-left: -100px;
  transition: all 0.5s ease;
}
.teacher-container:hover .teacher-icons li{
  opacity: 1;
  margin-left: 7px;
}
.teacher-container:hover .teacher-icons li:nth-child(2){
  transition-delay: 0.2s;
}
.teacher-container:hover .teacher-icons li:nth-child(3){
  transition-delay: 0.4s;
}
.teacher-container .teacher-icons li a{
  color: #7b00e0;
  height: 100%;
  width: 100%;
  border-radius: 50%;
  background: #fff;
  display: block;
  line-height: 40px;
  transition: all 0.3s;
}
.teacher-container .teacher-icons li a:hover{
  transform: scale(0.9);
}