.testimonials-section span.swiper-pagination-bullet {
    border-radius: 10px;
    height: 7px;
    width: 23px;
    background: transparent;

    opacity: 1;
    border: 1px solid var(--primary);
}

.testimonials-section .swiper-button-next::after,
.testimonials-section .swiper-button-prev::after {
    font-size: 18px;
}

.testimonials-section .swiper-button-next {
    right: -40px;
}

.testimonials-section .swiper-button-prev {
    left: -40px;
}

.testimonials-section .swiper-button-next:hover,
.testimonials-section .swiper-button-prev:hover {
    background-color: #000000;
}

.testimonials-section .swiper-button-next:hover::after,
.testimonials-section .swiper-button-prev:hover::after {
    color: #fff;
}

.testimonials-section .swiper-button-disabled {
    display: none !important;
}

.testimonials-section .swiper-button-next,
.testimonials-section .swiper-button-prev {
    color: #000000;
    width: 30px;
    height: 30px;
    opacity: 1 !important;
    border-radius: 100%;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.testimonials-section .swiper-pagination-bullet-active {
    height: 15px !important;
    width: 50px !important;
    background: var(--secondary) !important;
    border: 2px solid white !important;
}

.testimonials-section .swiper-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;

}

.testimonials-section {
    /* padding: 80px 0; */

    background-size: contain;
    text-align: center;
}

.testimonials-section .swiper-pagination {
    bottom: 0px !important;
}

.testimonials-section h2 {
    /* color: #1d4e89; */
    font-weight: 700;
    margin-bottom: 10px;
}

.testimonials-section p.lead {
    color: #444;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 15px;
}

.testimonial-card {
    background: #F8E476;
    border-radius: 10px;
    padding: 25px 20px;
    position: relative;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    /* max-height: 300px; */
    /* min-height: 350px; */
    display: flex;
    align-items: center;
    flex-direction: column;
    /* justify-content: center;.testimonials-section */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    width: 90%;
    transform-origin: top left;
}

.testimonial-card:hover {
    transform: rotate(3deg);
    transform-origin: top left;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card .img-pin {
    position: absolute;
    top: 11px;
    left: 6px;
    width: 33px;
    height: 31px;
}

.testimonial-card .img-qoute {
    width: 35px;
    height: 28px;
    margin-top: 16px;
}

.testimonial-card .profile {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
}

.testimonial-name {
    font-weight: 600;
    margin-top: 20px;
}

.testimonial-location {
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
}

.testimonial-text {
    font-size: 14px;
    font-style: italic;
    color: #333;
    position: relative;
    padding: 0 10px;
}



.swiper-pagination-bullet-active {
    background: #1d4e89;
}

.testimonials-section .swiper-slide .row {
    row-gap: 32px;
}

.testimonials-section .swiper-slide .row .col-md-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonials-section .testimonial-swiper {
    padding: 25px 0;
    padding-bottom: 40px;
}

.testimonials-section.mobile-version {
    display: none;
}

@media (max-width: 767px) {
    .testimonials-section{
        padding-bottom: 0px !important;
    }
.testimonials-section .swiper-pagination{
    display: none !important;
}
    .testimonials-section .swiper-button-prev{
        left: 0 !important;
    }
     .testimonials-section .swiper-button-next{
        right: 0 !important;
     }
    .testimonials-section.desktop {
        display: none;
    }

    .testimonials-section.mobile-version {
        display: block;
    }

    .testimonial-card {
        width: 100%;
    }
}

/* MOBILE: Show only the 1st card from each group of 6 */
@media (max-width: 767px) {
    .testimonial-swiper .swiper-slide .col-md-4 {
        display: none;
    }

    .testimonial-swiper .swiper-slide .col-md-4:first-child {
        display: block;
        width: 100%;
    }
}
@media (min-width: 768px) and (max-width: 992px){
.testimonial-card{
    width: 100%;
}
}