/* Logo area styles */
.top-header {
	background: #068dcd;
	padding: 10px 0;
	position: relative;
	z-index: 999;
}
/* .logo .icon-logo{
    padding: 15px 0;
    } */
.logo {
	text-align: center;
}

.logo img {
	max-height: 80px;
	width: auto;
}

/* Navbar wrapper styles */
#psb-main-header {
	position: relative;
	z-index: 1000;
	transition: all 0.3s ease;
}

/* Sticky header styles */
#psb-main-header.sticky {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	animation: slideDown 0.3s ease-in-out;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

@keyframes slideDown {
	from {
		transform: translateY(-100%);
	}
	to {
		transform: translateY(0);
	}
}

/* Adjust mega menu position when header is sticky */
/* #psb-main-header.sticky .mega-menu {
	top: var(--navbar-height);
} */

/* Navbar styles */
.navbar {
	background-color: #068dcd;
	padding: 0.5rem 1rem;
	display: flex;
	justify-content: center;
	position: relative;
}

.container-fluid {
	width: 100%;
	max-width: 100%;
}

.navbar-nav {
	gap: 1rem;
	justify-content: center;
	width: 100%;
	flex-wrap: nowrap;
}

/* Navigation items */
.navbar-nav .nav-link {
	color: white !important;
	padding: 0.5rem 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	position: relative;
	font-size: 14px;
	white-space: nowrap;
}

.navbar-nav .nav-item {
	display: flex;
	align-items: center;
	position: relative;
}

/* Mega menu styles */
.mega-menu {
	position: fixed;
	left: 50%;
	transform: translateX(-50%);
	/* top: calc(
    var(--navbar-height) + 100px
  ); Adjust this value based on your logo height */
	top: calc(var(--navbar-height) + var(--logo-height));
	width: 90%;
	max-width: 1250px;
	/* max-height: calc(100vh - var(--navbar-height) - 100px); */
	max-height: calc(100vh - var(--navbar-height));
	overflow-y: auto;
	padding: 25px;
	background-color: #f9f9f9;
	border-top: 3px solid #068dcd;
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
	display: none;
	z-index: 999;
}

/* Sticky header styles */
#psb-main-header.sticky {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
}

#psb-main-header.sticky .mega-menu {
	top: var(--navbar-height);
}

/* Rest of your existing styles */
.mega-menu-img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.mega-menu-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.mega-menu-links li {
	padding: 10px 25px;
	border-bottom: 1px solid #e3e3e3;
}

.mega-menu-links li a {
	color: #333;
	text-decoration: none;
	display: block;
	padding: 5px 0;
	transition: color 0.3s;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mega-menu-links li:hover {
	background-color: #dbf3fd;
	transition: all 0.6s;
}

.nav-icon {
	margin-right: 0.5rem;
	font-size: 18px;
}

/* .arrow {
  border: solid white;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  position: relative;
  top: -2px;
}

.nav-link.active .arrow {
  transform: rotate(-135deg);
  top: 2px;
} */

/* Scrollbar styles */
.mega-menu::-webkit-scrollbar {
	width: 8px;
}

.mega-menu::-webkit-scrollbar-track {
	background: #f1f1f1;
}

.mega-menu::-webkit-scrollbar-thumb {
	background: #068dcd;
	border-radius: 4px;
}

.mega-menu::-webkit-scrollbar-thumb:hover {
	background: #006943;
}

/* Mobile styles */
@media (max-width: 991px) {
	#psb-main-header {
		display: none !important;
	}
	.top-header {
		display: none !important;
	}

	.mega-menu {
		display: none !important;
	}

	.navbar-nav {
		flex-direction: column;
		gap: 0;
	}

	.navbar-nav .nav-link {
		width: 100%;
		padding: 1rem;
	}
}

/* Desktop horizontal scroll */
@media (min-width: 992px) {
	.navbar {
		overflow-x: auto;
		white-space: nowrap;
	}

	.navbar::-webkit-scrollbar {
		height: 5px;
	}

	.navbar::-webkit-scrollbar-track {
		background: #006943;
	}

	.navbar::-webkit-scrollbar-thumb {
		background: #ffffff50;
		border-radius: 4px;
	}
}
