/* ================================================== normal header start ================================================ */
.site-header {
	padding: 34px 38px;
	z-index: 100;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	transition: 0.3s ease-in-out;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.site-header.news-detail-header {
	border-bottom: 1px solid var(--light-gray-3);
}
/* sticky */
/* header.sticky{padding: 22px 0; box-shadow: 0 2px 10px rgb(0 0 0 / .1);background-color: rgb(82 82 82 / 60%);backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);} */

body:has(.toggled),
html:has(.toggled) {
	overflow: hidden;
}

/* nav */
.site-header .main-navigation {
	display: flex;
	align-items: center;
	gap: 44px;
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0.08) 0%,
		rgba(255, 255, 255, 0.06) 100%
	);
	padding: 0px 20px;
	border-radius: 12px;
	backdrop-filter: blur(104px);
}
.site-header.sticky {
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.06) 100%);
	backdrop-filter: blur(20px);
	padding-block: 20px;
}

.site-header .main-navigation .header-right {
	display: none;
}

.site-header #primary-menu {
	display: flex;
	align-items: center;
	gap: 24px;
}

.site-header #primary-menu li {
	position: relative;
	border-bottom: 1px solid transparent;
	padding: 21px 0;
}

.site-header #primary-menu li a {
	color: var(--white);
	font-family: var(--poppins);
	font-weight: 500;
	font-size: 16px;
	line-height: 22px;
	transition: 0.3s ease-in-out;
	text-transform: uppercase;
}

.site-header #primary-menu li a:before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background-color: transparent;
	transition: all 0.3s ease-in-out;
}

.site-header #primary-menu li.current-menu-item a:before,
.site-header #primary-menu li a:hover:before {
	background-color: var(--orange);
}

.site-header #primary-menu li.current-menu-item a,
.site-header #primary-menu .current-menu-parent > a {
	color: var(--white) !important;
}

.site-header #primary-menu li a:hover {
	color: var(--white);
}

.site-header #primary-menu li a:hover:before {
	background-color: var(--orange);
}

.site-header #primary-menu li.current-menu-item a img,
.site-header #primary-menu li a:hover img {
	filter: brightness(0) saturate(100%) invert(70%) sepia(38%) saturate(481%)
		hue-rotate(130deg) brightness(86%) contrast(88%);
}

/* logo */
.site-header .custom-logo-link {
	max-width: 104px;
	height: auto;
	width: 104px;
}

.site-header .custom-logo-link img {
	max-width: 100%;
	height: 100%;
	margin-bottom: 3px;
}

/* btn */
.header-buttons {
	gap: 20px;
}

.header-buttons a {
	padding: 9px 30px;
	font-family: var(--dm-sans);
	font-weight: 500;
	font-size: 16px;
	line-height: 20px;
	text-transform: uppercase;
	transition: all 0.3s ease-in-out;
}

.header-transperent-btn a {
	padding: 21px 20px;
	background-color: var(--orange);
	color: var(--black);
	font-family: var(--poppins);
	font-weight: 500;
	font-size: 16px;
	font-weight: 600;
	line-height: 22px;
	text-transform: uppercase;
	position: relative;
	border-radius: 2px;
	background: var(--orange) url(../../assets/images/button-pattern.svg) repeat-x
		center center;
	/* clip-path: polygon(0 0, calc(100% - 10px) 0, 107% 50%, calc(100% - 10px) 100%, 0 100%); */
	clip-path: polygon(
		0% 0%,
		calc(100% - 10px) 0%,
		100% calc(100% - 53px),
		100% calc(100% - 10px),
		calc(100% - 10px) 100%,
		0% 100%,
		0% 65%,
		4% 51%,
		0% 35%
	);
	min-width: 194px;
}

/* .header-transperent-btn a::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #0A0E29;
    border-radius: 50%;
    z-index: -1;
} */

.header-transperent-btn a:hover {
	background-color: var(--orange);
	color: var(--white);
}

.header-fill-btn a {
	background-color: var(--pink);
	border: 1px solid var(--pink);
	color: var(--white);
}

.header-fill-btn a:hover {
	background-color: var(--white);
	color: var(--pink);
	border-color: var(--white);
}

/* NESC 2026 header dropdown – desktop: hover; touch: click */
.header-dropdown-wrap {
	position: relative;
}

.header-dropdown-wrap .header-dropdown-btn {
	cursor: pointer;
	font-size: 18px;
	font-weight: 500;
	line-height: 22px;
	text-transform: uppercase;
	color: var(--white);
}
.header-dropdown-wrap .header-dropdown-btn:after {
	content: '';
	position: absolute;
	top: 11px;
	right: 7px;
	width: 0px;
	height: 0px;
	padding: 4px;
	border-top: 2px solid var(--white);
	border-right: 2px solid var(--white);
	border-bottom: none;
	border-left: none;
	transform: rotate(135deg);
	transform-origin: center center;
}
.header-dropdown-wrap:hover .header-dropdown-btn {
	color: var(--orange);
}

.header-dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	margin-top: 8px;
	min-width: 200px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease;
	z-index: 111;
	background: #ffffff94;
	box-shadow: 0 4px 16px rgb(0 0 0 / 0.15);
	border-radius: 4px;
	display: flex;
	flex-direction: column;
	padding: 8px 0;
	backdrop-filter: blur(10px);
}

/* Desktop (pointer device): show on hover only when hover is supported */
@media (hover: hover) {
	.header-dropdown-wrap:hover .header-dropdown {
		opacity: 1;
		visibility: visible;
	}
}

/* Touch: show when opened by click */
.header-dropdown-wrap.is-open .header-dropdown {
	opacity: 1;
	visibility: visible;
}

.header-dropdown-wrap .header-dropdown-item {
	display: block;
	padding: 10px 16px;
	font-family: var(--poppins);
	font-weight: 500;
	font-size: 16px;
	line-height: 22px;
	color: var(--black);
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.header-dropdown-item:hover {
	background: rgb(0 0 0 / 15%);
	color: var(--white);
}

.site-header #primary-menu li.menu-item-has-children > a:after {
	margin-left: 7px;
	display: inline-block;
	top: 1px;
	right: 0;
	height: 12px;
	width: 12px;
	content: '';
	background: url(../images/arrow.svg) no-repeat center center / cover;
	position: relative;
	transform: rotate(90deg);
	transform-origin: center center;
	cursor: pointer;
}

.site-header #primary-menu li.menu-item-has-children > a:hover:after,
.site-header #primary-menu li.current-menu-parent > a:after {
	background-image: url(../images/pink-arrow.svg);
}

.site-header #primary-menu li.focus > a:after {
	transform: rotate(-90deg);
}

/* submenu */
.site-header .sub-menu {
	padding: 10px;
	min-width: 232px;
	position: absolute;
	left: 0;
	top: calc(100% + 11px);
	width: auto;
	opacity: 0;
	visibility: hidden;
	transition: all 0.5s ease-in 0s;
	-webkit-transition: all 0.5s ease-in 0s;
	border: none;
	background-color: var(--white);
	display: block !important;
	z-index: 111;
	box-shadow: 0 0 10px rgb(0 0 0 / 0.17);
	-webkit-box-shadow: 0 0 10px rgb(0 0 0 / 0.17);
}

.site-header #primary-menu li.focus .sub-menu {
	opacity: 1;
	visibility: visible;
}

.site-header #primary-menu li .sub-menu li a {
	color: var(--navy-blue);
}

.site-header #primary-menu li .sub-menu li a:hover {
	color: var(--pink);
}

/* toggle button */
.site-header .menu-toggle {
	position: relative;
	width: 40px;
	height: 40px;
	cursor: pointer;
	display: -webkit-box;
	display: -ms-flexbox;
	display: none;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	background: none;
	border: 0;
}

.site-header .toggled.menu-toggle span:nth-child(1) {
	width: 23px;
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.site-header .toggled.menu-toggle span:nth-child(2) {
	opacity: 0;
}

.site-header .toggled.menu-toggle span:nth-child(3) {
	width: 23px;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.site-header .menu-toggle span {
	height: 2px;
	margin: 3px 5px;
	width: 28px;
	display: block;
	background: #fff;
	-webkit-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
	transform-origin: right center;
}

.site-header .menu-toggle span:nth-child(2) {
	width: 22px;
}

/* ================================================== media query start ================================================ */
@media screen and (max-width: 1399px) {
	.header-transperent-btn a {
		min-width: 150px;
	}

	.site-header .main-navigation {
		padding: 0 12px;
	}

	.site-header #primary-menu {
		gap: 14px;
	}
}

@media screen and (max-width: 1199px) {
	/* ================================================== normal .site-header start ================================================ */
	.site-header {
		padding: 16px 16px;
	}
	.site-header.sticky {
		background: linear-gradient(
			90deg,
			rgba(255, 255, 255, 0.08) 0%,
			rgba(255, 255, 255, 0.06) 100%
		);
		backdrop-filter: blur(20px);
	}
	.mobile-nav-open .site-header:before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: var(--dark-gray);
		z-index: 0;
	}
	.site-branding {
		position: relative;
	}

	/* sticky */
	/* header.sticky {
        padding: 13px 0;
    } */

	.site-header #primary-menu > li:first-child a img {
		height: 18px;
		width: 18px;
	}

	/* toggle menu */
	.site-header .main-navigation {
		flex-direction: row-reverse;
		gap: 15px;
		padding: 5px 5px;
		backdrop-filter: unset;
	}

	.site-header .menu-toggle {
		display: flex;
	}
	/* temp css  */
	/* 
    .header-right {
        display: none;
    } */

	.site-header .main-navigation .header-right {
		display: block;
		padding-left: 16px;
		margin-top: 20px;
	}

	.header-transperent-btn a {
		min-width: 190px;
	}

	.site-header .toggled.main-navigation {
		transform: translateX(0);
	}

	.header-dropdown {
		background: #fffffff0;
	}

	/* menu nav */
	.site-header .main-navigation {
		position: fixed;
		z-index: -1;
		top: 0;
		right: 0;
		height: 100dvh;
		width: 100%;
		transform: translateX(110%);
		background: var(--dark-gray);
		overflow: auto;
		transition: all 0.2s ease-in-out;
		display: block !important;
		flex-direction: column;
		justify-content: center;
		border-radius: 0;
		padding: 80px 0 40px;
	}

	.site-header #primary-menu {
		gap: 0;
		flex-direction: column;
		height: fit-content;
		align-items: center;
		max-height: 800px;
		/* overflow-y: auto; */
	}

	.site-header .main-navigation .menu-menu-1-container .header-right {
		display: block;
	}

	/* nav menu */
	.site-header #primary-menu li {
		text-align: center;
		width: 100%;
		position: relative;
		padding: 20px 16px;
		border-bottom: solid 1px var(--light-gray);
	}

	.site-header #primary-menu li:last-child {
		border-bottom: none;
	}

	.site-header #primary-menu li > a {
		font-size: 22px;
		line-height: 26px;
		display: inline-flex;
		width: 100%;
		justify-content: space-between;
		align-items: center;
	}

	.site-header #primary-menu > li:first-child a {
		margin-right: 0px;
	}

	.site-header #primary-menu li.menu-item-has-children > a:after {
		margin-left: 0;
		height: 16px;
		width: 16px;
	}

	/* submenu */
	.site-header .sub-menu {
		display: none !important;
		padding: 14px 0 0px;
		min-width: auto;
		position: relative;
		left: 0;
		top: 0;
		width: auto;
		opacity: 1;
		visibility: visible;
		box-shadow: none;
		background-color: transparent;
	}

	.site-header #primary-menu li.focus .sub-menu {
		display: block !important;
	}

	.site-header #primary-menu li .sub-menu li a {
		color: var(--white);
		font-size: 18px;
		line-height: 24px;
	}

	/* submenu */
	.site-header .sub-menu {
		padding: 16px;
		min-width: 199px;
	}
}

@media screen and (max-width: 991px) {
}

@media screen and (max-width: 767px) {
	/* button */
	.header-filled-btn a {
		padding: 7px 22px;
		font-size: 14px;
		line-height: 18px;
	}

	.site-header .main-navigation {
		gap: 9px;
	}

	.site-header #primary-menu li > a {
		font-size: 20px;
		line-height: 24px;
	}

	.site-header #primary-menu li .sub-menu li a {
		font-size: 16px;
		line-height: 22px;
	}

	.header-transperent-btn a {
		min-width: 140px;
	}
	
}

@media screen and (max-width: 576px) {
	.header-dropdown-wrap .header-dropdown-btn {
		padding-left: 0;
		padding-right: 10px;
		font-size: 16px;
	}
	.header-dropdown-wrap .header-dropdown-btn:after {
		right: -8px;
	}
	/* ================================================== normal header start ================================================ */
	/* header.sticky {
        padding: 11px 0;
    }

    .header-buttons {
        gap: 8px;
    }

    .header-buttons a {
        padding: 5px 8px;
        border-radius: 16px;
        font-size: 14px;
    }

    header .custom-logo-link {
        max-width: 110px;
        width: 110px;
    }

    header #primary-menu li.menu-item-has-children>a:after {
        height: 18px;
        width: 18px;
    } */
}
