<?php if ('layout_three' == $settings['layout_type']) : ?>
    <!-- why-choose-two section Start -->
    <section class="why-choose-three">
        <div class="container">
            <div class="row">
                <div class="col-xl-7 col-lg-6">
                    <div class="why-choose-three__thumb wow fadeInUp" data-wow-duration="1000ms" data-wow-delay="500ms">
                        <?php ostech_elementor_rendered_image($settings, 'layout_three_image_one'); ?>
                    </div>
                </div>
                <div class="col-xl-5 col-lg-6">
                    <div class="why-choose-three__right">
                        <div class="why-choose-three__top wow fadeInUp" data-wow-duration="1000ms" data-wow-delay="500ms">
                            <div class="sec-title sec-title--two wow fadeInUp" data-wow-duration='1500ms' data-wow-delay='000ms'>
                                <div class="d-flex align-items-center justify-content-start">
                                    <?php ostech_elementor_rendered_image($settings, 'layout_three_subtitle_shape', 'sec-title__img'); ?>
                                    <<?php echo esc_attr($settings['section_sub_title_tag_layout_three']); ?> class="sec-title__tagline">
                                        <?php echo wp_kses($settings['layout_three_sec_sub_title'], 'ostech_allowed_tags'); ?>
                                    </<?php echo esc_attr($settings['section_sub_title_tag_layout_three']); ?>><!-- /.sec-title-two__tagline -->
                                </div>
                                <?php if (!empty($settings['layout_three_sec_title'])) :
                                    $this->add_inline_editing_attributes('layout_three_sec_title', 'none');
                                    ostech_elementor_rendered_content($this, 'layout_three_sec_title', 'sec-title__title', $settings['section_title_tag_layout_three']);
                                endif;
                                ?>
                            </div>
                            <?php if (!empty($settings['layout_three_sec_summary'])) :
                                $this->add_inline_editing_attributes('layout_three_sec_summary', 'none');
                                ostech_elementor_rendered_content($this, 'layout_three_sec_summary', 'why-choose-three__top__text', 'p');
                            endif;
                            ?>
                        </div>
                        <div class="why-choose-three__feature wow fadeInUp" data-wow-duration="1000ms" data-wow-delay="500ms">
                            <?php foreach ($settings['choose_list_three'] as $index => $item) : ?>
                                <div class="why-choose-three__feature__item">
                                    <div class="why-choose-three__feature__top">
                                        <div class="why-choose-three__feature__top__icon">
                                            <?php \Elementor\Icons_Manager::render_icon($item['icon'], ['aria-hidden' => 'true'], 'i'); ?>
                                        </div>
                                        <<?php echo esc_attr($item['title_tag_layout_three']); ?> class="why-choose-three__feature__top__title"><?php echo wp_kses($item['title'], 'ostech_allowed_tags'); ?></<?php echo esc_attr($item['title_tag_layout_three']); ?>>
                                    </div>
                                    <p class="why-choose-three__feature__item__text"><?php echo wp_kses($item['info'], 'ostech_allowed_tags'); ?></p>
                                </div>
                            <?php endforeach; ?>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="why-choose-three__shape wow fadeInRight" data-wow-duration="1000ms" data-wow-delay="1000ms">
            <?php ostech_elementor_rendered_image($settings, 'layout_three_shape_one'); ?>
        </div>
    </section>
    <!-- why-choose-two section End -->
<?php endif; ?>