.testimonial-carousel-swiper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    box-sizing: border-box;
}
.testimonial-slide {
    border-radius: 8px;
    padding: 0px;
    box-shadow: 0 0px 8px rgba(0,0,0,0.1);
    text-align: start;
}
.testimonial-client-img img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
}
.testimonial-review p {
    font-style: italic;
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}
.testimonial-client-name {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 0px;
}
.testimonial-client-position,
.testimonial-company-name {
    font-size: 14px;
    margin: 0;
    text-align: start;
}
.testimonial-client-info:hover .testimonial-client-position,
.testimonial-client-info:hover .testimonial-company-name {
    color: var(--text-hover-color) !important;
}
.testimonial-rating {
    margin-top: 10px;
    width: fit-content;
    margin: auto;
    padding: 0px 12px;
    border-radius: 4px;
}
.star {
    font-size: 24px;
    color: #ccc; /* gray for empty star */
    margin-right: 1px;
}
.star-filled {
    color: #F49B16; /* gold color for filled star */
}
.swiper-button-prev,
.swiper-button-next {
    color: #333;
}
.swiper-pagination-bullet-active {
    background: #0073aa;
}

.testimonial-slide.testimonial-post-content-box {
    position: relative;
    z-index: 1;
}
.testimonial-slide.testimonial-post-content-box {
    position: relative;
    overflow: visible;
}
.testimonial-slide.testimonial-post-content-box .testimonial-content-image-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: 0;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    display: block;
    transition: height 0.5s ease-in-out;
}
.testimonial-slide.testimonial-post-content-box:hover .testimonial-content-image-box::before{
    height: 100%;
}
.testimonial-review{
    position: relative;
    z-index: 2;
}
.testimonial-review:after {
    z-index: -1;
    content: '';
    border-top: 1px solid #E9EDF7;
    position: absolute;
    top: 50%;
    width: 100%;
    left: 0;
    bottom: 0;
    margin: 0 auto;
}

/* Inactive bullets */
.testimonial-carousel-wrapper .swiper-pagination-bullet {
    background: none !important; /* Remove Swiper's inline background */
    background-image: linear-gradient(
        var(--dots-angle, 45deg),
        var(--dots-start, #ccc) 0%,
        var(--dots-end, #777) 100%
    ) !important;
    width: 45px ;
    height: 14px ;
    border-radius: 50px ;
    opacity: 1 !important; /* keep fully visible */
}

/* Active bullets */
.testimonial-carousel-wrapper .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: none !important; /* Remove Swiper's inline background */
    background-image: linear-gradient(
        var(--dots-active-angle, 45deg),
        var(--dots-active-start, #333) 0%,
        var(--dots-active-end, #000) 100%
    ) !important;
}



.testimonial-carousel-wrapper .swiper-pagination {
    position: absolute;
    bottom: 20px; /* or controlled by your carousel_dots_gap */
    width: 100%;
    text-align: center;
    z-index: 10;
}
.testimonial-client-info{
    align-self: center;
}
.testimonial-slide.testimonial-post-content-box .testimonial-content-image-box{
    gap: 20px;
    display: grid;
    position: relative;
    z-index: 1;
}
.testimonial-slide.testimonial-post-content-box p{
    margin: 0;
}
.testimonial-review-description{
    padding: 0px 15px 15px;
}
.testimonial-slide.testimonial-post-content-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 20%;
    border-radius: 10px;
    z-index: -1;
    transition: height 0.5s ease-in-out;
}
.testimonial-slide.testimonial-post-content-box:hover::after {
    height: 100%;
}
.testimonial-content-box {
    position: relative;
}
.testimonial-content-box:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 130%;
    border-radius: 10px;
    z-index: -1;
    transition: height 0.5s ease-in-out;
    background: linear-gradient(180deg, #0F0639 0%, var(--e-global-color-primary) 100%);
}
.testimonial-content-box{
    padding: 15px 15px 0px;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}
.testimonial-content {
    position: relative;
    overflow: visible;
    gap: 15px;
}
.testimonial-content::before {
    /* content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    display: block; */
}