/* ===== Reset & Base ===== */
* {
	margin: 0;
	box-sizing: border-box;
}

html,
body {
	font-family: "Open Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: clamp(18px, 1.2vw, 20px);
	color: #333;
	line-height: 1.5;
	height: 100%;
}

body.no-scroll {
	overflow: hidden;
}

a {
	color: #2b65f6;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.flex {
	display: flex;
}

.flex-between {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.container {
	max-width: 1200px;
	padding: 0 20px;
	margin: 0 auto;
}

/* ===== Header ===== */
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
	padding: 0.5rem 0;
	background-color: rgba(255, 255, 255, 0.5);
	backdrop-filter: blur(10px);
	transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 20px;
	height: 50px;
}

header img {
	height: 30px;
	width: auto;
	display: block;
}

header nav ul {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

header nav ul li+li {
	margin-left: 3rem;
}

header nav ul li a {
	display: flex;
	align-items: center;
	font-weight: 600;
	font-size: 0.9rem;
	color: #333;
	text-decoration: none;
}

header nav ul li a:hover {
	color: #2b65f6;
	border-bottom: 2px dashed #2b65f6;
}

/* ===== Mobile Menu ===== */
.mobile-menu-icon {
	display: none;
	cursor: pointer;
	position: relative;
	z-index: 1001;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.mobile-menu-icon svg {
	display: block;
}

.nav-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
	padding-top: 70px;
	background: rgba(0, 0, 0, 0);
	opacity: 0;
	pointer-events: none;
	z-index: 1000;
	transition: opacity 0.3s ease;
}

.nav-overlay.show {
	background: rgba(0, 0, 0, 0.6);
	opacity: 1;
	pointer-events: auto;
}

.nav-overlay ul {
	background: #fff;
	text-align: center;
	border-radius: 10px;
	padding: 0;
	list-style: none;
	margin: 0 1.2rem;
	width: 200px;
	transform: translateX(100%);
	transition: transform 0.3s ease;
}

.nav-overlay.show ul {
	transform: translateX(0);
}

.nav-overlay ul li {
	margin: 1.2rem 1.2rem;
}

.nav-overlay ul li a {
	font-size: 1rem;
	display: block;
	font-weight: 600;
	color: #333;
	border-radius: 10px;
	text-decoration: none;
}

.nav-overlay ul li a:hover {
	color: #2b65f6;
}

/* ===== Footer ===== */
footer {
	font-size: 0.85rem;
	padding: 2rem;
	text-align: center;
	background: #333;
	color: #FFF;
}

footer a {
	color: #d6e9ff;
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}

footer p:last-child {
	font-size: 0.75rem;
	margin-top: 1rem;
}

/* ===== Mobile ===== */
@media (max-width: 767px) {
	header nav {
		display: none;
	}

	header img {
		height: 20px;
	}

	.mobile-menu-icon {
		display: flex;
	}
}