<header id="top-bar" class="navbar-fixed-top animated-header">
    <div class="container">
        <div class="navbar-header">
            <!-- responsive nav button -->
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <div class="navbar-brand">
                <div onclick="homePage()" style="d-flex align-items: center; cursor: pointer;">
                    <img src="<?php echo e(asset('public/assets/img/htu_logo.png')); ?>" style="width: 50px; height: 50px;" alt="">
                    <span style="color: #333;"><b>Ho Technical University</b></span>
                </div>
            </div>
        </div>
        <nav class="collapse navbar-collapse navbar-right" role="navigation">
            <div class="main-menu">
                <ul class="nav navbar-nav navbar-right">
                    <li>
                        <a href="<?php echo url('/'); ?>">Home</a>
                    </li>
                    <li><a href="#feature">Products</a></li>
                    <li><a href="#contact-section">Contact Us</a></li>


                    <li><a href="<?php echo route('apply'); ?>">Apply Now</a></li>
                </ul>
            </div>
        </nav>
        <!-- /main nav -->
    </div>
</header>

<script>
    function homePage() {
        window.location = `<?php echo e(url('/')); ?>`;
    }
</script>