/* Hyundai Emdad Elementor Header */
.heeh-root,
.heeh-root * {
	box-sizing: border-box;
}

.heeh-root {
	--heeh-bg: #07111f;
	--heeh-scrolled-bg: rgba(4, 13, 25, .94);
	--heeh-blue: #2486ff;
	position: relative;
	width: 100%;
	font-family: inherit;
}

.heeh-header {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
	background: var(--heeh-bg);
	border-bottom-style: solid;
	border-bottom-color: rgba(255,255,255,.08);
	border-bottom-width: 1px;
	transition: background .3s ease, transform .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}

.heeh-header.is-transparent:not(.is-scrolled) {
	background: linear-gradient(180deg, rgba(3,10,20,.88) 0%, rgba(3,10,20,.42) 68%, rgba(3,10,20,0) 100%);
	border-bottom-color: transparent;
}

.heeh-header.is-sticky {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	left: 0;
	right: 0;
	margin-inline: 0;
}

.admin-bar .heeh-header.is-sticky {
	top: 32px;
}

.heeh-header.is-scrolled {
	background: var(--heeh-scrolled-bg);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
}

.heeh-header.is-hidden {
	transform: translateY(-110%);
}

.heeh-header__inner {
	width: 100%;
	max-width: 1480px;
	min-height: 84px;
	margin: 0 auto;
	padding-inline: 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.heeh-header__logo {
	width: 170px;
	min-width: max-content;
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	line-height: 1;
}

.heeh-header__logo img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 64px;
	object-fit: contain;
}

.heeh-brand {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	direction: ltr;
}

.heeh-brand__mark {
	width: 52px;
	display: inline-flex;
	color: #fff;
}

.heeh-brand__mark svg {
	width: 100%;
	height: auto;
	display: block;
}

.heeh-brand__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	font-family: Arial, sans-serif;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: .5px;
}

.heeh-brand__title {
	color: #fff;
}

.heeh-brand__subtitle {
	color: #2486ff;
	font-size: .75em;
	letter-spacing: 2px;
}

.heeh-header__nav {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
	min-width: 0;
}

.heeh-menu,
.heeh-menu ul,
.heeh-mobile-menu,
.heeh-mobile-menu ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.heeh-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	column-gap: 28px;
	direction: rtl;
}

.heeh-menu > li {
	position: relative;
}

.heeh-menu > li > a {
	position: relative;
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 30px 0;
	color: #e7edf7;
	text-decoration: none;
	white-space: nowrap;
	font-size: 14px;
	font-weight: 600;
	transition: color .22s ease;
}

.heeh-menu > li > a::after {
	content: "";
	position: absolute;
	right: 0;
	left: 0;
	bottom: 19px;
	height: 2px;
	border-radius: 10px;
	background: #2486ff;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .22s ease;
}

.heeh-menu > li > a:hover::after,
.heeh-menu > li.current-menu-item > a::after,
.heeh-menu > li.current_page_item > a::after {
	transform: scaleX(1);
}

.heeh-menu .menu-item-has-children > a::before {
	content: "";
	width: 6px;
	height: 6px;
	border-left: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(-45deg);
	margin-top: -3px;
}

.heeh-menu .sub-menu {
	position: absolute;
	top: calc(100% - 10px);
	right: 0;
	z-index: 20;
	min-width: 220px;
	padding: 10px;
	background: #0b1728;
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 14px;
	box-shadow: 0 20px 60px rgba(0,0,0,.35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.heeh-menu li:hover > .sub-menu,
.heeh-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.heeh-menu .sub-menu li {
	position: relative;
}

.heeh-menu .sub-menu a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 11px 13px;
	color: #e7edf7;
	border-radius: 9px;
	text-decoration: none;
	font-size: 13px;
	transition: color .2s ease, background .2s ease;
}

.heeh-menu .sub-menu .sub-menu {
	top: -10px;
	right: calc(100% + 8px);
}

.heeh-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: max-content;
}

.heeh-call {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 12px 18px;
	border-radius: 14px;
	background: #1677f2;
	color: #fff;
	text-decoration: none;
	direction: ltr;
	box-shadow: 0 10px 30px rgba(22,119,242,.24);
	transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.heeh-call:hover {
	background: #2b8cff;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 14px 35px rgba(22,119,242,.34);
}

.heeh-call__icon {
	display: inline-flex;
	font-size: 15px;
}

.heeh-call__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1px;
	line-height: 1.1;
}

.heeh-call__content small {
	font-size: 10px;
	opacity: .78;
	direction: rtl;
}

.heeh-call__content b {
	font-size: 13px;
	letter-spacing: .2px;
}

.heeh-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 13px;
	background: rgba(255,255,255,.045);
	color: #2486ff;
	cursor: pointer;
}

.heeh-toggle span {
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform .25s ease, opacity .25s ease;
}

.heeh-overlay {
	position: fixed;
	inset: 0;
	z-index: 9998;
	background: rgba(1,7,14,.74);
	opacity: 0;
	visibility: hidden;
	transition: opacity .28s ease, visibility .28s ease;
}

.heeh-mobile-panel {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 9999;
	width: min(360px, 92vw);
	height: 100dvh;
	padding: 24px;
	overflow-y: auto;
	background: #07111f;
	box-shadow: -20px 0 60px rgba(0,0,0,.4);
	transform: translateX(105%);
	transition: transform .3s cubic-bezier(.2,.8,.2,1);
}

.admin-bar .heeh-mobile-panel {
	padding-top: 56px;
}

.heeh-root.is-menu-open .heeh-overlay {
	opacity: 1;
	visibility: visible;
}

.heeh-root.is-menu-open .heeh-mobile-panel {
	transform: translateX(0);
}

body.heeh-menu-locked {
	overflow: hidden;
}

.heeh-mobile-panel__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-bottom: 18px;
	margin-bottom: 18px;
	border-bottom: 1px solid rgba(255,255,255,.08);
}

.heeh-mobile-panel__title {
	color: #fff;
	font-weight: 800;
	font-size: 17px;
}

.heeh-mobile-close {
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 12px;
	background: rgba(255,255,255,.04);
	color: #2486ff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.heeh-mobile-menu {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.heeh-mobile-menu li {
	width: 100%;
}

.heeh-mobile-menu a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 46px;
	padding: 10px 12px;
	border-radius: 10px;
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	transition: color .2s ease, background .2s ease;
}

.heeh-mobile-menu a:hover {
	color: #2486ff;
	background: rgba(255,255,255,.04);
}

.heeh-mobile-menu .sub-menu {
	display: none;
	padding-right: 14px;
}

.heeh-mobile-menu .menu-item-has-children.is-open > .sub-menu {
	display: block;
}

.heeh-mobile-menu .menu-item-has-children > a::after {
	content: "+";
	font-size: 20px;
	font-weight: 400;
}

.heeh-mobile-menu .menu-item-has-children.is-open > a::after {
	content: "−";
}

.heeh-mobile-call {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 26px;
	padding: 15px 16px;
	border-radius: 14px;
	background: #1677f2;
	color: #fff;
	text-decoration: none;
}

@media (max-width: 1024px) {
	.heeh-header__nav,
	.heeh-call {
		display: none;
	}
	.heeh-toggle {
		display: inline-flex;
	}
	.heeh-header__inner {
		min-height: 74px;
		padding-inline: 22px;
	}
	.heeh-header__logo {
		width: 150px;
	}
}

@media (max-width: 782px) {
	.admin-bar .heeh-header.is-sticky {
		top: 46px;
	}
}

@media (max-width: 767px) {
	.heeh-header__inner {
		min-height: 68px;
		padding-inline: 16px;
	}
	.heeh-header__logo {
		width: 132px;
	}
}

/* Elementor editor safety */
.elementor-editor-active .heeh-header.is-sticky {
	position: relative;
	top: auto;
}
.elementor-editor-active .heeh-header {
	margin-inline: calc(50% - 50vw);
}
