/** team-section **/

.team-section {
  position: relative;
}

.team-block-one .inner-box {
  position: relative;
  display: block;
}

.team-block-one .inner-box .image-box {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 23px;
}

.team-block-one .inner-box .image-box img {
  width: 100%;
  border-radius: 23px;
  transition: all 500ms ease;
}

.team-block-one .inner-box:hover .image-box img {
  transform: scale(1.05);
}

.team-block-one .inner-box .content-box {
  position: absolute;
  left: 40px;
  bottom: 0px;
  width: calc(100% - 80px);
  background: #fff;
  box-shadow: 0px 4px 30px rgba(205, 192, 192, 0.25);
  border-radius: 20px 20px 0px 0px;
  padding: 24px 15px 23px 15px;
  z-index: 1;
  transition: all 500ms ease;
}

.team-block-one .inner-box:hover .content-box {
  padding-bottom: 49px;
}

.team-block-one .inner-box .content-box:before {
  position: absolute;
  content: '';
  background: var(--theme-color);
  width: 100%;
  height: 0%;
  left: 0px;
  bottom: 0px;
  z-index: -1;
  border-radius: 20px 20px 0px 0px;
  transition: all 500ms ease;
}

.team-block-one .inner-box:hover .content-box:before {
  height: 100%;
  top: 0px;
}

.team-block-one .inner-box .content-box h3 {
  position: relative;
  display: block;
  font-size: 28px;
  line-height: 38px;
  font-weight: 600;
  margin-bottom: 2px;
}

.team-block-one .inner-box .content-box h3 a {
  display: inline-block;
  color: var(--title-color);
}

.team-block-one .inner-box .content-box h3 a:hover {
  text-decoration: underline;
}

.team-block-one .inner-box:hover .content-box h3 a,
.team-block-one .inner-box:hover .content-box .designation {
  color: #fff;
}

.team-block-one .inner-box .content-box .designation {
  position: relative;
  display: block;
  font-size: 16px;
  line-height: 30px;
  transition: all 500ms ease;
}

.team-block-one .inner-box .content-box .social-links {
  position: absolute;
  left: 0px;
  bottom: 15px;
  width: 100%;
  transform: scale(0, 0);
  transition: all 500ms ease;
}

.team-block-one .inner-box:hover .content-box .social-links {
  transform: scale(1, 1);
}

.team-block-one .inner-box .content-box .social-links li {
  position: relative;
  display: inline-block;
  font-size: 16px;
  margin: 0px 8px;
}

.team-block-one .inner-box .content-box .social-links li a {
  position: relative;
  display: inline-block;
  color: #fff;
}

.team-block-one .inner-box .content-box .social-links li a:hover {
  color: var(--secondary-color);
}

.team-section .bg-layer {
  position: absolute;
  left: 0px;
  bottom: 0px;
  width: 100%;
  height: 520px;
  background-repeat: no-repeat;
}



/** RTL-CSS **/





/** RESPONSIVE-CSS **/

@media only screen and (max-width: 1599px) {}


@media only screen and (max-width: 1200px) {}

@media only screen and (max-width: 991px) {

  .team-block-one .inner-box {
    margin-bottom: 30px;
  }

}

@media only screen and (max-width: 767px) {

  /* Uniform image height for all doctor cards on mobile */
  .team-block-one .inner-box .image-box {
    height: 320px !important;
  }

  .team-block-one .inner-box .image-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
  }

  /* Tighten card bottom margin */
  .team-block-one .inner-box {
    margin-bottom: 20px !important;
  }

}

@media only screen and (max-width: 599px) {}

@media only screen and (max-width: 499px) {}