.testimonials-slider .slick-slide {
  margin:0 1.5rem;
}
.testimonials-slider .slick-list {
  margin: 0 -1.5rem; 
}

.testimonial-card-container{
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center vertically */
  align-items: center; /* Center horizontally */
  height: 100%;
  width: 100%;
}

.testimonials-card {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    flex-direction: column;
    justify-content: space-evenly;
    position: relative; /* Make the card a relative container */
    color: #191919;
    font-weight: 60;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center top; /* Adjust based on your requirement */
    padding: 100px;
    min-width: 250px;
    min-height: 500px;
}

.testimonials-section { 
  width:100%; 
  position:relative;
 
}
.testimonials-card p {
  font-weight:400 !important;
}
.testimonial-person {
  color:black;
  display:flex;
  flex-direction:column;
  font-size: 33px;
  font-weight:400;
  position:absolute;
  bottom:3rem;
  line-height:1.3;
  left: 50%; /* Position at the horizontal center */
  transform: translateX(15%); /* Move it slightly to the right */
}

.testimonial-content {
  padding: 3rem;
  margin: 20px 40px 0 40px;
  font-size: 16px; /* Default font size */
  word-break: normal; /* Break long words */
  overflow-wrap: normal; /* Ensure proper wrapping */
  max-width: 675px;
  text-align:center;
}

.testimonial-content p {
  font-size: inherit; /* Ensure paragraph elements inherit the font size */
  font-weight: 400 !important;
}

.testimonial-title { font-size:20px; color:#191919;}


.testimonials-section .slick-dots {
  text-align: center;
/*   margin-top: 20px; */
}

.testimonials-section .slick-dots li {
  display: inline-block;
  margin: 0 10px;
}

.testimonials-section .slick-dots li button {
  width: 22px; /* Increase the width */
  height: 22px; /* Increase the height */
  border-radius: 50%;
  background-color: lightgray;
  border: none;
  cursor: pointer;
  padding: 0;
  font-size: 0; /* Hide any numbers */
}

.testimonials-section .slick-dots li button:before {
  content: ''; /* Remove default content */
}

.testimonials-section .slick-dots li.slick-active button {
  background-color: #1e47a4;
}

.testimonials-section .slick-dots li button:hover,
.testimonials-section .slick-dots li button:focus {
  background-color: #1e47a4; /* Hover and focus color */
  outline: none;
}

.testimonials-card:focus {
  outline:none !important;
}

.carousel-arrows {
  justify-content: space-between;
  position: absolute;
  top: 47%;
  width: 100%;
  display: flex;
}

.carousel-left img, .carousel-right img { max-width: 100px; }

.testimonials-slider {
  width: 100%;
  margin-left:auto;
  margin-right:auto;
}

@media screen and (max-width:1500px) {
   .carousel-left img, .carousel-right img { max-width: 80px; }
}
@media screen and (max-width:1200px) {
   .carousel-left img, .carousel-right img {
     max-width: 50px; 
  }
  
    .testimonial-content p {
    font-size: 14px; /* Adjust font size for smaller screens */
  }
}

@media screen and (max-device-width: 1200px) { 
   .carousel-left img, .carousel-right img {
     max-width: 50px; 
  }
  
   .testimonial-content p{
     font-size: 14px;
  }
}

@media screen and (max-width:850px) {
   .carousel-left , .carousel-right { display:none; }
  .testimonials-card {
    padding:0;
    padding-top:10px;
  }
  
  .testimonial-content {margin:20px 20px 20px 20px;}
  
  .testimonial-content p {
    font-size: 14px; /* Ensure this matches the size set above */
  }
  .testimonial-person {
    font-size: 26px;
  }
  .testimonial-title {
    font-size: 16px;
  }
}
@media screen and (max-width: 660px) {
  
}


.carousel-left:hover, .carousel-right:hover { scale(1.05); transition: 0.5s ease-in-out; }

.testimonials-slider .slick-track {
  display: flex !important;
  padding:2rem 0;
}

.testimonials-slider .slick-slide {
    height: inherit !important;
}