<?php

if(get_theme_mod('contact_area_disable') != 'on' ){
	?>
		<?php 
			if( get_theme_mod('contactsection_toppadding',true) ) {
                $contactsection_toppadding = 'padding-top:'.esc_attr(get_theme_mod('contactsection_toppadding')).';';
            }
            if( get_theme_mod('contactsection_bottompadding',true) ) {
                $contactsection_bottompadding = 'padding-bottom:'.esc_attr(get_theme_mod('contactsection_bottompadding')).';';
            }
		?>

	<div class="contact-area" id="contact" style="<?php echo esc_attr($contactsection_toppadding); ?>" "<?php echo esc_attr($contactsection_bottompadding); ?>">
		<div class="counter-inn"></div>
		<div class="appointmentsection container">	
			<div class="row row-eq-height ">
				<div class="col-md-6 col-sm-12 contact-l ">
					<?php
						$contact_page_maintitle = get_theme_mod('contact_page_maintitle', 'Quick Enquiry');
						$contact_page_text = get_theme_mod('contact_page_text', 'Lets Start New Project');
						
					?>

					<?php if($contact_page_maintitle || $contact_page_text){ ?>
						<div class="row">
							<div class="Heading-conn">
								<div class="section-title1">
									<p><?php echo ($contact_page_text);  ?></p>
									<h4><?php echo ($contact_page_maintitle);?></h4>
								</div>
							</div>
						</div>
					<?php }?>
					<div class="contactdetails">
					<?php
						$contact_location = get_theme_mod('contact_location', '2189 Holden Street, San Deago,CA,Caliofrnia 92115');
						$contact_phone = get_theme_mod('contact_phone', '+1800 123 456 7890');
						$contact_email = get_theme_mod('contact_email', 'sapport@architecture.com');
						$contact_time = get_theme_mod('contact_time', 'Monday To Friday 8 AM To 5 PM');
					?>
						<?php if($contact_location){ ?> 
							<div class="contact-content">
								<div class="col-md-1 col-sm-1 col-xs-2 contact-icon">
									<i class="fa fa-map-marker"></i> 
								</div>	
								<div class="col-md-11 col-sm-11 col-xs-10 contact-text pd-0">
									<p><?php echo ($contact_location);?></p>
								</div> 
							 	 <div class="clearfix"></div>
							</div>
						<?php } ?>
						<?php if($contact_phone){ ?> 
							<div class="contact-content">
								<div class="col-md-1 col-sm-1 col-xs-2 contact-icon">
									<i class="fa fa-phone"></i> 
								</div>	
								<div class="col-md-11 col-sm-11 col-xs-10 contact-text pd-0">
									<a href="tel:<?php echo $contact_phone;?>"><p><?php echo ($contact_phone);?></p></a>
								</div> 
							 	 <div class="clearfix"></div>
							</div>
						<?php } ?>
						<?php if($contact_email){ ?> 
							<div class="contact-content">
								<div class="col-md-1 col-sm-1 col-xs-2 contact-icon">
									<i class="fa fa-envelope-o"></i> 
								</div>	
								<div class="col-md-11 col-sm-11 col-xs-10 contact-text pd-0">
									<a href="mailto:<?php echo $contact_email;?>"><p><?php echo ($contact_email);?></p></a>
								</div> 
							 	 <div class="clearfix"></div>
							</div>
						<?php } ?>
						<?php if($contact_time){ ?> 
							<div class="contact-content">
								<div class="col-md-1 col-sm-1 col-xs-2 contact-icon">
									<i class="fa fa-clock-o"></i> 
								</div>	
								<div class="col-md-11 col-sm-11 col-xs-10 contact-text pd-0">
									<p><?php echo ($contact_time);?></p>
								</div> 
							 	<div class="clearfix"></div>
							</div>
						<?php } ?>					
							
							<?php
								$contact_link = get_theme_mod('contact_link', '');
								$contact_button = get_theme_mod('contact_button1', 'View On Map');
							?>
					<?php if( get_theme_mod('contact_button_display','show' ) == 'show') :
						?>	
						<div class="readmore">
							<div class="b-hv"></div>
							<a class="main-btn btn-1" href="<?php echo $contact_link ?>"> <?php echo $contact_button ?> <i class="fa fa-long-arrow-right"></i></a>
							<div class="clearfix"></div>
						</div>
						<?php endif ?>
					<div class="clearfix"></div>
					</div>
				</div>
				<div class="col-md-6 col-sm-12 contact-r ">
					<div class="inside-full-height">	
						<?php
							$luzuk_inquiry_shortcode = get_theme_mod('luzuk_inquiry_shortcode', '[Add Form shortcode]');
						?>				
						<div class="ht-inquiry-member-wrap">							
							<?php echo do_shortcode($luzuk_inquiry_shortcode);?>
						</div>
	             	</div>
				</div>
			<div class="clearfix"></div>
			</div>
		</div>
	</div> 
	<!-- contact Area Start -->

<?php } 