/* Custom styles to fix header layout */
header {
	padding: 15px 0;
}

.header-container {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
}

.logo {
	display: flex !important;
	align-items: center !important;
	margin-right: auto !important;
	justify-content: flex-start !important;
}

nav {
	position: static !important;
	display: flex !important;
	align-items: center !important;
	height: 100% !important;
	background: none !important;
	box-shadow: none !important;
	overflow: visible !important;
	max-height: none !important;
}

.desktop-nav {
	display: flex !important;
	align-items: center !important;
}

/* Only apply dropdown menu on mobile */
@media screen and (max-width: 767px) {
	nav {
		position: absolute !important;
		top: 100% !important;
		left: 0 !important;
		right: 0 !important;
		display: block !important;
		height: auto !important;
		max-height: 0 !important;
		overflow: hidden !important;
		background-color: var(--primary-bg) !important;
	}

	.desktop-nav {
		display: none !important;
	}

	.nav-toggle:checked ~ nav {
		max-height: 500px !important;
		padding: 20px 0 !important;
	}

	.nav-toggle:checked ~ nav .desktop-nav {
		display: block !important;
	}
}

/* Policy Pages Styles */
.policy-section {
	padding: 120px 0 80px;
	background-color: var(--primary-bg);
}

.policy-section .section-title h1 {
	font-size: 2.8rem;
	color: var(--text);
	margin-bottom: 40px;
	text-align: center;
}

.policy-content {
	background-color: rgba(71, 23, 246, 0.05);
	border-radius: 24px;
	padding: 40px;
	border: 1px solid var(--border);
}

.policy-last-updated {
	text-align: right;
	margin-bottom: 30px;
	opacity: 0.7;
	font-size: 0.9rem;
}

.policy-text h2 {
	color: var(--accent);
	margin: 30px 0 15px;
	font-size: 1.5rem;
}

.policy-text h2:first-child {
	margin-top: 0;
}

.policy-text h3 {
	color: var(--text);
	margin: 25px 0 15px;
	font-size: 1.3rem;
}

.policy-text p,
.policy-text ul {
	margin-bottom: 15px;
	line-height: 1.7;
}

.policy-text ul {
	padding-left: 20px;
}

.policy-text ul li {
	margin-bottom: 8px;
}

.policy-text a {
	color: var(--accent);
	text-decoration: none;
	transition: all 0.3s ease;
}

.policy-text a:hover {
	text-decoration: underline;
}

@media screen and (max-width: 767px) {
	.policy-section {
		padding: 100px 0 60px;
	}

	.policy-section .section-title h1 {
		font-size: 2.2rem;
	}

	.policy-content {
		padding: 25px;
	}

	.policy-text h2 {
		font-size: 1.3rem;
	}
	
	.policy-text h3 {
		font-size: 1.1rem;
	}
}
