<!-- ======= Footer ======= -->
<footer class="footer">
    <div class="container">
        <div class="row footer-details" data-aos="fade-up">
            <div class="col-12 footer-logo">
                <?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=""><img src="' . esc_url($logo_url[0]) . '" class="img-fluid logo" alt="' . get_bloginfo('name') . '"></a>';
                } else {
                    echo '<a href="' . esc_url(home_url('/')) . '"><h1>' . get_bloginfo('name') . '</h1></a>';
                }
                ?>
            </div><!-- logo !-->
            <div class="col-12 footer-contact-area">
                <div class="row">
                    <?php  dynamic_sidebar('footera');?>
                </div>
            </div><!-- Contact Area !-->
            <div class="col-12 footer-socials">
                <div class="bd-highlight facebook">
                    <a class="btn btn-sm btn-facebook" href="https://www.facebook.com/passionsservices/" target="_blank" rel="noopener noreferrer" title="Facebook">
                        <i class="fab fa-facebook-f"></i>
                    </a>
                </div><!-- Facebook !-->
                <div class="bd-highlight instagram">
                    <a class="btn btn-sm btn-instagram" href="https://www.instagram.com/passionsservices/" target="_blank" rel="noopener noreferrer" title="Instagram">
                        <i class="fab fa-instagram"></i>
                    </a>
                </div><!-- Instagram !-->
                <div class="bd-highlight x">
                    <a class="btn btn-sm btn-x" href="https://x.com/Passionsltd" target="_blank" rel="noopener noreferrer" title="X">
                        <i class="bi bi-twitter-x"></i>
                    </a>
                </div><!-- X !-->
                <div class="bd-highlight youtube">
                    <a class="btn btn-sm btn-youtube" href="https://www.youtube.com/@passionsservicesltd4305" target="_blank" rel="noopener noreferrer" title="YouTube">
                        <i class="fab fa-youtube"></i>
                    </a>
                </div><!-- YouTube !-->
            </div><!-- Socials !-->
            <div class="napas-copyrights">
                <div class="container copyright">
                    <small>&copy; <?php echo date("Y") ?> &nbsp;<span>Passions Services Ltd.&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><!-- Row !-->
    </div><!-- container !-->
</footer><!-- End Footer -->
</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: "+256782451967",
            siteName: "Passions Services",
            siteTag: "For quality compound design",
            siteLogo: "http://localhost/passions/wp-content/themes/kipya/favicon.png",
            widgetPosition: "LEFT",
            triggerMessage: "Message Us",
            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>
jQuery(document).ready(function($) {
    $('#downloads-table').DataTable({
        // DataTables options here
        "paging": true,
        "searching": true,
        // Add more options as needed
    });
});
</script>
</body>
</html>