<div class="container">
    <nav class="navbar navbar-expand-lg navbar-light bg-white py-lg-0 px-lg-3">
        <a href="home.php" class="navbar-brand d-lg-none">
            <h1 class="text-primary m-0">THARHON<span class="text-dark"> Medical Clinic</span></h1>
        </a>
        <button type="button" class="navbar-toggler me-0" data-bs-toggle="collapse"
            data-bs-target="#navbarCollapse">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="navbarCollapse">
            <div class="navbar-nav">
                <a href="home.php" class="nav-item nav-link <?php echo (basename($_SERVER['PHP_SELF']) == 'home.php') ? 'active' : ''; ?>">Home</a>
                <a href="about.php" class="nav-item nav-link <?php echo (basename($_SERVER['PHP_SELF']) == 'about.php') ? 'active' : ''; ?>">About Us</a>
                <a href="service.php" class="nav-item nav-link <?php echo (basename($_SERVER['PHP_SELF']) == 'service.php') ? 'active' : ''; ?>">Our Services</a>
                <!--<div class="nav-item dropdown">-->
                <!--    <a href="#" class="nav-link dropdown-toggle <?php echo (in_array(basename($_SERVER['PHP_SELF']), ['team.php', 'appoinment.php'])) ? 'active' : ''; ?>" data-bs-toggle="dropdown">Pages</a>-->
                <!--    <div class="dropdown-menu bg-light m-0">-->
                <!--        <a href="team.php" class="dropdown-item <?php echo (basename($_SERVER['PHP_SELF']) == 'team.php') ? 'active' : ''; ?>">Our Team</a>-->
                <!--        <a href="appoinment.php" class="dropdown-item <?php echo (basename($_SERVER['PHP_SELF']) == 'appoinment.php') ? 'active' : ''; ?>">Appointment</a>-->
                <!--    </div>-->
                <!--</div>-->
                <a href="contact.php" class="nav-item nav-link <?php echo (basename($_SERVER['PHP_SELF']) == 'contact.php') ? 'active' : ''; ?>">Contact</a>
                
                <!-- Login link added here -->
                <a href="login.php" class="nav-item nav-link <?php echo (basename($_SERVER['PHP_SELF']) == 'login.php') ? 'active' : ''; ?>">
                    <i class="fas fa-sign-in-alt me-1"></i>Staff Login
                </a>
            </div>
        </div>
    </nav>
</div>

<!-- Optional: Add Font Awesome for the login icon if not already included -->
<!-- Add this to your <head> section if not already present -->
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"> -->