.constik-team-section {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* .constik-team-section.pb-70 {
  padding-bottom: 70px;
} */

.constik-team-section .team-content {
  height: 100%;
  padding: 30px 0;
  position: relative;
  z-index: 1;
  text-align: center;
}

.constik-team-section .team-content h2 {
  color: var(--title-text-color);
  line-height: 1.3;
  margin-bottom: 15px;
}

.constik-team-section .team-content p {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.constik-team-section .primary-btn {
  position: relative;
  overflow: hidden;
  display: inline-block;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  border-radius: var(--button-radius);
  border: none;
  padding: 10px 30px;
  z-index: 1;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--title-font-family);
  color: #fff;
  background:#121212;
  line-height: 1.8;
  text-transform: capitalize;
  cursor: pointer;
}
/* 
.constik-team-section .primary-btn::before,
.constik-team-section .primary-btn::after {
  content: "";
  position: absolute;
  width: calc(50% + 4px);
  height: 0;
  background-color: var(--color-second);
  z-index: -1;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}
.constik-team-section .primary-btn::before {
  bottom: 0;
  left: 0;
}
.constik-team-section .primary-btn::after {
  top: 0;
  right: 0;
} */

.constik-team-section .team-content .primary-btn:hover {
  color: var(--color-second);
}
.constik-team-section .team-content .primary-btn:hover::before,
.constik-team-section .team-content .primary-btn:hover::after {
  background: #ffffff;
  height: 100%;
}

.constik-team-section .slider-item {
  overflow: hidden;
  margin-bottom: 30px;
}

.constik-team-section .slider-item .image {
  margin: 0 10px;
  overflow: hidden;
}

.constik-team-section .slider-item .image img {
  width: 100%;
  aspect-ratio: 375 / 422;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.constik-team-section .slider-item .content {
  position: relative;
  overflow: hidden;
  padding: 16px;
  color: #ffffff;
  background: #121212;
}

.constik-team-section .slider-item .content h3 {
  margin-bottom: 0;
  color: #ffffff;
}

.constik-team-section .slider-item .overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  padding: 25px;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.constik-team-section .slider-item .overlay-content::before {
  position: absolute;
  content: "";
  top: -100px;
  right: 0;
  border-top: 100px solid var(--color-primary);
  opacity: 0.8;
  border-left: 100px solid transparent;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.constik-team-section .slider-item .social-link {
  display: inline-block;
}

.constik-team-section .slider-item .social-link a {
  display: block;
  line-height: 0;
  text-align: center;
  background: var(--color-second);
  color: var(--color-primary);
  padding: 12px;
  font-size: 12px;
  margin-bottom: 8px;
  margin-right: unset;
  -webkit-transform: rotateY(90deg);
  transform: rotateY(90deg);
}

.constik-team-section .slider-item .social-link a:hover {
  background: var(--color-primary);
  color: var(--color-second);
}

.constik-team-section .slider-item .social-link i {
  line-height: 1;
}

.constik-team-section .slider-item:hover .image img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.constik-team-section .slider-item:hover .overlay-content {
  opacity: 1;
}

.constik-team-section .slider-item:hover .overlay-content::before {
  top: -10px;
}

.constik-team-section .slider-item:hover .overlay-content a {
  -webkit-transform: rotateY(0);
  transform: rotateY(0);
}

.constik-team-section .owl-nav {
  display: flex;
  justify-content: center;
}
.constik-team-section .owl-prev,
.constik-team-section .owl-next {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  margin-right: 7px;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  color: var(--color-second);
  text-align: center;
  font-size: 26px;
  border: none;
  line-height: 39px;
}
.constik-team-section .owl-prev i,
.constik-team-section .owl-next i {
  line-height: 1.3;
  font-size: 20px;
}

.constik-team-section .owl-next {
  margin-right: 0;
}

.constik-team-section .owl-prev:hover,
.constik-team-section .owl-next:hover {
  background: var(--color-second);
  color: var(--color-primary);
}


@media (min-width: 991px) {
  .constik-team-section .owl-stage {
    width: auto !important;
  }
  .constik-team-section .team-content::after {
    position: absolute;
    content: "";
    left: -60px;
    top: 0;
    width: 40%;
    height: 100%;
    background: var(--color-primary);
    z-index: -1;
  }
  
  .constik-team-section .team-content p {
    margin-bottom: 30px;
  }
  
  .constik-team-section .slider-item {
    max-width: 350px;
    margin-bottom: 0;
  }
  
  .constik-team-section .owl-nav {
    position: absolute;
    left: -20px;
    bottom: 0;
    transform: translateX(-100%);
  }
}

@media only screen and (max-width: 990px) {
  .constik-team-section .team-content {
    padding: 0;
    margin-bottom: 40px;
  } 
  .constik-team-section .team-content p,
  .constik-team-section .team-content .cta-btn
  {
    margin-bottom: 20px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 990px) {
  .constik-team-section .team-content {
    max-width: 610px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .constik-team-section .team-content p {
    max-width: 545px;
    margin-left: auto;
    margin-right: auto;
  }

  .constik-team-section.pb-70 {
    padding-bottom: 60px;
  }
}
@media only screen and (max-width: 767px) {
  .constik-team-section .primary-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  .constik-team-section.pb-70 {
    padding-bottom: 20px;
  }
}
