.testimonial-section{   
  position:relative;
  background-color:#2D3E50;
}

.testimonial-both-wrapper{
   position:relative;
}

.testimonial-section .bg-testimonial{
  position: absolute;
  left: 140px;
  top: 0;
}

.testimonial-slider-wrapper{
  position: relative;
  z-index:999;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding:0 148px;
  display:flex;
  gap:20px;
}

.left-content{
  align-self: center;
  flex-grow:1;
  width:60%;
}

.right-content{
  width:40%;
  max-width:364px;
}
.author-img{
    border:1px solid rgb(255 255 255 / 10%);
    padding:24px;
    border-radius: 100%;
}

.author-img img{
   width:100%;
   height:100%;
   border-radius: 100%;
   width:316px;
   height:316px;
   overflow:hidden;
}
.slider-for.slick-initialized.slick-slider{
  position:static;
}

.slider-nav{
  margin-left:auto; 
}

.author-img{
  width:100%;
  height:100%:
}

.author-img img{
  width:100%;
  height:100%:
}

.slider-content h3{
  font-size: 32px !important;
  color: #fff;
  line-height: 1.2;
  font-weight: 500;
  margin-bottom:20px;
}

.slider-content .richtext{
  margin-bottom:24px;
}

.slider-content .richtext *:not(h1,h2,h3,h4,h5,h6,strong){
  color: #fff;
  opacity: 80%;
  font-size: 18px;
  line-height:1.6;
}

.author-detail{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.author-detail h4{
  font-size: 24px !important;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.2 !important;
  font-weight: 700;
}

.author-detail p{
  font-size: 14px;
  color: #fff;
  line-height: 1.6;
}


/* Slider Arrow css  */

.slider-for .slick-next,
.slider-for .slick-prev{
  display: inline-block;
  width: 48px;
  height: 48px;
  overflow:hidden;
  font-size: 2px;
  border-radius: 100%;
  padding: 0;
  color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

.slider-for .slick-prev{
  background-image:url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.44234 3.56401C8.13499 3.25666 7.63666 3.25666 7.3293 3.56401L1.03301 9.86031C0.725651 10.1677 0.725651 10.666 1.03301 10.9733L7.3293 17.2696C7.63666 17.577 8.13499 17.577 8.44234 17.2696C8.7497 16.9623 8.7497 16.464 8.44234 16.1566L3.4896 11.2039H18.3796C18.8143 11.2039 19.1667 10.8515 19.1667 10.4168C19.1667 9.98216 18.8143 9.62979 18.3796 9.62979H3.4896L8.44234 4.67705C8.7497 4.3697 8.7497 3.87137 8.44234 3.56401Z" fill="%23000"/></svg>');
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  left: 0;
}  

.slider-for .slick-next{
  background-image:url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.5577 3.56401C11.865 3.25666 12.3633 3.25666 12.6707 3.56401L18.967 9.86031C19.2743 10.1677 19.2743 10.666 18.967 10.9733L12.6707 17.2696C12.3633 17.577 11.865 17.577 11.5577 17.2696C11.2503 16.9623 11.2503 16.464 11.5577 16.1566L16.5104 11.2039H1.62035C1.18568 11.2039 0.833313 10.8515 0.833313 10.4168C0.833313 9.98216 1.18568 9.62979 1.62035 9.62979H16.5104L11.5577 4.67705C11.2503 4.3697 11.2503 3.87137 11.5577 3.56401Z" fill="currentcolor"/></svg>');
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  right: 0;
}

.slider-for .slick-disabled.slick-next{
  background-image:url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.5577 3.56401C11.865 3.25666 12.3633 3.25666 12.6707 3.56401L18.967 9.86031C19.2743 10.1677 19.2743 10.666 18.967 10.9733L12.6707 17.2696C12.3633 17.577 11.865 17.577 11.5577 17.2696C11.2503 16.9623 11.2503 16.464 11.5577 16.1566L16.5104 11.2039H1.62035C1.18568 11.2039 0.833313 10.8515 0.833313 10.4168C0.833313 9.98216 1.18568 9.62979 1.62035 9.62979H16.5104L11.5577 4.67705C11.2503 4.3697 11.2503 3.87137 11.5577 3.56401Z" fill="%23fff"/></svg>');
  background-color:rgb(255 255 255 / 10%);
}
.slider-for .slick-disabled.slick-prev{
  background-image:url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.44234 3.56401C8.13499 3.25666 7.63666 3.25666 7.3293 3.56401L1.03301 9.86031C0.725651 10.1677 0.725651 10.666 1.03301 10.9733L7.3293 17.2696C7.63666 17.577 8.13499 17.577 8.44234 17.2696C8.7497 16.9623 8.7497 16.464 8.44234 16.1566L3.4896 11.2039H18.3796C18.8143 11.2039 19.1667 10.8515 19.1667 10.4168C19.1667 9.98216 18.8143 9.62979 18.3796 9.62979H3.4896L8.44234 4.67705C8.7497 4.3697 8.7497 3.87137 8.44234 3.56401Z" fill="%23fff"/></svg>');
  background-color:rgb(255 255 255 / 10%);
}

.testimonial-bg-img img{
   width:100%;
}

.testimonial-bg-img{
  position: absolute;
  top: 0;
  right: 0;
  max-width:202px;
}

.testimonial-section .logo-form{
   max-width:140px;
}

.testimonial-section .logo-form img{
   width:100%;
}

.testimonial-section .truncate-4-lines { -webkit-line-clamp: 6; }

/* End Slider arrrow css */

@media only screen and (max-width: 991px){
  .testimonial-slider-wrapper{
    flex-direction: column;
    padding:0 68px;
  }
  
  .testimonial-section .bg-testimonial{
    left: 58px;
    top: -50px;
  }
  
  .left-content{
    width:100%;
  }

  .right-content{
    width:100%;
    margin-left:auto;
    margin-right:auto;
  }
  
  .testimonial-bg-img{
     max-width:84px;
  }

}

@media only screen and (max-width: 767px){
  .testimonial-section .logo-form{
    max-width:92px;
  }
  
  .slider-for.slick-initialized.slick-slider{
    position: relative;
    padding-bottom: 90px;
  }
  
  .slider-for .slick-prev {
    top: auto;
    bottom: -10px;
    left:0;
  }
  .slider-for .slick-next {
    top: auto;
    bottom: -10px;
    left:63px;
    right:autp;
  }
  
  .testimonial-slider-wrapper{
    padding:0;
  }
  .testimonial-slider-wrapper{
    padding: 0 50px;
  }
  
  .testimonial-section .bg-testimonial{
     max-width:97px;
  }
        
  .slider-content h3{
     font-size:20px !important;
     margin-bottom:18px;
  }
  
  .slider-content .richtext{
     margin-bottom:20px;
  }
 
  .slider-content .richtext :not(h1,h2,h3,h4,h5,h6,strong){
     font-size: 14px;
  }
  
  .author-detail h4{
     margin-bottom:4px;
  }
  
  .author-detail h4{
     font-size: 16px !important;
  }
  
  .author-detail p{
    font-size: 12px !important;
  }
  
  .testimonial-section .logo-form{
    max-width:92px;
  }
  
  .testimonial-bg-img img{
      width:84px;
  }
  
  .testimonial-section .bg-testimonial {
    left: 40px;
    top: -40px;
  }
  
}

@media only screen and (max-width: 640px){
  .testimonial-section .bg-testimonial img{
     width:100%;
  }
  .testimonial-section .bg-testimonial {
    left: -9px;
    top: -30px;
    max-width: 84px;
  }
  .testimonial-slider-wrapper{
    padding: 0 0px;
  }
}
