<style>
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#footer {
    margin-top: auto;
    position: relative;
}
</style>
<div class="m-5 d-block p-1"></div>
<footer id="footer" class="footer position-absolute d-none d-lg-block" style="bottom: 0px; width:93%">
    <div class="container">
        <div class="text-end">
            &copy; Copyright <strong>PIMS - All Rights Reserved</strong> & Developed by
            <a class="text-white" href="https://digix.in">DiGi X</a>
        </div>
    </div>
</footer>
<footer id="footer footer-mob" class="footer d-block d-lg-none">
    <div class="container">
        <div class="row justify-content-between">
            <div class="col text-center">
                <a href="new_entry.php" class="text-white text-center" style="text-decoration:none;">
                    <i class='fa fa-user-plus footer-icon-mob'></i>
                    <p class="m-0 footer-text-mob">New Entry</p>
                </a>
            </div>
            <div class="col text-center">
                <a href="all-Data.php" class="text-white text-center" style="text-decoration:none;">
                    <i class="fa-solid fa-users footer-icon-mob"></i>
                    <p class="m-0 footer-text-mob">All Data</p>
                </a>
            </div>
            <div class="col text-center">
                <a href="index.php" class="text-white" style="text-decoration:none;">
                    <i class="fa fa-home footer-icon-mob"></i>
                    <p class="m-0 footer-text-mob">Home</p>
                </a>
            </div>
            <div class="col text-center">
                <a href="global-Data.php" class="text-white text-center" style="text-decoration:none;">
                    <i class="fa fa-globe footer-icon-mob" aria-hidden="true"></i>
                    <p class="m-0 footer-text-mob">Global Data</p>
                </a>
            </div>
        </div>
    </div>
</footer>