<?php 
if(get_theme_mod('appoi_disable') != 'on' ){ ?>
	<?php 
		if( get_theme_mod('appoinmentsection_toppadding',true) ) {
            $appoinmentsection_toppadding = 'padding-top:'.esc_attr(get_theme_mod('appoinmentsection_toppadding')).';';
        }
        if( get_theme_mod('appoinmentsection_bottompadding',true) ) {
            $appoinmentsection_bottompadding = 'padding-bottom:'.esc_attr(get_theme_mod('appoinmentsection_bottompadding')).';';
        }
        if( get_theme_mod('app_Opacity',true) ) {
	        $app_Opacity = 'opacity:'.esc_attr(get_theme_mod('app_Opacity')).';';
	      }

	    if( get_theme_mod('app_Opacityrhs',true) ) {
	        $app_Opacityrhs = 'opacity:'.esc_attr(get_theme_mod('app_Opacityrhs')).';';
	      }

	?>
	<div id="appointment" style="<?php echo esc_attr($appoinmentsection_toppadding); ?>" "<?php echo esc_attr($appoinmentsection_bottompadding); ?>">
		<div class="app-ovly"></div>
		<div class="container">
			<?php
				$luzuk_inquiry_shortcode = get_theme_mod('luzuk_inquiry_shortcode', '[Add Form shortcode]');
				$appheading1 = get_theme_mod('appheading1', 'Contact');
				$appheading2 = get_theme_mod('appheading2', 'Us');
				$appsubheading = get_theme_mod('appsubheading', 'We’ve More Than 745,000 Apartments, Place & Plot.');
				$infphtxt = get_theme_mod('app_infphtxt', '+123 456 789');
		    	$infemiltxt = get_theme_mod('app_infemiltxt', 'info@youremailidhere.com');
				$inftxt = get_theme_mod('app_inftxt', 'Delanson, New York, 12053');
				$app_twitter = get_theme_mod('app_twitter', 'https://twitter.com/');
				$app_instagram = get_theme_mod('app_instagram', 'https://www.instagram.com/');
				$app_facebook = get_theme_mod('app_facebook', 'https://www.facebook.com/');
				$app_pintrest = get_theme_mod('app_pintrest', 'https://www.pinterest.com/');
				$app_formtitle = get_theme_mod('app_formtitle', 'Inquiry with us');
			?>	
			<div class="row">
				<div class="col-xl-6 col-lg-6 app-leftbox">
					<?php if($appheading1 || $appheading2){ ?>	
						<div class="section-title"> 
							<h2 class="app-title1"><?php echo ($appheading1);  ?></h2>
							<?php if($appheading2){ ?>	
								<div class="app-titlebrd"></div>
								<h2 class="app-title2"><?php echo ($appheading2);  ?></h2>
							<?php }?>
						</div>
					<?php }?>
					<?php if($appsubheading){ ?>	
						<div class="section-subtitle">
							<p><?php echo ($appsubheading);  ?></p>
						</div>
					<?php }?>
					<div class="contact-details">
		            	<?php if(!empty( $infphtxt || $infemiltxt || $inftxt)){ ?>
		            		<?php if( $infphtxt){ ?>
						   		<div class="cntpgbx wow zoomIn">
						   			<div class="row mr-0">
							   			<div class="col-lg-1 col-md-1 col-sm-1 col-2 pd-0 cntpgicon">
								   			<div class="cntpgicn">
								   				<i class="fa fa-phone" ></i> 
								   			</div>
								   		</div>
								   		<div class="col-lg-11 col-md-11 col-sm-11 col-10 cntpgtxt">
								   			<h3><span>Phone :</span> 
								   				<a class="" href="tel:<?php echo $infphtxt;?>"><?php echo $infphtxt;?></a>
								   			</h3>

							   			</div>
							   		</div>
							   		<div class="clearfix"></div>
							   	</div>
							<?php } ?>
							<?php if( $infemiltxt ){ ?>
								<div class="cntpgbx wow zoomIn">
									<div class="row mr-0">
										<div class="col-lg-1 col-md-1 col-sm-1 col-2 pd-0 cntpgicon">
								   			<div class="cntpgicn">
								   				<i class="fa fa-envelope" ></i>
								   			</div>
								   		</div>
								   		<div class="col-lg-11 col-md-11 col-sm-11 col-10 cntpgtxt">
								   			<h3><span>Email :</span>
								   				<a href="mailto:<?php echo $infemiltxt;?>"><?php echo $infemiltxt;?></a>
								   			</h3>
								   		</div>
								   	</div>
							   		<div class="clearfix"></div>
							   	</div>
							<?php } ?>
		            		<?php if($inftxt ){ ?>
								<div class="cntpgbx wow zoomIn">
									<div class="row mr-0">
										<div class="col-lg-1 col-md-1 col-sm-1 col-2 pd-0 cntpgicon">
								   			<div class="cntpgicn">
								   				<i class="fa fa-map-marker" ></i>
								   			</div>
								   		</div>
								   		<div class="col-lg-11 col-md-11 col-sm-11 col-10 cntpgtxt">
								   			<h3><span>Address :</span> 
								   				<?php echo $inftxt;?>
								   			</h3>				   			
								   		</div>
								   	</div>
							   		<div class="clearfix"></div>
							   	</div>
							<?php } ?>
		            	<?php } ?>
		            </div>
					<?php if ($app_twitter || $app_instagram || $app_facebook || $app_pintrest) { ?>
	                    <div class="app-social-icon">
	                    	 <?php if ($app_facebook) { ?> 
	                            <li>
	                                <a target="_blank" href="<?php echo esc_url($app_facebook) ?>">
	                                <i class="fa fa-facebook"></i></a>
	                            </li>
	                        <?php } ?>
	                        <?php if ($app_instagram) { ?>
	                            <li>
	                                <a target="_blank" href="<?php echo esc_url($app_instagram) ?>" ><i class="fa fa-instagram"></i></a> 
	                            </li>
	                        <?php } ?>
	                    	<?php if ($app_twitter) { ?>
	                            <li>
	                                <a target="_blank" href="<?php echo esc_url($app_twitter) ?>" ><i class="fa fa-twitter"></i></a>
	                            </li>
	                        <?php } ?>
	                       <?php if ($app_pintrest) { ?>
	                            <li>
	                                <a target="_blank" href="<?php echo esc_url($app_pintrest) ?>"><i class="fa fa-pinterest-p" aria-hidden="true"></i></a>
	                            </li>
	                        <?php } ?>
	                    </div>
	                <?php } ?>
				</div>
				<div class="col-xl-6 col-lg-6 app-rightbox">
					<div class="app-inn">	
						<div class="app-form">
							<?php if ($app_formtitle) { ?>
								<div class="app-formtitle">
									<h3><?php echo $app_formtitle; ?></h3>
								</div>
							<?php } ?>
							<div class="ht-inquiry-member-wrap" >
								<div class="inquiry-formbx">
									<?php echo do_shortcode($luzuk_inquiry_shortcode);?>
								</div>	
							</div>
							<div class="clearfix"></div>
						</div>
					</div>
				</div>
			</div>
		</div>  
	</div>
<?php } 
