<footer class="footer -type-1 bg-color-primary py-10">
    <div class="container">
        <div class="footer-header py-10">
            <div class="row justify-between items-center y-gap-20">
                <div class="col-auto py-20 copyright_text">
                    <div class="d-flex items-center h-100 text-white">&#169; Copyright 2023. Powered by &nbsp;<a href="https://knestlms.com/" target="_blank" class="text-color-secondary footer_company_link">K-nest LMS</a>. All Rights Reserved By
                        &nbsp;<a href="https://4edgeit.com/" target="_blank" class="text-color-secondary  footer_company_link"> 4Edge IT Solutions.</a>
                    </div>
                </div>

                <div class="col-auto">
                    <div class="footer-header-socials">
                        <div class="footer-header-socials__list">
                            <?php
                            if ($cust_website_link != "") {
                                ?>
                                <a title="Website" href="<?php echo $cust_website_link; ?>" target="_blank"><i
                                        class="fa fa-lg fa-globe"></i></a>
                                    <?php
                                }
                                if ($cust_facebook_link != "") {
                                    ?>
                                <a title="Facebook" href="<?php echo $cust_facebook_link; ?>" target="_blank"><i
                                        class="fa fa-lg fa-facebook"></i></a>
                                    <?php
                                }
                                if ($cust_twitter_link != "") {
                                    ?>
                                <a title="Twitter" href="<?php echo $cust_twitter_link; ?>" target="_blank"><i
                                        class="fa fa-twitter"></i></a>
                                    <?php
                                }
                                if ($cust_linkedin_link != "") {
                                    ?>
                                <a title="Linkedin" href="<?php echo $cust_linkedin_link; ?>" target="_blank"><i
                                        class="fa fa-lg fa-linkedin"></i></a>
                                    <?php
                                }
                                if ($cust_youtube_link != "") {
                                    ?>
                                <a title="YouTube" href="<?php echo $cust_youtube_link; ?>" target="_blank"><i
                                        class="fa fa-lg fa-youtube-play"></i></a>
                                    <?php
                                }
                                ?>
                        </div>
                    </div>
                </div>

            </div>
        </div>
    </div>
</footer>

<script src="assets/js/jquery-3.6.3.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/vendors.js"></script>
<script src="assets/js/main.js"></script>
<script type="text/javascript" <?php if(isset($nonce)){ ?> nonce="<?php echo $nonce;?>" <?php } ?>>
    $("#favicon").attr("href", "<?php echo $cust_company_image_path; ?>");

//    document.addEventListener("DOMContentLoaded", function () {
//
//        window.addEventListener('scroll', function () {
//
//            if (window.scrollY > 50) {
//                document.getElementById('navbar_top').classList.add('navbar-fixed-top');
//                // add padding top to show content behind navbar
//                navbar_height = document.querySelector('.navbar').offsetHeight;
//                document.body.style.paddingTop = navbar_height + 'px';
//            } else {
//                document.getElementById('navbar_top').classList.remove('navbar-fixed-top');
//                // remove padding top from body
//                document.body.style.paddingTop = '0';
//            }
//        });
    //});
</script>