<?php if ('layout_one' == $settings['layout_type']) : ?>
	<section class="contact-one">
		<div class="container">
			<div class="row gutter-y-30">
				<div class="col-lg-4">
					<div class="contact-one__left">
						<ul class="contact-one__list list-unstyled ml-0">
							<?php
							foreach ($settings['layout_one_content_list'] as $index => $item) :
							?>
								<li class="contact-one__list__item">
									<div class="contact-one__list__icon">
										<?php \Elementor\Icons_Manager::render_icon($item['icon'], ['aria-hidden' => 'true'], 'i'); ?>
									</div>
									<div class="contact-one__list__content">
										<span class="contact-one__list__subtitle"><?php echo wp_kses($item['title'], 'ostech_allowed_tags'); ?></span>
										<p class="contact-one__list__action"><?php echo wp_kses($item['content'], 'ostech_allowed_tags'); ?></p>
									</div>
								</li>
							<?php endforeach; ?>
						</ul>
						<div class="contact-one__thumb">
							<?php ostech_elementor_rendered_image($settings, 'layout_one_img'); ?>
						</div>
					</div>
				</div>
				<div class="col-lg-8">
					<div class="contact-one__right">
						<div class="contact-one__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_one_title_image', 'sec-title__img'); ?>
									<?php
									if (!empty($settings['layout_one_sec_sub_title'])) :
										$this->add_inline_editing_attributes('layout_one_sec_sub_title', 'none');
										ostech_elementor_rendered_content($this, 'layout_one_sec_sub_title', 'sec-title__tagline', $settings['section_sub_title_tag_layout_one']);
									endif;
									?>
								</div>
								<?php if (!empty($settings['layout_one_sec_title'])) :
									$this->add_inline_editing_attributes('layout_one_sec_title', 'none');
									ostech_elementor_rendered_content($this, 'layout_one_sec_title', 'sec-title__title', $settings['section_title_tag_layout_one']);
								endif; ?>
							</div>
						</div>
						<div class="contact-one__form contact-form-validated form-one background-base wow fadeInUp" data-wow-duration="1500ms">
							<?php echo str_replace("<br />", "", trim(do_shortcode('[contact-form-7 id="' . $settings['layout_one_select_wpcf7_form'] . '" ]'))); ?>
						</div>
					</div>
				</div>
			</div>
		</div>
	</section>

<?php endif; ?>