:root {
    --site-navy: #0a1f33;
    --site-navy-light: #9fb3c4;
    --site-green: #46a75b;
    --site-green-text: #0a1f33;
    --site-darkgreen: #306a40;
    --site-darkgreen-text: #306a40;
    --site-bg: #f4f5f3;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html, body {
    height: 100%;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}


header {
    position: relative;
    z-index: 100;
}

body {
    margin-bottom: 60px;
    background-color: var(--site-bg);
    /*font-family: "Segoe UI", system-ui, -apple-system, sans-serif;*/
    font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

p {
    margin-bottom: 0.7em;
}

main {
    flex: 1 0 auto;
}

.site-navbar {
    background-image: url('/images/greenfielditservicesbanner.jpg');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.site-brand-band {
    background-color: #ffffff;
    padding: 1rem 4rem 0 4em;
}

    .site-brand-band .navbar-brand {
        color: var(--site-darkgreen);
        font-size: 2.25rem;
        line-height: 1.15;
        display: inline-block;
    }

    .site-brand-band .sub-brand {
        color: var(--site-darkgreen-text);
        letter-spacing: 0.2em;
        font-weight: 500;
    }

.site-navbar-overlay {
    position: absolute;
    inset: 0;
    /*background-color: var(--site-navy);*/
    opacity: 0.55;
}

.site-navbar-content {
    position: relative;
    z-index: 1;
}

.sub-brand {
    font-size: 0.7em !important;
    padding-left: 3px;
}

.site-navbar .navbar-brand {
    color: #ffffff;
    line-height: 1.2;
    font-size: 1.6rem;
}

    .site-navbar .navbar-brand span {
        color: var(--site-navy-light);
        font-size: 0.7rem;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        font-weight: 400;
    }

.site-navbar .nav-link {
    color: #eaeced;
    font-size: 1.05rem;
    padding: 0.5rem 1.1rem;
    margin: 0 0.25rem;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

    .site-navbar .nav-link:hover {
        color: #ffffff;
        font-size: 1.06rem;
        background-color: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.15);
    }

    .site-navbar .nav-link.active {
        color: #ffffff;
        background-color: rgba(70, 167, 91, 0.15);
        border-color: var(--site-green);
        border-bottom: none;
    }

.site-btn-call {
    background-color: var(--site-green);
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 4px;
    margin-bottom: 1em;
}

    .site-btn-call:hover {
        background-color: #3c8f4d;
        color: #ffffff;
    }


.site-navbar-right {
    display: flex;
    align-items: center;
    justify-self: end;
}

.site-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.site-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.hero-banner {
    position: relative;
    background: linear-gradient(180deg, var(--site-sage-bg) 0%, #ffffff 60%);
    overflow: hidden;
    /*background-image: url('/images/greenfielditservicesbanner.jpg');
    background-size: 100% auto;
    background-position: bottom;
    background-repeat: no-repeat;*/
    min-height: auto;
    display: flex;
    align-items: flex-start;
    padding-top: 3rem;
    z-index: 1;
}

    .hero-banner::before {
        content: "";
        position: absolute;
        top: -140px;
        right: -160px;
        width: 480px;
        height: 480px;
        border-radius: 50%;
        border: 1.5px solid var(--site-green);
        opacity: 0.2;
    }

    .hero-banner::after {
        content: "";
        position: absolute;
        top: -60px;
        right: -80px;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        border: 1.5px solid var(--site-green);
        opacity: 0.3;
    }

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
}

    .hero-content h1 {
        font-size: 2rem;
        font-weight: 500;
        color: var(--site-navy);
        line-height: 1.15;
        margin: 0;
    }

.hero-accent {
    display: block;
    color: var(--site-green);
    font-size: 0.9em;
}

.hero-tagline {
    font-size: 1.2em;
}

.hero-badge {
    display: inline-block;
    background: var(--site-sage-bg);
    color: #2f6b40;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1.2px;
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 22px;
}

.hero-title {
    font-family: "Lora", serif;
    font-size: 52px;
    line-height: 1.12;
    font-weight: 700;
    margin: 0 0 18px;
    color: #1a1f29;
}

.hero-subtitle {
    font-family: "Lora", serif;
    font-size: 26px;
    font-weight: 600;
    color: #2f6b40;
    margin: 0 0 20px;
}

.site-card {
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(20, 30, 20, 0.08);
    border: none;
}
    .site-card h3 {
    margin-bottom:.2em;
    }

    .site-card-icon {
        width: 52px;
        height: 52px;
        border-radius: 12px;
        background-color: var(--site-sage-bg);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 14px;
    }

    .site-card-icon svg {
        width: 52px;
        height: 52px;
    }

.trust-cards {
    margin-top: -3rem;
    position: relative;
    z-index: 2;
}



.site-card {
    background-color: #ffffff;
    border: 1px solid #e2e5e8;
    border-radius: 8px;
    padding: 1.0rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.site-card-icon {
    font-size: 1.75rem;
    color: var(--site-green);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background-color: var(--site-sage-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .service-icon svg {
        width: 40px;
        height: 40px;
    }

.service-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 0.2rem;
}

    .service-card-header h3 {
        margin: 0;
        text-align: left;
        font-size:20px;
    }

.site-cta-band {
    background-color: var(--site-navy);
    color: #ffffff;
}

.intro-hook {
    font-family: "Lora", serif;
    font-style: italic;
    font-size: 19px;
    color: #2f6b40;
    margin-bottom: 1.5rem;
}

.site-navbar,
.site-footer {
    flex-shrink: 0;
}

.site-footer {
    background-color: var(--site-navy);
    color: var(--site-navy-light);
    font-size: 0.8rem;
    padding: 1.5rem 2rem;
    text-align: center;
}

    .site-footer p {
        margin: 0.25rem 0;
    }

.footer-link {
    color: inherit;
    text-decoration: underline;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (max-width: 767.98px) {
    .site-navbar-grid {
        flex-wrap: nowrap;
        position: relative;
    }

    .site-brand-band {
        padding: 1rem .3rem 0;
    }

    .site-navbar {
        background-size: 100% 85%;
        padding-top: 0px;
    }

        .site-navbar .nav-link {
            color: var(--site-darkgreen);
            font-size: 1.4em;
            border: 1px solid #291b1b52;
        }

    .site-navbar-right {
        display: block;
        padding-top: 10px;
    }

        .site-navbar-right .navbar-collapse {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            width: 100%;
            background-color: #ffffff;
            padding: 1rem 1.5rem;
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
            z-index: 1000;
        }

    .site-navbar .container-fluid.site-navbar-grid {
        display: flex;
        flex-wrap: wrap;
    }
    .site-card p, li{ 
        font-size:18px!important;
    }
    .site-card-icon svg {
        width: 42px;
        height: 42px;
    }
    .hero-accent {
        padding:20px .1em;
        font-size:.7em;
    }
    .h5, .h6 {
        font-size: 25px;
    }
    .service-icon {
        width: auto;
    }
}
