<div class="home_testimonials_webpulse">
    <div class="container">
        <div class="tt-bx">
            <div class="tt text-white">What our <span>client's say</span></div>
            <p class="text-white"> Discover firsthand experiences from our valued clients. Explore testimonials
                highlighting their satisfaction, trust, and success stories. Hear directly from those who have
                experienced the excellence of our products and services.</p>
        </div>
        <div class="clearfix"></div>
        <div id="testimonials" class="d-lg-block d-none owl-carousel">
            <?php
                    $i=1;
                $testimonial2= mysqli_query($GLOBALS['dbconn'],"select person_city, title, description, image from safe_business_tbl where status='Y'");
                while($testimonial_res2=mysqli_fetch_assoc($testimonial2)){
                    $user_name= $testimonial_res2['title'];
                    $fstchar = substr($user_name, 0,1);
                ?>
            <div class="review_item">
                <div class="clint-info-wrapper">
                    <div class="thumb">
                        <img src="<?=site_url;?>/uploaded-files/testimonials/<?=$testimonial_res2['image'];?>"
                            alt="<?=$testimonial_res2['title'];?>" title="<?=$testimonial_res2['title'];?>" width="128"
                            height="128">
                    </div>
                    <div class="client-info">
                        <div class="title"><?=$testimonial_res2['title'];?></div>
                        <span><?=$testimonial_res2['person_city'];?></span>
                    </div>
                </div>
                <div class="description">
                    <p class="subtitle-3"><?=$testimonial_res2['description'];?></p>
                </div>
            </div>
            <?php } ?>

        </div>
        <div id="testimonials1" class="d-block d-lg-none carousel slide"  data-bs-ride="carousel">
        <div class="carousel-inner">
        <?php
                    $i=1;
                $testimonial2= mysqli_query($GLOBALS['dbconn'],"select person_city, title, description, image from safe_business_tbl where status='Y'");
                while($testimonial_res2=mysqli_fetch_assoc($testimonial2)){
                    $user_name= $testimonial_res2['title'];
                    $fstchar = substr($user_name, 0,1);
                ?>
            <div class="review_item carousel-item <?= $i == 1 ? 'active' : ''; ?>">
                <div class="clint-info-wrapper">
                    <div class="thumb">
                        <img src="<?=site_url;?>/uploaded-files/testimonials/<?=$testimonial_res2['image'];?>"
                            alt="<?=$testimonial_res2['title'];?>" title="<?=$testimonial_res2['title'];?>" width="128"
                            height="128">
                    </div>
                    <div class="client-info">
                        <div class="title"><?=$testimonial_res2['title'];?></div>
                        <span><?=$testimonial_res2['person_city'];?></span>
                    </div>
                </div>
                <div class="description">
                    <p class="subtitle-3"><?=$testimonial_res2['description'];?></p>
                </div>
            </div>
            <?php  $i++; } ?>
                </div>
        </div>
    </div>
</div>