:root {
	--brand-green: #2d5a27;
	--brand-light: #f0f4f0;
	--white: #ffffff;
	/* Responsive Typography using Clamp */
	--fs-h1: clamp(2.2rem, 5vw, 3.5rem);
	--fs-h2: clamp(1.8rem, 4vw, 2.5rem);
	--fs-body: clamp(1rem, 2vw, 1.1rem);
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: "Inter", sans-serif;
	color: #333;
	line-height: 1.6;
	background-color: var(--white);
	scroll-behavior: smooth;
	overflow-x: hidden; /* Prevents side-scrolling on mobile */
}

/* FIX: Increased horizontal padding for more breathing room on the edges */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 8%; /* Increased from 6% to 8% to prevent edge-cramping */
}

/* Sticky Navbar */
.navbar {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid #eee;
	padding: 15px 0;
}

.nav-flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-weight: 800;
	color: var(--brand-green);
	font-size: 1.4rem;
}

.nav-links {
	display: flex;
	gap: 20px;
	align-items: center;
}

.nav-links a {
	text-decoration: none;
	color: #333;
	font-weight: 500;
	font-size: 0.9rem;
	transition: 0.3s;
}

.nav-links a:hover {
	color: var(--brand-green);
}

.menu-toggle {
	display: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: var(--brand-green);
}

/* Hero Section */
.hero {
	background-color: #dce3da;
	padding: clamp(40px, 10vh, 80px) 0;
}

.hero-flex {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 40px;
}

.hero-content {
	flex: 1.2;
	min-width: 300px;
}

.hero-content h1 {
	font-size: var(--fs-h1);
	color: var(--brand-green);
	line-height: 1.1;
	margin-bottom: 20px;
}

.subheadline {
	font-size: var(--fs-body);
	margin-bottom: 30px;
	color: #444;
}

.hero-btns {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 40px;
}

.hero-btns button {
	width: 13.5rem;
}

.hero-image {
	flex: 1;
	min-width: 300px;
	height: clamp(250px, 40vh, 500px);
}

.hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 20px;
}

.badge {
	display: inline-block;
	padding: 6px 16px;
	background: var(--brand-green);
	color: white;
	border-radius: 20px;
	font-size: 0.85rem;
	margin-bottom: 15px;
}

/* About Section Responsive Spacing */
.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(30px, 5vw, 60px);
	align-items: start;
	margin-top: 40px;
}

.about-text {
	padding-right: 20px;
	padding-left: 10px;
}

.about-text p {
	margin-bottom: 24px;
	line-height: 1.8;
	color: #444;
}

.sets-us-apart {
	background: var(--brand-light);
	padding: clamp(25px, 5vw, 40px);
	border-radius: 20px;
}

.apart-list {
	list-style: none;
	margin-top: 20px;
}

.apart-list li {
	margin-bottom: 18px;
	padding-left: 30px;
	position: relative;
}

.apart-list li::before {
	content: "🌿";
	position: absolute;
	left: 0;
}

/* Services Grid */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 25px;
}

.service-card {
	background: white;
	padding: 35px;
	border-radius: 15px;
	border: 1px solid #eee;
	transition: 0.3s;
}

.service-card:hover {
	border-color: var(--brand-green);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Product Grid */
.product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 25px;
	margin-top: 40px;
}

.prod-card {
	background: white;
	border-radius: 20px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
	transition: 0.3s ease;
}

.prod-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.img-container {
	height: 240px;
	width: 100%;
}

.img-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card-body {
	padding: 24px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	text-align: center;
}

/* Form Section with Footer Overlap */
.overlap-footer {
	position: relative;
	z-index: 10;
	padding-bottom: 0 !important;
	margin-bottom: -50px !important;
}

.form-banner {
	background: var(--brand-green);
	color: white;
	padding: clamp(30px, 6vw, 60px);
	border-radius: 30px;
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	align-items: center;
}

.form-text {
	flex: 1;
	min-width: 250px;
}

.plant-form {
	flex: 1;
	min-width: 280px;
	display: grid;
	gap: 15px;
}

.plant-form select,
.plant-form input {
	width: 100%;
	padding: 15px;
	border-radius: 12px;
	border: none;
	background: white;
	color: #333;
	font-size: 1rem;
}

.upload-wrapper {
	display: flex;
	flex-direction: column;
	gap: 8px;
	background: rgba(255, 255, 255, 0.1);
	padding: 20px;
	border-radius: 12px;
	border: 1px dashed rgba(255, 255, 255, 0.4);
}

.upload-wrapper label {
	font-size: 0.9rem;
	font-weight: 600;
	color: white;
}

/* Highlights Box Hero */
.highlights-row {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.highlight-box {
	background: white;
	padding: 15px 20px;
	border-radius: 12px;
	flex: 1;
	min-width: 140px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* General Utilities */
.section {
	padding: clamp(60px, 8vh, 100px) 20px; /* FIX: Added 20px horizontal padding as a secondary safety measure */
}

.bg-light {
	background: var(--brand-light);
}

.section-title {
	font-size: var(--fs-h2);
	text-align: center;
	color: var(--brand-green);
	margin-bottom: 40px;
}

.section-title.left {
	text-align: left;
}

/* Footer */
.footer {
	background: #222;
	color: #999;
	padding: 100px 0 60px 0;
	text-align: center;
	font-size: 0.95rem;
	position: relative;
	z-index: 1;
}

.social-links a {
	transition: color 0.3s ease;
}

.social-links a:hover {
	color: var(--brand-green) !important;
}

/* Responsive Overrides */
@media (max-width: 768px) {
	/* FIX: Ensure mobile has a reliable gutter on the sides */
	.container {
		padding: 0 10%;
	}

	.nav-links {
		display: none;
		flex-direction: column;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background: white;
		padding: 30px;
		box-shadow: 0 15px 20px rgba(0, 0, 0, 0.1);
		gap: 25px;
	}

	.nav-links.active {
		display: flex;
	}

	.menu-toggle {
		display: block;
	}

	.about-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.about-text {
		padding-right: 0;
		padding-left: 0;
	}

	.hero-btns {
		flex-direction: column;
	}

	.hero-btns button {
		width: 100%;
		margin-left: 0 !important;
	}

	.btn-nav {
		width: 100%;
	}

	.overlap-footer {
		margin-bottom: -30px !important;
	}

	.footer {
		padding-top: 80px;
	}
}

/* Buttons */
.btn-primary {
	background: var(--brand-green);
	color: white;
	padding: 16px 32px;
	border: 1px solid var(--brand-green);
	border-radius: 50px;
	cursor: pointer;
	font-weight: 600;
	font-size: 1rem;
	transition: all 0.3s ease;
	text-align: center;
}

.btn-primary:hover {
	background: #1e3d1a;
	border-color: #1e3d1a;
	transform: translateY(-2px);
}

.btn-outline {
	border: 2px solid var(--brand-green);
	background: transparent;
	padding: 14px 30px;
	border-radius: 50px;
	color: var(--brand-green);
	font-weight: 600;
	transition: all 0.3s ease;
	text-align: center;
}

.btn-outline:hover {
	background: var(--brand-green);
	color: white;
	transform: translateY(-2px);
}

.btn-secondary {
	background: var(--brand-green);
	color: white;
	padding: 12px;
	border-radius: 12px;
	width: 100%;
	border: none;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-secondary:hover {
	background: #1e3d1a;
}
