.testimonial-video-slider {
    padding-left: 2px;
    padding-right: 2px;
    margin-left: -2px;
    margin-right: -2px;
    position: relative;
    padding-bottom: 40px;
    /* padding-left: 28px;
    padding-right: 28px;
    margin-left: -28px;
    margin-right: -28px; */
}
.testimonial-video-slider .swiper-slide .testimonial-box.video-card{
    width: 100% !important;
}
.testimonial-video-slider .swiper-slide .testimonial-box.video-card:hover {
    transform: translateY(0) !important;
}
.testimonial-video-slider .swiper-pagination-bullet{
    position: relative;
    margin: 0 7px;
}
.testimonial-video-slider .swiper-pagination-bullet::after,.testimonial-video-slider .swiper-pagination-bullet::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
}
.testimonial-video-slider .swiper-pagination-bullet::after{
    bottom: 98%;
}
.testimonial-video-slider .swiper-pagination-bullet::before{
    top: 98%;
}
.testimonial-video-slider .swiper-pagination-bullet-active{
    background-color: #000;
}
.testimonial-video-slider .swiper-pagination{
    bottom: 0px; 
    z-index: 10; 
}

.testimonial-video-slider .swiper-button-next {
    right: -1%;
   
}
.testimonial-video-slider .swiper-button-prev {
    left: -1%;
    
}
.testimonial-video-slider  .swiper-nav-button{
    width: 50px;
    height: 50px;
    color: #201E1E50;
    z-index: 1;
    display: none !important;
}
.testimonial-video-slider  .swiper-nav-button:after{
    font-size: 30px;
}
.testimonial-video-slider   .swiper-pagination .swiper-pagination-bullet{
    width: 22px;
    height: 5px;
    border-radius: 3px;
}

.video-card {
    width: calc((100% - 60px) / 3); 
    border: 1px solid #ddd;
    padding: 20px 22px 30px;
    transition: all .3s ease-in-out;
}

 .video-card:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #172E19;
}

.video-card figure {
    position: relative;
    margin: 0;
    padding-top: calc(416/370 * 100%);
}

.video-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    
}

.play-button {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px); 
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 14px solid white;
    border-radius: 3px;
    margin-left: 2px;
    
}

.video-card:hover .play-button {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.5);
  
}

.profile-description {
    margin-top: 20px;
    text-align: left;
}

.profile-description h4 {
     margin-top: 0;
    margin-bottom: 4px;
    font-family: "Poppins", Sans-serif;
    font-weight: 300;
    font-size: 20px;
    letter-spacing: 0.3px;
    line-height: 23.4px;
    text-transform: uppercase;

}

.profile-description p {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 24px;
    margin: 0;

}

.testimonial-box{
    position: relative;
}

.stretched-link{
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.testimonial-modal-details{
    padding: 40px 40px 30px;
}
.member-details blockquote{
    margin: 0 0 30px;
    font-size: 16px;
    line-height: 1.7;
    max-height: 500px;
    overflow-y: auto;
    
}
.member-details video{
    width: 100%;
    height: auto;
    max-height: 60vh;
    background-color: #000;
    margin-bottom: 20px;
}
.member-details .member-name{
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 23.4px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    margin: 0;
}
.member-details .member-designation{
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    margin: 0;
}

/* Overlay styling */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  z-index: 9999;
}

/* Hidden class */
.hidden {
  display: none;
}

/* Modal box */
.modal.team-modal {
    background-color: white;
    padding: 0;
    border-radius: 0;
    position: relative;
    width: 90%;
    height: auto;
    max-height: calc(100% - 5rem);
    max-width: 800px;
    margin: auto;
    overflow-x: hidden;
    overflow-y: auto;
    animation: fadeInUp 0.3s ease-in-out;
    z-index: 1000;
  
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
  
}

.modal .modal-header {
  position: absolute;
  top: 0;
  inset-inline: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: flex-end;
}
.modal .modal-header .modal-title {
  font-size: 20px;
  font-weight: 400;
  margin: 0;
}
.modal .modal-header button.closeBtn {
  border-color: unset;
  font-size: 14px;
  padding: 4px;
  margin: 0;
  cursor: pointer;
  color: #000;
  font-family: "Poppins";
  width: 30px;
  height: 30px;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
  /* border: 1px solid #000;
  border-radius: 100%; */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: transparent !important;
  border-radius: 50%;
  z-index: 1;
 
}
 @media screen and (min-width: 768px) {
    .modal .modal-header button.closeBtn{
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
  }
.modal .modal-header button.closeBtn i {
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
}

@media (hover: hover) {
  .modal.team-modal .modal-header button.closeBtn:hover {
    color: #3a1219;
    border-color: #3a1219;
  }
  .modal.team-modal .modal-header button.closeBtn:hover i {
    /* -webkit-transform: scale(1.05);
            transform: scale(1.05); */
  }
}
/* Responsive */
@media (max-width: 1399px){
    .testimonial-modal-details{
        padding: 30px 30px 30px;
    }
     .modal.team-modal{
        height: auto;
    }
}

@media (max-width: 991px) {
    
    .member-details blockquote{
        margin: 0 0 20px;
    }
   
    .member-details .member-name{
        font-size: 16px;
    }
    .member-details .member-designation{
        font-size: 13px;
    }
    .testimonial-box{
        padding: 20px;
    }
   
    .modal .modal-header button.closeBtn{
        top: 0 !important;
        right: 0 !important;
        
    }
    .profile-description h4{
        font-size: 14px;
        line-height: 21px;
    }
    .profile-description p{
        font-size: 13px;
        line-height: 21px;
    }
}

@media (max-width: 600px) {
    .testimonial-video-slider{
        padding-bottom: 26px;
    }
    .video-card {
        width: 100%;
    }
    .video-card:hover {
        transform: translateY(0);
    }
     .testimonial-modal-details{
        padding: 30px 20px 20px;
    }
     .testimonial-card .profile-img {
        width: 45px;
        height: 45px;
    }
    .testimonial-box {
        padding: 15px;
    }
   
}

/* @media screen and (min-width: 576px) {
    .modal.team-modal {
        width: 700px;
        height: auto;
        max-height: calc(100% - 1.5rem);
        max-width: calc(100% - 1.5rem);
    }
} */