<!-- ======= Footer ======= -->
<footer class="footer">
    <div class="footer-top">
        <div class="container">
        <div class="row footer-text">
            
          
                    <div class="col-md-4">
                        <h2>Newsletter</h2>
                        <p>Sign for the Newletter and we will inform you of updates, offers and more</p>
    				   
                        <div class="input-group d-flex">
                              <input type="text" class="form-control" placeholder="subscribe now">
                              <button class="btn btn-primary">Submit</button>
                        </div>
                        <div class="bd-highlight me-1 d-md-block footer-menus">
                          <ul class="social-icons">
                            <li><a target="_blank" href="https://www.facebook.com/busogahealthforum2020" class="social-icon"> <i class="bi bi-facebook"></i></a></li>
                            <li><a target="_blank" href="https://x.com/BusogaHealth" class="social-icon"> <i class="bi bi-twitter-x ps-3"></i></a></li>
                            <li><a target="_blank" href="https://www.youtube.com/@busogahealthforum8270" class="social-icon"> <i class="bi bi-youtube ps-3"></i></a></li>
                            <li><a target="_blank" href="https://www.linkedin.com/company/busoga-health-forum-official" class="social-icon"> <i class="bi bi-linkedin ps-3 "></i></a></li>
                            <li><a target="_blank" href="mailto:info@busogahealthforum.org" class="social-icon"> <i class="bi bi-envelope ps-3 "></i></a></li>
                            <li><a target="_blank" href="https://www.instagram.com/busoga_health_forum/" class="social-icon"> <i class="bi bi-instagram"></i></a></li>
                        </ul>

                        </div>

                    </div>
                    <div class="col-md-2">
                        <h2>BHF Cores</h2>
                        <div class="title-separator"></div>
                           <p><a href="<?= home_url('programs/') ?>">Programs</a></p>
                            <p><a href="<?= home_url('membership/');?>">Membership</a></p>
                            <p><a href="<?= home_url('learning-hub/');?>">Learning Hub</a></p>
                            <p><a href="<?= home_url('research/');?>">Research</a></p>
                    </div>
                    <div class="col-md-3">
                        <h2>Important Links</h2>
                        <div class="title-separator"></div>
                        <p><a href="https://www.health.go.ug/" target="_blank">Ministry of Health</a></p>
                        <p><a href="https://www.ubos.org/" target="_blank">Uganda Bureau of Statistics</a></p>
                        <p><a href="https://npcsec.go.ug/" target="_blank">National Population Council</a></p>
                        <p><a href="https://www.who.int/" target="_blank">World Health Organisation</a></p>
                    </div>
                    <div class="col-md-3">
                    <h2>Contacts Us</h2>
                    <div class="title-separator"></div>
                    <p>Plot 6, Gabula Road, Jinja. P.O.Box 805, Jinja</p>
                       <p>+256 777 801429 | +256 39 3193038 </p>
                       <p>info@busogahealthforum.org</p>
                      
                    </div>
            
        </div><!-- Row !-->
    </div>
    </div><!-- container !-->
    <div class="container">
    <div class="copyright">
                           Copyright &copy;<?php echo date("Y") ?>  <span><?php bloginfo('name'); ?></span>. All Rights Reserved  
                    	   &nbsp;&nbsp;&nbsp;<small> Designed: <a href="https://www.lwegatech.com" target="_blank" title="LWEGATECH">Lwegatech</a></small>
</div>
      <div class="credits">
        <a href="#top" class="back-to-top d-flex align-items-center justify-content-center d-none"><i class="bi bi-arrow-up-short"></i></a>
      </div>
    </div>
    </footer><!-- End Footer -->
  </main>
	</div><!-- Main Area !-->
</div><!-- Wrapper !-->
 

    <?php wp_footer(); ?>
   

    <script>
    //For notifications & Alerts   
        function toasterOptions() {
        toastr.options = {
                "closeButton": false,
                "debug": false,
                "newestOnTop": false,
                "progressBar": true,
                "positionClass": "toast-top-right",
                "preventDuplicates": true,
                "onclick": null,
                "showDuration": "100",
                "hideDuration": "1000",
                "timeOut": "5000",
                "extendedTimeOut": "1000",
                "showEasing": "swing",
                "hideEasing": "linear",
                "showMethod": "show",
                "hideMethod": "hide"
        };
        };
    </script>
<!-- initialize scroll effect   !-->     
<script>
document.addEventListener("DOMContentLoaded", function () {
  const fadeElements = document.querySelectorAll(".fade-up");

  const observer = new IntersectionObserver((entries) => {
    entries.forEach(entry => {
      if (entry.isIntersecting) {
        entry.target.classList.add("animate");
        observer.unobserve(entry.target);
      }
    });
  }, {
    threshold: 0.2
  });

  fadeElements.forEach(el => observer.observe(el));
});
</script>




<script>
document.addEventListener('DOMContentLoaded', function() {
    const btnOpenOffcanvasList = document.querySelectorAll('.btn-open-offcanvas');

    btnOpenOffcanvasList.forEach(btn => {
        btn.addEventListener('click', function() {
            const postId = this.getAttribute('data-post-id');
            const offcanvasContent = document.getElementById('offcanvas-content');

            // Use AJAX to fetch post content
            const xhr = new XMLHttpRequest();
            xhr.onreadystatechange = function() {
                if (xhr.readyState === 4 && xhr.status === 200) {
                    offcanvasContent.innerHTML = xhr.responseText;
                }
            };
            xhr.open('GET', '<?php echo admin_url('admin-ajax.php'); ?>?action=get_post_content&post_id=' + postId, true);
            xhr.send();
        });
    });
});
</script>
<script>
        jQuery(document).ready(function($) {
            $('#downloads-table').DataTable({
                // DataTables options here
                "paging": true,
                "searching": true,
                // Add more options as needed
            });
        });
    </script>
    <script>
        $(function () {
        $('.teamPop').appendTo("body");
    });
    </script>
    <script>
    (function (w, d, s, u) {
    w.gbwawc = {
    url: u,
    options: {
            waId: "+12027466160",
            siteName: "Busoga Health Forum",
            siteTag: "A Health Thriving Busoga",
            siteLogo: "https://lwegatech.net/bhf/wp-content/themes/kipya/kipya/assets/images/bhflogo-web.jpg",
            widgetPosition: "RIGHT",
            triggerMessage: "Let's Talk!",
            welcomeMessage: "How can I help you?",
            brandColor: "#25D366",
            messageText: "",
            replyOptions: ['',''],
        },
    };
    var h = d.getElementsByTagName(s)[0],
    j = d.createElement(s);
    j.async = true;
    j.src = u + "/whatsapp-widget.min.js?_=" + Math.random();
    h.parentNode.insertBefore(j, h);
    })(window, document, "script", "https://waw.gallabox.com");
    </script> 
    <script>
document.addEventListener("DOMContentLoaded", function () {
    document.querySelectorAll(".nav-link[data-shortcode]").forEach(tab => {
        tab.addEventListener("shown.bs.tab", function () {
            var shortcode = this.getAttribute("data-shortcode");
            var targetId = this.getAttribute("href").substring(1); // Get tab-pane ID

            // Load content via AJAX
            fetch(ajax_object.ajax_url, {
                method: "POST",
                headers: { "Content-Type": "application/x-www-form-urlencoded" },
                body: new URLSearchParams({
                    action: "load_shortcode",
                    shortcode: shortcode
                })
            })
            .then(response => response.text())
            .then(data => {
                document.getElementById(targetId).innerHTML = data;
            })
            .catch(error => console.error("Error:", error));
        });
    });

    // Load first tab content on page load
    document.querySelector(".nav-link.active").dispatchEvent(new Event("shown.bs.tab"));
});


</script>

	</body>
</html>
