<?php if ('layout_three' == $settings['layout_type']) : ?>
	<!--Video Three Start-->

	<section class="video-three">
		<div class="video-three__bg jarallax" data-jarallax data-speed="0.3" data-imgPosition="50% -100%" style="background-image: url(<?php echo esc_url($settings['layout_three_image_one']['url']); ?>);"></div>
		<!-- /.video-three__bg -->
		<div class="video-three__shape" style="background-image: url(<?php echo esc_url($settings['layout_three_shape_one']['url']); ?>);"></div>
		<!-- /.video-three__shape -->
		<div class="container">
			<div class="row">
				<div class="col-md-9 wow fadeInLeft" data-wow-delay="200ms">
					<div class="video-three__content">
						<div class="sec-title-two">

							<<?php echo esc_attr($settings['section_sub_title_tag_layout_three']); ?> class="sec-title-two__tagline">
								<span class="sec-title-two__tagline__icon">
									<?php \Elementor\Icons_Manager::render_icon($settings['layout_three_sec_icon'], ['aria-hidden' => 'true'], 'i'); ?>
								</span><?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 -->

							<?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-two__title', $settings['section_title_tag_layout_three']);
							endif;
							?>
						</div><!-- /.sec-title-two -->
						<?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', 'video-three__content__text', 'p');
						endif;
						?>

						<a href="<?php echo esc_url($settings['layout_three_button_url']['url']); ?>" class="ostech-btn ostech-btn--icon">
							<span><?php echo wp_kses($settings['layout_three_button_label'], 'ostech_allowed_tags'); ?><span class="ostech-btn--icon__icon">
									<?php \Elementor\Icons_Manager::render_icon($settings['layout_three_button_icon'], ['aria-hidden' => 'true'], 'i'); ?>
								</span>
							</span>
						</a>

					</div>
				</div>
				<?php if (!empty($settings['layout_three_video_url']['url'])) : ?>
					<div class="col-md-3 d-flex align-settingss-center wow fadeInRight" data-wow-delay="200ms">
						<a href="<?php echo esc_url($settings['layout_three_video_url']['url']); ?>" class="video-popup">
							<i class="fa fa-play"></i>
							<span class="ripple"></span>
						</a>
					</div>
				<?php endif; ?>
			</div>
		</div><!-- /.container -->
	</section><!-- /.video-three -->
	<!--Video Three End-->

<?php endif; ?>