.hero {
	width: 100%;
	background: #2F6F4E8C;
	display: flex;
	justify-content: center;
	height: 45vh;
}

.carousel {
	position: relative;
	width: 100%;
	max-width: 1200px;
	height: 45vh;
	margin: 0 auto;	
}

.carousel input {
	display: none;
}

.slides {
	position: relative;
	height: 100%;
}

.slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 1s ease-in-out;
	z-index: 1;	
}

.slide.active {
	opacity: 1;
	z-index: 2;
}

.slide-1 { background-image: url('/images/hero/slide1.jpg'); }
.slide-2 { background-image: url('/images/hero/slide2.jpg'); }
.slide-3 { background-image: url('/images/hero/slide3.jpg'); }
.slide-4 { background-image: url('/images/hero/slide4.jpg'); }

.overlay {
	position: absolute;
	inset: 0;
	background: #2F6F4E8C;
	color: #ffffff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 4rem;
	pointer-events: none;
}

.overlay h1 {
	font-size: 2.8rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.overlay p {
	font-size: 1.1rem;
	line-height: 1.6;
	color: #FFFFFF;
}

nav-dots {
	position: absolute;
	bottom: 2rem;
	left: 4rem;
	display: flex;
	gap: 0.75rem;
	z-index: 10;
}

.nav-dots label {
	width: 12px;
	height: 12px;
	background: #FFFFFF99;
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.3s;
}

#slide-1:checked ~ .nav-dots label[for="slide-1"], #slide-2:checked ~ .nav-dots label[for="slide-2"], #slide-3:checked ~ .nav-dots label[for="slide-3"], #slide-4:checked ~ .nav-dots label[for="slide-4"] {
	background: #ffffff;
}

@media (max-width: 768px) {
.overlay {
	padding: 2rem;
}

.overlay h1 {
	font-size: 2rem;
}
}