        :root {
            --primary-green: #2E7D32; /* Forest Green */
            --dark-green: #1B5E20;
            --accent-gold: #FBC02D;
            --light-gray: #f4f4f4;
            --text-color: #333;
            --white: #ffffff;
        }

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

/* GLOBAL CONTAINER */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ================= HEADER ================= */

header {
    position: sticky;       /* instead of fixed */
    top: 0;                 /* stick to top */
    left: 0;
    width: 100%;            /* full width */
    height: 100px;          /* fixed height, same as index page */
    z-index: 1000;          /* stay above everything */
    background: var(--white); /* ensures content behind doesn't show through */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 85px;
}

.company-name {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-green);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--primary-green);
    font-weight: 600;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* ================= HERO ================= */

.hero {
    background-image: url("images/manicuredlawn-2.jpg");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    height: 60vh;              /* controls vertical size */
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}


.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* BUTTONS */

.btn,
.btn-quote {
    display: inline-block;
    background: var(--primary-green);
    color: white !important;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
}

.btn:hover,
.btn-quote:hover {
    background: var(--dark-green);
}

/* ================= SECTIONS ================= */

.section {
    padding: 80px 20px;  /* existing spacing */
    max-width: 1100px;
    margin: auto;
}

/* Anchor link offset for fixed header */
.section {
    scroll-margin-top: 140px; /* height of your fixed header */
}

.section:nth-child(even) {
    background: #f2f2f2;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.8rem;
    color: var(--primary-green);
}

/* ================= ABOUT ================= */

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
}

.about-highlight {
    margin-top: 20px;
    padding: 15px;
    background: #e8f5e9;
    border-left: 5px solid var(--primary-green);
}

/* ================= SERVICES ================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* ================= CONTACT ================= */

.contact-container {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

/* Make form container responsive */
.contact-form,
form {
  width: 100%;
  max-width: 100%;
}

/* Prevent inputs from overflowing */
input,
textarea,
select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box; /* VERY important */
}

.contact-form-wrapper {
    flex: 1;
}

form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

form label {
    margin-bottom: 5px;
    font-weight: bold;
}

form input,
form textarea,
form select {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

form button {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 14px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background: var(--dark-green);
}

/* Terms Page Section Headings */


.terms-page .content-wrapper {
    margin-top: 100px; /* same as header height */
}

.terms-page .container {
    padding: 0px 20px 40px 20px; /* top, right, bottom, left - adjust to header height */
    max-width: 1100px;
    margin: 0 auto;
}

/* Terms page paragraph styling */
.terms-page p {
    font-size: 14px;       /* smaller, more readable text */
    line-height: 1.2;      /* tighter line spacing */
    margin-bottom: 6px;    /* space between paragraphs */
}

/* Terms sections spacing */
.terms-page section {
    margin-bottom: 12px;   /* space between sections */
}

/* Terms section headings (h2) */
.terms-page h2 {
    font-size: 18px;       /* smaller than before */
    color: #2E7D32;        /* green to match brand */
    margin-top: 15px;
    margin-bottom: 8px;
}

/* ================= FOOTER ================= */

footer {
    background: var(--dark-green);
    color: white;
    text-align: center;
    padding: 35px 0;
    font-size: 14px;
}

footer a {
    color: white;
    text-decoration: none;
}

/* FLOAT CALL BUTTON */

.call-now {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-green);
    color: white;
    padding: 14px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
}

/* ================= MOBILE ================= */
/* --- Desktop nav remains the same --- */

/* Hamburger hidden on desktop */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* Mobile styling */
@media (max-width: 768px) {
  .nav-links {
    display: none;  /* hide nav links by default */
    flex-direction: column;
    background: var(--white);
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    max-height: calc(100vh - 60px); /* prevent overflow */
    overflow-y: auto;
  }

  .nav-links a {
    margin: 10px 0;
  }

  .hamburger {
    display: block; /* show hamburger on mobile */
  }

  .nav-links.active {
    display: flex; /* show links when active */
  }
}


/*
@media (max-width: 768px) {

    nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .about-content,
    .contact-container {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section {
        padding: 60px 0;
    }
}
*/
@media print {
    /* Hide header, footer, and the print button */
    header, footer, .print-button, .call-now {
        display: none !important;
    }

    /* Make content use full width */
    body, .container {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    /* Adjust headings and text for print */
    h1 {
        font-size: 26px;
        margin-bottom: 10px;
    }

    h2 {
        font-size: 18px;
        color: black; /* ensure headings print black if needed */
    }

    p {
        font-size: 12px;
        line-height: 1.3;
    }
}

#confirmation-message {
    display: none;
}

/* Hide call-now button on desktop */
.call-now {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #2E7D32; /* primary green */
    color: #fff;
    padding: 12px 18px;
    border-radius: 6px;
    font-weight: bold;
    z-index: 1000;
    text-decoration: none;
}

/* Show on mobile only */
@media (max-width: 768px) {
    .call-now {
        display: flex;
        align-items: center;
        gap: 8px;
        bottom: 25px; /* moves button 25px from bottom */
        right: 20px;
    }
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 20px;
  }
}

@media (max-width: 768px) {

  .about-content {
    flex-direction: column;
    gap: 30px;
  }

  .about-text,
  .about-image {
    width: 100%;
  }
}
  
  @media (max-width: 768px) {
  .about-content {
    flex-direction: column-reverse;
  }
}
@media (max-width: 768px) {

  header {
    height: auto;          /* remove fixed height */
    padding: 10px 0;
  }

  .logo img {
    height: 60px;          /* smaller logo on mobile */
  }

  .company-name {
    font-size: 1rem;       /* shrink text */
  }

  nav {
    align-items: center;
  }

}
@media (max-width: 768px) {

  .company-name {
    display: none;   /* hides company name on mobile */
  }

}