:root {
	--primary: #2f6b39;
	--primary-soft: #e7f3eb;
	--accent: #bde28a;
	--text: #1f2a1f;
	--muted: #5f6b5f;
	--surface: #ffffff;
	--surface-alt: #f5f7f4;
	--border: #d8e2d7;
	--shadow: 0 12px 28px rgba(17, 36, 23, 0.08);
	--radius: 12px;
	--radius-sm: 8px;
	--spacing: clamp(18px, 3vw, 28px);
	--font-base: 'Poppins', system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	height: 100%;
}

body {
	min-height: 100%;
	display: flex;
	flex-direction: column;
	margin: 0;
	font-family: var(--font-base);
	color: var(--text);
	background-color: var(--surface);
	letter-spacing: 0;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

.text {
	font-size: 14px;
	color: var(--muted);
}

.text-gray {
	color: var(--muted);
	font-size: 14px;
}

.section {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 24px;
}

.card {
	border-radius: var(--radius);
	background: var(--surface);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 16px;
	border-radius: var(--radius-sm);
	border: 1px solid transparent;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
	background: var(--primary);
	color: #fff;
	box-shadow: var(--shadow);
}

.btn-primary:hover {
	filter: brightness(0.92);
}

.btn-secondary {
	background: var(--primary-soft);
	color: var(--primary);
	border-color: var(--border);
}

.pill {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--primary-soft);
	color: var(--primary);
	font-weight: 600;
	font-size: 12px;
}

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

.layout-shell {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header / nav */
.site-topbar {
	position: sticky;
	top: 0;
	z-index: 10;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--border);
}

.site-topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 20px;
	max-width: 1180px;
	margin: 0 auto;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	color: var(--primary);
}

.topbar-mobile-row {
	display: contents;
}

.nav {
	display: flex;
	align-items: center;
	gap: 16px;
}

.nav a {
	font-weight: 600;
	color: var(--primary);
	padding: 10px 12px;
	border-radius: 8px;
}

.nav a.active,
.nav a:hover {
	background: var(--primary-soft);
}

.nav-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.nav-toggle {
	display: none;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: #fff;
	color: var(--primary);
	cursor: pointer;
}

.nav-toggle-line {
	display: block;
	width: 18px;
	height: 2px;
	margin: 4px auto;
	background: currentColor;
	border-radius: 999px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.lang-switch {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	padding: 10px 12px;
	border: 1px solid var(--border);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	color: var(--primary);
	background: #fff;
}

.lang-switch:hover {
	background: var(--primary-soft);
}

/* Page hero */
.page-hero {
	position: relative;
	min-height: fit-content;
	padding: clamp(56px, 9vw, 90px) 0 clamp(38px, 6vw, 64px);
	background: linear-gradient(135deg, #f7fbf5, #eef4ed);
	overflow: hidden;
	display: flex;
	align-items: center;
}

.page-hero .layout-shell {
	display: grid;
	gap: 16px;
}

.page-hero h1 {
	margin: 0;
	font-size: clamp(32px, 4vw, 44px);
	color: var(--primary);
}

.page-hero p {
	max-width: 640px;
	color: var(--muted);
}

.page-hero .hero-img-bg {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 80% 20%, rgba(189, 226, 138, 0.35), transparent 60%), linear-gradient(120deg, rgba(47, 107, 57, 0.06), transparent 45%);
	pointer-events: none;
}

/* Hero imagery: keep full PNG visible */
.hero-visual img,
.hero-img {
	width: 100%;
	max-width: 520px;
	max-height: 420px;
	object-fit: contain;


	display: block;
}

/* Footer */
.footer {
	margin-top: auto;
	background: var(--surface-alt);
	border-top: 1px solid var(--border);
	padding: 36px 0 28px;
}

.footer .layout-shell {
	display: grid;
	gap: 20px;
}

.footer-top {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	justify-content: space-between;
}

.footer-brand {
	max-width: 320px;
}

.footer-subtitle {
	margin: 0 0 8px;
	color: var(--primary);
	font-size: 22px;
}

.footer-text-400-university {
	color: var(--muted);
	margin: 0;
	line-height: 1.6;
}

.footer-links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 16px;
}

.footer-links h4 {
	margin: 0 0 6px;
	color: var(--text);
	font-size: 15px;
}

.footer-links a {
	color: var(--muted);
	display: block;
	padding: 4px 0;
}

.footer-bottom {
	border-top: 1px solid var(--border);
	padding-top: 14px;
	color: var(--muted);
	font-size: 14px;
}

@media (max-width: 640px) {
	.site-topbar-inner {
		flex-direction: column;
		align-items: stretch;
	}

	.topbar-mobile-row {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
	}

	.nav-actions {
		width: 100%;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		padding-top: 8px;
	}

	.nav-actions.is-open {
		display: flex;
	}

	.nav {
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
	}

	.nav a {
		width: 100%;
	}

	.lang-switch {
		align-self: flex-start;
	}

	.nav-toggle {
		display: inline-flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
		transform: translateY(6px) rotate(45deg);
	}

	.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
		opacity: 0;
	}

	.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
		transform: translateY(-6px) rotate(-45deg);
	}

	.page-hero {
		padding: 40px 0 32px;
		min-height: 80vh;
	}
}
