<!-- ======= Footer ======= -->
<footer class="footer">
    <div class="footer-top">
        <div class="container">
        <div class="row">
            <div class="col-xl-12">
                <?php  dynamic_sidebar('footeri');?>
            </div>
        </div><!-- Row !-->
            
        <div class="row">
            <div class="col-xl-3 col-lg-3 col-md-3 col-sm-12 footer-logo">
                <?php  dynamic_sidebar('footera');?>
            </div>
            <div class="col-xl-3 col-lg-3 col-md-3 col-sm-12 footer-menus d-md-block d-none">
                <?php  dynamic_sidebar('footerb');?>
            </div>
            <div class="col-xl-4 col-lg-4 col-md-4 col-sm-12 footer-menus d-md-block d-none">
                <?php  dynamic_sidebar('footerc');?>
            </div>
            <div class="col-xl-2 col-lg-2 col-md-2 col-sm-12 footer-mob">
                <?php  dynamic_sidebar('footerd');?>
            </div>
        </div><!-- Row !-->
    </div><!-- container !-->
    </div>
    <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"><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>
    AOS.init({
        duration: 1000,
        easing: "ease-in-out",
        once: true,
        mirror: false
    });
</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>


	</body>
</html>
