/* Global General Styles */
body {
	margin: 0;
	font-family: 'DM Sans', sans-serif;
	background-color: #f4f5ff;
}

a:hover {
	color: #673de6;
	text-decoration: underline;
}

/* Header and Navigation Styles */
.header,
.navigation {
	width: 100%;
	background-color: #0fadef;
	display: flex;
	align-items: center;
}

.navigation {
	height: 72px;
	justify-content: center;
	margin: 0;
	padding: 0;
}

.header {
	height: 72px;
}

.nav-container,
.header-container {
	width: 90%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 auto;
}

.header-left {
	display: flex;
	align-items: center;
}

.header-logo {
	width: 40px;
	height: auto;
	margin-right: 10px;
}

.header-right {
	display: flex;
	align-items: center;
	gap: 20px;
}

.nav-link {
	color: white;
	font-size: 1.6rem;
	text-decoration: none;
	margin: 0 15px;
	font-weight: bold;
}

.nav-link:hover {
	text-decoration: underline;
}

/* Content Area Styles */
.content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding: 20px;
	padding-top: 50px;
	box-sizing: border-box;
	min-height: calc(100vh - 72px);
}

h1 {
	font-size: 30px;
	font-weight: 700;
	margin: 8px;
	text-align: center;
}

p {
	font-size: 18px;
	font-weight: 400;
	text-align: center;
	color: #727586;
	max-width: 700px;
	margin-bottom: 20px;
}

.main-image {
	width: 100%;
	max-width: 650px;
	height: auto;
	border-radius: 50%;
	margin-bottom: 40px;
}

/* Contact Form Styles */
.contact-form {
	display: flex;
	flex-direction: column;
	width: 90%;
	max-width: 500px;
	margin: 20px auto;
}

.contact-form label {
	margin-top: 10px;
	margin-bottom: 5px;
	font-weight: 700;
}

.contact-form input,
.contact-form textarea {
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	margin-bottom: 10px;
}

.contact-form textarea {
	resize: vertical;
	height: 150px;
}

.contact-form button {
	margin-top: 15px;
	padding: 10px;
	background-color: #0fadef;
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 18px;
	cursor: pointer;
}

.contact-form button:hover {
	background-color: #099ac3;
}

/* Feedback Text Styles */
.feedback {
	font-size: 16px;
	margin: 10px 0;
}

.feedback.success {
	color: green;
}

.feedback.error {
	color: red;
}

/* Responsive Adjustments */
@media screen and (max-width: 580px) {
	h1,
	p {
		width: 80%;
	}

	/* Stack header elements vertically on mobile */
	.header,
	.navigation {
		flex-direction: column;
		height: auto;
		padding: 10px 0;
	}

	/* Force the header container to stack its children as a column */
	.header-container,
	.nav-container {
		flex-direction: column;
		max-width: 100%;
		align-items: center;
		justify-content: center;
		padding: 0 10px;
		margin: 0;
	}

	/* Ensure both the left and right sections take full width and center-align */
	.header-left,
	.header-right {
		width: 100%;
		justify-content: center;
		margin: 5px 0;
	}

	/* Adjust logo size and remove extra horizontal margins */
	.header-logo {
		width: 30px;
		margin-right: 5px;
	}

	.nav-link {
		font-size: 1.2rem;
		margin: 0;
		padding: 0 1px;
	}

	.logo {
		font-size: 1.5rem;
	}
}

@media screen and (min-width: 650px) and (max-height: 750px) {
	p {
		margin-top: 12px;
	}

	h1 {
		margin-top: 0;
		margin-bottom: 0;
	}
}
