/**
 * Header Component Styles
 * Converted from Header.module.scss for WordPress
 */

.header_main_section {
	transform: translateY(-100%);
	width: 100%;
	top: 0;
	z-index: 99999;
	transition: all 1s ease-in-out;
	padding: 40px 0;
	position: fixed;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Backdrop effect only on home page */
body.home .header_main_section.scrolled::after {
	bottom: 0%;
}

body.home .header_main_section.dropdown_open::after {
	bottom: 0%;
}

body.home .header_main_section::after {
	bottom: 100%;
}

.header_main_section::after {
	position: absolute;
	content: "";
	bottom: 0%;
	left: 0;
	width: 100%;
	height: 100%;
	backdrop-filter: blur(12.45px);
	background: rgba(0, 58, 112, 0.9);
	transition: all 0.3s ease-in-out;
	z-index: -1;
	pointer-events: none;
}

.header_container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
}

.nav_links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav_links_item {
	color: #ffffff;
	font-family: var(--font-medium, "Raleway-Medium", sans-serif);
	font-size: 14px;
	letter-spacing: 0.5px;
	line-height: 1.3;
	font-weight: 500;
	transition: color 0.3s ease;
	text-decoration: none;
}

.nav_links_item:hover {
	color: var(--lightBlue, #a3dbe8);
}

.nav_links_item.active {
	color: var(--lightBlue, #a3dbe8);
}

/* Dropdown Menu Styles */
.nav_item_with_dropdown {
	position: static;
	display: flex;
	align-items: center;
	gap: 6px;
}

.dropdown_arrow {
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	width: 22px;
	height: auto;
	aspect-ratio: 1/1;
}

.dropdown_arrow img {
	width: 50%;
	height: auto;
	object-fit: contain;
	transition: all 0.3s ease;
	display: block;
}

.dropdown_arrow.dropdown_active {
	transform: rotate(180deg);
}

/* Click effect on dropdown arrow */
.dropdown_arrow:active {
	transform: translateY(1px) scale(0.95);
}

.dropdown_arrow:active img {
	transform: scale(0.95);
}

/* Full-width Dropdown Menu */
.dropdown_menu_fullwidth {
	position: fixed;
	top: 0;
	left: 0;
	overflow: hidden;
	width: 100%;
	background: hwb(0 0% 100% / 0.45);
	backdrop-filter: blur(13px);
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	z-index: 99998;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
	padding: 60px 0;
	overflow: hidden;
	margin-top: 0;
	transform: translateY(-100%);
	pointer-events: none;
}

.dropdown_menu_fullwidth.dropdown_open {
	pointer-events: auto;
}

.dropdown_menu_fullwidth.dropdown_open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.dropdown_content {
	display: flex;
	justify-content: space-between;
	align-items: start;
}

.dropdown_left {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 570px;
}

.dropdown_title {
	color: var(--lightBlue, #a3dbe8);
	font-family: var(--font-medium, "Raleway-Medium", sans-serif);
	font-size: 32px;
	font-weight: 600;
	letter-spacing: 0.5px;
	line-height: 1.2;
	margin: 0;
}

.dropdown_description {
	color: #ffffff;
	font-family: var(--font-medium, "Raleway-Medium", sans-serif);
	font-size: 16px;
	letter-spacing: 0.5px;
	line-height: 1.6;
	margin: 0;
}

/* Primary Button */
.btn_primary {
	display: inline-block;
	padding: 14px 32px;
	background: var(--lightBlue, #a3dbe8);
	color: rgba(0, 58, 112, 1);
	font-family: var(--font-medium, "Raleway-Medium", sans-serif);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-decoration: none;
	border-radius: 8px;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	align-self: flex-start;
}

.btn_primary:active {
	transform: translateY(0);
}

.dropdown_right {
	display: flex;
	flex: 1;
	align-items: flex-start;
	padding-left: 7.15%;
	position: relative;
	gap: 40px;
}

.dropdown_right::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 500px;
	background: rgba(255, 255, 255, 0.3);
}

.dropdown_list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	width: auto;
	flex: 1;
}

.dropdown_list_left {
	flex: 1;
}

.dropdown_list_right {
	flex: 1;
}

.dropdown_item {
	display: block;
	color: #ffffff;
	font-family: var(--font-medium, "Raleway-Medium", sans-serif);
	font-size: 16px;
	letter-spacing: 0.5px;
	line-height: 1.5;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.3s ease;
	padding: 8px 0;
}

.dropdown_item:hover {
	color: var(--lightBlue, #a3dbe8);
	transform: translateX(5px);
}

@media (max-width: 1200px) {
	.dropdown_menu_fullwidth {
		padding: 40px 20px;
	}

	.dropdown_content {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.dropdown_title {
		font-size: 28px;
	}
}

@media (max-width: 1600px) {
	.nav_links_item {
		font-size: 15px;
	}
}

@media (max-width: 1280px) {
	.nav_links {
		max-width: 440px;
		width: 50%;
		gap: 35px;
	}
}

@media (max-width: 1200px) {
	.nav_links {
		display: none;
	}
}

/* Header Logo */
.header_logo {
	position: absolute;
	left: 50%;
	width: 150px;
	transform: translateX(-50%);
	display: block;
}

.header_logo img {
	width: 100%;
	height: auto;
	display: block;
}

.header_logo.home_page_logo {
	opacity: 0;
}

@media (max-width: 1600px) {
	/* .header_logo {
		width: 120px;
	} */
}

@media (max-width: 1200px) {
	.header_logo {
		/* width: 100px; */
		position: unset;
		transform: unset;
	}
}

/* Hamburger Menu Icon */
.menu_icon {
	width: 30px;
	height: auto;
	aspect-ratio: 1/1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	gap: 8px;
	position: relative;
	z-index: 1000;
	transition: all 0.3s ease;
	background: transparent;
	border: none;
	padding: 0;
}

.menu_icon span {
	height: 1px;
	background-color: white;
	width: 100%;
	transition: all 0.3s ease;
	display: block;
}

.menu_icon.menu_open span:nth-child(1) {
	transform: rotate(45deg) translate(6px, 6px);
}

.menu_icon.menu_open span:nth-child(2) {
	opacity: 0;
}

.menu_icon.menu_open span:nth-child(3) {
	transform: rotate(-45deg) translate(6px, -6px);
}

@media screen and (min-width: 1201px) {
	.menu_icon {
		display: none;
	}
}

/* Banner Animation States */
body.banner_animation_completed .header_logo.home_page_logo {
	opacity: 1;
}

body.banner_animation_started .header_main_section {
	transform: translateY(0%);
}

/* Body classes for menu */
body.overflow_body_hidden {
	overflow: hidden;
}

body.header_activated .header_main_section {
	transform: translateY(0%);
}

/* Show header by default on non-home pages */
body.header_visible .header_main_section {
	transform: translateY(0%);
}

/* Show header on pages that are not home page */
body:not(.home) .header_main_section {
	transform: translateY(0%);
}

/* Mobile Menu Overlay */
.mobile_menu_overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: rgba(0, 44, 95, 0.7);
	backdrop-filter: blur(10px);
	z-index: 99998;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	overflow-y: auto;
	padding-top: 100px;
	display: flex;
	/* align-items: center; */
}

.mobile_menu_overlay.mobile_menu_open {
	opacity: 1;
	visibility: visible;
}

.mobile_menu_content {
	width: 100%;
	/* max-width: 600px; */
	margin: 0 auto;
	padding: 0 5%;
}

.mobile_menu_nav {
	width: 100%;
}

.mobile_menu_list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.mobile_menu_item {
	color: #ffffff;
	font-family: var(--font-medium, "Raleway-Medium", sans-serif);
	font-size: 24px;
	letter-spacing: 0.5px;
	line-height: 1.5;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.3s ease;
	display: block;
	padding: 15px 0;
	position: relative;
}

.mobile_menu_item_has_submenu .mobile_menu_item::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 600px;
	height: 1px;
	background-color: rgba(255, 255, 255, 0.1);
}

.mobile_menu_item:hover,
.mobile_menu_item.active {
	color: var(--lightBlue, #a3dbe8);
}

.mobile_menu_item:last-child {
	border-bottom: none;
}

/* Mobile Menu Items with Submenu */
.mobile_menu_item_has_submenu {
	position: relative;
	overflow: hidden;
}

.mobile_menu_item_wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.mobile_menu_submenu_toggle {
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 10px;
	margin-left: 10px;
	color: #ffffff;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.mobile_menu_submenu_toggle svg {
	width: 12px;
	height: 12px;
	transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile_menu_submenu_toggle.mobile_submenu_toggle_active svg {
	transform: rotate(180deg);
}

.mobile_menu_submenu {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 0;
	overflow: hidden;
	padding-left: 20px;
	opacity: 0;
	transform: translateY(-10px);
	transition: max-height 0.2s cubic-bezier(0.4, 0, 0.2, 1),
		padding 0.2s cubic-bezier(0.4, 0, 0.2, 1),
		opacity 0.15s ease,
		transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile_menu_submenu.mobile_submenu_open {
	max-height: 500px;
	padding-top: 10px;
	padding-bottom: 10px;
	opacity: 1;
	transform: translateY(0);
}

.mobile_menu_submenu_item {
	color: rgba(255, 255, 255, 0.8);
	font-family: var(--font-medium, "Raleway-Medium", sans-serif);
	font-size: 18px;
	letter-spacing: 0.5px;
	line-height: 1.5;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.3s ease;
	display: block;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile_menu_submenu_item:hover {
	color: var(--lightBlue, #a3dbe8);
	padding-left: 10px;
}

.mobile_menu_submenu_item:last-child {
	border-bottom: none;
}

@media screen and (min-width: 1201px) {
	.mobile_menu_overlay {
		display: none;
	}

}

@media (max-width: 1200px) {
	.header_main_section {
		padding: 20px 0;
	}

	.header_main_section.scrolled {
		padding: 15px 0;
	}

	.header_main_section.scrolled .header_logo {

		width: 125px;

	}

}

@media screen and (max-width: 700px) {
	.mobile_menu_nav {
		margin-top: 30px;
	}

	.mobile_menu_item {
		font-size: 16px;

		padding: 10px 0;
	}

	.mobile_menu_submenu_item {
		font-size: 14px;
		padding: 6px 0
	}
}