<footer>
  <div class="container">
    <div class="row g-4">
      <div class="col-lg-5 col-12">
        <div class="ft-bx">
          <div class="ft-tt">About <span>Us</span></div>
          <p>
            <?= html_entity_decode(str_ireplace('{companyName}', $admin_res['companyName'], $about_res['pageDesc'])); ?></p>
          <div class="con-bx">
            <div class="ic-bx">
              <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-telephone-fill" viewBox="0 0 16 16">
                <path fill-rule="evenodd" d="M1.885.511a1.745 1.745 0 0 1 2.61.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.68.68 0 0 0 .178.643l2.457 2.457a.68.68 0 0 0 .644.178l2.189-.547a1.75 1.75 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.6 18.6 0 0 1-7.01-4.42 18.6 18.6 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877z"></path>
              </svg>
            </div>
            <p><a href="tel:<?= $admin_res['mobile']; ?>" title="Call us"><?= $admin_res['mobile']; ?></a></p>
          </div>
          <ul class="social">
            <?php if ($admin_res['facebook'] != '') { ?>
              <li><a href="<?= $admin_res['facebook']; ?>" title="Facebook"><img src="<?= site_url; ?>/designer/images/icon/facebook.png" alt="Facebook" title="Facebook"></a></li>
              <?php if ($admin_res['instagram'] != '') { ?>
                <li><a href="<?= $admin_res['instagram']; ?>" title="Instagram"><img src="<?= site_url; ?>/designer/images/icon/insta.png" alt="Instagram" title="Instagram"></a></li>
              <?php }
              if ($admin_res['twitter'] != '') { ?>
                <li><a href="<?= $admin_res['twitter']; ?>" title="Twitter"><img src="<?= site_url; ?>/designer/images/icon/twitter.png" alt="Twitter" title="Twitter"></a></li>
              <?php } ?>
            <?php }
            if ($admin_res['youtube'] != '') { ?>
              <li><a href="<?= $admin_res['youtube']; ?>" title="YouTube"><img src="<?= site_url; ?>/designer/images/icon/youtube.png" alt="YouTube" title="YouTube"></a></li>
            <?php } ?>
          </ul>
        </div>
      </div>
      <div class="col-lg-7">
        <div class="row g-4">
          <div class="col-lg-5 col-md-6 col-12">
            <div class="ft-bx">
              <div class="ft-tt">Useful <span>Links</span></div>
              <ul>
                <li><a href="<?= site_url; ?>" title="Home">Home</a></li>
                <li><a href="<?= site_url; ?>/about-us.htm" title="About Us">About Us</a></li>
                <li><a href="<?= site_url; ?>/blog.htm" title="Blogs">Blog</a></li>
                <li><a href="<?= site_url; ?>/contact-us.htm" title="Contact Us">Contact Us</a></li>
                <li><a href="<?= site_url; ?>/sitemap.htm" title="Sitemap">Sitemap</a></li>
                <li><a href="<?= site_url; ?>/market-area.htm" title="Market Area">Market Area</a></li>
              </ul>
            </div>
          </div>
          <div class="col-lg-7 col-md-6 col-12">
            <div class="ft-bx">
              <div class="ft-tt">Astrology <span> Remedies</span></div>
              <ul>
                <?php $foot_sql11 = mysqli_query($GLOBALS['dbconn'], "select catName, displayName from category_tbl where parentID='2' and status='Y' order by catOrder limit 0,9");
                while ($foot_res11 = mysqli_fetch_array($foot_sql11)) {
                ?>
                  <li><a href="<?= site_url; ?>/<?= getValidFileName($foot_res11['catName']); ?>.htm" title="<?php echo $foot_res11['displayName']; ?>"><?php echo $foot_res11['displayName']; ?></a></li>
                <?php } ?>

              </ul>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="copyright">
      <p>©2025 Astrologer Arjun Shastri. All Rights Reserved. </p>
    </div>
  </div>
</footer>