/* ========== Header Container ========== */
#header {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	background-color: #ffffff;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
	z-index: 1030;
}

/* ========== Brand Logo ========== */
#header .navbar-brand img {
	max-height: 45px;
	transition: opacity 0.3s ease;
}

/* ========== Navigation Links ========== */
#header .navbar-nav .nav-link {
	font-weight: 500;
	text-transform: capitalize;
	color: var(--nav-color);
	padding: 0.6rem 1rem;
	position: relative;
	transition: color 0.3s ease;
}

/* Underline hover effect */
#header .navbar-nav .nav-link::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 2px;
	background-color: var(--nav-hover-color);
	transition: width 0.3s ease, left 0.3s ease;
}

#header .navbar-nav .nav-link:hover::before,
#header .navbar-nav .nav-link.active::before {
	width: 100%;
	left: 0;
}

/* ========== Dropdown (Megamenu) ========== */
#header .navbar-nav .has-megamenu {
	position: unset;
}

#header .dropdown-menu.megamenu {
	width: 100%;
	padding: 20px;
	background-color: #ffffff;
	border: none;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

#header .megamenu-list h6 {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 10px;
}

#header .megamenu-list ul {
	padding-left: 0;
	list-style: none;
}

#header .megamenu-list ul li {
	margin-bottom: 5px;
}

#header .megamenu-list ul li a {
	font-size: 14px;
	color: #555555;
	text-decoration: none;
	transition: color 0.3s ease;
}

#header .megamenu-list ul li a:hover {
	color: var(--tts-buttton-bg);
}

/* ========== Offcanvas (Mobile View) ========== */
#header .offcanvas-header {
	border-bottom: 1px solid #dee2e6;
}


/* Toll-free Section */
#header .toll-free-cont {
	display: flex;
	gap: 6px;
	align-items: center;
	position: relative;
	z-index: 9;
}

#header .section-call p {
	margin: 0;
	color: #333;
	font-weight: 400;
	font-size: clamp(12px, 1vw, 14px);
	text-align: end;
}

#header .section-call a {
	text-decoration: none;
	color: var(--tts-buttton-bg);
	font-weight: 600;
	font-size: clamp(18px, 1.5vw, 21px);
	line-height: 22px;
}

#header .section-call-icon {
	position: relative;
}

#header .section-call-icon img {
	width: 45px;
	height: 45px;
	background: rgba(198, 39, 128, 0.22);
	border-radius: 50%;
}

#header .section-call-icon::after {
	content: '';
	position: absolute;
	width: 15px;
	height: 15px;
	background: #22c448;
	border-radius: 50%;
	right: -4px;
	top: 2px;
	border: 3px solid #fff;
}

#header .toll-free-cont::before {
	position: absolute;
	top: 0;
	left: -5px;
	content: "";
	width: 212px;
	height: 50px;
	animation: call-effect 1.5s cubic-bezier(.42, .14, .43, 1) infinite;
	box-shadow: #a0bada 0 0 50px 50px inset;
	border-radius: 25px;
	opacity: 0;
}

@keyframes call-effect {
	0% {
		transform: scale(0.1);
		opacity: 0.2;
	}

	50% {
		opacity: 0.4;
	}

	100% {
		transform: scale(1.1);
		opacity: 0;
	}
}

/* ========== Button Area ========== */
#header .button-area .btn-outline-secondary {
	background: var(--tts-buttton-bg);
	border-color: var(--tts-buttton-bg);
	padding: 10px 12px;
	color: var(--tts-buttton-txt);
	border-radius: 5px;
	cursor: pointer;
	font-size: 14px;
	transition: all 0.3s ease-in-out;
}

#header .button-area .btn-outline-secondary:hover {
	background: var(--tts-buttton-bg1);
	border-color: var(--tts-buttton-bg1);
	color: var(--tts-buttton-txt1);
}

#header .button-area .btn-outline-secondary.bg-btn {
	background-color: var(--tts-buttton-bg);
	color: #ffffff;
	border: 1px solid var(--tts-buttton-bg);
	border-radius: 5px;
	display: flex;
	gap: 5px;
	align-items: center;
}

/* ========== Mobile Styles (Responsive) ========== */
@media (max-width: 576px) {
	#header .section-call a {
		font-size: 14px;
	}

	#header .section-call p {
		font-size: 10px;
	}

	#header .navbar-brand-logo {
		max-width: 6rem;
	}

	#header .section-call-icon img,
	#header .toll-free-cont::before,
	#header .section-call-icon::after {
		display: none;
	}

	#header .navbar-nav .nav-link {
		line-height: normal;
	}

	#header .offcanvas.offcanvas-end {
		width: 300px;
	}

	.navbar-expand-xl .dropdown-menu .mega-menu-content {
		flex-direction: column;
	}

	#header .navbar-brand img {
		max-height: 25px;
	}

	#header .button-area .btn-outline-secondary.bg-btn{
		font-size: 14px;
		padding: 5px 10px;
	}
}

@media (max-width: 768px) {
	#header .navbar-nav .nav-link {
		font-size: 1rem;
	}
}

@media (max-width: 992px) {
	#header .navbar-nav .nav-link {
		font-size: 1rem;
	}

}