Header Style 8

HTML

<!-- Header START -->
<header class="navbar-light navbar-sticky">
<nav class="navbar navbar-expand-xl">
<div class="container">

	<div class="row d-flex w-100 mx-auto align-items-center">
		<!-- Header left side START -->
		<div class="col-3 col-md-4 col-xl-5 d-flex align-items-center ps-0">
			<!-- Responsive navbar toggler -->
			<button class="navbar-toggler p-2" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
				<span class="navbar-toggler-animation">
					<span></span>
					<span></span>
					<span></span>
				</span>
				<span class="text-body small d-none d-sm-inline-block ms-2">Menu</span>
			</button>
			
			<!-- Main navbar START -->
			<div class="collapse navbar-collapse" id="navbarCollapse">
				<ul class="navbar-nav navbar-nav-scroll">
					<!-- Nav item 1 Demos -->
					<li class="nav-item dropdown">
						<a class="nav-link dropdown-toggle ps-0 active" href="#" id="demoMenu" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Category</a>
						<ul class="dropdown-menu" aria-labelledby="demoMenu">
							<li> <a class="dropdown-item" href="#">Sub menu item</a></li>
						</ul>
					</li>

					<!-- Nav item 2 Eduport business -->
					<li class="nav-item"><a class="nav-link" href="#">Eduport business</a></li>

					<!-- Nav item 3 Account -->
					<li class="nav-item"><a class="nav-link" href="#">My learning</a></li>

					<!-- Nav item 4 Component-->
					<li class="nav-item"><a class="nav-link" href="#">Contact</a></li>
				</ul>
			</div>
			<!-- Main navbar END -->
		</div>
		<!-- Header left side END -->

		<!-- Logo START -->
		<div class="col-6 col-md-4 col-xl-2 text-center d-flex">
			<a class="navbar-brand mx-auto" href="#">
				<img class="navbar-brand-item light-mode-item" src="assets/images/logo.svg" alt="logo">			
				<img class="navbar-brand-item dark-mode-item" src="assets/images/logo-light.svg" alt="logo">			
			</a>
		</div>
		<!-- Logo END -->

		<!-- Header right side START -->
		<div class="col-3 col-md-4 col-xl-5 d-flex justify-content-end pe-0">
			<ul class="nav flex-row align-items-center list-unstyled ms-xl-auto">
				<!-- Add to cart -->
				<li class="nav-item ms-2 dropdown position-relative overflow-visible">
					<!-- Cart button -->
					<a class="nav-link mb-0 stretched-link" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false" data-bs-auto-close="outside">
						<i class="bi bi-cart2 fs-4"></i>
					</a>
					<!-- badge -->
					<span class="position-absolute top-0 start-100 translate-middle badge rounded-circle text-bg-success mt-2 mt-xl-3 ms-n3 smaller">5 
						<span class="visually-hidden">unread messages</span>
					</span>

					<!-- Cart dropdown menu START -->
					<div class="dropdown-menu dropdown-animation dropdown-menu-end dropdown-menu-size-md p-0 shadow-lg border-0">
						<div class="card bg-transparent">
							<div class="card-header bg-transparent border-bottom py-4">
								<h5 class="m-0">Cart items</h5>
							</div>
							<div class="card-body p-0">

								<!-- Cart item START -->
								<div class="row p-3 g-2">
									<!-- Image -->
									<div class="col-3">
										<img class="rounded-2" src="assets/images/book/02.jpg" alt="avatar">
									</div>

									<div class="col-9">
										<!-- Title -->
										<div class="d-flex justify-content-between">
											<h6 class="m-0">Angular 4 Tutorial in audio (Compact Disk)</h6>
											<a href="#" class="small text-primary-hover"><i class="bi bi-x-lg"></i></a>
										</div>
										<!-- Select item -->
										<form class="choices-sm pt-2 col-4">
											<select class="form-select js-choice border-0 bg-transparent" data-search-enabled="false">
												<option>1</option>
												<option selected>2</option>
												<option>3</option>
												<option>4</option>
												<option>5</option>
											</select>
										</form>
									</div>
								</div>
								<!-- Cart item END -->

							</div>
							<!-- Button -->
							<div class="card-footer bg-transparent border-top py-3 text-center d-flex justify-content-between position-relative">
								<a href="#" class="btn btn-sm btn-light mb-0">View Cart</a>
								<a href="#" class="btn btn-sm btn-success mb-0">Checkout</a>
							</div>
						</div>
					</div>
					<!-- Cart dropdown menu END -->
				</li>

				<!-- Search -->
				<li class="nav-item dropdown nav-search d-none d-sm-block">
					<a class="nav-link mb-0" role="button" href="#" id="navSearch" data-bs-toggle="dropdown" aria-expanded="false" data-bs-auto-close="outside" data-bs-display="static">
						<i class="bi bi-search fs-4"> </i>
					</a>
					<div class="dropdown-menu dropdown-menu-end shadow rounded p-2" aria-labelledby="navSearch">
						<form class="input-group">
							<input class="form-control border-primary" type="search" placeholder="Search..." aria-label="Search">
							<button class="btn btn-primary m-0" type="submit">Search</button>
						</form>
	
						<!-- Recent search -->
						<ul class="list-group list-group-borderless p-2 small">
							<li class="list-group-item d-flex justify-content-between align-items-center">
								<span class="fw-bold">Recent Searches:</span>
								<button class="btn btn-sm btn-link mb-0 px-0">Clear all</button>
							</li>
							<li class="list-group-item text-primary-hover text-truncate">
								<a href="#" class="text-body"> <i class="far fa-clock me-1"></i>Digital marketing course for Beginner</a>
							</li>
						</ul>
					</div>
				</li>

				<!-- Sign In button -->
				<li class="nav-item ms-2 d-none d-md-block">
					<a href="#" class="btn btn-sm btn-dark mb-0">Sign In</a>
				</li>
			</ul>
		</div>
		<!-- Header right side END -->
	</div>
</div>
</nav>	
<!-- Logo Nav END -->
</header>
<!-- Header END -->