<?php if ('layout_one' == $settings['layout_type']) : ?>
    <!--Funfact Start -->
    <div class="funfact-two">
        <div class="container">
            <div class="row">
                <div class="col-12">
                    <div class="funfact-two__inner">
                        <?php
                        foreach ($settings['counter_list'] as $index => $item) :
                        ?>
                            <div class="funfact-two__item  wow fadeInUp" data-wow-delay="500ms">
                                <div class="funfact-two__item__funfact__item count-box">
                                    <div class="funfact-two__item__funfact__item__icon">
                                        <?php \Elementor\Icons_Manager::render_icon($item['icon'], ['aria-hidden' => 'true'], 'i'); ?>
                                    </div>
                                    <h2 class="funfact-two__item__funfact__item__count">
                                        <span class="count-text" data-stop="<?php echo esc_attr($item['number']); ?>" data-speed="1500"></span>
                                        <span><?php echo esc_attr($item['counter_after']); ?></span>
                                    </h2>
                                    <p class="funfact-two__item__funfact__item__text"><?php echo wp_kses($item['title'], 'ostech_allowed_tags'); ?></p>
                                </div>
                            </div>
                        <?php endforeach; ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- Funfact End -->
<?php endif; ?>