/* 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;
	flex-wrap: nowrap;
	min-height: 72px;
}

.toptech-main-menu .row.logo-left > [class*="col-"] {
	display: flex;
	align-items: center;
	min-height: 72px;
	padding-top: 0;
	padding-bottom: 0;
}

/* Default transparent header (non style-two): match home search room */
.toptech-main-menu.transprent-menu:not(.style-two) .row.logo-left > .col-md-4 {
	flex: 0 0 42%;
	max-width: 42%;
}

.toptech-main-menu.transprent-menu:not(.style-two) .row.logo-left > .col-md-8 {
	flex: 0 0 58%;
	max-width: 58%;
	justify-content: flex-end;
}

.toptech-main-menu.transprent-menu:not(.style-two) .asmorix-header-brand__search {
	flex: 0 0 270px;
	width: 270px;
	max-width: 270px;
	min-width: 270px;
}

.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.standard-logo,
.asmorix-header-brand__logo .mobile_menu_logo a {
	display: block;
	margin-top: 0 !important;
	line-height: 0;
}

.asmorix-header-brand__logo .logo a.retina-logo {
	display: none !important;
}

.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 0 270px;
	width: 270px;
	max-width: 270px;
	min-width: 270px;
}

.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: 56px;
	height: 36px;
	border-radius: 18px;
	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;
	white-space: nowrap;
	flex-shrink: 0;
}

.toptech-main-menu.transprent-menu.style-two .toptech_menu > ul > li > a {
	margin: 0 8px;
	padding: 8px 0;
	line-height: 1.2;
	font-size: 16px !important;
	white-space: nowrap !important;
	display: inline-block;
}

.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;
	flex-wrap: nowrap;
	width: 100%;
	gap: 4px;
}

.toptech-main-menu:not(.style-two) .toptech_menu > ul,
.toptech-main-menu:not(.style-two) .toptech_menu > ul.sub-menu,
.toptech-main-menu:not(.style-two) .toptech_menu > ul.main-menu {
	display: inline-flex !important;
	align-items: center;
	flex-wrap: nowrap !important;
	white-space: nowrap;
	margin: 0;
	padding: 0;
	width: auto !important;
	max-width: none;
	float: none;
}

.toptech-main-menu:not(.style-two) .toptech_menu > ul > li {
	display: inline-flex;
	align-items: center;
	float: none !important;
	white-space: nowrap;
	margin: 0;
}

.toptech-main-menu:not(.style-two) .toptech_menu > ul > li > a {
	margin: 0 6px !important;
	padding: 8px 6px !important;
	line-height: 1.2;
	font-size: 16px !important;
	white-space: nowrap;
}

.toptech-main-menu:not(.style-two) .donate-btn-header {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin: 0 0 0 10px;
	height: auto;
	min-height: 0;
}

.toptech-main-menu:not(.style-two) .donate-btn-header .dtbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap !important;
	padding: 10px 18px;
	line-height: 1.2;
	height: auto;
	min-height: 42px;
}

.mobile_logo_area .asmorix-header-brand {
	padding: 12px 0;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.mobile_logo_area .asmorix-header-brand__logo {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.mobile_logo_area .asmorix-header-brand__logo .logo,
.mobile_logo_area .asmorix-header-brand__logo .mobile_menu_logo {
	width: 100%;
	text-align: center;
	display: flex;
	justify-content: center;
}

.mobile_logo_area .asmorix-header-brand__logo .logo a,
.mobile_logo_area .asmorix-header-brand__logo .mobile_menu_logo a {
	display: inline-flex;
	justify-content: center;
	margin-left: auto;
	margin-right: auto;
}

.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;
	margin-left: auto;
	margin-right: auto;
}

.mobile_logo_area .asmorix-header-brand__search {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	flex: 1 1 100%;
}

/* Hide theme name "TopTech" on mobile meanmenu bar */
.mean-container .mean-bar::before {
	content: none !important;
	display: none !important;
}

/* ===== Asmorix custom mobile blue bar ===== */
.asmorix-mbar {
	display: none;
}

@media (max-width: 991px) {
	.asmorix-mbar {
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		height: 52px;
		padding: 0 12px;
		background: #0c5adb !important;
		position: relative;
		z-index: 1001;
		box-sizing: border-box;
		width: 100%;
	}

	.asmorix-mbar__search,
	.asmorix-mbar__menu {
		flex: 0 0 auto;
		width: 36px;
		height: 36px;
		border: 0;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.18);
		color: #fff;
		cursor: pointer;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 0;
		z-index: 2;
	}

	.asmorix-mbar__menu {
		flex-direction: column;
		gap: 4px;
	}

	.asmorix-mbar__menu span {
		display: block;
		width: 16px;
		height: 2px;
		background: #fff;
		border-radius: 2px;
	}

	.asmorix-mbar__menu.is-open span:nth-child(1) {
		transform: translateY(6px) rotate(45deg);
	}
	.asmorix-mbar__menu.is-open span:nth-child(2) {
		opacity: 0;
	}
	.asmorix-mbar__menu.is-open span:nth-child(3) {
		transform: translateY(-6px) rotate(-45deg);
	}

	.asmorix-mbar__phone {
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		z-index: 1;
		display: inline-flex;
		align-items: center;
		gap: 6px;
		color: #fff !important;
		text-decoration: none !important;
		font-family: "Nunito", "Poppins", sans-serif;
		font-size: 14px;
		font-weight: 700;
		line-height: 1;
		white-space: nowrap;
		max-width: calc(100% - 120px);
	}

	.asmorix-mbar__phone i,
	.asmorix-mbar__phone span {
		color: #fff !important;
	}

	.asmorix-mbar__search-panel {
		position: absolute;
		left: 12px;
		right: 12px;
		top: 56px;
		display: flex;
		align-items: center;
		gap: 8px;
		padding: 8px;
		background: #fff;
		border-radius: 12px;
		box-shadow: 0 10px 28px rgba(4, 20, 36, 0.18);
		z-index: 1002;
	}

	.asmorix-mbar__search-panel[hidden] {
		display: none !important;
	}

	.asmorix-mbar__search-panel input[type="search"] {
		flex: 1;
		min-width: 0;
		height: 40px;
		border: 1px solid #dbe4f2;
		border-radius: 10px;
		padding: 0 12px;
		font-size: 14px;
		outline: none;
	}

	.asmorix-mbar__search-panel button {
		width: 40px;
		height: 40px;
		border: 0;
		border-radius: 10px;
		background: #0c5adb;
		color: #fff;
	}

	@media (max-width: 380px) {
		.asmorix-mbar__phone {
			font-size: 12.5px;
			gap: 4px;
		}
	}

	/* FOUC: hide original WP menu list only */
	.menu_area.mobile-menu > nav > ul,
	.mobile-menu > nav > ul {
		display: none !important;
		visibility: hidden !important;
		height: 0 !important;
		overflow: hidden !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.mobile_logo_area .asmorix-header-brand__search {
		display: none !important;
	}
	.mobile_logo_area .asmorix-header-brand {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0;
		padding-bottom: 8px;
	}

	/* Collapse native mean-bar chrome; keep meanmenu JS alive off-screen */
	.home-2.mbm.main-menu-area,
	.menu_area.mobile-menu {
		min-height: 0 !important;
		background: transparent !important;
	}

	.mean-container .mean-bar {
		height: 0 !important;
		min-height: 0 !important;
		padding: 0 !important;
		overflow: visible !important;
		background: transparent !important;
		float: none !important;
	}

	.mean-container .mean-bar > a.meanmenu-reveal,
	.mean-container .asmorix-mean-search,
	.mean-container .asmorix-mean-phone {
		position: fixed !important;
		left: -9999px !important;
		top: 0 !important;
		opacity: 0 !important;
		pointer-events: none !important;
	}

	.mean-container .mean-nav {
		position: relative !important;
		top: 0 !important;
		width: 100% !important;
		z-index: 1000 !important;
	}
}

@media (min-width: 992px) {
	.asmorix-mbar {
		display: none !important;
	}
}

@media (max-width: 1399px) {
	.toptech-main-menu.transprent-menu.style-two .toptech_menu > ul > li > a {
		margin: 0 7px;
		font-size: 16px !important;
	}

	.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: 0 0 230px;
		flex-basis: 230px;
		width: 230px;
		max-width: 230px;
		min-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%;
	}
}

/* Top bar social icons */
.toptech-header-top .social-icons.asmorix-top-social,
.toptech-header-top .social-icons {
	display: inline-flex !important;
	align-items: center;
	gap: 4px !important;
	margin: 0;
	padding: 0;
	list-style: none;
}

.toptech-header-top .social-icons li {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.toptech-header-top .social-icons .social-icon {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 28px !important;
	height: 28px !important;
	margin: 0 !important;
	border-radius: 50% !important;
	background: #ffffff !important;
	color: #041424 !important;
	border: none !important;
	box-shadow: none !important;
	text-decoration: none !important;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.toptech-header-top .social-icons .social-icon i {
	display: none !important;
}

.toptech-header-top .social-icons .social-icon svg {
	width: 14px;
	height: 14px;
	display: block;
}

.toptech-header-top .social-icons .social-icon:hover,
.toptech-header-top .social-icons .social-icon:focus {
	background: #ffd200 !important;
	color: #041424 !important;
	transform: translateY(-1px);
}

/* Off-canvas sidebar (3-line menu) — About + social icons */
.xs-sidebar-group.isActive .dt-sidebar-widget,
.xs-sidebar-group .dt-sidebar-widget {
	overflow-x: hidden !important;
	overflow-y: auto !important;
	-webkit-overflow-scrolling: touch;
	background: #ffffff !important;
}
.xs-sidebar-group .sidebar-container {
	overflow: visible !important;
	top: 0 !important;
	padding-top: 8px !important;
}
.xs-sidebar-group.isActive .sidebar-container {
	top: 0 !important;
}
.xs-sidebar-group .sidebar-textwidget {
	padding: 16px 22px 28px !important;
}
.xs-sidebar-group .sidebar-info-contents {
	margin-top: 8px !important;
}
.xs-sidebar-group .sidebar-content-inner {
	margin-top: 12px !important;
}
.xs-sidebar-group .sidebar-logo {
	margin: 0 0 8px !important;
	padding: 0 !important;
}
.xs-sidebar-group .sidebar-logo img,
.xs-sidebar-group .sidebar-logo .logo img {
	max-height: 44px !important;
	width: auto !important;
}
.xs-sidebar-group .widget-top {
	top: 12px !important;
	right: 14px !important;
	z-index: 5;
}
.xs-sidebar-group .sidebar-title h2 a.asmorix-sidebar-about-link {
	color: inherit;
	text-decoration: none;
}
.xs-sidebar-group .sidebar-title h2 a.asmorix-sidebar-about-link:hover {
	color: #0c5adb;
}
.xs-sidebar-group .sidebar-desc p {
	color: #4b5563;
	line-height: 1.65;
}
.xs-sidebar-group .sidebar-desc .asmorix-sidebar-about-more {
	display: inline-block;
	margin-left: 4px;
	color: #0c5adb;
	font-weight: 600;
	text-decoration: none;
}
.xs-sidebar-group .sidebar-desc .asmorix-sidebar-about-more:hover {
	text-decoration: underline;
}
.xs-sidebar-group .sidebar-contact-info a {
	color: inherit;
	text-decoration: none;
}
.xs-sidebar-group .sidebar-contact-info a:hover {
	color: #0c5adb;
}
.xs-sidebar-group .sidebar-social-icon,
.xs-sidebar-group .sidebar-social-icon.asmorix-sidebar-social {
	margin-top: 22px !important;
	margin-bottom: 12px !important;
	padding-bottom: 8px !important;
	position: relative;
	z-index: 2;
	opacity: 1 !important;
	visibility: visible !important;
}
.xs-sidebar-group .sidebar-social-icon.asmorix-sidebar-social ul,
.xs-sidebar-group .sidebar-social-icon ul {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 12px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	opacity: 1 !important;
	visibility: visible !important;
}
.xs-sidebar-group .sidebar-social-icon li,
.xs-sidebar-group .sidebar-social-icon ul li {
	display: inline-flex !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	opacity: 1 !important;
	visibility: visible !important;
}
.xs-sidebar-group .sidebar-social-icon ul li a,
.xs-sidebar-group .sidebar-social-icon .social-icon {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 44px !important;
	height: 44px !important;
	min-width: 44px !important;
	min-height: 44px !important;
	line-height: 1 !important;
	margin: 0 !important;
	border-radius: 50% !important;
	background: #0c5adb !important;
	color: #ffffff !important;
	border: none !important;
	box-shadow: 0 4px 12px rgba(12, 90, 219, 0.28) !important;
	text-decoration: none !important;
	opacity: 1 !important;
	visibility: visible !important;
	font-size: 16px !important;
	position: relative !important;
	z-index: 2 !important;
	transition: background 0.2s ease, transform 0.2s ease;
}
.xs-sidebar-group .sidebar-social-icon .social-icon.facebook { background: #1877f2 !important; }
.xs-sidebar-group .sidebar-social-icon .social-icon.instagram { background: #e1306c !important; }
.xs-sidebar-group .sidebar-social-icon .social-icon.youtube { background: #ff0000 !important; }
.xs-sidebar-group .sidebar-social-icon .social-icon.twitter { background: #111111 !important; }
.xs-sidebar-group .sidebar-social-icon .social-icon.linkedin { background: #0a66c2 !important; }
.xs-sidebar-group .sidebar-social-icon .social-icon i {
	display: none !important;
}
.xs-sidebar-group .sidebar-social-icon .social-icon svg,
.xs-sidebar-group .sidebar-social-icon ul li a svg {
	width: 20px !important;
	height: 20px !important;
	min-width: 20px !important;
	min-height: 20px !important;
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
	fill: #ffffff !important;
	color: #ffffff !important;
}
.xs-sidebar-group .sidebar-social-icon .social-icon svg path,
.xs-sidebar-group .sidebar-social-icon ul li a svg path {
	fill: #ffffff !important;
}
.xs-sidebar-group .sidebar-social-icon .social-icon:hover,
.xs-sidebar-group .sidebar-social-icon .social-icon:focus,
.xs-sidebar-group .sidebar-social-icon ul li a:hover,
.xs-sidebar-group .sidebar-social-icon ul li a:focus {
	background: #041424 !important;
	color: #ffffff !important;
	transform: translateY(-1px);
}

/* About Us + Payment + All Courses + Placed Students: dark header → footer transparent logo */
body.page-id-12665 .asmorix-header-brand__logo .logo a.standard-logo,
body.page-id-15162 .asmorix-header-brand__logo .logo a.standard-logo,
body.page-id-18563 .asmorix-header-brand__logo .logo a.standard-logo,
body.page-id-9331 .asmorix-header-brand__logo .logo a.standard-logo,
body.page-id-12665 .asmorix-header-brand__logo .mobile_menu_logo a,
body.page-id-15162 .asmorix-header-brand__logo .mobile_menu_logo a,
body.page-id-18563 .asmorix-header-brand__logo .mobile_menu_logo a,
body.page-id-9331 .asmorix-header-brand__logo .mobile_menu_logo a,
body.page-id-12665 .mobile_logo_area .asmorix-header-brand__logo a,
body.page-id-15162 .mobile_logo_area .asmorix-header-brand__logo a,
body.page-id-18563 .mobile_logo_area .asmorix-header-brand__logo a,
body.page-id-9331 .mobile_logo_area .asmorix-header-brand__logo a {
	display: block;
	width: 148px;
	height: 40px;
	background: url("/wp-content/uploads/2026/07/asmorix-logo-footer-white.png?v=20260721b") center / contain no-repeat;
}

body.page-id-12665 .asmorix-header-brand__logo .logo img,
body.page-id-15162 .asmorix-header-brand__logo .logo img,
body.page-id-18563 .asmorix-header-brand__logo .logo img,
body.page-id-9331 .asmorix-header-brand__logo .logo img,
body.page-id-12665 .asmorix-header-brand__logo .mobile_menu_logo img,
body.page-id-15162 .asmorix-header-brand__logo .mobile_menu_logo img,
body.page-id-18563 .asmorix-header-brand__logo .mobile_menu_logo img,
body.page-id-9331 .asmorix-header-brand__logo .mobile_menu_logo img,
body.page-id-12665 .mobile_logo_area .asmorix-header-brand__logo img,
body.page-id-15162 .mobile_logo_area .asmorix-header-brand__logo img,
body.page-id-18563 .mobile_logo_area .asmorix-header-brand__logo img,
body.page-id-9331 .mobile_logo_area .asmorix-header-brand__logo img {
	opacity: 0;
	width: 148px !important;
	max-width: 148px !important;
	height: 40px !important;
	max-height: 40px !important;
}

/* IT Solution Demo 02 + Contact: Asmorix white logo */
body.page-id-397 .asmorix-header-brand__logo .logo a.standard-logo,
body.page-id-5149 .asmorix-header-brand__logo .logo a.standard-logo,
body.page-id-397 .asmorix-header-brand__logo .mobile_menu_logo a,
body.page-id-5149 .asmorix-header-brand__logo .mobile_menu_logo a,
body.page-id-397 .mobile_logo_area .asmorix-header-brand__logo a,
body.page-id-5149 .mobile_logo_area .asmorix-header-brand__logo a {
	display: block;
	width: 148px;
	height: 40px;
	background: url("/wp-content/uploads/2026/07/asmorix-logo-white.png") center / contain no-repeat;
}

body.page-id-397 .asmorix-header-brand__logo .logo img,
body.page-id-5149 .asmorix-header-brand__logo .logo img,
body.page-id-397 .asmorix-header-brand__logo .mobile_menu_logo img,
body.page-id-5149 .asmorix-header-brand__logo .mobile_menu_logo img,
body.page-id-397 .mobile_logo_area .asmorix-header-brand__logo img,
body.page-id-5149 .mobile_logo_area .asmorix-header-brand__logo img {
	opacity: 0;
	width: 148px !important;
	max-width: 148px !important;
	height: 40px !important;
	max-height: 40px !important;
}

/* Browse Courses — category list + side course flyout */
.toptech_menu > ul > li.menu-item-has-children > .sub-menu {
	z-index: 10050 !important;
	/* Through Project & Business Management; rest via mild scroller */
	max-height: 590px !important;
	overflow-x: hidden !important;
	overflow-y: auto !important;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: rgba(4, 20, 36, 0.18) transparent;
	white-space: normal !important;
}

/* Master Programs flat course list — compact width for full names */
.toptech_menu > ul > li.menu-item-has-children > .sub-menu:not(:has(> li.menu-item-has-children)) {
	min-width: 300px !important;
	width: max-content !important;
	max-width: 340px !important;
}

.toptech_menu > ul > li.menu-item-has-children > .sub-menu:not(:has(> li.menu-item-has-children)) > li > a {
	white-space: normal !important;
	line-height: 1.35 !important;
	font-size: 17px !important;
	font-weight: 600 !important;
	letter-spacing: 0.2px !important;
	padding: 11px 18px !important;
}

.toptech_menu > ul > li.menu-item-has-children > .sub-menu::-webkit-scrollbar {
	width: 4px;
}

.toptech_menu > ul > li.menu-item-has-children > .sub-menu::-webkit-scrollbar-track {
	background: transparent;
}

.toptech_menu > ul > li.menu-item-has-children > .sub-menu::-webkit-scrollbar-thumb {
	background: rgba(4, 20, 36, 0.16);
	border-radius: 8px;
}

.toptech_menu > ul > li.menu-item-has-children > .sub-menu::-webkit-scrollbar-thumb:hover {
	background: rgba(4, 20, 36, 0.28);
}

/* Category links: default single line; long names forced to 2 lines via .asm-cat-twoline */
.toptech_menu > ul > li.menu-item-has-children > .sub-menu > li {
	white-space: normal !important;
}

.toptech_menu > ul > li.menu-item-has-children > .sub-menu > li > a {
	display: block !important;
	white-space: nowrap !important;
	line-height: 1.25 !important;
	height: auto !important;
	box-sizing: border-box !important;
	/* Title Case (Each Word) — override theme submenu uppercase */
	text-transform: none !important;
}

/* Master Programs flat course list hover = same blue as category hover */
.toptech_menu > ul > li.menu-item-has-children > .sub-menu > li:not(.menu-item-has-children):hover > a,
.toptech_menu > ul > li.menu-item-has-children > .sub-menu > li:not(.menu-item-has-children):focus > a {
	background: #0c5adb !important;
	background-color: #0c5adb !important;
	color: #ffffff !important;
}

.toptech_menu > ul > li.menu-item-has-children > .sub-menu > li.asm-cat-twoline > a {
	white-space: normal !important;
	/* Fit long labels on exactly 2 lines inside the category column (~235px) */
	max-width: 220px !important;
	width: 100% !important;
}

/* Nested course list flies out to the right of each category */
.toptech_menu > ul > li.menu-item-has-children > .sub-menu > li.menu-item-has-children {
	position: relative !important;
}

.toptech_menu > ul > li.menu-item-has-children > .sub-menu > li.menu-item-has-children > .sub-menu,
.toptech_menu ul .sub-menu .sub-menu {
	position: absolute !important;
	left: calc(100% + 12px) !important;
	right: auto !important;
	top: 0 !important;
	margin: 0 !important;
	z-index: 10060 !important;
	min-width: 300px !important;
	width: max-content !important;
	max-width: 360px !important;
	max-height: min(70vh, 720px) !important;
	overflow-x: hidden !important;
	overflow-y: auto !important;
	-webkit-overflow-scrolling: touch;
	background: #ffffff !important;
	box-shadow: 0 8px 28px rgba(4, 20, 36, 0.18) !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	display: block !important;
	scrollbar-width: thin;
	scrollbar-color: rgba(4, 20, 36, 0.18) transparent;
	white-space: normal !important;
}

.toptech_menu > ul > li.menu-item-has-children > .sub-menu > li.menu-item-has-children > .sub-menu::-webkit-scrollbar,
.toptech_menu ul .sub-menu .sub-menu::-webkit-scrollbar {
	width: 4px;
}

.toptech_menu > ul > li.menu-item-has-children > .sub-menu > li.menu-item-has-children > .sub-menu::-webkit-scrollbar-track,
.toptech_menu ul .sub-menu .sub-menu::-webkit-scrollbar-track {
	background: transparent;
}

.toptech_menu > ul > li.menu-item-has-children > .sub-menu > li.menu-item-has-children > .sub-menu::-webkit-scrollbar-thumb,
.toptech_menu ul .sub-menu .sub-menu::-webkit-scrollbar-thumb {
	background: rgba(4, 20, 36, 0.16);
	border-radius: 8px;
}

.toptech_menu > ul > li.menu-item-has-children > .sub-menu > li.menu-item-has-children:hover > .sub-menu,
.toptech_menu > ul > li.menu-item-has-children > .sub-menu > li.menu-item-has-children:focus-within > .sub-menu,
.toptech_menu > ul > li.menu-item-has-children > .sub-menu > li.menu-item-has-children.is-open > .sub-menu,
.toptech_menu ul .sub-menu > li:hover > .sub-menu,
.toptech_menu ul .sub-menu > li.is-open > .sub-menu {
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
}

.toptech_menu > ul > li.menu-item-has-children > .sub-menu > li.menu-item-has-children > .sub-menu > li > a {
	/* Match category link size (theme submenu = 17px / 600) */
	text-transform: none !important;
	font-size: 17px !important;
	font-weight: 600 !important;
	white-space: normal !important;
	line-height: 1.35 !important;
	background: transparent !important;
	color: #211e3b !important;
	transition: background 0.2s ease, color 0.2s ease;
}

/* Sub-course hover = same blue bg as category hover */
.toptech_menu > ul > li.menu-item-has-children > .sub-menu > li.menu-item-has-children > .sub-menu > li:hover > a,
.toptech_menu > ul > li.menu-item-has-children > .sub-menu > li.menu-item-has-children > .sub-menu > li:focus > a,
.toptech_menu ul .sub-menu .sub-menu > li:hover > a,
.toptech_menu ul .sub-menu .sub-menu > li:focus > a,
.toptech_menu ul .sub-menu .sub-menu > li > a:hover {
	background: #0c5adb !important;
	background-color: #0c5adb !important;
	color: #ffffff !important;
}

/* Keep Browse open while moving into side course list */
.toptech_menu > ul > li.menu-item-has-children:hover > .sub-menu,
.toptech_menu > ul > li.menu-item-has-children:focus-within > .sub-menu {
	opacity: 1 !important;
	visibility: visible !important;
}

/* Floating WhatsApp — icon only; panel opens on click */
.asmorix-wa {
	position: fixed;
	left: 18px;
	bottom: 22px;
	z-index: 99990;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	font-family: Poppins, system-ui, sans-serif;
}
.asmorix-wa__panel {
	display: none;
	width: min(300px, calc(100vw - 36px));
	overflow: hidden;
	border-radius: 18px;
	background: #f4f4f4;
	box-shadow: 0 14px 40px rgba(4, 20, 36, 0.22);
}
.asmorix-wa.is-open .asmorix-wa__panel {
	display: block;
}
.asmorix-wa__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 14px;
	background: #25d366;
	color: #ffffff;
}
.asmorix-wa__head-brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.01em;
}
.asmorix-wa__head-ico {
	width: 22px;
	height: 22px;
	display: block;
}
.asmorix-wa__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.22);
	color: #ffffff;
	cursor: pointer;
	flex-shrink: 0;
}
.asmorix-wa__close:hover,
.asmorix-wa__close:focus {
	background: rgba(0, 0, 0, 0.32);
	color: #ffffff;
}
.asmorix-wa__close svg {
	width: 14px;
	height: 14px;
	display: block;
}
.asmorix-wa__body {
	padding: 16px 14px 8px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	background: #ececec;
}
.asmorix-wa__bubble {
	position: relative;
	max-width: 92%;
	padding: 10px 12px;
	border-radius: 12px;
	background: #ffffff;
	color: #1a1a1a;
	font-size: 13px;
	line-height: 1.45;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.asmorix-wa__bubble::before {
	content: "";
	position: absolute;
	left: -6px;
	top: 12px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 6px 8px 6px 0;
	border-color: transparent #ffffff transparent transparent;
}
.asmorix-wa__bubble strong {
	font-weight: 700;
}
.asmorix-wa__foot {
	display: flex;
	justify-content: flex-end;
	padding: 10px 14px 14px;
	background: #ececec;
}
.asmorix-wa__open {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 999px;
	background: #25d366;
	color: #ffffff !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
	transition: background 0.2s ease, transform 0.2s ease;
}
.asmorix-wa__open:hover,
.asmorix-wa__open:focus {
	background: #1ebe57;
	color: #ffffff !important;
	transform: translateY(-1px);
}
.asmorix-wa__open svg {
	width: 18px;
	height: 18px;
	display: block;
}
.asmorix-wa__btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border: 0;
	border-radius: 50%;
	background: #25d366;
	color: #ffffff;
	box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.asmorix-wa__btn:hover,
.asmorix-wa__btn:focus {
	transform: translateY(-2px) scale(1.04);
	box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
	color: #ffffff;
}
.asmorix-wa__btn svg {
	width: 28px;
	height: 28px;
	display: block;
}
.asmorix-wa__pulse {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(37, 211, 102, 0.35);
	animation: asmorix-wa-pulse 2.2s ease-out infinite;
	pointer-events: none;
	z-index: -1;
}
@keyframes asmorix-wa-pulse {
	0% { transform: scale(1); opacity: 0.7; }
	70% { transform: scale(1.55); opacity: 0; }
	100% { transform: scale(1.55); opacity: 0; }
}
@media (max-width: 767px) {
	.asmorix-wa {
		left: 12px;
		bottom: 16px;
	}
	.asmorix-wa__panel {
		width: min(280px, calc(100vw - 28px));
	}
	.asmorix-wa__btn {
		width: 52px;
		height: 52px;
	}
	.asmorix-wa__pulse {
		width: 52px;
		height: 52px;
	}

	/* Mobile header: centered logo (search moved to blue bar) */
	.mobile_logo_area .asmorix-header-brand {
		align-items: center !important;
		justify-content: center !important;
	}
	.mobile_logo_area .asmorix-header-brand__logo {
		width: 100% !important;
		justify-content: center !important;
	}
	.mobile_logo_area .asmorix-header-brand__search {
		display: none !important;
	}

	.mean-container .mean-bar::before {
		content: none !important;
		display: none !important;
	}
}

