/* CSS Custom Properties */
:root {
	--primary-color: #f26419;
	--white-color: #fdfdff;
	--black-color: #0c0c0c;
	--border-radius: 0.3rem;
	--transition: all 0.2s ease;
}

/* Reset */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* Font Declarations */
@font-face {
	font-family: "Eurocrat";
	src: url("/static/fonts/Eurocrat/Eurocrat W01 Light.ttf") format("truetype");
	font-weight: 300;
	font-display: swap;
}

@font-face {
	font-family: "Eurocrat";
	src: url("/static/fonts/Eurocrat/Eurocrat W01 Regular.ttf") format("truetype");
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: "Eurocrat";
	src: url("/static/fonts/Eurocrat/Eurocrat W01 Medium.ttf") format("truetype");
	font-weight: 500;
	font-display: swap;
}

@font-face {
	font-family: "Eurocrat";
	src: url("/static/fonts/Eurocrat/Eurocrat W01 Bold.ttf") format("truetype");
	font-weight: 700;
	font-display: swap;
}

@font-face {
	font-family: "Eurocrat";
	src: url("/static/fonts/Eurocrat/Eurocrat W01 Black.ttf") format("truetype");
	font-weight: 900;
	font-display: swap;
}

/* Typography Classes */
.font-light {
	font-family: "Eurocrat", sans-serif;
	font-weight: 300;
}

.font-regular {
	font-family: "Eurocrat", sans-serif;
	font-weight: 400;
}

.font-medium {
	font-family: "Eurocrat", sans-serif;
	font-weight: 500;
}

.font-bold {
	font-family: "Eurocrat", sans-serif;
	font-weight: 700;
}

.font-black {
	font-family: "Eurocrat", sans-serif;
	font-weight: 900;
}

/* Color Classes */
.color-primary {
	color: var(--primary-color);
}

.color-white {
	color: var(--white-color);
}

.color-black {
	color: var(--black-color);
}

.bg-primary {
	background-color: var(--primary-color);
}

.bg-white {
	background-color: var(--white-color);
}

.bg-black {
	background-color: var(--black-color);
}

/* Header Styles */
header {
	padding: 1rem;
}

header > div {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 22px;
	font-size: 1.3rem;
}

header > div > a {
	text-decoration: none;
	color: var(--white-color);
	transition: var(--transition);
}

header > div > a:hover {
	text-decoration: underline;
}

header > h1 {
	font-size: clamp(2rem, 10vw, 6rem);
	letter-spacing: 2px;
	padding-bottom: 2rem;
}

header > h1 > span {
	white-space: pre;
}

header > subtitle {
	display: flex;
	flex-direction: column;
	font-size: 1.2rem;
	gap: 18px;
}

header > subtitle > section > span {
	font-family: monospace;
}

/* CTA Button Styles */
.cta {
	text-decoration: none;
	color: var(--white-color);
	padding: 6px 14px;
	border-radius: var(--border-radius);
	transition: var(--transition);
	display: inline-block;
}

.cta:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

header > .cta {
	font-size: 1.3rem;
	display: block;
	width: fit-content;
	margin: 3rem auto;
	padding: 10px 16px;
}

/* Decorative Slant */
.slant {
	width: 100%;
	height: 160px;
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 30%);
}

/* Main Content */
main {
	padding: 0.2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
}

main > h1 {
	padding: 2rem 0;
	font-size: clamp(1.5rem, 5vw, 3rem);
}

main > p {
	font-size: 1.8rem;
	padding: 0 2rem 4rem 2rem;
	line-height: 1.4;
}

main > p > a {
	color: var(--primary-color);
	text-decoration: none;
	transition: var(--transition);
}

main > p > a:hover {
	text-decoration: underline;
}

/* Layout Classes */
.two-column {
	padding: 10px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.two-column > div {
	padding: 1rem;
}

.two-column h1 {
	margin-bottom: 1rem;
	color: var(--black-color);
}

.two-column p {
	line-height: 1.5;
	margin-bottom: 1rem;
}

.two-column a {
	color: var(--primary-color);
	text-decoration: none;
	transition: var(--transition);
}

.two-column a:hover {
	text-decoration: underline;
}

/* Donation Section */
.donate {
	margin: 1rem 0;
}

.donate > div {
	display: flex;
	justify-content: center;
	align-items: center;
}

.donate a {
	background-color: var(--primary-color);
	color: var(--white-color);
	padding: 12px 24px;
	border-radius: var(--border-radius);
	text-decoration: none;
	font-weight: 500;
	transition: var(--transition);
	display: inline-block;
}

.donate a:hover {
	background-color: var(--black-color);
	transform: translateY(-2px);
}

/* Square Layout (Utility) */
.square {
	display: flex;
	width: 100vw;
	height: 100vh;
	justify-content: center;
	align-items: center;
}

.square > h1 {
	font-size: clamp(2rem, 10vw, 6rem);
	letter-spacing: 3px;
}

.square > h1 > span {
	white-space: pre;
}

/* Media Queries */
@media (max-width: 768px) {
	/* Header Mobile */
	header > div {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: repeat(2, 1fr);
		align-items: center;
		gap: 18px 4px;
		font-size: 1.2rem;
		padding-bottom: 2rem;
	}

	header > div > .cta {
		display: none;
	}

	/* Typography Mobile */
	header > subtitle {
		font-size: 1rem;
		font-weight: 300;
		gap: 12px;
	}

	/* Layout Mobile */
	.slant {
		height: 100px;
		clip-path: polygon(0 0, 100% 0, 100% 100%, 0 40%);
	}

	main > p {
		font-size: 1.4rem;
		padding: 0 1rem 3rem 1rem;
	}
}

@media (min-width: 768px) {
	.two-column {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 40px;
	}
}


/* Form Styles */
.form-container {
	margin: 1rem auto;
	padding: 1rem;
	background-color: var(--white-color);
	border-radius: var(--border-radius);
	text-align: left;
}

.form-section {
	margin-bottom: 3rem;
}

.form-section:last-child {
	margin-bottom: 0;
}

.section-title {
	color: var(--primary-color);
	font-size: 1.3rem;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--primary-color);
}

.form-row {
	display: flex;
	gap: 1rem;
	margin-bottom: 1rem;
}

.form-group {
	flex: 1;
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
	color: var(--black-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 0.75rem;
	border: 2px solid #e0e0e0;
	border-radius: var(--border-radius);
	font-size: 1rem;
	font-family: inherit;
	transition: var(--transition);
	background-color: var(--white-color);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(242, 100, 25, 0.1);
}

.form-group textarea {
	resize: vertical;
	min-height: 100px;
}

/* Checkbox Styles */
.checkbox-group {
	margin-bottom: 1rem;
}

.checkbox-group label {
	display: flex;
	align-items: flex-start;
	cursor: pointer;
	position: relative;
	padding-left: 2rem;
	line-height: 1.4;
}

.checkbox-group input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

.checkmark {
	position: absolute;
	left: 0;
	top: 0.1rem;
	height: 1.2rem;
	width: 1.2rem;
	background-color: var(--white-color);
	border: 2px solid #e0e0e0;
	border-radius: 3px;
	transition: var(--transition);
}

.checkbox-group input[type="checkbox"]:checked ~ .checkmark {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

.checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

.checkbox-group input[type="checkbox"]:checked ~ .checkmark:after {
	display: block;
}

.checkbox-group .checkmark:after {
	left: 0.35rem;
	top: 0.15rem;
	width: 0.25rem;
	height: 0.5rem;
	border: solid var(--white-color);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

/* Checkbox Grid for Interests */
.checkbox-grid {
	display: grid;
	grid-template: auto/ 1fr 1fr 1fr;
	gap: 0.5rem;
	margin-top: 0.75rem;
}

.checkbox-grid label {
	display: flex;
	align-items: center;
	cursor: pointer;
	padding: 0.5rem;
	border-radius: var(--border-radius);
	transition: var(--transition);
	background-color: #fff;
}

.checkbox-grid label:hover {
	background-color: #f0f0f0;
}

.checkbox-grid input[type="checkbox"] {
	margin-right: 0.5rem;
	width: 1rem;
	height: 1rem;
	accent-color: var(--primary-color);
}

/* Form Submit Button */
.form-section button[type="submit"] {
	padding: 1rem 2rem;
	font-size: 1.2rem;
	border: none;
	cursor: pointer;
	border-radius: var(--border-radius);
	transition: var(--transition);
	margin: 2rem auto 0 auto;
	display: block;
	min-width: 200px;
}

.form-section button[type="submit"]:hover {
	background-color: var(--primary-color) !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Conditional Sections */
.conditional-section {
	border-left: 4px solid var(--primary-color);
	padding-left: 1.5rem;
	margin-left: 1rem;
	background-color: #fff;
	border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Required Field Indicator */
.form-group label:after {
	content: " *";
	color: var(--primary-color);
	font-weight: bold;
}

.form-group:not(:has(input[required])) label:after,
.form-group:not(:has(select[required])) label:after,
.form-group:not(:has(textarea[required])) label:after {
	content: "";
}

/* Mobile Responsive */
@media (max-width: 768px) {
	.form-container {
		margin: 1rem;
		padding: 1.5rem;
	}
	
	.form-row {
		flex-direction: column;
		gap: 0;
	}
	
	.section-title {
		font-size: 1.5rem;
	}
	
	.checkbox-grid {
		grid-template-columns: 1fr;
	}
	
	.form-section button[type="submit"] {
		width: 100%;
		margin: 1.5rem 0 0 0;
	}
}


/* Select Dropdown Styling */
.form-group select {
	appearance: none;
	background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'><path fill='%23666' d='m2 0-2 2h4zm0 5 2-2h-4z'/></svg>");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	background-size: 1rem;
	padding-right: 2.5rem;
}
