.testimonial-text.truncated {
            display: -webkit-box;
            -webkit-line-clamp: 3;
            line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* Flexbox for equal height Owl Carousel items */
        .testimonial-carousel .owl-stage {
            display: flex;
        }

        .testimonial-carousel .owl-item {
            display: flex;
            flex: 1 0 auto;
        }

        .testimonial-carousel .item {
            display: flex;
            flex: 1;
            width: 100%;
        }



        




        .testimonials-main .testimonial-card {
            position: relative;
            border-radius: 14px;
            overflow: visible;
            /* border: 1px solid rgb(228, 227, 227) !important; */
            box-shadow: 0 8px 28px rgba(15, 35, 52, 0.08);
            transition: transform 0.25s ease, box-shadow 0.25s ease;
            margin-top: 0px;
            padding: 0.5rem 1.25rem 1rem !important;
            /* Minimized top and bottom padding */
            width: 100% !important;
            max-width: none !important;
            height: 100%;
            /* border: 1px solid #fe0000 !important; */

            /* Ensure it stretches */
        }

        .testimonials-main .testimonial-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 16px 36px rgba(8, 21, 42, 0.12) !important;
        }

        .testimonials-main .testimonial-card__header {
            padding: 0 1rem;
            text-align: center;
            min-height: 50px !important;

        }

        .testimonials-main .testimonial-card__badge {
            width: 88px;
            height: 88px;
            margin: -44px auto 0;
            border-radius: 50%;
            background: #ff0000;
            border: 4px solid #fff;
            box-shadow: 0 6px 18px rgba(12, 74, 110, 0.22);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            font-weight: 700;
            color: #fff;
            line-height: 1;
            position: relative;
            z-index: 3;


        }

        .testimonials-main .testimonial-card__slider-wrap {
            margin-top: -2rem;
            /* Reduced from 1rem to pull images up */
            margin-bottom: 0.25rem;
            position: relative;
            padding: 0 2px;
            overflow: hidden;
            border-radius: 4px;


        }

        .testimonials-main .testi-list-carousel .item a {
            display: block;
            width: 100% !important;
            height: 75px !important;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
            background: #f8f9fa;
        }

        .testimonials-main .testi-list-carousel img {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
            margin: 0 !important;
            display: block;
        }

        .testimonials-main .testi-list-carousel .owl-nav {
            position: absolute;
            top: 50%;
            left: 0;
            width: 100%;
            transform: translateY(-50%);
            pointer-events: none;
            margin: 0;
            z-index: 5;
        }

        .testimonials-main .testi-list-carousel .owl-nav button {
            pointer-events: all;
            width: 34px;
            height: 34px;
            border-radius: 50% !important;
            background: rgba(255, 255, 255, 0.95) !important;
            border: 1px solid rgba(0, 0, 0, 0.06) !important;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12) !important;
            display: flex !important;
            align-items: center;
            justify-content: center;
            margin: 0 !important;
            padding: 0 !important;
            transition: background 0.2s, opacity 0.2s;
        }

        .testimonials-main .testi-list-carousel .owl-nav button.owl-prev {
            position: absolute;
            left: -6px;
            background: rgba(255, 255, 255, 0.85) !important;
        }

        .testimonials-main .testi-list-carousel .owl-nav button.owl-next {
            position: absolute;
            right: -6px;
        }

        .testimonials-main .testi-list-carousel .owl-nav button:hover {
            background: #fff !important;
        }

        .testimonials-main .testi-list-carousel .owl-nav button.disabled {
            opacity: 0.35 !important;
            cursor: default;
        }

        .testimonials-main .testi-list-carousel .owl-nav button span {
            font-size: 22px;
            line-height: 1;
            color: #333;
            margin-top: -2px;
        }

        .testimonials-main .testi-list-carousel .owl-dots {
            display: none;
        }

        .testimonials-main .testimonial-card__body {
            text-align: center;
            padding: 0.5rem 1rem 0.5rem;
            /* Minimized padding */

        }

        @media (min-width: 768px) {
            .testimonials-main .testimonial-card__body {
                padding: 0.5rem 1.25rem 0.75rem;
            }
        }

        .testimonials-main .testimonial-card__body .testimonial-text-container {
            text-align: start;
        }

        @media (max-width: 575px) {
            .testimonials-main .testimonial-card__badge {
                width: 80px;
                height: 80px;
                margin-top: -40px;
                font-size: 1.75rem;
            }

            .testimonials-main .testi-list-carousel .item a {
                height: 68px !important;
            }

            .testimonials-main .testi-list-carousel .owl-nav button {
                width: 30px;
                height: 30px;
            }

            .testimonials-main .testi-list-carousel .owl-nav button span {
                font-size: 18px;
            }
        }
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        /* Single image styling */
        .testimonials-main .testimonial-card__single-wrap {
            margin-top: 14px !important;
            /* margin-bottom: 0.25rem; */
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
        }

        .testimonials-main .testimonial-card__single-link {
            display: block;
            width: 120px;
            height: 80px;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
            background: #f8f9fa;
        }

        .testimonials-main .testimonial-card__single-img {
            width: 100% !important;
            height: 100% !important;
            object-fit: contain !important;
            margin: 0 !important;
            display: block;
            background-color: #f8f9fa;
        }
