<!--====== Footer Section ======-->
    
     <footer class="footer">
        <div class="container py-3 py-lg-5">
            <div class="row py--lg-5">

            <!-- Footer widget 1 -->
            <?php if ( is_active_sidebar('footer-1') ) : ?>
            <div class="col-lg-2 mx-auto">
                <?php dynamic_sidebar('footer-1'); ?>
            </div>
            <?php endif; ?>

            <!-- Footer widget 2 -->
            <?php if ( is_active_sidebar('footer-2') ) : ?>
            <div class="col-lg-3">
                <?php dynamic_sidebar('footer-2'); ?>
            </div>
            <?php endif; ?>
            
            <!-- Footer widget 3 -->
            <?php if ( is_active_sidebar('footer-3') ) : ?>
            <div class="col-lg-3">
                <?php dynamic_sidebar('footer-3'); ?>
            </div>
            <?php endif; ?>

            <!-- Footer widget 4 -->
            <?php if ( is_active_sidebar('footer-4') ) : ?>
            <div class="col-lg-3">
                <?php dynamic_sidebar('footer-4'); ?>
            </div>
            <?php endif; ?>


               <hr> <p class="mb-0 text-muted small text-center fs-6 pt-3"><?php echo wp_kses_post( get_theme_mod( 'mohi_footer_copyright_text', '© ' . wp_date('Y') . ' mohi. All Rights Reserved.' ) ); ?></p>
                

            </div>
        </div>
     </footer>
    
    <!--====== Up Arrow =======-->
    <?php if( get_theme_mod( 'mohi_scroll_to_top_enable' ) ) : ?>
    <button id="scrollToTopBtn" class="btn btn-purple rounded-3 pl-1 shadow-lg" title="<?php esc_attr_e( 'Go to top', 'mohi' ); ?>">
    <i class="bi bi-chevron-up"></i>
    </button>
    <?php endif; ?>




    <?php wp_footer(); ?> 
</body>
</html>