  </div><!-- #content -->

   <!-- ======= Footer ======= -->
    <footer id="footer">
       <?php 
          $footer_company_logo_title = get_theme_mod('set_footer_company_logo_title','Logo Title');

          $footer_address_line = get_theme_mod('set_footer_address_line','A108 Adam Street');
          $footer_address_city = get_theme_mod('set_footer_address_city','New York');
          $footer_address_state = get_theme_mod('set_footer_address_state','NY');
          $footer_address_country = get_theme_mod('set_footer_address_country','United State');
          $footer_address_postalcode = get_theme_mod('set_footer_postalcode','535022');
          $footer_contact_email = get_theme_mod('set_footer_email','info@example.com');
          $footer_contact_phone = get_theme_mod('set_footer_phone','5589 55488 55');

          $footer_newsletter_title = get_theme_mod('set_footer_newsletter_title','Join Our Newsletter');
          $footer_newsletter_subtitle = get_theme_mod('set_footer_newsletter_subtitle','Tamen quem nulla quae legam multos aute sint culpa legam noster magna');

        ?>   
      

      <div class="footer-top">
        <div class="container">
          <div class="row">

            <div class="col-lg-3 col-md-6 footer-contact">
              <h3><?php echo esc_html($footer_company_logo_title);?></h3>
              <p>
                <?php echo esc_html($footer_address_line);?><br>
                <?php echo esc_html($footer_address_city)?>,&nbsp;<?php echo esc_html($footer_address_state)?>&nbsp; 
                <?php echo esc_html($footer_address_postalcode);?><br>
                <?php echo esc_html($footer_address_country);?> <br><br>
                <strong>Phone:</strong> +1 <?php echo esc_html($footer_contact_phone);?><br>
                <strong>Email:</strong> <?php echo esc_html($footer_contact_email);?><br>
              </p>
            </div>

            <div class="col-lg-2 col-md-6 footer-links">
              <h4><?php _e('Useful Links','maximgym');?></h4>
               <?php
                wp_nav_menu(array(
                    'theme_location' => 'main-menu',
                    'container' => false,
                    'menu_class' => '',
                    'fallback_cb' => '__return_false',
                    'items_wrap' => '<ul id="%1$s" class="navbar-nav me-auto mb-2 mb-md-0 %2$s">%3$s</ul>',
                    'depth' => 4,
                    'walker' => new maximgym_wp_nav_menu_walker()
                ));
              ?>
            </div>

            <div class="col-lg-3 col-md-6 footer-links">
              <h4><?php echo esc_html($footer_newsletter_title);?></h4>
              <p><?php echo esc_html($footer_newsletter_subtitle);?></p>
            </div>

            <div class="col-lg-4 col-md-6 footer-newsletter">
              <form action="" method="post">
                <input type="email" name="email">
                <input type="submit" name="subscribe" value="<?php _e('Subscribe',"maximgym");?>">
              </form>
            </div>

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

      <div class="container d-md-flex py-4">
         <div class="me-md-auto text-center text-md-start">
            <?php get_template_part( 'template-parts/footer/site', 'info' );?>
        </div>
        <div class="social-links text-center text-md-right pt-3 pt-md-0">
             <?php get_template_part( 'template-parts/footer/social', 'links' );?> 
        </div>
      </div>
    </footer><!-- End Footer -->

      <a href="#" class="back-to-top d-flex align-items-center justify-content-center"><i class="bi bi-arrow-up-short"></i></a>
    
    </div><!-- .site-content-contain -->
  
  </div><!-- #page -->
  
  <!-- Vendor JS Files -->
 <?php wp_footer(); ?>

</body>

</html>
