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

    <section class="service-page service-page--page">
        <div class="container">
            <div class="row gutter-y-30">
                <?php foreach ($settings['layout_two_service_items'] as $index => $item) : ?>
                    <div class="col-md-6 col-lg-4">
                        <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; ?>