/* ------------------------------
   BASIC PAGE SETTINGS
------------------------------ */

* {
    box-sizing: border-box;
}

/* ------------------------------
   BRAND COLORS
------------------------------ */

:root {
    --green: #087a36;
    --bright-green: #39e75f;
    --dark-green: #062e18;
    --deep-green: #0b3d20;

    --background: #f5f7f5;
    --white: #ffffff;
    --black: #111111;

    --text: #1a1a1a;
    --muted-text: #555555;

    --light-green-bg: #f4faf6;
    --light-border: #dce9df;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    max-width: 100%
}

/* ------------------------------
   WEBSITE HEADER
------------------------------ */

.site-header {
    background:
        linear-gradient(
            135deg,
            var(--dark-green),
            var(--green)
        );

    color: var(--white);
}


/* ------------------------------
   NAVIGATION BAR
------------------------------ */

.navbar {
    max-width: 1600px;

    margin: 0 auto;

    padding: 18px 40px;

    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    gap: 30px;
}


/* BUSINESS LOGO / NAME */

.logo {
    justify-self: start;

    display: inline-flex;

    align-items: center;

    text-decoration: none;
}

.logo-image {
    display: block;

    height: 115px;

    width: auto;
}


/* NAVIGATION LINKS */

.nav-links {
    justify-self: center;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 34px;
}

.nav-links a {
    color: var(--white);

    text-decoration: none;

    font-weight: 500;

    transition: color 0.2s;

    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--bright-green);
}


/* NAV CONTACT BUTTON */

.nav-contact-button {
    justify-self: end;

    background-color: var(--bright-green);

    color: #072511;

    text-decoration: none;

    font-weight: bold;

    padding: 10px 18px;

    border-radius: 7px;

    transition:
        background-color 0.2s,
        transform 0.2s;
}

.nav-contact-button:hover {
    background-color: var(--white);

    transform: translateY(-2px);
}


/* ------------------------------
   HERO SECTION
------------------------------ */

.hero {
    max-width: 900px;

    margin: 0 auto;

    text-align: center;

    padding:
        70px
        20px
        100px;
}


/* SMALL HERO LABEL */

.hero-label {
    color: #61ee7e;

    font-size: 0.9rem;

    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 15px;
}


/* MAIN HEADLINE */

.hero h1 {
    font-size: 3.7rem;

    line-height: 1.1;

    margin:
        0
        auto
        25px;

    max-width: 850px;
}


/* GREEN PART OF HEADLINE */

.hero h1 span {
    display: block;

    color: #56ed75;
}


/* DESCRIPTION */

.hero-description {
    max-width: 650px;

    margin:
        0
        auto
        30px;

    font-size: 1.2rem;

    color: #e4eee6;
}


/* ------------------------------
   HERO BUTTONS
------------------------------ */

.hero-buttons {
    display: flex;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;
}


/* REUSABLE BUTTON */

.button {
    display: inline-block;

    padding: 14px 24px;

    border: 2px solid transparent;

    border-radius: 8px;

    font-weight: bold;

    text-decoration: none;

    transition:
        transform 0.2s,
        background-color 0.2s;
}

.button:hover {
    transform: translateY(-2px);
}


/* PRIMARY BUTTON */

.button-primary {
    background-color: var(--bright-green);

    color: var(--dark-green);
}

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


/* SECONDARY BUTTON */

.button-secondary {
    border: 2px solid white;

    color: var(--white);
}

.button-secondary:hover {
    background-color: var(--white);

    color: var(--dark-green);
}


/* ------------------------------
   HERO FEATURES
------------------------------ */

.hero-features {
    margin-top: 35px;

    display: flex;

    justify-content: center;

    gap: 25px;

    flex-wrap: wrap;
}

.hero-features span {
    font-size: 0.95rem;

    color: #e5eee7;
}


/* ------------------------------
   MAIN PAGE
------------------------------ */

main {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
}


/* ------------------------------
   PAGE SECTIONS
------------------------------ */

section {
    background-color: var(--white);

    padding: 35px;
    margin-bottom: 30px;

    border-radius: 12px;

    box-shadow: 0 4px 15px
        rgba(0, 0, 0, 0.08);
}

section h2 {
    color: var(--green);
    font-size: 2rem;
    margin-top: 0;
}

section h3 {
    color: var(--deep-green);
}

/* ------------------------------
   INTRO SECTION
------------------------------ */

.intro-section {
    text-align: center;
}

.intro-section p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ------------------------------
   SERVICE LISTS
------------------------------ */

ul,
ol {
    padding-left: 25px;
}

li {
    margin-bottom: 8px;
}


/* ------------------------------
   QUOTE FORM
------------------------------ */

form {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 5px;
}

input,
textarea {
    width: 100%;

    padding: 12px;

    font-size: 1rem;

    border: 1px solid #cccccc;
    border-radius: 6px;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

input:focus,
textarea:focus {
    outline: 2px solid #39e75f;
    border-color: var(--green);
}


/* ------------------------------
   FORM BUTTON
------------------------------ */

.quote-submit-button {
    width: 100%;

    background-color: var(--green);

    color: var(--white);

    border: none;

    padding: 15px 20px;

    margin-top: 20px;

    font-size: 1.05rem;

    font-weight: bold;

    border-radius: 7px;

    cursor: pointer;

    transition:
        background-color 0.2s,
        transform 0.2s;
}


.quote-submit-button:hover {
    background-color: var(--dark-green);

    transform: translateY(-2px);
}


/* ------------------------------
   FOOTER
------------------------------ */

.site-footer {
    background-color: var(--black);

    color: var(--white);

    padding:
        50px
        20px
        20px;
}


.footer-content {
    max-width: 1100px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        2fr
        1fr
        1fr
        1fr;

    gap: 35px;

    text-align: left;
}


.footer-column h3 {
    color: var(--white);

    margin-top: 0;

    margin-bottom: 15px;

    font-size: 1.05rem;
}


.footer-column p {
    color: #cccccc;

    margin:
        0
        0
        10px;
}


.footer-column a {
    display: block;

    color: #cccccc;

    text-decoration: none;

    margin-bottom: 9px;

    transition: color 0.2s;
}


.footer-column a:hover {
    color: var(--bright-green);
}


/* FOOTER BOTTOM */

.footer-bottom {
    max-width: 1100px;

    margin:
        35px
        auto
        0;

    padding-top: 20px;

    border-top:
        1px solid
        #333333;

    text-align: center;
}


.footer-bottom p {
    margin: 0;

    color: #888888;

    font-size: 0.85rem;
}


/* ------------------------------
   SERVICES SECTION
------------------------------ */

.services-section {
    text-align: center;
}

.section-intro {
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--muted-text);
}


/* ------------------------------
   SERVICE CARD GRID
------------------------------ */

.service-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px;

    margin-top: 30px;
}


/* ------------------------------
   SERVICE CARDS
------------------------------ */

.service-card {
    background-color: #f8faf8;

    border: 1px solid #e2e8e2;

    border-radius: 12px;

    padding: 30px;

    text-align: left;

    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 8px 20px
        rgba(0, 0, 0, 0.12);
}


.service-card h3 {
    font-size: 1.6rem;

    color: #087a36;

    margin-top: 0;
}


/* ------------------------------
   SERVICE LIST
------------------------------ */

.service-card ul {
    list-style: none;

    padding: 0;

    margin-bottom: 25px;
}

.service-card li {
    margin-bottom: 12px;

    padding-left: 28px;

    position: relative;
}


/* GREEN CHECKMARK */

.service-card li::before {
    content: "✓";

    position: absolute;

    left: 0;

    color: var(--green);

    font-weight: bold;
}


/* ------------------------------
   SERVICE BUTTON
------------------------------ */

.service-button {
    display: inline-block;

    background-color: var(--green);

    color: var(--white);

    text-decoration: none;

    padding: 12px 18px;

    border-radius: 7px;

    font-weight: bold;

    transition: 0.2s;
}

.service-button:hover {
    background-color: var(--deep-green);

    transform: translateY(-2px);
}

/* ------------------------------
   HOW IT WORKS SECTION
------------------------------ */

.how-it-works-section {
    text-align: center;
}


/* ------------------------------
   STEPS GRID
------------------------------ */

.steps-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;

    margin-top: 35px;
}


/* ------------------------------
   STEP CARD
------------------------------ */

.step-card {
    background-color: #f8faf8;

    border: 1px solid #e2e8e2;

    border-radius: 12px;

    padding: 30px 22px;

    text-align: center;

    position: relative;

    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.step-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 8px 20px
        rgba(0, 0, 0, 0.10);
}


/* ------------------------------
   STEP NUMBER
------------------------------ */

.step-number {
    width: 50px;
    height: 50px;

    margin:
        0
        auto
        20px;

    background-color: var(--green);

    color: var(--white);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.3rem;

    font-weight: bold;
}


/* ------------------------------
   STEP HEADINGS
------------------------------ */

.step-card h3 {
    margin-top: 0;

    margin-bottom: 12px;

    color: var(--deep-green);

    font-size: 1.2rem;
}


/* ------------------------------
   STEP TEXT
------------------------------ */

.step-card p {
    margin: 0;

    color: var(--muted-text);

    font-size: 0.95rem;

    line-height: 1.6;
}

/* ------------------------------
   TRUST SECTION
------------------------------ */

.trust-section {
    text-align: center;
}


/* ------------------------------
   TRUST GRID
------------------------------ */

.trust-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;

    margin-top: 35px;
}


/* ------------------------------
   TRUST CARD
------------------------------ */

.trust-card {
    background-color: #f8faf8;

    border: 1px solid #e2e8e2;

    border-radius: 12px;

    padding: 30px 22px;

    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.trust-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 8px 20px
        rgba(0, 0, 0, 0.10);
}


/* TRUST ICON */

.trust-icon {
    font-size: 2.2rem;

    margin-bottom: 15px;
}


/* TRUST HEADING */

.trust-card h3 {
    margin:
        0
        0
        10px;

    color: var(--deep-green);

    font-size: 1.2rem;
}


/* TRUST TEXT */

.trust-card p {
    margin: 0;

    color: var(--muted-text);

    font-size: 0.95rem;
}

/* ------------------------------
   QUOTE SECTION
------------------------------ */

.quote-section {
    background:
        linear-gradient(
            135deg,
            var(--light-green-bg),
            var(--white)
        );

    border:
        1px solid
        var(--light-border);
}


/* QUOTE HEADER */

.quote-header {
    text-align: center;

    max-width: 700px;

    margin:
        0
        auto
        30px;
}

.quote-label {
    margin-bottom: 5px;

    color: var(--green);

    font-size: 0.85rem;

    font-weight: bold;

    letter-spacing: 2px;
}

.quote-header h2 {
    margin-bottom: 10px;
}

.quote-intro {
    color: var(--muted-text);

    margin:
        0
        auto;
}


/* ------------------------------
   FORM ROWS
------------------------------ */

.form-row {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;
}


/* FORM GROUP */

.form-group {
    display: flex;

    flex-direction: column;
}


/* ------------------------------
   FORM INPUTS
------------------------------ */

.form-group input,
.form-group textarea {
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;

    border-color: var(--green);

    box-shadow:
        0 0 0 3px
        rgba(8, 122, 54, 0.15);
}


/* ------------------------------
   QUOTE BUTTON
------------------------------ */

.quote-submit-button {
    width: 100%;

    background-color: var(--green);

    font-size: 1.05rem;

    padding: 15px 20px;
}

.quote-submit-button:hover {
    background-color: var(--dark-green);
}


/* ------------------------------
   QUOTE NOTE
------------------------------ */

.quote-note {
    text-align: center;

    color: #777777;

    font-size: 0.9rem;

    margin:
        15px
        0
        0;
}

/* ------------------------------
   MOBILE MENU BUTTON
------------------------------ */

.menu-toggle {
    display: none;

    background: none;

    border: none;

    padding: 8px;

    margin: 0;

    cursor: pointer;
}


/* HAMBURGER LINES */

.menu-toggle span {
    display: block;

    width: 26px;

    height: 2px;

    background-color: var(--white);

    border-radius: 2px;

    transition:
        transform 0.2s,
        opacity 0.2s;
}

.menu-toggle[aria-expanded="true"]
span:nth-child(1) {

    transform:
        translateY(7px)
        rotate(45deg);
}


.menu-toggle[aria-expanded="true"]
span:nth-child(2) {

    opacity: 0;
}


.menu-toggle[aria-expanded="true"]
span:nth-child(3) {

    transform:
        translateY(-7px)
        rotate(-45deg);
}

/* ------------------------------
   SERVICE AREA SECTION
------------------------------ */

.service-area-section {
    text-align: center;
}


.service-area-content {
    max-width: 850px;

    margin: 0 auto;
}


.section-label {
    color: var(--green);

    font-size: 0.85rem;

    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 5px;
}


.service-area-intro {
    max-width: 650px;

    margin:
        0
        auto
        30px;

    color: var(--muted-text);
}


/* ------------------------------
   SERVICE AREA GRID
------------------------------ */

.service-area-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;

    margin-bottom: 25px;
}


.service-area-item {
    background-color: var(--light-green-bg);

    border:
        1px solid
        var(--light-border);

    border-radius: 8px;

    padding: 14px;

    color: var(--deep-green);

    font-weight: bold;
}


.service-area-note {
    color: #666666;

    font-size: 0.95rem;

    margin-bottom: 0;
}

/* ------------------------------
   CONVENIENCE BANNER
------------------------------ */

.convenience-banner {
    max-width: 1100px;

    margin:
        0
        auto
        30px;

    padding: 28px 32px;

    background-color: var(--dark-green);

    color: var(--white);

    border-radius: 12px;

    display: flex;

    align-items: center;

    gap: 22px;

    box-shadow:
        0 6px 18px
        rgba(0, 0, 0, 0.10);
}


.convenience-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background-color: var(--bright-green);

    color: var(--dark-green);

    border-radius: 50%;

    font-size: 1.4rem;

    font-weight: bold;
}


.convenience-text {
    flex: 1;
}


.convenience-text h2 {
    margin:
        0
        0
        5px;

    color: var(--white);

    font-size: 1.3rem;
}


.convenience-text p {
    margin: 0;

    color: #dce8df;
}

/* ------------------------------
   POPULAR REPAIRS
------------------------------ */

.repairs-section {
    text-align: center;
}


.repair-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

    margin-top: 35px;
}


.repair-card {
    background-color: var(--white);

    border:
        1px solid
        var(--light-border);

    border-radius: 12px;

    padding: 28px;

    text-align: left;

    display: flex;

    flex-direction: column;

    transition:
        transform 0.2s,
        box-shadow 0.2s;
}


.repair-card:hover {
    transform:
        translateY(-5px);

    box-shadow:
        0 8px 20px
        rgba(0, 0, 0, 0.10);
}


.repair-card h3 {
    margin:
        0
        0
        10px;

    color: var(--deep-green);

    font-size: 1.25rem;
}


.repair-card p {
    color: var(--muted-text);

    margin:
        0
        0
        20px;
}


/* PRICE / QUOTE LABEL */

.repair-price {
    display: inline-block;

    margin-top: auto;

    margin-bottom: 15px;

    color: var(--green);

    font-weight: bold;

    font-size: 0.9rem;
}


/* REPAIR LINK */

.repair-link {
    color: var(--green);

    text-decoration: none;

    font-weight: bold;
}


.repair-link:hover {
    text-decoration: underline;
}

.service-description {
    color: var(--muted-text);

    margin-bottom: 20px;
}

.parts-note {
    max-width: 750px;

    margin:
        30px
        auto
        0;

    padding-top: 20px;

    border-top:
        1px solid
        var(--light-border);

    color: #666666;

    font-size: 0.9rem;
}

/* ------------------------------
   COMPACT NAVIGATION
------------------------------ */

@media (max-width: 1100px) {

    .navbar {
        display: flex;

        align-items: center;

        flex-wrap: wrap;

        padding: 14px 25px;

        gap: 0;
    }


    .logo {
        margin-right: auto;
    }


    .logo-image {
        height: 85px;
    }


    /* SHOW HAMBURGER */

    .menu-toggle {
        display: flex;

        flex-direction: column;

        gap: 5px;

        margin-left: auto;
    }


    /* HIDE DESKTOP NAVIGATION */

    .nav-links {
        display: none;

        width: 100%;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding-top: 18px;
    }


    /* JAVASCRIPT OPENS MENU */

    .nav-links.active {
        display: flex;
    }


    .nav-links a {
        padding: 12px 5px;

        text-align: center;

        border-top:
            1px solid
            rgba(255, 255, 255, 0.15);
    }


    /* HIDE DESKTOP CALL / TEXT BUTTON */

    .nav-contact-button {
        display: none;
    }

}

/* ------------------------------
   Tablet DESIGN
------------------------------ */

@media (max-width: 900px) {

    .steps-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .trust-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .repair-grid {
        grid-template-columns:
        repeat(2, 1fr);
    }

}

/* ------------------------------
   MOBILE DESIGN
------------------------------ */

@media (max-width: 600px) {

    main {
        padding: 20px 12px;
    }

    section {
        padding: 25px 20px;
    }

    section h2 {
        font-size: 1.6rem;
    }

    .quote-intro {
        color: var(--muted-text);

        margin-bottom: 20px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 25px;
    }

    .service-button {
        display: block;
        text-align: center;
    }

    .navbar {
        display: flex;
        
        align-items: center;

        padding: 14px 15px;

        flex-wrap: wrap;

        gap: 0;
    }


    .logo {
        font-size: 1rem;
    }

    .logo-image {
        height: 58px;
    }

    /* SHOW MENU WHEN JAVASCRIPT
       ADDS THE ACTIVE CLASS */

    .nav-links.active {
        display: flex;
    }


    /* MOBILE NAVIGATION LINKS */

    .nav-links a {
        padding: 12px 5px;

        border-top:
            1px solid
            rgba(255, 255, 255, 0.15);
    }

    /* CALL / TEXT BUTTON */

    .nav-contact-button {
        display: none;
    }

    .hero {
        padding:
            65px
            15px
            75px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }


    .hero-buttons {
        flex-direction: column;

        max-width: 320px;

        margin: auto;
    }

    .button {
        width: 100%;

        text-align: center;
    }


    .hero-features {
        flex-direction: column;

        gap: 10px;

        margin-top: 30px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .step-card {
        padding: 25px 20px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .service-area-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .repair-grid {
        grid-template-columns: 1fr;
    }

    .convenience-banner {
        flex-direction: column;

        text-align: center;

        margin:
            0
            12px
            30px;

        padding:
            28px
            22px;
    }


    .convenience-banner .button {
        width: 100%;

        text-align: center;
    }
}