<?php if ('layout_three' == $settings['layout_type']) : ?>
    <!-- About section Start -->
    <section class="about-two">
        <div class="container">
            <div class="row ">
                <div class="col-lg-6">
                    <div class="about-two__left wow fadeInLeft" data-wow-delay="300ms">
                        <div class="about-two__thumb">
                            <div class="about-two__thumb__item about-two__thumb__item--one">
                                <?php ostech_elementor_rendered_image($settings, 'layout_three_image_one'); ?>
                            </div>
                            <div class="about-two__thumb__item about-two__thumb__item--two">
                                <?php ostech_elementor_rendered_image($settings, 'layout_three_image_two'); ?>
                            </div>
                            <div class="about-two__thumb__award">
                                <i class="icon-award"></i>
                            </div>
                            <?php if (!empty($settings['layout_three_logo']['url'])) : ?>
                                <div class="about-two__thumb__icon">
                                    <span class="about-two__thumb__icon__box">
                                        <img src="<?php echo esc_url($settings['layout_three_logo']['url']) ?>" width="52" alt="ostech logo">
                                    </span>
                                </div>
                            <?php endif; ?>
                        </div>
                    </div>
                </div>
                <div class="col-lg-6 wow fadeInRight" data-wow-delay="300ms">
                    <div class="about-two__right">
                        <div class="about-two__top">
                            <div class="sec-title 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_title_image', 'sec-title__img'); ?>
                                    <?php
                                    if (!empty($settings['layout_three_sec_sub_title'])) :
                                        $this->add_inline_editing_attributes('layout_three_sec_sub_title', 'none');
                                        ostech_elementor_rendered_content($this, 'layout_three_sec_sub_title', 'sec-title__tagline', $settings['section_sub_title_tag_layout_three']);
                                    endif; ?>
                                </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_summary'])) :
                                $this->add_inline_editing_attributes('layout_three_summary', 'none');
                                ostech_elementor_rendered_content($this, 'layout_three_summary', 'about-two__top__text', 'p');
                            endif;
                            ?>
                        </div>
                        <div class="about-two__ostech__item" style="background-image: url(<?php echo esc_url($settings['layout_three_shape_one']['url']); ?>);">
                            <div class="about-two__ostech__item__inner">
                                <div class="about-two__ostech__item__icon">
                                    <?php \Elementor\Icons_Manager::render_icon($settings['layout_three_icon'], ['aria-hidden' => 'true'], 'i'); ?>
                                </div>
                                <div class="about-two__ostech__item__content">
                                    <h4 class="about-two__ostech__item__title"><?php echo wp_kses($settings['layout_three_info_title'], 'ostech_allowed_tags'); ?></h4>
                                    <p class="about-two__ostech__item__text"><?php echo wp_kses($settings['layout_three_info_text'], 'ostech_allowed_tags'); ?></p>
                                </div>
                            </div>
                        </div>
                        <div class="about-two__feature">
                            <?php foreach ($settings['layout_three_content_list'] as $index => $item) : ?>
                                <div class="about-two__feature__item">
                                    <div class="about-two__feature__top">
                                        <div class="about-two__feature__top__icon">
                                            <?php \Elementor\Icons_Manager::render_icon($item['icon'], ['aria-hidden' => 'true'], 'i'); ?>
                                        </div>
                                        <h4 class="about-two__feature__top__title"><?php echo wp_kses($item['title'], 'ostech_allowed_tags'); ?></h4>
                                    </div>
                                    <p class="about-two__feature__item__text"><?php echo wp_kses($item['info'], 'ostech_allowed_tags'); ?></p>
                                </div>
                            <?php endforeach; ?>
                        </div>
                        <?php if (!empty($settings['layout_three_button_url']['url'])) : ?>
                            <div class="about-two__btn">
                                <a href="<?php echo esc_url($settings['layout_three_button_url']['url']); ?>" <?php esc_attr(!empty($settings['layout_three_button_url']['is_external']) ? "target=_blank" : ' '); ?> class="ostech-btn">
                                    <span><?php echo esc_html($settings['layout_three_button_label']); ?></span>
                                </a>
                            </div>
                        <?php endif; ?>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <!-- About section End -->
<?php endif; ?>