<?php if(get_theme_mod('tromas_choose_section_enable')): ?>
<!-- Why Choose Us -->
<section id="why-choose" class="why-choose section">
	<div class="container-fluid fix">
		<div class="row fix">
			<div class="col-lg-4 col-12 fix">
				<div class="working-process">
					<?php
					$choose_title = get_theme_mod('tromas_choose_page_title');
					$queried_post = get_post($choose_title);
					?>
					<h2><?php echo esc_html($queried_post->post_title); ?></h2>
					<p><?php echo esc_html($queried_post->post_content); ?></p>
					<?php wp_reset_postdata(); ?>
					<?php if(get_theme_mod( 'tromas_choose_button_title' )):?>
						<a href="<?php echo esc_url(get_theme_mod( 'tromas_choose_button_url' ))?>" class="btn"> <?php echo esc_html(get_theme_mod( 'tromas_choose_button_title' ))?></a>
					<?php endif;?>
				</div>
			</div>
			<div class="col-lg-4 col-12 fix">
				<div class="choose-main">
					<!-- Single Choose -->
					<?php 
					$i=1;
					$i=1;
  						
		                  $choose[1] = get_theme_mod('tromas_choose_page_1');
		                  $choose[2] = get_theme_mod('tromas_choose_page_2');
		                  $choose[3] = get_theme_mod('tromas_choose_page_3');
		               
		                  $chooseicon[1] = get_theme_mod('tromas_choose_icon_1');
		                  $chooseicon[2] = get_theme_mod('tromas_choose_icon_2');
		                  $chooseicon[3] = get_theme_mod('tromas_choose_icon_3');

					  $args = array (
	                          'post_type' => 'page',
	                          'post_per_page' => 3,
	                          'post__in'         => $choose,
	                          'orderby'           =>'post__in',
	                        );
					   $chooseloop = new WP_Query($args);
					 if ($chooseloop->have_posts()) :  while ($chooseloop->have_posts()) : $chooseloop->the_post(); ?>
					<div class="single-choose">
						<i class="fa <?php echo esc_attr($chooseicon[$i]); ?>"></i>
						<h4><?php the_title(); ?></h4>
						<?php the_excerpt(); ?>
					</div>
					<!-- End Single Choose -->	
					<?php $i=$i+1;?> 
			        <?php  endwhile; 
			         wp_reset_postdata();
					endif; ?>
				</div>
			</div>	
			<?php if(get_theme_mod( 'tromas_work_video_url' )):?>		
			<div class="col-lg-4 col-12 fix">
				<div class="why-video">
					<!-- Video Animation -->
					<div class="promo-video">
						<div class="waves-block">
							<div class="waves wave-1"></div>
							<div class="waves wave-2"></div>
							<div class="waves wave-3"></div>
						</div>
					</div>
					<!--/ End Video Animation -->
					<!-- Promo Video -->
					
					<div class="video"><a href="<?php echo esc_url(get_theme_mod( 'tromas_work_video_url' ));?>" class="btn video-play video-popup mfp-fade"><i class="fa fa-play"></i></a></div>
					
					<!--/ End Promo Video -->
				</div>
			</div>	
			<?php endif;?>				
		</div>
	</div>
</section>	
<!--/ End Why Choose Us -->
<?php endif; ?>