/* Asmorix header layout */

.toptech-main-menu.transprent-menu.style-two .trp_nav_area {
	padding-left: 24px;
	padding-right: 24px;
}

.toptech-main-menu.transprent-menu.style-two .row.header-bg {
	display: flex;
	align-items: center;
	height: 92px;
	min-height: 92px;
	padding: 0 20px;
	margin: 0;
}

.toptech-main-menu.transprent-menu.style-two .row.header-bg > [class*="col-"] {
	display: flex;
	align-items: center;
	padding-top: 0;
	padding-bottom: 0;
	height: 100%;
}

.toptech-main-menu.transprent-menu.style-two .row.header-bg > .col-md-4 {
	flex: 0 0 38%;
	max-width: 38%;
}

.toptech-main-menu.transprent-menu.style-two .row.header-bg > .col-md-8 {
	flex: 0 0 62%;
	max-width: 62%;
	justify-content: flex-end;
}

.toptech-main-menu .row.logo-left {
	display: flex;
	align-items: center;
}

.toptech-main-menu .row.logo-left > [class*="col-"] {
	display: flex;
	align-items: center;
}

.asmorix-header-brand {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	max-width: 100%;
}

.asmorix-header-brand__logo {
	flex: 0 0 auto;
	line-height: 0;
}

.asmorix-header-brand__logo .logo,
.asmorix-header-brand__logo .mobile_menu_logo {
	margin: 0;
	line-height: 0;
}

.asmorix-header-brand__logo .logo a,
.asmorix-header-brand__logo .mobile_menu_logo a {
	display: block;
	margin-top: 0 !important;
	line-height: 0;
}

.asmorix-header-brand__logo .logo img,
.asmorix-header-brand__logo .mobile_menu_logo img {
	width: auto;
	max-width: 200px;
	height: auto;
	max-height: 50px;
	object-fit: contain;
	display: block;
	transition: transform 0.25s ease;
}

.asmorix-header-brand__logo .logo a:hover img,
.asmorix-header-brand__logo .mobile_menu_logo a:hover img {
	transform: scale(1.02);
}

.asmorix-header-brand__search {
	flex: 0 1 270px;
	width: 270px;
	max-width: 270px;
	min-width: 180px;
}

.asmorix-header-search {
	display: flex;
	align-items: center;
	background: #f4f7fc;
	border: 1px solid #dbe4f2;
	border-radius: 30px;
	overflow: hidden;
	padding: 3px 3px 3px 14px;
	height: 42px;
	transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.asmorix-header-search:hover {
	border-color: #b8c9e6;
	box-shadow: 0 4px 14px rgba(12, 90, 219, 0.1);
}

.asmorix-header-search:focus-within {
	border-color: #0c5adb;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(12, 90, 219, 0.15), 0 6px 18px rgba(12, 90, 219, 0.12);
	transform: translateY(-1px);
}

.asmorix-header-search input[type="search"] {
	border: 0;
	background: transparent;
	width: 100%;
	min-width: 0;
	font-size: 14px;
	line-height: 1.2;
	outline: none;
	color: #041424;
	font-family: "Nunito", sans-serif;
	padding: 0;
	margin: 0;
	transition: color 0.25s ease;
}

.asmorix-header-search input[type="search"]::placeholder {
	color: #6b7a8c;
	transition: color 0.3s ease, opacity 0.3s ease;
}

.asmorix-header-search:focus-within input[type="search"]::placeholder {
	color: #9aa8b8;
	opacity: 0.85;
}

.asmorix-header-search button {
	border: 0;
	background: #0c5adb;
	color: #fff;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	flex-shrink: 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	padding: 0;
	transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.asmorix-header-search button i {
	transition: transform 0.3s ease;
}

.asmorix-header-search:hover button {
	background: #0948ad;
}

.asmorix-header-search:focus-within button {
	box-shadow: 0 4px 12px rgba(12, 90, 219, 0.35);
}

.asmorix-header-search button:hover {
	transform: scale(1.08);
}

.asmorix-header-search button:hover i,
.asmorix-header-search:focus-within button i {
	transform: scale(1.1) rotate(-8deg);
}

@keyframes asmorix-search-glow {
	0%, 100% { box-shadow: 0 0 0 0 rgba(12, 90, 219, 0); }
	50% { box-shadow: 0 0 0 4px rgba(12, 90, 219, 0.08); }
}

.asmorix-header-search:not(:focus-within):not(:hover) {
	animation: asmorix-search-glow 3s ease-in-out infinite;
}

/* Menu + CTA inline alignment */
.toptech-main-menu.transprent-menu.style-two .toptech_menu {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
	text-align: right;
	gap: 6px;
	flex-wrap: nowrap;
}

.toptech-main-menu.transprent-menu.style-two .toptech_menu > ul {
	display: inline-flex;
	align-items: center;
	flex-wrap: nowrap;
	margin: 0;
	vertical-align: middle;
}

.toptech-main-menu.transprent-menu.style-two .toptech_menu > ul > li {
	display: inline-flex;
	align-items: center;
}

.toptech-main-menu.transprent-menu.style-two .toptech_menu > ul > li > a {
	margin: 0 10px;
	padding: 8px 0;
	line-height: 1.2;
	font-size: 16px;
}

.toptech-main-menu.transprent-menu.style-two .donate-btn-header {
	display: inline-flex;
	align-items: center;
	margin: 0 0 0 10px;
	vertical-align: middle;
	flex-shrink: 0;
}

.toptech-main-menu.transprent-menu.style-two .donate-btn-header .dtbtn {
	padding: 10px 18px;
	font-size: 15px;
	white-space: nowrap;
}

.toptech-main-menu.transprent-menu.style-two .sidebar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: static;
	left: auto;
	top: auto;
	width: 36px;
	height: 36px;
	line-height: 1;
	margin: 0 0 0 8px;
	vertical-align: middle;
}

.toptech-main-menu.transprent-menu.style-two .nav-btn.navSidebar-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: static;
	top: auto;
	left: auto;
	font-size: 20px;
	color: #041424;
}

/* Other header variants */
.toptech-main-menu:not(.style-two) .asmorix-header-brand__logo .logo img,
.toptech-main-menu:not(.style-two) .asmorix-header-brand__logo .mobile_menu_logo img {
	max-width: 190px;
	max-height: 48px;
}

.toptech-main-menu:not(.style-two) .toptech_menu {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.toptech-main-menu:not(.style-two) .toptech_menu > ul > li > a {
	margin-top: 0;
	margin-bottom: 0;
	padding: 10px 12px;
}

.toptech-main-menu:not(.style-two) .donate-btn-header {
	display: inline-flex;
	align-items: center;
	margin-left: 12px;
}

.mobile_logo_area .asmorix-header-brand {
	padding: 12px 0;
	justify-content: flex-start;
}

.mobile_logo_area .asmorix-header-brand__logo .logo img,
.mobile_logo_area .asmorix-header-brand__logo .mobile_menu_logo img {
	max-width: 175px;
	max-height: 46px;
}

@media (max-width: 1399px) {
	.toptech-main-menu.transprent-menu.style-two .toptech_menu > ul > li > a {
		margin: 0 7px;
		font-size: 15px;
	}

	.asmorix-header-brand__logo .logo img,
	.asmorix-header-brand__logo .mobile_menu_logo img {
		max-width: 185px;
		max-height: 46px;
	}

	.asmorix-header-brand__search {
		flex-basis: 230px;
		width: 230px;
		max-width: 230px;
	}
}

@media (max-width: 1199px) {
	.asmorix-header-brand {
		flex-wrap: wrap;
		gap: 10px;
	}

	.asmorix-header-brand__search {
		width: 100%;
		max-width: 340px;
		flex: 1 1 100%;
	}
}
