:root {
	--navy: #07074d;
	--navy-soft: #161b73;
	--green: #17ff00;
	--white: #ffffff;
	--text: #11184f;
	--muted: #5f6796;
	--card: rgba(255, 255, 255, 0.96);
	--card-strong: #f6f8ff;
	--border: rgba(7, 7, 77, 0.1);
	--shadow: 0 24px 60px rgba(7, 7, 77, 0.12);
	--radius-xl: 28px;
	--radius-lg: 22px;
	--radius-md: 18px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: 'Montserrat', sans-serif;
	color: var(--text);
	background:
		radial-gradient(circle at top left, rgba(23, 255, 0, 0.1), transparent 22%),
		linear-gradient(180deg, #f9fbff 0%, #eef2ff 100%);
	min-height: 100vh;
}

body::before {
	content: '';
	position: fixed;
	inset: 0;
	background-image:
		linear-gradient(rgba(7, 7, 77, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(7, 7, 77, 0.04) 1px, transparent 1px);
	background-size: 42px 42px;
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 75%);
	pointer-events: none;
}

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

.page {
	width: min(1120px, calc(100% - 32px));
	margin: 0 auto;
	padding: 24px 0 48px;
	position: relative;
	z-index: 1;
}

.hero {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 24px;
	align-items: stretch;
}

.panel {
	background: var(--card);
	border: 1px solid var(--border);
	backdrop-filter: blur(18px);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow);
}

.hero-main {
	padding: 32px;
	position: relative;
	overflow: hidden;
	background: linear-gradient(145deg, #07074d 0%, #111164 100%);
	border-color: rgba(7, 7, 77, 0.18);
}

.hero-main::after {
	content: '';
	position: absolute;
	inset: auto -120px -120px auto;
	width: 280px;
	height: 280px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(23, 255, 0, 0.24), transparent 62%);
	pointer-events: none;
}

.hero-main .lead,
.hero-main .badge,
.hero-main h1 {
	color: #f4f6ff;
}

.hero-main .badge {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.1);
}

.logo-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 18px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.logo-wrap img {
	width: min(100%, 360px);
	height: auto;
	display: block;
}

.badge-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 24px 0 18px;
}

.badge {
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(7, 7, 77, 0.05);
	border: 1px solid rgba(7, 7, 77, 0.08);
	color: var(--muted);
	font-size: 0.84rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

h1 {
	font-size: clamp(2rem, 4vw, 3.6rem);
	line-height: 0.98;
	margin: 0 0 14px;
	max-width: 11ch;
}

.accent {
	color: var(--green);
}

.lead {
	margin: 0;
	max-width: 62ch;
	color: var(--muted);
	font-size: 1rem;
	line-height: 1.7;
}

.cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 26px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 20px;
	border-radius: 16px;
	border: 1px solid transparent;
	font-weight: 700;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
	transform: translateY(-2px);
}

.button-primary {
	background: linear-gradient(135deg, var(--green), #8cff77);
	color: #041327;
	box-shadow: 0 18px 30px rgba(28, 255, 0, 0.22);
}

.button-secondary {
	background: linear-gradient(135deg, var(--green), #8cff77);
	color: #041327;
	box-shadow: 0 18px 30px rgba(28, 255, 0, 0.22);
}

.hero-main .button-secondary {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.4);
	color: var(--white);
}

.hero-side {
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	justify-content: space-between;
}

.info-card {
	padding: 20px;
	border-radius: var(--radius-lg);
	background: #f8faff;
	border: 1px solid rgba(7, 7, 77, 0.08);
}

.eyebrow {
	margin: 0 0 8px;
	color: var(--green);
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 0.75rem;
	font-weight: 800;
}

.info-card h2,
.info-card h3 {
	margin: 0 0 10px;
}

.info-card p {
	margin: 0;
	color: var(--muted);
	line-height: 1.65;
}

.stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.stat {
	padding: 16px;
	border-radius: 18px;
	background: #f8faff;
	border: 1px solid rgba(7, 7, 77, 0.08);
}

.stat strong {
	display: block;
	font-size: 1.25rem;
	margin-bottom: 6px;
}

.stat span {
	color: var(--muted);
	font-size: 0.82rem;
	line-height: 1.4;
}

.section-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-top: 24px;
}

.section {
	padding: 28px;
}

.section h2 {
	margin: 0 0 10px;
	font-size: 1.5rem;
}

.section-copy {
	margin: 0 0 22px;
	color: var(--muted);
	line-height: 1.7;
}

.action-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

.action-tile {
	padding: 18px;
	border-radius: 20px;
	background: #f8faff;
	border: 1px solid rgba(7, 7, 77, 0.1);
	transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.action-tile:hover {
	transform: translateY(-3px);
	border-color: rgba(28, 255, 0, 0.35);
	background: #ffffff;
}

.action-tile strong,
.contact-item strong {
	display: block;
	margin-bottom: 8px;
	font-size: 1rem;
}

.action-tile span,
.contact-item span {
	color: var(--muted);
	font-size: 0.92rem;
	line-height: 1.6;
}

.contact-list {
	display: grid;
	gap: 14px;
}

.contact-item {
	padding: 18px;
	border-radius: 20px;
	background: #f8faff;
	border: 1px solid rgba(7, 7, 77, 0.08);
}

.map-wrap {
	margin-top: 18px;
	border-radius: 24px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.1);
	min-height: 320px;
	background: var(--card-strong);
}

.map-wrap iframe {
	width: 100%;
	height: 320px;
	border: 0;
	display: block;
}

.courses-section {
	margin-top: 24px;
}

.courses-accordion {
	border: 1px solid rgba(7, 7, 77, 0.12);
	border-radius: 18px;
	background: #f8faff;
	overflow: hidden;
}

.courses-accordion summary {
	list-style: none;
	cursor: pointer;
	padding: 18px 20px;
	font-weight: 700;
	color: var(--navy);
	background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
	border-bottom: 1px solid transparent;
	transition: background 0.2s ease;
}

.courses-accordion summary::-webkit-details-marker {
	display: none;
}

.courses-accordion summary::after {
	content: '+';
	float: right;
	font-size: 1.2rem;
	line-height: 1;
	color: var(--navy-soft);
}

.courses-accordion[open] summary {
	background: #ffffff;
	border-bottom-color: rgba(7, 7, 77, 0.12);
}

.courses-accordion[open] summary::after {
	content: '-';
}

.course-list {
	margin: 0;
	padding: 8px 12px 12px;
	list-style: none;
	display: grid;
	gap: 8px;
	max-height: 420px;
	overflow: auto;
}

.course-item {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border-radius: 12px;
	background: #ffffff;
	border: 1px solid rgba(7, 7, 77, 0.08);
	font-size: 0.9rem;
	line-height: 1.4;
}

.course-item span {
	color: var(--text);
}

.course-item strong {
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(23, 255, 0, 0.15);
	color: #0c5a00;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.footer {
	margin-top: 24px;
	padding: 18px 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: var(--muted);
	font-size: 0.9rem;
}

.footer strong {
	color: var(--navy);
}

.icon {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
}

/* Carousel Styles */
.carousel-section {
	padding: 28px;
	margin-top: 24px;
}

.carousel-section h2 {
	margin: 0 0 10px;
	font-size: 1.5rem;
}

.carousel-container {
	position: relative;
	width: 100%;
	margin-top: 20px;
}

.carousel-wrapper {
	position: relative;
	overflow: hidden;
	border-radius: 24px;
	background: linear-gradient(135deg, #f8faff 0%, #f0f5ff 100%);
}

.carousel-track {
	display: flex;
	transition: transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
	will-change: transform;
}

.carousel-slide {
	min-width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	position: relative;
}

.carousel-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.carousel-slide:hover img {
	transform: scale(1.03);
}

.carousel-button {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(7, 7, 77, 0.7);
	border: none;
	color: white;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	z-index: 10;
	padding: 0;
}

.carousel-button:hover {
	background: rgba(7, 7, 77, 0.95);
	transform: translateY(-50%) scale(1.1);
}

.carousel-button svg {
	width: 24px;
	height: 24px;
}

.carousel-prev {
	left: 16px;
}

.carousel-next {
	right: 16px;
}

.carousel-dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	padding: 20px;
	flex-wrap: wrap;
}

.dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid var(--green);
	background: transparent;
	cursor: pointer;
	transition: all 0.3s ease;
	padding: 0;
}

.dot.active {
	background: var(--green);
	box-shadow: 0 0 12px rgba(23, 255, 0, 0.5);
	transform: scale(1.2);
}

.dot:hover {
	transform: scale(1.3);
}

@media (max-width: 960px) {
	.hero,
	.section-grid {
		grid-template-columns: 1fr;
	}

	.stats,
	.action-grid {
		grid-template-columns: 1fr;
	}

	.carousel-button {
		width: 40px;
		height: 40px;
	}

	.carousel-button svg {
		width: 20px;
		height: 20px;
	}

	.course-item {
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"title title"
			"hours hours";
	}

	.course-item span {
		grid-area: title;
	}

	.course-item strong {
		grid-area: hours;
		justify-self: end;
	}
}

@media (max-width: 640px) {
	.page {
		width: min(100% - 20px, 1120px);
		padding-top: 10px;
		padding-bottom: 22px;
	}

	.hero-main,
	.hero-side,
	.section {
		padding: 22px;
	}

	h1 {
		max-width: none;
	}

	.cta-row,
	.footer {
		flex-direction: column;
		align-items: stretch;
	}

	.button {
		width: 100%;
	}

	.logo-wrap {
		width: 100%;
	}
}
