:root {
    --primary-green: #00A859;
    --dark-charcoal: #1C1C1E;
    --slate-gray: #95A5A6;
    --white: #FFFFFF;
    --light-bg: #F8F9FA;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html {
    font-size: 16px; /* Sets standard base size */
    scroll-behavior: smooth;
}

body {
    background-color: var(--light-bg);
    color: var(--dark-charcoal);
    line-height: 1.7; /* Loosened up for better readability */
    font-size: 1.05rem; /* ~17px base paragraph text */
}

h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease, background-color 0.3s ease;
}

/* Header & Nav */
header {
    background-color: var(--dark-charcoal);
    color: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--white);
}

.logo-container svg {
    width: 35px;
    height: 35px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--slate-gray);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

nav a:hover, nav a.active {
    color: var(--primary-green);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    background-color: var(--primary-green);
    color: var(--white);
    border: 2px solid var(--primary-green);
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: #008a49;
    border-color: #008a49;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-green);
}

.btn-outline:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

/* Hero Section */
.hero {
    background-color: var(--dark-charcoal);
    background-image: linear-gradient(rgba(28, 28, 30, 0.85), rgba(28, 28, 30, 0.95)), url('hero-growth.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: clamp(4rem, 8vw, 8rem) 5%; /* Fluid padding */
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw + 1rem, 3.8rem); /* Automatically shrinks on mobile */
    margin-bottom: 1.5rem;
    color: var(--white);
    letter-spacing: -0.5px;
}

.hero h1 span {
    color: var(--primary-green);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--slate-gray);
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
}

/* Sections */
.section {
    padding: clamp(3rem, 6vw, 6rem) 5%;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.8rem); /* Responsive heading */
    margin-bottom: 3rem;
    color: var(--dark-charcoal);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Cards */
.card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-green);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1.2rem;
    display: block;
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--dark-charcoal);
    font-size: 1.4rem; /* Down from 1.5rem for better balance */
}

.card p {
    font-size: 1rem;
    color: #555;
    flex-grow: 1;
}

/* Footer */
footer {
    background-color: var(--dark-charcoal);
    color: var(--slate-gray);
    padding: 4rem 5% 1.5rem 5%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-content > div {
    flex: 1;
    min-width: 250px;
}

.footer-content h4 {
    color: var(--white);
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1.5rem;
    font-size: 0.9rem;
    text-align: center;
}

/* Forms */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 100%;
}

.contact-form input, .contact-form textarea {
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    background-color: var(--white);
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Accordion FAQ */
.faq-item {
    background: var(--white);
    margin-bottom: 1.5rem;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border-left: 4px solid var(--primary-green);
}

.faq-item h4 {
    color: var(--dark-charcoal);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: #555;
    font-size: 1rem;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 5%;
    }
    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero {
        padding: 4rem 5%;
    }
    /* Stack hero buttons on mobile */
    .hero > div {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .btn.btn-outline {
        margin-left: 0 !important;
    }
}