<?php
/**
 * The template for displaying the footer
 *
 * Contains the closing of the #content div and all content after.
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package WordPress
 * @subpackage Twenty_Twenty_One
 * @since Twenty Twenty-One 1.0
 */

?>
<?php //echo do_shortcode('[request_quote_shortcode]');

	$request_a_quote_title = get_field('request_a_quote_title', 'option');
	$raq_description = get_field('raq_description', 'option');
	$raq_link = get_field('raq_link', 'option');
?>



<div class="requestQuoteWrapper bottomRQWrapper">
	 <div class="container">
		<div class="row align-items-center justify-content-end">
			<div class="col-lg-6">
				<div class="bottomRequestQuoteWrapper">
				<div class="brqLine1"><?php echo $request_a_quote_title;?></div>
				<div class="brqLine2"><?php echo $raq_description;?></div>
					<div class="requestQuoteBtn"><a href="<?php echo $raq_link;?>" class="siteBtn">GET A QUOTE
				<svg xmlns="http://www.w3.org/2000/svg" width="33.242" height="15.11" viewBox="0 0 33.242 15.11">
	  <g data-name="Icon feather-arrow-right" transform="translate(0.75 1.061)">
		<path data-name="Path 1141" d="M7.5,18H39.242" transform="translate(-7.5 -11.506)" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/>
		<path data-name="Path 1142" d="M18,7.5l6.494,6.494L18,20.489" transform="translate(7.248 -7.5)" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/>
	  </g>
	</svg>

				</a></div>
			</div>
					</div>

			</div>
		 </div>
	</div> <!-- requestQuoteWrapper -->





<div class="footerContactRow">
  <div class="container">
    <div class="row">
      <div class="col-lg-9">
        <div class="footerContactLeft">
          <div class="footerContactLeftBox fclbAddress">
            <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
              <path id="Icon_material-my-location" data-name="Icon material-my-location" d="M11.5,7.864A3.636,3.636,0,1,0,15.136,11.5,3.635,3.635,0,0,0,11.5,7.864Zm8.127,2.727a8.177,8.177,0,0,0-7.218-7.218V1.5H10.591V3.373a8.177,8.177,0,0,0-7.218,7.218H1.5v1.818H3.373a8.177,8.177,0,0,0,7.218,7.218V21.5h1.818V19.627a8.177,8.177,0,0,0,7.218-7.218H21.5V10.591ZM11.5,17.864A6.364,6.364,0,1,1,17.864,11.5,6.359,6.359,0,0,1,11.5,17.864Z" transform="translate(-1.5 -1.5)" fill="#ffffff"/>
            </svg>
            <?php echo $address = get_field('address', 'option');?> </div>
          <div class="footerContactLeftBox">
            <svg xmlns="http://www.w3.org/2000/svg" width="22.068" height="22.106" viewBox="0 0 22.068 22.106">
              <path id="Icon_feather-phone-call" data-name="Icon feather-phone-call" d="M15.532,5.323A4.778,4.778,0,0,1,19.307,9.1M15.532,1.5a8.6,8.6,0,0,1,7.6,7.588m-.956,7.626v2.867a1.911,1.911,0,0,1-2.083,1.911,18.912,18.912,0,0,1-8.247-2.934,18.635,18.635,0,0,1-5.734-5.734A18.912,18.912,0,0,1,3.176,4.539a1.911,1.911,0,0,1,1.9-2.083H7.944A1.911,1.911,0,0,1,9.856,4.1a12.27,12.27,0,0,0,.669,2.685,1.911,1.911,0,0,1-.43,2.016L8.881,10.015a15.29,15.29,0,0,0,5.734,5.734l1.214-1.214a1.911,1.911,0,0,1,2.016-.43,12.271,12.271,0,0,0,2.685.669A1.911,1.911,0,0,1,22.174,16.714Z" transform="translate(-2.167 -0.396)" fill="none" stroke="#ffffff" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
            </svg>
            <?php  $phone_number = get_field('phone_number', 'option');?>
            <a href="tel:<?php echo $phone_number;?>"><?php echo $phone_number;?></a></div>
          <div class="footerContactLeftBox">
            <svg xmlns="http://www.w3.org/2000/svg" width="24.466" height="19.318" viewBox="0 0 24.466 19.318">
              <g id="Icon_feather-mail" data-name="Icon feather-mail" transform="translate(-1.591 -5)">
                <path id="Path_1144" data-name="Path 1144" d="M5.165,6H22.483a2.171,2.171,0,0,1,2.165,2.165V21.154a2.171,2.171,0,0,1-2.165,2.165H5.165A2.171,2.171,0,0,1,3,21.154V8.165A2.171,2.171,0,0,1,5.165,6Z" fill="none" stroke="#ffffff" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
                <path id="Path_1145" data-name="Path 1145" d="M24.648,9,13.824,18.092,3,9" transform="translate(0 -0.402)" fill="none" stroke="#ffffff" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
              </g>
            </svg>
            <?php  $email_address = get_field('email_address', 'option');?>
            <a href="mailto:<?php echo $email_address;?>"><?php echo $email_address;?></a></div>
        </div>
      </div>
      <div class="col-lg-3">
        <div class="footerSocialLinkRow">
          <?php
          $facebook_url = get_field( 'facebook_url', 'option' );
          if ( !empty( $facebook_url ) ) {
              ?>
          <a href="<?php echo $facebook_url;?>" class="footerSoIcon fooFacebook" title="Facebook" target="_blank"></a>
          <?php } ?>
          <?php
          $x_url = get_field( 'x_url', 'option' );
          if ( !empty( $x_url ) ) {
              ?>
          <a href="<?php echo $x_url;?>" class="footerSoIcon fooX" title="X" target="_blank"></a>
          <?php } ?>
          <?php
          $linkend_url = get_field( 'linkend_url', 'option' );
          if ( !empty( $linkend_url ) ) {
              ?>
          <a href="<?php echo $linkend_url;?>" class="footerSoIcon fooLinkedIn" title="LinkedIn" target="_blank"></a>
          <?php } ?>
          <?php
          $instagram_url = get_field( 'instagram_url', 'option' );
          if ( !empty( $instagram_url ) ) {
              ?>
          <a href="<?php echo $instagram_url;?>" class="footerSoIcon fooInstagram" title="Instagram" target="_blank"></a>
          <?php } ?>
          <?php
          $youtube_url = get_field( 'youtube_url', 'option' );
          if ( !empty( $youtube_url ) ) {
              ?>
          <a href="<?php echo $youtube_url;?>" class="footerSoIcon fooYouTube" title="YouTube" target="_blank"></a>
          <?php } ?>
        </div>
      </div>
    </div>
  </div>
</div>
<!-- footerContactRow -->

<div class="footerArea">
  <div class="container">
    <div class="row">
      <div class="col-lg-3">
        <div class="footerLogo"><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img width="239px" height="114px" src="<?php bloginfo('template_url'); ?>/assets/images/allestroaero-footer-logo.png" alt="" ></a></div>
      </div>
      <div class="col-lg-6">
        <div class="footerMenuWrapp">
          <div class="footerSectionHeading">Our Services</div>
          <ul>
            <?php
            wp_nav_menu( array(
                'menu' => 'Footer Our Services Menu',
                'container' => '',
                'items_wrap' => '%3$s'
            ) );
            ?>
          </ul>
        </div>
        <!-- footerMenuWrapp -->
        <div class="footerMenuWrapp">
          <div class="footerSectionHeading">Company</div>
          <ul>
            <?php
            wp_nav_menu( array(
                'menu' => 'Footer Company Menu',
                'container' => '',
                'items_wrap' => '%3$s'
            ) );
            ?>
          </ul>
        </div>
        <!-- footerMenuWrapp -->
      </div>
      <div class="col-lg-3">
        <div class="footerProductBtn"> <a href="<?php echo site_url( '/our-products/' );?>" class="siteBtn">Check Products
          <svg xmlns="http://www.w3.org/2000/svg" width="33.242" height="15.11" viewBox="0 0 33.242 15.11">
            <g data-name="Icon feather-arrow-right" transform="translate(0.75 1.061)">
              <path data-name="Path 1141" d="M7.5,18H39.242" transform="translate(-7.5 -11.506)" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/>
              <path data-name="Path 1142" d="M18,7.5l6.494,6.494L18,20.489" transform="translate(7.248 -7.5)" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/>
            </g>
          </svg>
          </a> </div>
      </div>
    </div>
  </div>
</div>
<!-- footerArea -->

<div class="footerBottomArea">
  <div class="container">
    <div class="row">
      <div class="col-lg-12">
        <div class="footerBottomRow">
          <div class="footerBottomLeft">&copy; Copyright 2024 All Rights Reserved.</div>
          <div class="footerBottomRight">Website By&nbsp; <a href="https://nmgtechnologies.com/" target="_blank"><img width="69px" height="25px" src="<?php bloginfo('template_url'); ?>/assets/images/nmg-logo.png" alt=""></a></div>
        </div>
      </div>
    </div>
  </div>
</div>
<!-- footerBottomArea -->


<script>
	document.addEventListener('change', function(e) {
    var input = e.target;

    if (input && input.type === 'file') {
        var fileName = input.files[0].name;

        if (fileName) {
			document.getElementById("file-name").innerHTML=fileName;
        }
    }
});


// Start For Mobile Menu
jQuery(document).ready(function(){
jQuery('.hambarger').click(function(){
jQuery('.mobileMenuWrapper').addClass('openmenu');
jQuery('body').addClass('bodyNoScroll');

});
jQuery('.mobileMenuCross').click(function(){
   jQuery('.mobileMenuWrapper').removeClass('openmenu');
	jQuery('body').removeClass('bodyNoScroll');
});
});
// End for MObile Menu
 
	
	
	</script>
<?php wp_footer(); ?>
</body></html>
