<?php if ('layout_five' === $settings['layout_type']) : ?>
    <!-- Service section Start -->
    <section class="service-two" id="services">
        <div class="container">
            <div class="row align-items-end wow fadeInUp" data-wow-duration="1000ms" data-wow-delay="500ms">
                <div class="col-lg-6">
                    <div class="service-two__left">
                        <div class="sec-title wow fadeInUp" data-wow-duration='1500ms' data-wow-delay='000ms'>
                            <?php if (!empty($settings['layout_five_sec_sub_title'])) : ?>
                                <div class="d-flex align-items-center justify-content-start">
                                    <?php ostech_elementor_rendered_image($settings, 'layout_five_title_image', 'sec-title__img'); ?>
                                    <?php
                                    if (!empty($settings['layout_five_sec_sub_title'])) :
                                        $this->add_inline_editing_attributes('layout_five_sec_sub_title', 'none');
                                        ostech_elementor_rendered_content($this, 'layout_five_sec_sub_title', 'sec-title__tagline', $settings['section_sub_title_tag_layout_five']);
                                    endif; ?>
                                </div>
                            <?php endif; ?>
                            <?php if (!empty($settings['layout_five_sec_title'])) :
                                $this->add_inline_editing_attributes('layout_five_sec_title', 'none');
                                ostech_elementor_rendered_content($this, 'layout_five_sec_title', 'sec-title__title', $settings['section_title_tag_layout_five']);
                            endif;
                            ?>
                        </div>
                    </div>
                </div>
                <div class="col-lg-6">
                    <div class="service-two__right">
                        <?php if (!empty($settings['layout_five_summary'])) :
                            $this->add_inline_editing_attributes('layout_five_summary', 'none');
                            ostech_elementor_rendered_content($this, 'layout_five_summary', 'service-two__text', 'p');
                        endif; ?>
                    </div>
                </div>
            </div>
        </div>
        <div class="container-fluid">
            <div class="service-two__carouse ostech-owl__carousel owl-theme owl-carousel" data-owl-options='<?php echo esc_attr(ostech_get_owl_options($settings)); ?>'>
                <?php foreach ($settings['service_list_five'] as $index => $item) :
                ?>
                    <!-- Item -->
                    <div class="service-two__item">
                        <div class="service-two__item__thumb">
                            <?php ostech_elementor_rendered_image($item, 'image'); ?>
                        </div>
                        <div class="service-two__item__content">
                            <div class="service-two__item__content__top">
                                <div class="service-two__item__content__icon">
                                    <?php \Elementor\Icons_Manager::render_icon($item['icon'], ['aria-hidden' => 'true'], 'i'); ?>
                                </div>
                                <<?php echo esc_attr($item['service_title_tag_layout_five']); ?> class="service-two__item__content__title">
                                    <a href="<?php echo esc_url($item['url']['url']); ?>"><?php echo wp_kses($item['title'], 'ostech_allowed_tags'); ?></a>
                                </<?php echo esc_attr($item['service_title_tag_layout_five']); ?>><!-- /.service-card-two__title -->
                            </div>
                            <p class="service-two__item__content__text"><?php echo wp_kses($item['info'], 'ostech_allowed_tags'); ?></p>
                        </div>
                    </div>
                    <!-- Item -->
                <?php endforeach; ?>
            </div>
        </div>
    </section>
    <!-- Service section End -->

<?php endif; ?>