<footer class="bg-dark">
            <div class="container py-6 py-lg-8">
                <div class="row mt-n2-6">
                    <div class="col-sm-6 col-lg-3 mt-2-6">
                        <div class="footer-logo mb-1-9">
                            <a href="<?= $base_url; ?>"><img src="<?= $base_url; ?>img/logos/footer-light-logo.png" alt="..."></a>
                        </div>
                        <p class="text-white mb-1-6 mb-lg-1-9 opacity9">MedsFAQ shares educational blogs, wellness resources, and health awareness content in a simple and reader-friendly format.</p>
                       
                    </div>
                    <div class="col-sm-6 col-lg-3 mt-2-6">
                        <div class="ps-sm-1-6 ps-md-1-9 ps-xl-2-9">
                            <h3 class="title-font text-secondary mb-4 h4">Quick Links</h3>
                            <ul class="footer-list-style1">
                                <li><a href="<?= $base_url; ?>about-us">About Us</a></li>
                                <li><a href="<?= $base_url; ?>faq">Faqs</a></li>
                                <li><a href="<?= $base_url; ?>blog">Blog</a></li>
                                <li><a href="<?= $base_url; ?>contact">Contact Us</a></li>
                            </ul>
                        </div>
                    </div>
                    <style>
                             #footerRecentPostsA h4>a{
                                color: #fff !important;
                            }

                            #footerRecentPostsB h4>a{
                                color: #fff !important;
                            }

                            
                            </style>
                    <div class="col-sm-6 col-lg-3 mt-2-6">
                        <div class="ps-xl-1-9">
                            <h3 class="title-font text-secondary mb-4 h4">Recent Posts</h3>
                            <div id="footerRecentPostsA">
                                <div class="d-flex align-items-center mb-1-9">
                                    <div class="flex-shrink-0 image-hover">
                                        <img src="<?= $base_url; ?>img/content/footer-thumb1.jpg" class="w-70px border-radius-10" alt="...">
                                    </div>
                                    <div class="flex-grow-1 ps-3">
                                        <h4 class="h6"><a href="#" class="text-white opacity9 text-secondary-hover">Loading...</a></h4>
                                        <small class="text-secondary"> </small>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6 col-lg-3 mt-2-6">
                        <div class="ps-xl-1-9">
                             <h3 class="title-font text-secondary mb-4 h4">_</h3>
                            <h5 class="title-font text-secondary mb-4 h4"> </h5>
                            
                            <div id="footerRecentPostsB"></div>
                            
                        </div>
                    </div>
                </div>
            </div>
            <div class="footer-bar">
                <div class="container">
                    <div class="row align-items-center">
                        <div class="col-md-6 text-center text-md-start mt-3 mt-md-0 order-2 order-md-1">
                            <p class="d-inline-block text-white mb-0 display-30 display-lg-29">&copy; <span class="current-year"></span> Design & Developed by <a href="https://alightwaysolutions.com/" class="text-secondary white-hover">Alightway Solutions Pvt Ltd.</a></p>
                        </div>
                        <div class="col-md-6 text-md-end order-1 order-md-2">
                            <p class="text-white d-inline-block font-weight-600 mb-0 align-middle me-3">Follw Us :</p>
                            <ul class="footer-social-style1">
                                <li>
                                    <a href="https://www.facebook.com/alightwaysolutions"><i class="fab fa-facebook-f"></i></a>
                                </li>
                                <li>
                                    <a href="https://x.com/alightwaysoln"><i class="fa-brands fa-x-twitter"></i></a>
                                </li>
                                <li>
                                    <a href="https://www.instagram.com/alightway/"><i class="fab fa-instagram"></i></a>
                                </li>
                                <li>
                                    <a href="https://www.linkedin.com/company/alightway-solutions-pvtltd/"><i class="fab fa-linkedin-in"></i></a>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </footer>
    </div>
    <!-- SCROLL TO TOP
    ================================================== -->
    <div class="scroll-top-percentage"><span id="scroll-value"></span></div>
    <!-- all js include start -->
    <!-- jQuery -->
    <script src="<?= $base_url; ?>js/jquery.min.js"></script>
    <!-- popper js -->
    <script src="<?= $base_url; ?>js/popper.min.js"></script>
    <!-- bootstrap -->
    <script src="<?= $base_url; ?>js/bootstrap.min.js"></script>
    <!-- scroll -->
    <script src="<?= $base_url; ?>js/jquery.scrollbar.min.js"></script>
    <!-- jquery -->
    <script src="<?= $base_url; ?>js/core.min.js"></script>
    <!-- custom scripts -->
    <script src="<?= $base_url; ?>js/main.js"></script>
    <!-- database ajax scripts -->
    <script src="<?= $base_url; ?>js/ajax-data.js"></script>
    <!-- form plugins js -->
    <script src="<?= $base_url; ?>quform/js/plugins.js"></script>
    <!-- form scripts js -->
    <script src="<?= $base_url; ?>quform/js/scripts.js"></script>

    <script>
        const slider = document.getElementById("cardSlider");
        const leftButton = document.querySelector(".nav-btn.left");
        const rightButton = document.querySelector(".nav-btn.right");
        if (slider && leftButton && rightButton) {
            leftButton.addEventListener("click", () => slider.scrollBy({ left: -300, behavior: "smooth" }));
            rightButton.addEventListener("click", () => slider.scrollBy({ left: 300, behavior: "smooth" }));
        }

        const reviewSlider = document.getElementById("reviewSlider");
        const reviewLeft = document.querySelector(".review-btn.left");
        const reviewRight = document.querySelector(".review-btn.right");
        if (reviewSlider && reviewLeft && reviewRight) {
            reviewLeft.onclick = () => reviewSlider.scrollBy({ left: -320, behavior: "smooth" });
            reviewRight.onclick = () => reviewSlider.scrollBy({ left: 320, behavior: "smooth" });
        }

        const slider2 = document.getElementById("providerSlider");
        const nextProvider = document.getElementById("nextProvider");
        const prevProvider = document.getElementById("prevProvider");
        if (slider2 && nextProvider && prevProvider) {
            nextProvider.onclick = () => slider2.scrollBy({ left: 300, behavior: "smooth" });
            prevProvider.onclick = () => slider2.scrollBy({ left: -300, behavior: "smooth" });
        }
    </script>

    <!-- all js include end -->
</body>

</html>
