<?php
/**
 *
 * @package Luzuk
 */
if(get_theme_mod('luzuk_contact_section_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')).';';
	}


	?>
	<section id="ht-contact-section" class="ht-section lz-contact-section"  style="<?php echo esc_attr($contactsection_toppadding); ?>" "<?php echo esc_attr($contactsection_bottompadding); ?>"> 
		<div class="container wow slideInUp">
			<?php
			$contactbox_MainTitle = get_theme_mod('contactbox_MainTitle', 'We are Here to Help You'); 
			$contactbox_MainTitleTxt = get_theme_mod('contactbox_MainTitleTxt', 'Our mission is to deliver reliable, latest news & opinions.'); 
			?>

			<?php if($contactbox_MainTitle || $contactbox_MainTitle){ ?>
				<div class="ht-section-title-tagline">
					<h2 class="ht-section-title contactbox-heading">
						<?php 
						if(!empty($contactbox_MainTitle))	{
							echo ($contactbox_MainTitle);
						} ?>
					</h2>
					<p><?php echo ($contactbox_MainTitleTxt); ?></p>
					<div class="clearfix"></div>					
				</div>
			<?php }?>
		</div>

		<div class="row row-eq-height contactbox">

			<div class="container">

				<?php
				$contactbox_loanTxt = get_theme_mod('contactbox_loanTxt', 'OFFICE ADDRESS'); 
				$contactbox_loanDescTxt = get_theme_mod('contactbox_loanDescTxt', '135 Barnard St. Brooklyn, NY 10036, United States'); 

				$contactbox_CallTxt = get_theme_mod('contactbox_CallTxt', 'CALL US AT'); 
				$contactbox_CallDescTxt = get_theme_mod('contactbox_CallDescTxt', '91-400-123-1234'); 
				$email = get_theme_mod('contactbox_email', 'info@loanadvisor.com');

				$contactbox_AdvisorTxt = get_theme_mod('contactbox_AdvisorTxt', 'TALK TO ADVISOR'); 
				$contactbox_AdvisorDescTxt = get_theme_mod('contactbox_AdvisorDescTxt', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit'); 
				?>
				<div class="row">
					<div class="col-md-4 col-sm-6 col-xs-12 text-center">
						<?php
						$contactbox_BtnTxt = get_theme_mod('contactbox_BtnTxt', 'Get Appointment'); 
						$contactbox_Btnlink = get_theme_mod('contactbox_Btnlink', 'add link here');
						?>
						<?php if($contactbox_loanTxt || $contactbox_loanDescTxt || $contactbox_BtnTxt ){ ?>
							<div class="contact-box box-1">
								<div class="contact-box-icon">
									<i class="fa fa-credit-card"></i>
								</div>
								<h3 class="title"><?php echo ($contactbox_loanTxt );  ?></h3>
								<p><?php echo ($contactbox_loanDescTxt );  ?></p>
								<?php if( get_theme_mod('contactbox_button_display','show' ) == 'show') :
									?>	
									<a href="<?php echo $contactbox_Btnlink ?>" target="_blank" class="btn btn-lg red">			
										<?php echo ($contactbox_BtnTxt );  ?>
									</a>
								<?php endif ?>
							</div>
						<?php }?>
					</div>
					<div class="col-md-4 col-sm-6 col-xs-12 text-center">
						<?php
								$contactbox_BtnTxt2 = get_theme_mod('contactbox_BtnTxt2', 'Contact Us'); 
								$contactbox_Btnlink2 = get_theme_mod('contactbox_Btnlink2', 'add link here');
								?>
						<?php if($contactbox_CallTxt || $contactbox_CallDescTxt || $email || $contactbox_BtnTxt2 ){ ?>
							<div class="contact-box box-1">
								
								<div class="contact-box-icon">
									<i class="fa fa-phone"></i>
								</div>
								<h3 class="title"><?php echo ($contactbox_CallTxt );  ?></h3>
								<h2><?php echo ($contactbox_CallDescTxt );  ?></h2>
								<p><a href="mailto:<?php echo $email;?>"><?php echo $email;?></a></p>
								<?php if( get_theme_mod('contactbox2_button_display','show' ) == 'show') :
									?>	
									<a href="<?php echo $contactbox_Btnlink2 ?>" target="_blank" class="btn btn-lg red">			
										<?php echo ($contactbox_BtnTxt2 );  ?>
									</a>
								<?php endif ?>
							</div>
						<?php }?>
					</div>
					<div class="col-md-4 col-sm-6 col-xs-12 text-center">
						<?php
								$contactbox_BtnTxt3 = get_theme_mod('contactbox_BtnTxt3', 'Meet The Advisor'); 
								$contactbox_Btnlink3 = get_theme_mod('contactbox_Btnlink3', 'add link here');
								?>
						<?php if($contactbox_AdvisorTxt || $contactbox_AdvisorDescTxt || $contactbox_BtnTxt3 ){ ?>
							<div class="contact-box box-1">
								<div class="contact-box-icon">
									<i class="fa fa-user"></i>
								</div>
								<h3 class="title"><?php echo ($contactbox_AdvisorTxt );  ?></h3>
								<p><?php echo ($contactbox_AdvisorDescTxt );  ?></p>


								<?php if( get_theme_mod('contactbox2_button_display','show' ) == 'show') :
									?>	
									<a href="<?php echo $contactbox_Btnlink3 ?>" target="_blank" class="btn btn-lg red">			
										<?php echo ($contactbox_BtnTxt3 );  ?>
									</a>
								<?php endif ?>
							</div>
						<?php }?>
					</div>
				</div>


			</div>
<!-- 
				<div class="col-md-4 padding0">
					<div class="contactdetails">
						<div class="inside-full-height">
							
							<?php 
							$contact_phone = get_theme_mod('contact_phone', '1-400-123-1234');
							$contact_phonetwo = get_theme_mod('contact_phonetwo', '(+88)666 555 222 00');
							$contact_phonetext = get_theme_mod('contact_phonetext', 'Phone');
							$contact_emailidtext = get_theme_mod('contact_emailidtext', 'Email Box');
							$contact_emailid = get_theme_mod('contact_emailid', 'example@gmail.com');
							$contact_emailidtwo = get_theme_mod('contact_emailidtwo', 'infoexample@gmail.com');
							$contact_locationtext = get_theme_mod('contact_locationtext', 'Location');
							$contact_location = get_theme_mod('contact_location', '135 Barnard St. Brooklyn, NY 10036, United States');

							$contact_title = get_theme_mod('contact_title', 'Contact Details');


							$facebook = get_theme_mod('luzuk_contactus_facebook', '//facebook.com/');
							$twitter = get_theme_mod('luzuk_contactus_twitter', '//twitter.com/');
							$instagram = get_theme_mod('luzuk_contactus_instagram', 'https://www.instagram.com/');
							$linkedIn = get_theme_mod('luzuk_contactus_linkedin', '//linkedin.com/');
							?>

							<div class="innercontact text-center">
								<div class="ht-section-title-tagline">
									<h2 class="ht-section-title lz-contact-heading">
										<?php
										if(!empty($contact_title))  {
											echo ($contact_title);
										} ?>
									</h2> 

									<div class="clearfix"></div>
								</div>


								<?php if($contact_location || $contact_locationtext){ ?>
									<div class="contact-small-box">

										<div class="contact-content">
											<h4><?php echo ($contact_locationtext);?></h4>
											<?php echo ($contact_location);?>
										</div>
										<div class="clearfix"></div>
									</div>
								<?php } ?>
								<div class="clearfix"></div>
								<?php if($contact_emailid || $contact_emailidtext ||$contact_emailidtwo ){ ?>
									<div class="contact-small-box">

										<div class="contact-content">
											<h4><?php echo ($contact_emailidtext);?></h4>
											<a href="mailto:<?php echo $contact_emailid;?>">
												<?php echo ($contact_emailid);?></a>
												<br>
												<a href="mailto:<?php echo $contact_emailidtwo;?>">
													<?php echo ($contact_emailidtwo);?></a>


												</div>
												<div class="clearfix"></div>
											</div>
										<?php } ?>
										<div class="clearfix"></div>

										<?php if($contact_phone || $contact_phonetext ||$contact_phonetwo ){ ?>
											<div class="contact-small-box">

												<div class="contact-content ">
													<h4><?php echo ($contact_phonetext);?></h4>
													<?php echo ($contact_phone);?>
													<br>
													<?php echo ($contact_phonetwo);?> 
												</div>	
												<div class="clearfix"></div>					
											</div>
										<?php } ?>


										<?php if( $facebook || $twitter || $instagram || $linkedIn){ ?>
											<div class="social_area">
												<ul class="contact-links wow zoomIn wow fadeInDown">
													<?php if(!empty($facebook)){ ?>
														<li class="wow fadeInDown" data-wow-duration="1s"><a href="<?php echo $facebook ?>" title="Facebook" target="_blank"><span class="fa fa-facebook"></span></a></li>
													<?php }?>
													<?php if(!empty($twitter)){ ?>
														<li class="wow fadeInDown" data-wow-duration="2s"><a href="<?php echo $twitter ?>" title="Twitter" target="_blank"><span class="fa fa-twitter"></span></a></li>
													<?php }?>
													<?php if(!empty($instagram)){ ?>
														<li class="wow fadeInDown" data-wow-duration="3s"><a href="<?php echo $instagram ?>" title="Instagram"target="_blank"><span class="fa fa-instagram"></span></a></li>
													<?php }?>
													<?php if(!empty($linkedIn)){ ?>
														<li class="wow fadeInDown" data-wow-duration="4s"><a href="<?php echo $linkedIn ?>" title="Linked In" target="_blank"><span class="fa fa-linkedin"></span></a></li>
													<?php }?>
												</ul>

											</div>
										<?php } ?>

									</div>
									<div class="clearfix"></div>
								</div>
							</div>
						</div> -->
						
						<div class="clearfix"></div>
					</div>
					<div class="clearfix"></div>
				</div>
				<div class="clearfix"></div>
			</section>
		<?php }

