<?php if ('layout_six' === $settings['layout_type']) : ?>

    <section class="service-page service-page--page">
        <div class="container">
            <div class="service-page__carousel ostech-owl__carousel ostech-owl__carousel--with-shadow ostech-owl__carousel--basic-nav owl-carousel owl-theme" data-owl-options='<?php echo esc_attr(ostech_get_owl_options($settings)); ?>'>
                <?php foreach ($settings['layout_two_service_items'] as $index => $item) : ?>
                    <div class="item">
                        <div class="service-card  wow fadeInUp" data-wow-duration='1500ms' data-wow-delay='000ms'>
                            <div class="service-card__inner">
                                <div class="service-card__content">
                                    <<?php echo esc_attr($item['service_title_tag_layout_two']); ?> class="service-card__title">
                                        <a href="<?php echo esc_url($item['url']['url']); ?>" <?php esc_attr(!empty($item['url']['is_external']) ? "target=_blank" : ' '); ?>><?php echo wp_kses($item['title'], 'ostech_allowed_tags'); ?></a>
                                    </<?php echo esc_attr($item['service_title_tag_layout_two']); ?>><!-- /.service-title -->
                                    <div class="service-card__icon">
                                        <?php \Elementor\Icons_Manager::render_icon($item['icon'], ['aria-hidden' => 'true'], 'i'); ?>
                                    </div>
                                </div>
                                <div class="service-card__thumb">
                                    <?php ostech_elementor_rendered_image($item, 'image'); ?>
                                </div>
                            </div>
                        </div>
                    </div>
                <?php endforeach; ?>
            </div>
        </div>
    </section>

<?php endif; ?>