/* Base and Reset Styles */
:root {
    --primary-color: #1b5e20; /* Deep eco green */
    --secondary-color: #2e7d32; 
    --light-accent: #e8f5e9;
    --dark-text: #2c3e50;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-stack);
    color: var(--dark-text);
    background-color: var(--light-bg);
    line-height: 1.6;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navbar */
header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-text);
    text-decoration: none;
}

.logo a span {
    color: var(--secondary-color);
}

nav a {
    text-decoration: none;
    color: var(--dark-text);
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover, nav a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 80px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

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

.btn-primary:hover {
    background-color: #113f15;
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Grid & Cards Section */
.features {
    padding: 70px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

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

.col-2 {
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    align-items: center;
}

.card {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #e9ecef;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.card h4 {
    font-size: 1.3rem;
    color: var(--dark-text);
    margin-bottom: 15px;
}

/* CTA / Form Section */
.cta-section {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.cta-box {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    max-width: 800px;
}

.cta-box h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.cta-box p {
    margin-bottom: 25px;
}

.lead-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto 15px auto;
}

.lead-form input[type="email"] {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 1rem;
}

.form-privacy-notice {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Trust / Info section */
.trust-info {
    padding: 60px 0;
    background-color: var(--white);
    border-top: 1px solid #e9ecef;
}

.trust-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.trust-info p {
    margin-bottom: 15px;
    color: #5a6c7d;
}

.info-badge-box {
    background-color: var(--light-accent);
    padding: 30px;
    border-radius: 8px;
}

.badge-item {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Contact and Legal Page Custom Styles */
.legal-page {
    background-color: var(--white);
    padding: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.legal-page h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--light-accent);
    padding-bottom: 10px;
}

.legal-page h3 {
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.legal-page p, .legal-page ul {
    margin-bottom: 15px;
    color: #4f5d73;
}

.legal-page ul {
    padding-left: 20px;
}

/* Contact Form Grid layout */
.contact-form {
    max-width: 600px;
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
}

/* Cookie Consent Banner Styling */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--white);
    box-shadow: 0 -5px 25px rgba(0,0,0,0.15), 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 25px;
    z-index: 1000;
    border: 1px solid #e2e8f0;
    max-width: 700px;
    margin: 0 auto;
}

.cookie-content h4 {
    font-size: 1.2rem;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.cookie-content p {
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 15px;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    border: none;
}

.btn-cookie.accept {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-cookie.reject {
    background-color: #edf2f7;
    color: #4a5568;
}

.cookie-link {
    font-size: 0.9rem;
    color: var(--secondary-color);
    text-decoration: underline;
    margin-left: 10px;
}

/* Footer styling */
footer {
    background-color: #1a202c;
    color: #a0aec0;
    padding: 40px 0;
    text-align: center;
    margin-top: 60px;
}

footer p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    margin: 0 12px;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
    nav a {
        margin: 0 10px;
    }
    .hero-content h2 {
        font-size: 1.8rem;
    }
    .lead-form {
        flex-direction: column;
    }
    .cookie-banner {
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 0;
    }
}
