<!-- ======= Footer ======= -->
<footer class="footer">
    <div class="container">
        <div class="row footer-details">
            <div class="col-md-2 d-none d-md-block mb-2 fadeup align-self-center">
                <?php
                    $custom_logo_id = get_theme_mod('custom_logo');
                    $logo_url = wp_get_attachment_image_src($custom_logo_id, 'full');
                    if ($logo_url) {
                        echo '<a href="' . esc_url(home_url('/')) . '" class="ps-3"><img src="' . esc_url($logo_url[0]) . '" style="height:90px" alt="' . get_bloginfo('name') . '"></a>';
                    }
                ?>
            </div>
            <div class="col-md-3 col-6 fadeup mb-2">
                <h4>Our Rooms</h4>
                <ul>
                    <li><a href="<?= home_url('/standard-single-room/'); ?>">Standard Single Room</a></li>
                    <li><a href="<?= home_url('/standard-twin-room/'); ?>">Standard Twin Room</a></li>
                    <li><a href="<?= home_url('/deluxe-double-room/'); ?>">Deluxe Double Room</a></li>
                    <li><a href="<?= home_url('/deluxe-triple-room/'); ?>">Deluxe Triple Room</a></li>
                </ul>
            </div>
            <div class="col-md-3 col-6 fadeup mb-2">
                <h4>Places to Visit</h4>
                <ul>
                    <li><a href="<?= home_url('/mgahinga-national-park/'); ?>">Mgahinga Mountains</a></li>
                    <li><a href="<?= home_url('/lake-mutanda/'); ?>">Lake Mutanda</a></li>
                    <li><a href="<?= home_url('/kisoro-airfield/'); ?>">Kisoro Airfield</a></li>
                    <li><a href="#">Bwindi Impenetratable</a></li>
                    <li><a href="<?= home_url('/latest-news-blog/'); ?>">More from Blog</a></li>
                </ul>
            </div>
            <div class="col-md-4 mb-2 fadeup footer-socials">
                <h4>Quick Contacts</h4>
                <ul>
                    <li><i class="bi bi-geo-alt me-2"></i>  Plot 27 Chuho Road Kisoro Town</li>
                    <li><i class="bi bi-phone me-2"></i>  +256704407400 / +256762145998</li>
                    <li><i class="bi bi-envelope me-2"></i> booking@carnethotel.com</li>
                </ul>
                <?php  dynamic_sidebar('footerd');?>
            </div>
        </div><!-- Socials !-->
        <div class="row">
            <div class="col copyright">
                <small>Copyright &copy;<?php echo date("Y") ?> &nbsp;<span><?php echo '<a href="' . esc_url(home_url('/')) . '">' . get_bloginfo('name') . '</a>';?>.&nbsp;All Rights Reserved.</span>
                    <small>Designed: <a href="https://www.lwegatech.com" target="_blank" title="LWEGATECH">Lwegatech</a></small></p>
                </small>
            </div>
        </div>
    </div><!-- container !-->
</footer><!-- End Footer -->
<div class="credits">
        <a href="#top" class="back-to-top d-flex align-items-center justify-content-center"><i class="bi bi-chevron-double-up"></i></a>
      </div>
</main>
</div><!-- Main Area !-->
</div><!-- Wrapper !-->

<?php wp_footer(); ?>
<script src="assets/vendor/aos/aos.js"></script>
<script>
    AOS.init({
        duration: 1000,
        easing: "ease-in-out",
        once: true,
        mirror: false
    });
</script>
<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>
<script>
    (function (w, d, s, u) {
    w.gbwawc = {
    url: u,
    options: {
            waId: "+256786962299",
            siteName: "CARNET HOTEL",
            siteTag: "Experience Kisoro’s Best Kept Secret in Hospitality",
            siteLogo: "carnethotel.com/wp-content/themes/kipya/assets/images/favicon-96x96.png",
            widgetPosition: "LEFT",
            triggerMessage: "Need Help?",
            welcomeMessage: "Welcome to CarNet Hotel! Where Comfort Meets the Peaks.",
            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>
jQuery(document).ready(function($) {
    $('#downloads-table').DataTable({
        // DataTables options here
        "paging": true,
        "searching": true,
        // Add more options as needed
    });
});
</script>
<script>
  window.addEventListener('load', function () {
    // Delay preloader removal for demo/testing (2000 = 2 seconds)
    setTimeout(function () {
      document.getElementById('preloader').style.display = 'none';
    }, 1000); 
  });
</script>

</body>
</html>