.yb-testimonial-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: auto; /* adjust based on card height */
  cursor: grab; /* optional, shows draggable cursor */
}

/* Slider container is flex row */
#testimonial-slider {
  display: flex;
  transition: transform 0.1s ease-out; /* smooth movement */
  will-change: transform;
}

/* Individual testimonial cards */
.yb-testimonial-card {
  flex: 0 0 auto; /* don’t shrink, width based on content */
  width: 46%; /* adjust card width as needed */
  display: flex;
  flex-direction: column;
  
}
/* .yb-testimonial-card:hover {
    opacity: unset;
} */
.yb-testimonial-card:hover {
    opacity: unset;
}
.yb-testimonial-card.active {
    opacity: unset;
}
/* Card content styling */






.yb-testimonial-section-slider {
    width: 100% !important;
    max-width: 100% !important;
}
.yb-testimonial-section-slider .yb-heading {
    margin: 0;
}

.yb-testimonial-section-slider p.yb-heading {
    color: #fff;
}
.yb-testimonial-section-slider .heading-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin-bottom: 80px;
    text-align: center;
}
.yb-testimonial-section-slider .slick-track {
    display: flex;
    align-items: stretch;
}
.yb-testimonial-card {
    border-radius: 16px;
    background: #fff;
    margin: 0 12px;
    overflow: hidden;
    opacity: .75;
    height: auto;
}
.yb-testimonial-card.slick-active {
    opacity: 1;
}
.yb-testimonial-section-slider .slick-list {
    padding: 0 25% !important;
}
.yb-testimonial-card .card-head  {
    background: #214ECF;
    padding: 32px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}
.yb-testimonial-card .card-head .link-case-study {
    flex: 0 0 24px;
}
.yb-testimonial-quote blockquote {
    padding: 32px;
    margin: 0;
    border: 0;
    font-size: 28px;
    color: #010E3A;
    line-height: 35px;
    font-weight: 300;
    font-family: 'Source Sans Pro', sans-serif;
}

.yb-testimonial-quote blockquote::before {
    background: url('data:image/svg+xml,<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 20.3571C0 13.2536 5.75357 7.5 12.8571 7.5H13.7143C15.6107 7.5 17.1429 9.03214 17.1429 10.9286C17.1429 12.825 15.6107 14.3571 13.7143 14.3571H12.8571C9.54643 14.3571 6.85714 17.0464 6.85714 20.3571V21.2143H13.7143C17.4964 21.2143 20.5714 24.2893 20.5714 28.0714V34.9286C20.5714 38.7107 17.4964 41.7857 13.7143 41.7857H6.85714C3.075 41.7857 0 38.7107 0 34.9286V31.5V28.0714V20.3571ZM27.4286 20.3571C27.4286 13.2536 33.1821 7.5 40.2857 7.5H41.1429C43.0393 7.5 44.5714 9.03214 44.5714 10.9286C44.5714 12.825 43.0393 14.3571 41.1429 14.3571H40.2857C36.975 14.3571 34.2857 17.0464 34.2857 20.3571V21.2143H41.1429C44.925 21.2143 48 24.2893 48 28.0714V34.9286C48 38.7107 44.925 41.7857 41.1429 41.7857H34.2857C30.5036 41.7857 27.4286 38.7107 27.4286 34.9286V31.5V28.0714V20.3571Z" fill="%235479F7"/><path d="M0 20.3571C0 13.2536 5.75357 7.5 12.8571 7.5H13.7143C15.6107 7.5 17.1429 9.03214 17.1429 10.9286C17.1429 12.825 15.6107 14.3571 13.7143 14.3571H12.8571C9.54643 14.3571 6.85714 17.0464 6.85714 20.3571V21.2143H13.7143C17.4964 21.2143 20.5714 24.2893 20.5714 28.0714V34.9286C20.5714 38.7107 17.4964 41.7857 13.7143 41.7857H6.85714C3.075 41.7857 0 38.7107 0 34.9286V31.5V28.0714V20.3571ZM27.4286 20.3571C27.4286 13.2536 33.1821 7.5 40.2857 7.5H41.1429C43.0393 7.5 44.5714 9.03214 44.5714 10.9286C44.5714 12.825 43.0393 14.3571 41.1429 14.3571H40.2857C36.975 14.3571 34.2857 17.0464 34.2857 20.3571V21.2143H41.1429C44.925 21.2143 48 24.2893 48 28.0714V34.9286C48 38.7107 44.925 41.7857 41.1429 41.7857H34.2857C30.5036 41.7857 27.4286 38.7107 27.4286 34.9286V31.5V28.0714V20.3571Z" fill="%235479F7"/></svg>');
    width: 48px;
    height: 48px;
    display: block;
    margin-bottom: 16px;
}
.yb-testimonial-section-slider .testimonial-section {
    display: flex;
    justify-content: space-between;
    padding: 32px;
    align-items: center;
}
.yb-testimonial-section-slider  .testimonial-body {
    display: flex;
    flex-direction: column;
    height: calc(100% - 144px);
    justify-content: space-between;
}
.yb-testimonial-section-slider .testimonial-section .testimonial-detail-wrap {
    display: flex;
    gap: 16px;
    align-items: center;
}

.yb-testimonial-section-slider .testimonial-section .testimonial-detail-wrap img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}
.yb-testimonial-section-slider .testimonial-section .testimonial-detail-wrap strong {
    font-size: 20px;
    letter-spacing: .20px;
    color: #010E3A;
    font-weight: 600;
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 25px;
}

.yb-testimonial-section-slider .testimonial-section .testimonial-detail-wrap p {
    font-size: 18px;
    font-weight: 300;
    color: #010E3A;
    letter-spacing: .18px;
    line-height: 27px;
    margin: 0;
    padding: 0;
}

@media screen and (max-width: 1200px) {
    .yb-testimonial-card .card-head,
    .yb-testimonial-section-slider .testimonial-section {
    padding: 24px;
}
    .yb-testimonial-quote blockquote {
    padding: 24px;
    font-size: 24px;
    line-height: 30px;
}
.yb-testimonial-section-slider .slick-list {
    padding: 0 20% !important;
}
}
@media screen and (max-width: 1100px) {
.yb-testimonial-card .card-head  .h3_heading {
    font-size: 24px;
    line-height: 30px;
    letter-spacing: -0.24px;
}
.yb-testimonial-quote blockquote {
    font-size: 20px;
    line-height: 26px;
}
}
@media screen and (max-width: 991px) {
    .yb-testimonial-section-slider .testimonial-section .testimonial-detail-wrap strong {
    font-size: 18px;
    letter-spacing: 0.18px;
    line-height: 24px;
}
.yb-testimonial-section-slider .testimonial-section .testimonial-detail-wrap p {
    font-size: 16px;
    letter-spacing: .16px;
    line-height: 22px;
}
    .yb-testimonial-section-slider .slick-list {
    padding: 0 12% !important;
}
.yb-testimonial-section-slider .heading-wrapper {
    margin-bottom: 32px;
}
.yb-testimonial-card {
    margin: 0 8px;
}
section.yb-testimonial-section-slider {
    padding-bottom: 48px;
}
.yb-testimonial-section-slider .slick-dots {
    bottom: -35px;
}
.yb-testimonial-section-slider .slick-dots li {
    width: 12px;
    height: 12px;
}

.yb-testimonial-section-slider .slick-dots li button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #fff;
}

.yb-testimonial-section-slider .slick-dots li button:before {
    display: none;
}

.yb-testimonial-section-slider .slick-dots li.slick-active button {
    background: #5CC7FC;
    border-color: #5CC7FC;
}
}
@media screen and (max-width: 767px) {
    .yb-testimonial-section-slider .slick-list {
    padding: 0 30px !important;
}
.yb-testimonial-card .card-head  .h3_heading {
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.20px;
}
.yb-testimonial-quote blockquote {
    font-size: 18px;
    line-height: 22px;
}
.yb-testimonial-section-slider .testimonial-section {
    flex-direction: column;
    gap: 8px;
}
.yb-testimonial-section-slider .testimonial-section .testimonial-detail-wrap {
    gap: 8px;
}
.yb-testimonial-section-slider .testimonial-section .testimonial-detail-wrap img {
    width: 60px;
    height: 60px;
}
.yb-testimonial-quote blockquote::before {
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
    background-size: 24px;
}
.yb-testimonial-section-slider .testimonial-section .testimonial-detail-wrap .testimonial-author {
    flex: 0 0 60px;
}

.yb-testimonial-card {
    width: 70%;
}
}