<div class="custom-header d-flex align-items-center justify-content-between mb-4" style="max-height: 50px;">
    <?php 
        $host = $_SERVER['HTTP_HOST']; // Get current host
        $parts = explode('.', $host);
        $logoName = (count($parts) > 2) ? $parts[0] : 'default-logo';
		$logoPath = asset('uploads/' . $logoName . '.png');
    ?>
    
    <!-- Logo on the left -->
    <div class="logo-container">
		            <img src="<?php echo $logoPath; ?>" alt="bank" style="max-height: 50px;">
    </div>

    <!-- Navigation on the right -->
    <nav>
        <ul class="list-inline mb-0">
            <li class="list-inline-item"><a href="/">Home</a></li>
            <li class="list-inline-item"><a href="/about">About</a></li>
            <li class="list-inline-item"><a href="/contact">Contact</a></li>
        </ul>
    </nav>
</div>