<?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-cir">
			<svg viewBox="0 0 1500 450">
			  <path id="Path_14" data-name="Path 14" d="M1.279,0C51.24,32.122,105.358,55.014,163.742,66.52c74.523,14.688,123.355.322,198.282,12.792,38.089,6.34,117.555,37.239,189.327,71.637,57.324,27.474,94.612,52.172,148.391,60.124,29.548,4.369,63.593,7.441,98.5,17.909,11.334,3.4,22.343,7.21,33.26,11.513V536L0,534.721Q.639,267.361,1.279,0Z" fill-rule="evenodd"/>
			</svg>
		</div>
		<div class="container">
			<?php
				$appform_maintitle = get_theme_mod('appform_maintitle', 'Contact Us');
				$luzuk_inquiry_shortcode = get_theme_mod('luzuk_inquiry_shortcode', '[Add Form shortcode]');
			?>	
			<div class="app-inn">	
				<?php
					$appheading = get_theme_mod('appheading', 'Get In Touch');
					$appsubheading = get_theme_mod('appsubheading', 'For More Info');
					$infphtxt = get_theme_mod('infphtxt', '+000 111 222');
					$infemiltxt = get_theme_mod('infemiltxt', 'abcinfo@yourmail.com');
					$inftxt = get_theme_mod('inftxt', '2847 N Henderson Ave United States');
				?>
				<div class="row">	
					<?php if(!empty( $infphtxt || $infemiltxt || $inftxt)){ ?>
					<div class="col-lg-6 col-md-12 app-detail wow zoomIn">
						<div class="row justify-content-center">
							<?php if($appheading){ ?>	
								<div class="section-hdtitle">
									<h2><?php echo ($appheading);  ?></h2>
								</div>
							<?php }?>
							<?php if($appsubheading){ ?>	
								<div class="section-subtitle">
									<h3><?php echo ($appsubheading);  ?></h3>
								</div>
							<?php }?>
						</div>
						<div class="app-detailbxinn">
							<div class="app-img">
								<?php 
									echo '<img alt="About us" src="'.get_template_directory_uri().'/images/cup.png" class="img-responsive" />';
								?>	
							</div>
							<?php if(!empty(  $infphtxt)){ ?>
							<div class="info-txt f-box">
								<div class="row">
									<div class="col-lg-1 col-md-2 col-sm-2 ">
										<div class="icnbx">
											<a href="tel:<?php echo $infphtxt;?>"><i class="fa fa-phone"></i></a>
										</div>

									</div>
									<div class="col-lg-11 col-md-10 col-sm-10 infoinnbx">
										<a href="tel:<?php echo $infphtxt;?>"><?php echo ($infphtxt);  ?></a>
									</div>
									<div class="clearfix"></div>
								</div>
							</div>
							<?php }?> 

							<?php if(!empty($infemiltxt)){ ?>
							<div class="info-txt s-box">
								<div class="row">
									<div class="col-lg-1 col-md-2 col-sm-2 ">
										<div class="icnbx m-icnbx">
											<a href="mailto:<?php echo $infemiltxt;?>"><i class="fa fa-envelope"></i></a>
										</div>
									</div>
									<div class="col-lg-11 col-md-10  col-sm-10 infoinnbx">
										<a href="mailto:<?php echo $infemiltxt;?>"><?php echo $infemiltxt;?></a>	
									</div>
									<div class="clearfix"></div>
								</div>
							</div>
							<?php }?> 

							<?php if(!empty( $inftxt)){ ?>
							<div class="info-txt t-box">
								<div class="row">
									<div class="col-lg-1 col-md-2 col-sm-2">
										<div class="icnbx">
											<i class="fa fa-map-marker"></i>
										</div>
									</div>
									<div class="col-lg-11 col-md-10 col-sm-10 infoinnbx">
										<p><?php echo ($inftxt);  ?></p>
									</div>
									<div class="clearfix"></div>
								</div>
							</div>
							<?php }?> 				    
							<div class="clearfix"></div>
						</div>
						<div class="clearfix"></div>
					</div> 
					<?php }?> 
					<div class="col-lg-6 col-md-12 app-form pd-0 wow zoomIn">
						<div class="ht-inquiry-member-wrap" >
							<div class=" justify-content-center">
								<?php if($appform_maintitle ){ ?>
									<div class="section-title">
							          <h2><?php echo ($appform_maintitle);  ?></h2> 
							      </div> 
						        <?php }?>
							</div>
							<div class="inquiry-formbx">
								<?php echo do_shortcode($luzuk_inquiry_shortcode);?>
							</div>		
							
						</div>
						<div class="clearfix"></div>
					</div>
					<div class="clearfix"></div>
				</div>
			</div>
		</div>  
		<div class="clearfix"></div>
	</div>
<?php } 