<div class="gt-testimonial-slider-3">
    <div id="carouselExampleIndicators" class="carousel slide" data-bs-ride="true">
        <div class="carousel-inner">
            <?php $i = 0; foreach($settings['testimonials'] as $item): $i++?>
            <div class="carousel-item <?php if($i == 1){ echo esc_attr('active');}?>">
                <div class="gt-testimonial-item-3  d-flex ">
                    <div class="testimonial-img-name position-relative">
                        <?php if(!empty($settings['quote_icon']['url'])):?>
                        <span class="quote-icon position-absolute">
                            <img src="<?php echo esc_url($settings['quote_icon']['url']);?>" alt="<?php if(!empty($settings['quote_icon']['alt'])){ echo esc_attr($settings['quote_icon']['alt']);}?>">
                        </span>
                        <?php endif;?>
                        <?php if(!empty($settings['shape']['url'])):?>
                            <span class="shape-icon position-absolute">
                                <img src="<?php echo esc_url($settings['shape']['url']);?>" alt="<?php if(!empty($settings['shape']['alt'])){ echo esc_attr($settings['shape']['alt']);}?>">
                            </span>
                        <?php endif;?>
                        <?php if(!empty($item['authore']['url'])):?>
                        <div class="inner-img">
                            <img src="<?php echo esc_url($item['authore']['url']);?>" alt="<?php if(!empty($item['authore']['alt'])){ echo esc_attr($item['authore']['alt']);}?>">
                        </div>
                        <?php endif;?>
                        <div class="name-degi text-center headline">
                            <h3><?php echo wp_kses($item['name'], true); ?></h3>
                            <span><?php echo wp_kses($item['designtaion'], true); ?></span>
                        </div>
                    </div>
                    <?php if(!empty($item['feedback'])):?>
                    <div class="testimonial-text">
                        <?php echo wp_kses($item['feedback'], true); ?>
                    </div>
                    <?php endif;?>
                </div>
            </div>
            <?php endforeach;?>
        </div>
        <div class="carousel-indicators">
            <?php $i = 0; foreach($settings['testimonials'] as $item): $i++?>
                <button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="<?php echo esc_attr($item['thubm_id']);?>" class="<?php if($i == 1){ echo esc_attr('active');}?>" aria-current="true" aria-label="Slide <?php echo esc_attr($i);?>"><img src="<?php echo esc_url($item['authore']['url']);?>" alt="<?php if(!empty($item['authore']['alt'])){ echo esc_attr($item['authore']['alt']);}?>"></button>
            <?php endforeach;?>
        </div>
    </div>
</div>