/* General Styles */
:root {
	--primary-color: #4a90e2; /* A vibrant blue */
	--secondary-color: #7ed321; /* A bright green for contrast if needed */
	--accent-color: #f5a623; /* An orange for CTAs or highlights */
	--background-color: #1c1c1e; /* Dark grey, almost black */
	--surface-color: #2c2c2e; /* Slightly lighter grey for cards, modals */
	--text-color: #f0f0f5; /* Light grey for text */
	--text-muted-color: #a0a0a5; /* Muted grey for less important text */
	--border-color: #38383a;
	--font-main: 'Inter', 'Arial', sans-serif; /* Modern sans-serif */
	--header-height: 72px; /* Approximate header height for calculations */
}

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

html {
	scroll-behavior: smooth;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Global Styles */
body {
	background-color: var(--background-color);
	color: var(--text-color);
	font-family: var(--font-main);
	margin: 0;
	padding: 0;
	line-height: 1.7;
	font-size: 16px;
}

.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

h1,
h2,
h3,
h4 {
	color: var(--primary-color);
	font-weight: 600;
	margin-top: 0;
}
h1 {
	font-size: 2.8rem;
	margin-bottom: 0.8rem;
	line-height: 1.2;
}
h2 {
	font-size: 2.2rem;
	margin-bottom: 1.5rem;
	text-align: center;
}
h3 {
	font-size: 1.6rem;
	margin-bottom: 0.5rem;
	color: var(--text-color);
}
p {
	margin-bottom: 1rem;
}
a {
	color: var(--primary-color);
	text-decoration: none;
}
a:hover {
	color: var(--accent-color);
	text-decoration: underline;
}

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

/* Header */
header {
	background-color: rgba(30, 30, 32, 0.85); /* Slightly transparent */
	padding: 1rem 0;
	position: sticky;
	top: 0;
	z-index: 1000;
	border-bottom: 1px solid var(--border-color);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo-link {
	text-decoration: none;
	z-index: 1002; /* Ensure logo is above mobile nav when it's open */
}

.logo-img {
	height: 40px; /* Adjust as needed */
	width: auto;
}

.main-nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
}

.main-nav ul li {
	margin-left: 25px;
}

.main-nav ul li a {
	color: var(--text-color);
	font-weight: 500;
	font-size: 1rem;
	transition: color 0.3s ease;
}

.main-nav ul li a:hover {
	color: var(--primary-color);
	text-decoration: none;
}

/* Nav Toggle (Hamburger) */
.nav-toggle {
	display: none; /* Hidden on desktop by default */
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0.5rem; /* Add some padding for easier clicking */
	z-index: 1002; /* Ensure toggle is above mobile nav */
}

.hamburger-line {
	display: block;
	width: 25px;
	height: 3px;
	background-color: var(--text-color);
	margin: 5px auto;
	transition: all 0.3s ease-in-out;
	border-radius: 3px;
}

/* Sections */
section {
	padding: 80px 0;
	border-bottom: 1px solid var(--border-color);
	opacity: 0;
	transform: scale(0.95) translateY(20px);
	transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

section:last-of-type {
	border-bottom: none;
}

section.is-visible {
	opacity: 1;
	transform: scale(1) translateY(0);
}

.section-intro {
	font-size: 1.1rem;
	color: var(--text-muted-color);
	max-width: 800px;
	margin: 0 auto 2.5rem auto;
	text-align: center;
}

/* Hero Section */
#hero {
	padding-top: 60px; /* Extra padding due to sticky header */
	padding-bottom: 60px;
	min-height: 70vh;
	display: flex;
	align-items: center;
	text-align: left;
}

#hero .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}

.hero-content {
	flex: 1;
	max-width: 55%;
}
.hero-content h1 {
	color: var(--text-color);
	font-weight: 700;
}

.hero-content p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	color: var(--text-muted-color);
}

.hero-image-container {
	flex: 1;
	max-width: 40%;
	display: flex;
	justify-content: center;
	align-items: center;
}
.hero-main-image {
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 12px 28px;
	border-radius: 6px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.3s ease, transform 0.2s ease;
	border: none;
	cursor: pointer;
	font-size: 1rem;
}

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

.btn-primary:hover {
	background-color: #3a7cc2; /* Darken primary */
	color: #fff;
	transform: translateY(-2px);
	text-decoration: none;
}

.btn-secondary {
	background-color: var(--surface-color);
	color: var(--text-color);
	border: 1px solid var(--border-color);
}

.btn-secondary:hover {
	background-color: var(--border-color);
	color: var(--text-color);
	transform: translateY(-2px);
	text-decoration: none;
}

.cta-buttons {
	display: flex;
	gap: 15px;
	margin-top: 2rem;
}

/* Programs Section (Cards) */
#programs h2 {
	margin-bottom: 1rem; /* Emoji in h2 might need spacing adjustment */
}

.cards-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin-top: 3rem;
}

.card {
	background-color: var(--surface-color);
	padding: 25px;
	border-radius: 8px;
	border: 1px solid var(--border-color);
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.card img {
	height: auto; /* Adjust as needed for icons */
	width: 100%;
	margin: 0 auto 1.5rem auto;
	filter: drop-shadow(0 0 5px var(--primary-color));
}

.card h3 {
	margin-bottom: 1rem;
	color: var(--primary-color);
}

.card p {
	font-size: 0.95rem;
	color: var(--text-muted-color);
}

/* Why excepturi-corrupti.com Section */
#why-czcom .container {
	display: flex;
	align-items: center;
	gap: 40px;
}
.why-czcom-content {
	flex: 1.2; /* More space for text */
}
.why-czcom-image-container {
	flex: 0.8; /* Less space for image */
	text-align: center;
}
.why-czcom-image-container img {
	border-radius: 10px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

#why-czcom h2 {
	text-align: left;
	margin-bottom: 1rem;
}
#why-czcom .section-intro {
	text-align: left;
	margin-left: 0;
	margin-right: 0;
	max-width: none;
}

#why-czcom ul {
	list-style: none;
	padding: 0;
}

#why-czcom ul li {
	margin-bottom: 1.2rem;
	padding-left: 30px;
	position: relative;
	font-size: 1.05rem;
}

#why-czcom ul li::before {
	content: '✔'; /* Checkmark or other icon */
	color: var(--primary-color);
	position: absolute;
	left: 0;
	font-size: 1.2em;
	font-weight: bold;
}
#why-czcom ul li strong {
	color: var(--text-color);
	display: block;
	margin-bottom: 0.2rem;
}

/* Our Story Section */
#our-story .container {
	display: flex;
	align-items: flex-start; /* Align items to the top */
	gap: 40px;
}
.story-content {
	flex: 1.5; /* More space for text */
}
.story-content h2 {
	text-align: left;
}
.story-content p {
	font-size: 1.1rem;
	color: var(--text-muted-color);
	margin-bottom: 1.5rem;
}
.story-image-container {
	flex: 1;
	margin-top: 1rem; /* Small top margin for visual balance */
}
.story-image-container img {
	border-radius: 10px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* FAQ Section */
#faq h2 {
	margin-bottom: 1rem;
}
.faq-container {
	max-width: 800px;
	margin: 2rem auto 0 auto;
}
.faq-item {
	background-color: var(--surface-color);
	border: 1px solid var(--border-color);
	border-radius: 6px;
	margin-bottom: 15px;
	transition: background-color 0.3s ease;
}
.faq-item summary {
	padding: 18px 25px;
	font-weight: 600;
	font-size: 1.1rem;
	cursor: pointer;
	outline: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: var(--text-color);
}
.faq-item summary::after {
	content: '+';
	font-size: 1.5em;
	color: var(--primary-color);
	transition: transform 0.3s ease;
}
.faq-item[open] summary::after {
	transform: rotate(45deg);
}
.faq-item p {
	padding: 0 25px 20px 25px;
	margin: 0;
	font-size: 1rem;
	color: var(--text-muted-color);
	line-height: 1.8;
}
.faq-item[open] {
	background-color: #333335; /* Slightly different when open */
}
.faq-image-container {
	margin-top: 3rem;
	text-align: center;
}
.faq-image-container img {
	border-radius: 10px;
	max-width: 700px; /* Control size of this image */
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Contact Section */
.contact-layout {
	display: flex;
	gap: 40px;
	margin-top: 3rem;
}
.contact-form-container {
	flex: 1.2;
	background-color: var(--surface-color);
	padding: 30px;
	border-radius: 8px;
	border: 1px solid var(--border-color);
}
.contact-details-container {
	flex: 0.8;
}
.contact-details-container h3 {
	color: var(--primary-color);
	margin-bottom: 1.5rem;
}
.contact-details-container p {
	margin-bottom: 1rem;
	font-size: 1.05rem;
	line-height: 1.6;
}
.contact-details-container p strong {
	color: var(--text-color);
}
.contact-details-container a {
	color: var(--primary-color);
}
.contact-details-container a:hover {
	color: var(--accent-color);
}

.form-group {
	margin-bottom: 20px;
}
.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	color: var(--text-muted-color);
}
.form-group input[type='text'],
.form-group input[type='email'],
.form-group textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid var(--border-color);
	border-radius: 5px;
	background-color: var(--background-color); /* Match page BG */
	color: var(--text-color);
	font-size: 1rem;
	box-sizing: border-box; /* Important for width 100% */
}
.form-group input[type='text']:focus,
.form-group input[type='email']:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.3); /* Primary color glow */
}
.form-group textarea {
	resize: vertical;
	min-height: 120px;
}
.form-group-checkbox {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
}

.form-group-checkbox input[type='checkbox'] {
	width: auto;
	margin: 0;
	accent-color: var(--primary-color);
	height: 1.1em;
	width: 1.1em;
	flex-shrink: 0;
}

.form-group-checkbox label {
	margin-bottom: 0;
	font-weight: normal;
	color: var(--text-muted-color);
	font-size: 0.9rem;
	line-height: 1.4;
	cursor: pointer;
}

.form-status-message {
	margin-top: 15px;
	font-weight: 500;
}
.contact-image-wrapper {
	margin-top: 2rem;
}
.contact-section-image {
	border-radius: 8px;
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
	background-color: var(--surface-color); /* Slightly different from page BG */
	color: var(--text-muted-color);
	padding: 50px 0 30px 0;
	border-top: 1px solid var(--border-color);
}

.footer-columns {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 30px;
	margin-bottom: 30px;
}

.footer-col h4 {
	color: var(--text-color);
	margin-bottom: 1.5rem;
	font-size: 1.2rem;
}

.footer-col p {
	font-size: 0.95rem;
	line-height: 1.6;
}
.footer-col .footer-logo-img {
	height: 30px;
	width: auto;
	margin-top: 1rem;
	opacity: 0.7;
}

.footer-col ul {
	list-style: none;
	padding: 0;
}

.footer-col ul li {
	margin-bottom: 0.8rem;
}

.footer-col ul li a {
	color: var(--text-muted-color);
	font-size: 0.95rem;
}

.footer-col ul li a:hover {
	color: var(--primary-color);
	text-decoration: none;
}

.footer-bottom {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid var(--border-color);
	font-size: 0.9rem;
}

/* Cookie Consent Modal */
.cookie-modal {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: var(--surface-color);
	padding: 20px;
	box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
	z-index: 2000;
	border-top: 1px solid var(--border-color);
	display: none; /* Hidden by default */
}

.cookie-modal.visible {
	display: block;
}

.cookie-modal-content {
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

.cookie-modal-content p {
	margin: 0;
	font-size: 0.95rem;
	flex-grow: 1;
	color: var(--text-muted-color);
}
.cookie-modal-content p a {
	color: var(--primary-color);
	font-weight: 500;
}

.cookie-buttons {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}

/* Legal Pages Specific Styles */
.legal-page-container {
	padding: 40px 0; /* Top/bottom padding */
}
.legal-page-container .container {
	background-color: var(--surface-color);
	padding: 30px 40px;
	border-radius: 8px;
	border: 1px solid var(--border-color);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.legal-page-container h1 {
	color: var(--primary-color);
	margin-bottom: 2rem;
	text-align: center;
	font-size: 1.5rem;
}

.legal-page-container h2 {
	color: var(--text-color);
	font-size: 1.5rem;
	margin-top: 2.5rem;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--border-color);
	text-align: left;
}

.legal-page-container p,
.legal-page-container li {
	font-size: 1rem;
	line-height: 1.8;
	color: var(--text-muted-color);
}

.legal-page-container ul,
.legal-page-container ol {
	margin-bottom: 1.5rem;
	padding-left: 25px;
}
.legal-page-container strong {
	color: var(--text-color);
}
.legal-page-container .last-updated {
	font-style: italic;
	color: var(--text-muted-color);
	margin-bottom: 2rem;
	display: block;
	text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
	.container {
		width: 95%;
	}
	h1 {
		font-size: 2.4rem;
	}
	h2 {
		font-size: 2rem;
	}

	#hero .container,
	#why-czcom .container,
	#our-story .container {
		flex-direction: column;
		text-align: center;
	}
	#hero .hero-content,
	#hero .hero-image-container,
	#why-czcom .why-czcom-content,
	#why-czcom .why-czcom-image-container,
	#our-story .story-content,
	#our-story .story-image-container {
		max-width: 100%;
		text-align: center;
	}
	#hero .hero-content {
		order: 2;
	}
	#hero .hero-image-container {
		order: 1;
		margin-bottom: 2rem;
	}

	#why-czcom h2,
	#our-story .story-content h2 {
		text-align: center;
	}
	#why-czcom .section-intro,
	#our-story .story-content .section-intro {
		text-align: center;
	}
	#why-czcom ul li {
		padding-left: 0;
		text-align: left;
	} /* Adjust list for centered parent */
	#why-czcom ul li::before {
		display: none;
	} /* Hide custom bullet or adjust */
	.why-czcom-image-container,
	.story-image-container {
		margin-top: 2rem;
	}

	.contact-layout {
		flex-direction: column;
	}
	.contact-form-container {
		margin-bottom: 30px;
	}
}

@media (max-width: 768px) {
	body {
		font-size: 15px;
	}
	h1 {
		font-size: 2rem;
	}
	h2 {
		font-size: 1.8rem;
	}
	h3 {
		font-size: 1.4rem;
	}

	header .container {
		/* Ensure it remains row for logo and hamburger alignment */
		flex-direction: row;
		/* justify-content: space-between; is default from base style */
		/* gap: 0; Remove column gap if it was set */
	}

	/* Mobile Navigation Styles */
	.main-nav {
		position: fixed;
		top: 0;
		left: 0; /* Attach to the left edge of viewport */
		width: 100vw; /* Full viewport width */
		height: 100vh;
		background-color: var(--surface-color);
		box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
		transition: transform 0.3s ease-in-out;
		z-index: 1001; /* Below toggle, above content */
		padding-top: 5rem; /* Space for header or close button */
		transform: translateY(-100%); /* Initially off-screen to the top */
	}

	.main-nav.nav-open {
		transform: translateY(0); /* Slide in from top */
	}

	.main-nav ul {
		/* Overrides desktop flex row */
		flex-direction: column;
		align-items: flex-start; /* Align text to left */
		padding: 1rem 2rem; /* Padding inside the mobile menu */
	}

	.main-nav ul li {
		margin: 0; /* Reset desktop margin */
		width: 100%; /* Make list items take full width */
	}
	.main-nav ul li a {
		display: block; /* Make links take full width of li */
		padding: 1rem 0; /* Add padding for better tap targets */
		font-size: 1.1rem; /* Slightly larger font for mobile menu */
		border-bottom: 1px solid var(--border-color); /* Separator */
	}
	.main-nav ul li:last-child a {
		border-bottom: none;
	}

	/* Hamburger toggle button */
	.nav-toggle {
		display: block; /* Show on mobile */
	}

	/* Hamburger animation when active */
	.nav-toggle.active .hamburger-line:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}
	.nav-toggle.active .hamburger-line:nth-child(2) {
		opacity: 0;
	}
	.nav-toggle.active .hamburger-line:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}

	.cta-buttons {
		flex-direction: column;
		align-items: center;
	}
	.cta-buttons .btn {
		width: 80%;
		max-width: 300px;
		text-align: center;
	}

	.cards-container {
		grid-template-columns: 1fr; /* Stack cards on smaller screens */
	}

	.footer-columns {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.footer-col h4 {
		margin-top: 20px;
	}
	.footer-col:first-child h4 {
		margin-top: 0;
	}
	.footer-col .footer-logo-img {
		margin-left: auto;
		margin-right: auto;
	}

	.cookie-modal-content {
		gap: 0;
		flex-direction: column;
		text-align: center;
	}
	.cookie-buttons {
		margin-top: 15px;
		width: 100%;
		justify-content: center;
	}
	.cookie-buttons .btn {
		flex-grow: 1;
	}
	.legal-page-container .container {
		padding: 20px;
	}
}

@media (min-width: 769px) {
	.main-nav {
		position: static; /* Override fixed positioning */
		transform: none; /* Explicitly remove transform for desktop */
		width: auto;
		height: auto;
		background-color: transparent;
		box-shadow: none;
		padding-top: 0;
	}
	.main-nav ul {
		flex-direction: row; /* Restore desktop layout */
		padding: 0; /* Reset mobile padding */
		align-items: center; /* Original alignment */
	}
	.main-nav ul li {
		margin: 0 0 0 25px; /* Restore desktop layout: LTR margin */
		width: auto; /* Restore mobile width */
	}
	.main-nav ul li a {
		display: inline; /* Original display */
		padding: 0; /* Reset mobile padding */
		font-size: 1rem; /* Original font size */
		border-bottom: none; /* Remove mobile separator */
	}
	.nav-toggle {
		display: none; /* Hide hamburger on desktop */
	}
}

@media (max-width: 480px) {
	section {
		padding: 60px 0;
	}
	h1 {
		font-size: 1.8rem;
	}
	h2 {
		font-size: 1.6rem;
	}

	#hero .hero-content p {
		font-size: 1rem;
	}

	.btn {
		padding: 10px 20px;
		font-size: 0.9rem;
	}

	.cookie-modal {
		padding: 15px;
	}
	.cookie-modal-content p {
		font-size: 0.9rem;
	}
}
