/* General Styling */
body {
	font-family: 'Arial', sans-serif;
	line-height: 1.6;
	color: #333;
}

/* Header Improvements */
header {
	background-color: #004d26;
	padding: 15px;
	text-align: center;
	color: white;
	font-size: 1.5rem;
}

/* Form Styling - Improved */
form {
	background-color: #ffffff;
	border: 2px solid #004d26;
	padding: 30px;
	border-radius: 10px;
	max-width: 600px;
	margin: 20px auto;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea {
	width: 100%;
	padding: 12px 15px;
	margin-bottom: 15px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 1rem;
	background-color: #f9f9f9;
	box-sizing: border-box;
	transition: all .3s ease-in-out;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="tel"]:focus,
form textarea:focus {
	border-color: #004d26;
	background-color: #fff;
	outline: none;
	box-shadow: 0 0 5px rgba(0, 77, 38, 0.5);
}

form textarea {
	min-height: 120px;
	resize: vertical;
}

form button {
	background-color: #004d26;
	color: white;
	border: none;
	padding: 12px 20px;
	font-size: 1rem;
	border-radius: 5px;
	cursor: pointer;
	width: 100%;
	transition: all .3s ease-in-out;
}

form button:hover {
	background-color: #006837;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

form .form-header {
	text-align: center;
	margin-bottom: 20px;
	font-size: 1.5rem;
	color: #004d26;
}

form .form-footer {
	text-align: center;
	margin-top: 15px;
	font-size: .9rem;
	color: #666;
}

form .required {
	color: #e63946;
	font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form textarea {
	width: 100%;
	padding: 10px;
	margin-bottom: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
}

form button {
	background-color: #004d26;
	color: white;
	border: none;
	padding: 10px 15px;
	border-radius: 5px;
	cursor: pointer;
}

form button:hover {
	background-color: #006837;
}

/* Footer Styling */
footer {
	background-color: #004d26;
	color: white;
	text-align: center;
	padding: 20px 0;
	font-size: .9rem;
	position: relative;
}

footer::after {
	content: "© 2024 AXKM. All Rights Reserved.";
	display: block;
	margin-top: 10px;
	font-size: .8rem;
	color: #ccc;
}

/* Images Responsiveness */
img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

/* Page Layout Adjustments */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

.section {
	padding: 20px 0;
}

.section-heading {
	text-align: center;
	margin-bottom: 20px;
	font-size: 1.8rem;
	color: #004d26;
}

/* Call-to-Action Highlight */
.call-to-action {
	background-color: #f1f1f1;
	text-align: center;
	padding: 20px;
	border: 1px solid #ddd;
	border-radius: 8px;
	margin-top: 20px;
}

.call-to-action h3 {
	margin-bottom: 10px;
	color: #004d26;
	font-size: 1.5rem;
}

.call-to-action a {
	display: inline-block;
	background-color: #004d26;
	color: white;
	padding: 10px 20px;
	text-decoration: none;
	border-radius: 5px;
	margin-top: 10px;
}

.call-to-action a:hover {
	background-color: #006837;
}

/* Mobile Responsiveness */
@media only screen and (max-width: 768px) {
	.container {
		padding: 0 10px;
	}
	
	form input[type="text"],
	    form input[type="email"],
	    form textarea {
		font-size: 14px;
	}
	
	.section-heading {
		font-size: 1.5rem;
	}
	
	footer {
		font-size: .8rem;
	}
}

/* Mobile Adjustments */
@media only screen and (max-width: 768px) {
	/* Center logo and adjust size */
	img {
		max-width: 80%;
		height: auto;
		margin: 0 auto;
		display: block;
	}
	
	/* Align text content */
	.site-title, .tagline, .contact-info {
		text-align: center;
		margin: 10px auto;
	}
	
	/* Footer adjustments */
	footer {
		text-align: center;
		padding: 15px;
		font-size: .9rem;
	}
	
	footer a {
		display: block;
		margin-top: 10px;
	}
	
	/* Fix form alignment */
	form {
		padding: 20px;
		margin: 0 auto;
		max-width: 90%;
	}
	
	form input[type="text"],
	    form input[type="email"],
	    form input[type="tel"],
	    form textarea {
		font-size: .9rem;
		padding: 10px;
	}
	
	/* General spacing tweaks */
	body {
		padding: 10px;
	}
	
	.header, .footer, .content {
		padding: 10px 5px;
	}
}

/* Mobile Adjustments */
@media only screen and (max-width: 768px) {
	/* Center logo and adjust size */
	img {
		max-width: 80%;
		height: auto;
		margin: 10px auto;
		display: block;
	}
	
	/* Align text content */
	.site-title, .tagline, .contact-info {
		text-align: center;
		margin: 10px auto;
	}
	
	/* Footer adjustments */
	footer {
		text-align: center;
		padding: 10px 5px;
		font-size: .9rem;
		margin-top: 10px;
	}
	
	footer a {
		display: block;
		margin-top: 10px;
	}
	
	/* Adjust header and footer height */
	header, footer {
		padding: 10px;
		height: auto;
		box-sizing: border-box;
	}
	
	/* Fix form alignment */
	form {
		padding: 15px;
		margin: 20px auto;
		max-width: 90%;
	}
	
	form input[type="text"],
	    form input[type="email"],
	    form input[type="tel"],
	    form textarea {
		font-size: .9rem;
		padding: 10px;
	}
	
	/* General spacing tweaks */
	body {
		padding: 10px 0;
	}
	
	.header, .footer, .content {
		padding: 10px 5px;
	}
	
	/* Ensure content isn't swallowed by header/footer */
	.content {
		margin-top: 20px;
		margin-bottom: 20px;
	}
}

@media only screen and (max-width: 768px) {
	/* Adjust header padding and font size */
	header {
		padding: 10px 5px;
	/* Reduce padding */
		font-size: 14px;
	/* Smaller text for mobile */
	}
	
	/* Adjust logo size in the header */
	header img {
		max-width: 50px;
	/* Reduce the logo size */
		height: auto;
	}
	
	/* Adjust headline and subheadline in the header */
	.header-title {
		font-size: 18px;
	/* Smaller font for headline */
		line-height: 1.2;
	}
	
	.header-subtitle {
		font-size: 14px;
		line-height: 1.2;
	}
	
	/* Reduce spacing for the header elements */
	.header-content {
		margin-top: 5px;
		margin-bottom: 5px;
	}
	
	/* Adjust overall header container */
	.header-container {
		max-height: 30%;
	/* Constrain header to 30% of screen height */
		overflow: hidden;
	}
	
	/* General mobile refinements */
	body {
		margin: 0;
	/* Ensure no extra margins */
		padding: 0;
	}
}

@media only screen and (max-width: 768px) {
	/* Aggressively reduce header height */
	header {
		padding: 5px 10px;
	/* Minimal padding */
		font-size: 12px;
	/* Smaller overall font size */
		height: auto;
	/* Let the content determine the height */
		max-height: 20vh;
	/* Constrain header to 20% of the viewport height */
		overflow: hidden;
	/* Prevent content from expanding the header */
	}
	
	/* Scale down the logo */
	header img {
		max-width: 40px;
	/* Even smaller logo */
		height: auto;
		margin: 0 auto;
	/* Center logo if necessary */
	}
	
	/* Adjust headline and subheadline in the header */
	.header-title {
		font-size: 16px;
	/* Smaller font size for the title */
		line-height: 1.1;
	/* Compact line spacing */
	}
	
	.header-subtitle {
		font-size: 12px;
		line-height: 1.1;
	}
	
	/* Compress spacing within the header */
	.header-content {
		margin: 2px 0;
	/* Minimal spacing between elements */
	}
	
	/* Reduce footer size */
	footer {
		padding: 5px 10px;
	/* Minimal padding for the footer */
		font-size: 10px;
	/* Smaller font for footer text */
	}
	
	/* Ensure the body content is prioritized */
	main {
		margin-top: 5px;
		padding: 5px;
	}
	
	/* Body adjustments for smaller screens */
	body {
		overflow-x: hidden;
	/* Prevent horizontal scrolling */
	}
}

@media only screen and (min-width: 1440px) {
	/* Reduce excessive padding in the main container */
	body {
		padding: 0 5vw;
	/* Add some balance but minimize excessive space */
	}
	
	main {
		margin: 0 auto;
		max-width: 1200px;
	/* Constrain the width of the content */
	}
	
	/* Reduce spacing between sections */
	section {
		margin-bottom: 2rem;
	/* Ensure spacing is consistent and not overly large */
	}
	
	/* Header Adjustments */
	header {
		max-height: 15vh;
	/* Ensure header stays proportional */
	}
	
	header img {
		max-width: 80px;
	/* Constrain logo size for better proportion */
	}
	
	/* Footer Adjustments */
	footer {
		padding: 10px 20px;
	/* Keep footer compact */
		font-size: 14px;
	/* Reduce font size slightly for a cleaner look */
	}
	
	/* Images */
	img {
		max-width: 100%;
	/* Ensure images don’t get stretched */
		height: auto;
	}
	
	/* Reduce line height and font size in paragraphs for larger screens */
	p {
		font-size: 1.1rem;
		line-height: 1.5;
		margin: 1rem 0;
	/* Reduce vertical spacing */
	}
	
	/* Adjust form styling */
	form {
		max-width: 800px;
	/* Center and constrain form width */
		margin: 0 auto;
	}
	
	form input,
	    form textarea {
		font-size: 1rem;
	/* Ensure text fields look proportional */
	}
	
	/* Reduce empty spaces */
	.spacer {
		margin: 1rem 0;
	/* Keep consistent but minimal space */
	}
}

/* Reset body and html margins and paddings */
html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	box-sizing: border-box;
}

/* Ensure header spans the full width */
header {
	width: 100vw;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* Ensure the header content is properly aligned */
header > * {
	max-width: 1200px;
/* Adjust this value to match your site's content width */
	margin: 0 auto;
	padding: 0 15px;
/* Add some padding for spacing */
	box-sizing: border-box;
}