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

?>
	<!-- Contact section Start -->
	<section class="contact-two">
		<div class="container">
			<div class="row">
				<div class="col-lg-4">
					<div class="contact-two__left">
						<div class="contact-two__thumb wow fadeInLeft" data-wow-duration="1500ms" data-wow-delay="500ms">
							<?php ostech_elementor_rendered_image($settings, 'layout_two_image'); ?>
						</div>
					</div>
				</div>
				<div class="col-lg-8">
					<div class="contact-two__right wow fadeInRight" data-wow-duration="1500ms" data-wow-delay="500ms">
						<div class="contact-two__top">
							<div class="contact-two__top__content">
								<div class="sec-title sec-title--three text-center wow fadeInUp" data-wow-duration='1500ms' data-wow-delay='000ms'>
									<?php if (!empty($settings['layout_two_sec_sub_title'])) : ?>
										<div class="d-flex align-items-center justify-content-center">
											<?php ostech_elementor_rendered_image($settings, 'layout_two_title_image', 'sec-title__img'); ?>
											<?php
											if (!empty($settings['layout_two_sec_sub_title'])) :
												$this->add_inline_editing_attributes('layout_two_sec_sub_title', 'none');
												ostech_elementor_rendered_content($this, 'layout_two_sec_sub_title', 'sec-title__tagline', $settings['section_sub_title_tag_layout_two']);
											endif; ?>
										</div>
									<?php endif; ?>
									<?php if (!empty($settings['layout_two_sec_title'])) :
										$this->add_inline_editing_attributes('layout_two_sec_title', 'none');
										ostech_elementor_rendered_content($this, 'layout_two_sec_title', 'sec-title__title', $settings['section_title_tag_layout_two']);
									endif;
									?>
								</div>
							</div>
						</div>
						<div class="contact-two__content">
							<div class="contact-two__form__inner">
								<div class="contact-two__form contact-form-validated form-one wow fadeInUp">
									<?php echo str_replace("<br />", "", trim(do_shortcode('[contact-form-7 id="' . $settings['layout_two_select_wpcf7_form'] . '" ]'))); ?>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<?php if (!empty($settings['layout_two_background_shape'])) : ?>
			<div class="contact-two__shape">
				<?php ostech_elementor_rendered_image($settings, 'layout_two_background_shape'); ?>
			</div>
		<?php endif; ?>
	</section>
	<!-- Contact section End -->
<?php endif; ?>