.elementor-widget-autonameh_header {
	width: 100%;
	max-width: none;
}

.anw-header {
	--anw-header-bg: #fff;
	--anw-header-border: #e7f0fa;
	--anw-menu-color: #172033;
	--anw-menu-hover: #1078f0;
	--anw-menu-hover-bg: #f4f8fd;
	--anw-menu-active: #0b56b3;
	--anw-active-line: #f8b810;
	--anw-active-line-height: 3px;
	--anw-hover-line: #f8b810;
	--anw-hover-line-width: 100%;
	--anw-hover-line-height: 3px;
	--anw-dropdown-bg: #fff;
	--anw-dropdown-color: #172033;
	--anw-dropdown-hover: #0b56b3;
	--anw-dropdown-hover-bg: #f4f8fd;
	--anw-dropdown-border: #e7f0fa;
	--anw-search-color: #0b56b3;
	--anw-search-bg: #eff6ff;
	--anw-search-hover-color: #fff;
	--anw-search-hover-bg: #1078f0;
	--anw-search-submit-color: #fff;
	--anw-search-submit-bg: #1078f0;
	--anw-mobile-panel-bg: #fff;
	--anw-mobile-item-color: #172033;
	--anw-mobile-divider: #e7f0fa;
	--anw-mobile-overlay-bg: rgba(11, 20, 38, 0.48);
	--anw-mobile-menu-top: 0px;
	--anw-toggle-color: #0b56b3;
	--anw-toggle-bg: #eff6ff;
	--anw-submenu-arrow-color: #172033;
	--anw-submenu-arrow-bg: transparent;
	--anw-header-sticky-offset: 0px;
	position: relative;
	z-index: 999;
	width: 100%;
	max-width: 100%;
	margin-inline: 0;
	color: var(--anw-menu-color);
	background: var(--anw-header-bg);
	border: 0 solid var(--anw-header-border);
	border-bottom-style: solid;
	border-bottom-width: 1px;
	font-family: "Vazirmatn", "Estedad", Tahoma, sans-serif;
	transition: background-color 180ms ease, box-shadow 180ms ease, transform 220ms ease;
	box-sizing: border-box;
}

.anw-header *,
.anw-header *::before,
.anw-header *::after {
	box-sizing: border-box;
}

.anw-header.is-sticky {
	position: sticky;
	top: var(--anw-header-sticky-offset);
}

body.admin-bar .anw-header.is-sticky {
	top: calc(var(--anw-header-sticky-offset) + 32px);
}

.anw-header.is-smart-hidden {
	transform: translateY(calc(-100% - var(--anw-header-sticky-offset) - 2px));
}

.anw-header__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	grid-template-areas: "logo nav actions";
	align-items: center;
	column-gap: 48px;
	width: 100%;
	min-height: 94px;
	max-width: 1440px;
	margin-inline: auto;
	padding-inline: 40px;
}

.anw-header__logo {
	grid-area: logo;
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	min-width: 0;
	line-height: 1;
	text-decoration: none;
}

.anw-header__logo-image {
	display: block;
	width: 188px;
	max-width: 100%;
	height: auto;
	max-height: 64px;
	object-fit: contain;
	object-position: right center;
}

.anw-header__site-name {
	color: var(--anw-menu-active);
	font-family: "Estedad", "Vazirmatn", sans-serif;
	font-size: 28px;
	font-weight: 850;
	white-space: nowrap;
}

.anw-header__nav {
	grid-area: nav;
	min-width: 0;
	height: 100%;
}

.anw-header__menu,
.anw-header__menu ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.anw-header__menu {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 8px;
	height: 100%;
}

.anw-header__menu li {
	position: relative;
}

.anw-header__menu > li {
	display: flex;
	align-items: stretch;
}

.elementor-widget-autonameh_header .anw-header .anw-header__nav a,
.elementor-widget-autonameh_header .anw-header .anw-header__nav a:visited {
	color: var(--anw-menu-color) !important;
	text-decoration: none;
	transition: color 160ms ease, background-color 160ms ease;
}

.anw-header__nav > .anw-header__menu > li > a {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 100%;
	padding: 16px 12px;
	font-size: 16px;
	font-weight: 650;
	line-height: 1.65;
	white-space: nowrap;
	border-radius: 8px;
}

.anw-header:not(.is-collapsed) .anw-header__nav > .anw-header__menu > .menu-item-has-children > a {
	padding-left: 34px;
}

.elementor-widget-autonameh_header .anw-header .anw-header__nav > .anw-header__menu > li > a:hover,
.elementor-widget-autonameh_header .anw-header .anw-header__nav > .anw-header__menu > li > a:focus-visible {
	color: var(--anw-menu-hover) !important;
	background: var(--anw-menu-hover-bg);
}

.anw-header__nav > .anw-header__menu > li > a::after {
	position: absolute;
	right: 50%;
	bottom: 0;
	width: var(--anw-hover-line-width);
	height: var(--anw-hover-line-height);
	content: "";
	pointer-events: none;
	background: var(--anw-hover-line);
	border-radius: 999px 999px 0 0;
	opacity: 0;
	transform: translateX(50%) scaleX(0);
	transform-origin: center;
	transition: opacity 160ms ease, transform 180ms ease;
}

.anw-header:not(.is-collapsed) .anw-header__nav > .anw-header__menu > li:hover > a::after,
.anw-header:not(.is-collapsed) .anw-header__nav > .anw-header__menu > li > a:focus-visible::after,
.anw-header:not(.is-collapsed) .anw-header__nav > .anw-header__menu > li > a:active::after,
.anw-header:not(.is-collapsed) .anw-header__nav > .anw-header__menu > .anw-header__menu-item-open > a::after {
	opacity: 1;
	transform: translateX(50%) scaleX(1);
}

.elementor-widget-autonameh_header .anw-header .anw-header__nav > .anw-header__menu > .current-menu-item > a,
.elementor-widget-autonameh_header .anw-header .anw-header__nav > .anw-header__menu > .current-menu-ancestor > a,
.elementor-widget-autonameh_header .anw-header .anw-header__nav > .anw-header__menu > .current_page_item > a {
	color: var(--anw-menu-active) !important;
}

.anw-header__nav > .anw-header__menu > .current-menu-item > a::after,
.anw-header__nav > .anw-header__menu > .current-menu-ancestor > a::after,
.anw-header__nav > .anw-header__menu > .current_page_item > a::after {
	bottom: 0;
	width: 54%;
	height: var(--anw-active-line-height);
	background: var(--anw-active-line);
	opacity: 1;
	transform: translateX(50%) scaleX(1);
}

.elementor-widget-autonameh_header .anw-header button.anw-header__submenu-toggle {
	-webkit-appearance: none !important;
	appearance: none !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px !important;
	height: 26px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin-right: -8px;
	color: var(--anw-submenu-arrow-color) !important;
	background: var(--anw-submenu-arrow-bg) !important;
	background-color: var(--anw-submenu-arrow-bg) !important;
	background-image: none !important;
	border: 0 !important;
	outline: 0;
	border-radius: 7px;
	box-shadow: none !important;
	text-shadow: none !important;
	cursor: pointer;
}

.elementor-widget-autonameh_header .anw-header button.anw-header__submenu-toggle:hover,
.elementor-widget-autonameh_header .anw-header button.anw-header__submenu-toggle:focus,
.elementor-widget-autonameh_header .anw-header button.anw-header__submenu-toggle:active {
	color: var(--anw-submenu-arrow-color) !important;
	background: var(--anw-submenu-arrow-bg) !important;
	background-color: var(--anw-submenu-arrow-bg) !important;
	border: 0 !important;
	box-shadow: none !important;
}

.anw-header:not(.is-collapsed) .anw-header__submenu-toggle {
	position: absolute;
	top: 50%;
	left: 4px;
	z-index: 2;
	margin: 0;
	transform: translateY(-50%);
}

.anw-header__submenu-toggle svg {
	width: 16px;
	height: 16px;
	transition: transform 160ms ease;
}

.anw-header.hide-submenu-arrows:not(.is-collapsed) .anw-header__submenu-toggle {
	display: none;
}

.anw-header__menu .sub-menu {
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 30;
	display: block;
	min-width: 324px;
	padding: 16px;
	visibility: hidden;
	opacity: 0;
	transform: translateY(-7px);
	background: var(--anw-dropdown-bg);
	border: 1px solid var(--anw-dropdown-border);
	border-radius: 0;
	box-shadow: 0 20px 50px rgba(23, 32, 51, 0.12);
	transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.anw-header__menu .sub-menu::before {
	position: absolute;
	top: -12px;
	right: 0;
	left: 0;
	height: 12px;
	content: "";
}

.anw-header__menu .sub-menu .sub-menu {
	top: -17px;
	right: calc(100% + 8px);
}

.anw-header:not(.is-collapsed) .anw-header__menu li:hover > .sub-menu,
.anw-header:not(.is-collapsed) .anw-header__menu li:focus-within > .sub-menu,
.anw-header:not(.is-collapsed) .anw-header__menu-item-open > .sub-menu {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
}

.elementor-widget-autonameh_header .anw-header .anw-header__menu .sub-menu a,
.elementor-widget-autonameh_header .anw-header .anw-header__menu .sub-menu a:visited {
	display: flex;
	align-items: center;
	width: 100%;
	padding: 11px 16px;
	color: var(--anw-dropdown-color) !important;
	font-size: 15px;
	font-weight: 550;
	line-height: 1.7;
	white-space: normal;
}

.elementor-widget-autonameh_header .anw-header .anw-header__menu .sub-menu a:hover,
.elementor-widget-autonameh_header .anw-header .anw-header__menu .sub-menu a:focus-visible,
.elementor-widget-autonameh_header .anw-header .anw-header__menu .sub-menu .current-menu-item > a {
	color: var(--anw-dropdown-hover) !important;
	background: var(--anw-dropdown-hover-bg);
}

.anw-header__actions {
	grid-area: actions;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.anw-header__menu-toggle,
.anw-header__search-toggle,
.anw-header__search-submit,
.anw-header__submenu-toggle {
	font: inherit;
}

.anw-header__menu-toggle,
.anw-header__search-toggle,
.anw-header__search-submit {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	box-shadow: none;
	cursor: pointer;
}

.anw-header__search-toggle {
	width: 56px;
	height: 56px;
	color: var(--anw-search-color);
	background: var(--anw-search-bg);
	border-radius: 14px;
	transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.anw-header__search-toggle:hover,
.anw-header__search-toggle:focus-visible,
.anw-header.is-search-open .anw-header__search-toggle {
	color: var(--anw-search-hover-color);
	background: var(--anw-search-hover-bg);
	transform: translateY(-1px);
}

.anw-header__menu-toggle {
	display: none;
	width: 48px;
	height: 48px;
	color: var(--anw-toggle-color);
	background: var(--anw-toggle-bg);
	border-radius: 12px;
}

.anw-header__close-icon {
	display: none;
}

.anw-header.is-menu-open .anw-header__menu-icon {
	display: none;
}

.anw-header.is-menu-open .anw-header__close-icon {
	display: block;
}

.elementor-widget-autonameh_header .anw-header svg {
	display: block !important;
	width: 24px;
	height: 24px;
	max-width: none !important;
	max-height: none !important;
	overflow: visible !important;
	visibility: visible !important;
	opacity: 1 !important;
	fill: none !important;
	stroke: currentColor !important;
	stroke-width: 1.8 !important;
	stroke-linecap: round !important;
	stroke-linejoin: round !important;
}

.elementor-widget-autonameh_header .anw-header svg path,
.elementor-widget-autonameh_header .anw-header svg circle {
	fill: none !important;
	stroke: currentColor !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.anw-header__search-panel {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	z-index: 35;
	padding: 18px 40px;
	background: #fff;
	border-top: 1px solid var(--anw-header-border);
	border-bottom: 1px solid var(--anw-header-border);
	box-shadow: 0 18px 38px rgba(23, 32, 51, 0.1);
}

.anw-header__search-panel[hidden] {
	display: none;
}

.anw-header__search-form {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 1440px;
	margin-inline: auto;
}

.anw-header__search-input {
	appearance: none;
	width: 100%;
	height: 54px;
	padding: 10px 18px 10px 64px;
	color: #172033;
	font: inherit;
	font-size: 16px;
	background: #fff;
	border: 1px solid #c9d9ec;
	border-radius: 12px;
	box-shadow: none;
}

.anw-header__search-input::-webkit-search-cancel-button {
	margin-left: 46px;
}

.elementor-widget-autonameh_header .anw-header button.anw-header__search-submit {
	position: absolute;
	left: 6px;
	width: 42px !important;
	height: 42px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	color: var(--anw-search-submit-color) !important;
	background: var(--anw-search-submit-bg) !important;
	background-color: var(--anw-search-submit-bg) !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: 9px !important;
	box-shadow: none !important;
}

.elementor-widget-autonameh_header .anw-header button.anw-header__search-submit:hover,
.elementor-widget-autonameh_header .anw-header button.anw-header__search-submit:focus-visible {
	color: var(--anw-search-submit-color) !important;
	background: var(--anw-search-submit-bg) !important;
	box-shadow: none !important;
	filter: brightness(0.92);
}

.anw-header__empty {
	margin: 0;
	padding: 12px;
	color: #657084;
	font-size: 14px;
}

.anw-header__skip-link,
.anw-header__sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.anw-header__skip-link:focus {
	top: 8px;
	right: 8px;
	z-index: 100;
	width: auto;
	height: auto;
	padding: 10px 14px;
	margin: 0;
	overflow: visible;
	clip: auto;
	color: #fff;
	background: #0b56b3;
	border-radius: 8px;
}

.anw-header__mobile-nav-heading,
.anw-header__mobile-backdrop {
	display: none;
}

.anw-header__mobile-backdrop[hidden] {
	display: none !important;
}

html.anw-mobile-menu-open,
html.anw-mobile-menu-open body {
	overflow: hidden !important;
}

.anw-header a:focus-visible,
.anw-header button:focus-visible,
.anw-header input:focus-visible {
	outline: 2px solid #1078f0;
	outline-offset: 2px;
}

/* Runtime collapse class lets the breakpoint remain editable in Elementor. */
.anw-header.is-collapsed .anw-header__inner {
	grid-template-columns: auto minmax(0, 1fr) auto;
	grid-template-areas: "logo . actions";
	column-gap: 10px;
	min-height: 76px;
	padding-inline: 24px;
}

.anw-header.is-collapsed .anw-header__logo-image {
	width: 150px;
	max-height: 52px;
}

.anw-header.is-collapsed .anw-header__menu-toggle {
	display: inline-flex;
}

.anw-header.is-collapsed .anw-header__nav {
	position: fixed;
	top: var(--anw-mobile-menu-top);
	right: 0;
	bottom: 0;
	left: auto;
	z-index: 1002;
	display: none;
	width: min(100%, 420px);
	height: auto;
	max-height: calc(100dvh - var(--anw-mobile-menu-top));
	overflow-x: hidden;
	overflow-y: auto;
	padding: 0 24px 28px;
	background: var(--anw-mobile-panel-bg);
	border: 0;
	border-left: 1px solid var(--anw-mobile-divider);
	box-shadow: -18px 24px 54px rgba(11, 20, 38, 0.18);
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.anw-header.is-collapsed.is-menu-open .anw-header__nav {
	display: block;
}

.anw-header.is-collapsed .anw-header__mobile-nav-heading {
	position: sticky;
	top: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	min-height: 60px;
	padding: 12px 0;
	color: var(--anw-mobile-item-color);
	font-size: 18px;
	font-weight: 750;
	background: var(--anw-mobile-panel-bg);
	border-bottom: 1px solid var(--anw-mobile-divider);
}

.anw-header.is-collapsed.is-menu-open .anw-header__mobile-backdrop {
	position: fixed;
	top: var(--anw-mobile-menu-top);
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1001;
	display: block;
	background: var(--anw-mobile-overlay-bg);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
}

.anw-header.is-collapsed .anw-header__menu {
	display: block;
	width: 100%;
	height: auto;
}

.anw-header.is-collapsed .anw-header__menu > li {
	position: relative;
	display: block;
}

.anw-header.is-collapsed .anw-header__menu > li + li {
	border-top: 1px solid var(--anw-mobile-divider);
}

.elementor-widget-autonameh_header .anw-header.is-collapsed .anw-header__nav > .anw-header__menu > li > a {
	justify-content: flex-start;
	min-height: 54px;
	padding: 10px 12px 10px 54px;
	color: var(--anw-mobile-item-color) !important;
	font-size: 16px;
	font-weight: 650;
	line-height: 1.65;
	text-align: right;
	white-space: normal;
	border-radius: 0;
}

.anw-header.is-collapsed .anw-header__nav > .anw-header__menu > li > a::after {
	bottom: 0;
}

.anw-header.is-collapsed .anw-header__nav > .anw-header__menu > li > a:focus-visible::after,
.anw-header.is-collapsed .anw-header__nav > .anw-header__menu > li > a:active::after,
.anw-header.is-collapsed .anw-header__nav > .anw-header__menu > .anw-header__menu-item-open > a::after {
	opacity: 1;
	transform: translateX(50%) scaleX(1);
}

.anw-header.is-collapsed .anw-header__submenu-toggle {
	position: absolute;
	top: 4px;
	left: 2px;
	z-index: 2;
	width: 42px;
	height: 42px;
	margin: 0;
	color: var(--anw-toggle-color);
	background: transparent;
}

.anw-header.is-collapsed .anw-header__menu-item-open > .anw-header__submenu-toggle svg {
	transform: rotate(180deg);
}

.anw-header.is-collapsed .anw-header__menu .sub-menu,
.anw-header.is-collapsed .anw-header__menu .sub-menu .sub-menu {
	position: static;
	display: none;
	min-width: 0;
	padding: 2px 18px 10px 0;
	visibility: visible;
	opacity: 1;
	transform: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	transition: none;
}

.anw-header.is-collapsed .anw-header__menu-item-open > .sub-menu {
	display: block;
}

.anw-header.is-collapsed .anw-header__menu .sub-menu::before {
	display: none;
}

.elementor-widget-autonameh_header .anw-header.is-collapsed .anw-header__menu .sub-menu a {
	min-height: 44px;
	padding: 8px 12px;
	color: var(--anw-mobile-item-color) !important;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.7;
	border-radius: 8px;
}

@media (min-width: 1025px) and (max-width: 1199px) {
	.anw-header:not(.is-collapsed) .anw-header__inner {
		column-gap: 18px;
		padding-inline: 24px;
	}

	.anw-header:not(.is-collapsed) .anw-header__logo-image {
		width: 145px;
	}

	.anw-header:not(.is-collapsed) .anw-header__menu {
		gap: 0;
	}

	.anw-header:not(.is-collapsed) .anw-header__nav > .anw-header__menu > li > a {
		padding-inline: 8px;
		font-size: 14px;
	}
}

@media (max-width: 767px) {
	.anw-header.is-collapsed .anw-header__inner {
		min-height: 68px;
		padding-inline: 16px;
	}

	.anw-header.is-collapsed .anw-header__logo-image {
		width: 132px;
		max-height: 46px;
	}

	.anw-header.is-collapsed .anw-header__menu-toggle,
	.anw-header.is-collapsed .anw-header__search-toggle {
		width: 44px;
		height: 44px;
	}

	.anw-header.is-collapsed .anw-header__nav {
		width: 100%;
		padding: 0 16px 24px;
		border-left: 0;
		box-shadow: none;
	}

	.anw-header__search-panel {
		padding: 14px 16px;
	}
}

@media (max-width: 782px) {
	body.admin-bar .anw-header.is-sticky {
		top: calc(var(--anw-header-sticky-offset) + 46px);
	}
}

body.elementor-editor-active .anw-header.is-sticky {
	position: relative;
	top: auto;
}

@media (prefers-reduced-motion: reduce) {
	.anw-header,
	.anw-header *,
	.anw-header *::before,
	.anw-header *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
