/* Contact Section Wrapper */
.contact-section-wrapper {
	position: relative;
	padding: 3.5rem 0;
	overflow: hidden;
}

.contact-section-wrapper::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100%;
	background: #ffffff;
	margin-left: calc(-50vw + 50%);
	z-index: 0;
}

/* Content container */
.contact-container {
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: #FFFFFF;
	border-radius: 15px;
	box-shadow: 0 15px 40px rgba(0,0,0,0.1);
	border: 3px solid #2d5a27; /* TurfPro deep green border */
	box-sizing: border-box;
	position: relative;
	z-index: 1;
	gap: 0;
}

/* Contact Form Section */
.contact-form-section {
	padding: 2.5rem;
	background: #FFFFFF;
	position: relative;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.form-group label {
	font-weight: 600;
	color: #2d5a27;
	font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
	padding: 0.75rem;
	border: 2px solid #E8E4C9;
	border-radius: 8px;
	font-size: 1rem;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	background: #FFFFFF;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #2d5a27;
	box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
}

.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
	border-color: #e74c3c;
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
	border-color: #27ae60;
}

.form-group textarea {
	resize: vertical;
	min-height: 80px;
}

.form-group small {
	color: #666;
	font-size: 0.85rem;
	margin-top: 0.25rem;
}

.form-group input[type="file"] {
	padding: 0.5rem;
	border: 2px dashed #E8E4C9;
	background: #f9f9f9;
	cursor: pointer;
}

.form-group input[type="file"]:hover {
	border-color: #2d5a27;
	background: #f0f8f0;
}

.submit-btn {
	background: linear-gradient(135deg, #43a047, #2e7d32);
	color: white;
	padding: 1rem 2rem;
	border: none;
	border-radius: 8px;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-top: 1rem;
}

.submit-btn:hover {
	background: linear-gradient(135deg, #2e7d32, #43a047);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Job Opportunities Section */
.job-opportunities {
	margin-top: 2rem;
	padding: 2rem;
	background: linear-gradient(135deg, rgba(124, 179, 66, 0.08) 0%, rgba(139, 195, 74, 0.12) 100%);
	border-radius: 12px;
	border-left: 4px solid #2d5a27;
}

.job-opportunities h3 {
	color: #2d5a27;
	font-size: 1.4rem;
	margin-bottom: 1rem;
	font-weight: 700;
}

.job-opportunities p {
	margin-bottom: 1rem;
	line-height: 1.6;
}

.job-roles {
	margin-bottom: 1.5rem;
}

.job-roles h4 {
	color: #2d5a27;
	font-size: 1.1rem;
	margin-bottom: 0.5rem;
	font-weight: 600;
}

.job-roles ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.job-roles li {
	padding: 0.25rem 0;
	color: #333;
	font-weight: 500;
}

.job-roles li:before {
	content: '🌿';
	margin-right: 0.5rem;
}

.application-method p {
	margin-bottom: 1rem;
}

.job-apply-btn {
	display: inline-block;
	background: linear-gradient(135deg, #e74c3c, #c0392b);
	color: white;
	padding: 0.75rem 1.5rem;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.job-apply-btn:hover {
	background: linear-gradient(135deg, #c0392b, #e74c3c);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Contact Info Section */
.contact-info-section {
	display: flex;
	flex-direction: column;
}

/* Map styling */
.map-container {
	position: relative;
	min-height: 300px;
}

.map-container iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

/* Contact info styling */
.contact-info {
	padding: 2rem;
	background: #FFFFFF;
	position: relative;
}

.contact-info h3 {
	color: #2d5a27;
	font-size: 1.4rem;
	margin-bottom: 1.5rem;
	font-weight: 700;
}

.contact-title {
	font-size: 2.1rem;
	color: #2d5a27; /* TurfPro deep green */
	margin-bottom: 1.5rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid #4a7c59; /* TurfPro mid green */
	display: inline-block;
	font-weight: 800;
	text-align: center;
	width: 100%;
}

.contact-details {
	list-style: none;
	padding: 0;
	margin: 0 0 2rem 0;
}

.contact-item {
	margin-bottom: 1.5rem;
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	line-height: 1.6;
	font-size: 1rem;
}

.contact-icon {
	color: #2d5a27; /* TurfPro deep green */
	font-size: 1.2rem;
	margin-top: 3px;
	min-width: 25px;
}

/* Remove space between icon and text for details list items */
.contact-details .contact-item { margin-bottom: 0; gap: 0; }
.contact-details .contact-icon { min-width: 0; margin-top: 0; }

.contact-details a {
	color: #2d5a27;
	text-decoration: none;
	border-bottom: 1px solid rgba(45,90,39,0.25);
	transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-details a:hover {
	color: #1b5e20;
	border-color: rgba(27,94,32,0.45);
}

.business-hours {
	background: rgba(74, 124, 89, 0.08); /* subtle TurfPro tint */
	padding: 1.5rem;
	border-radius: 8px;
	border-left: 3px solid #4a7c59;
}

.business-hours h4 {
	color: #2d5a27;
	margin-bottom: 1rem;
	font-weight: 700;
	font-size: 1.1rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
	.contact-container {
		grid-template-columns: 1fr;
		margin: 0 10px;
		max-width: 100%;
		box-sizing: border-box;
	}
	
	.contact-form-section {
		padding: 1.25rem;
		overflow-x: hidden;
		width: 100%;
		box-sizing: border-box;
	}
	
	.contact-form {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
	
	.form-row {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}
	
	.form-group {
		width: 100%;
		box-sizing: border-box;
	}
	
	.form-group input,
	.form-group select,
	.form-group textarea {
		width: 100%;
		box-sizing: border-box;
		max-width: 100%;
		font-size: 16px; /* Prevents zoom on iOS */
	}
	
	.file-sharing-container {
		width: 100%;
		box-sizing: border-box;
	}
	
	.file-link-input {
		width: 100%;
		box-sizing: border-box;
		max-width: 100%;
		font-size: 16px; /* Prevents zoom on iOS */
	}
	
	.map-container {
		min-height: 200px;
		width: 100%;
		overflow: hidden;
	}
	
	.map-container iframe {
		width: 100%;
		height: 200px;
	}
	
	.contact-info {
		padding: 1.25rem;
		width: 100%;
		box-sizing: border-box;
	}
	
	.contact-title {
		font-size: 1.6rem;
		word-wrap: break-word;
	}
	
	.contact-section-wrapper {
		padding: 2rem 0;
		width: 100%;
		overflow-x: hidden;
	}
	
	.contact-section-wrapper::before {
		width: 100vw;
		margin-left: calc(-50vw + 50%);
	}
	
	.job-opportunities {
		padding: 1.25rem;
		margin-top: 1.5rem;
		width: 100%;
		box-sizing: border-box;
	}
	
	.submit-btn {
		width: 100%;
		box-sizing: border-box;
	}
}

/* Prevent horizontal scroll on the page as in the example */
body {
	overflow-x: hidden;
} 