/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


:root {

    --forest: #073d2b;
    --forest-dark: #04291e;
    --green: #12633f;

    --sage: #dfead4;
    --sage-dark: #91aa82;

    --ivory: #f8f7ed;
    --cream: #f3f1df;

    --gold: #d8b94c;

    --text: #17231e;
    --muted: #5d6862;

}


body {

    font-family: "DM Sans", sans-serif;

    color: var(--text);

    background: #ffffff;

}


a {

    text-decoration: none;

    color: inherit;

}


button,
input,
select {

    font-family: inherit;

}


/* =====================================================
   NAVBAR
===================================================== */

.navbar {

    height: 82px;

    background:
        linear-gradient(90deg,
            #063c2a,
            #0a4a31);

    color: white;

    position: relative;

    z-index: 20;

}


.nav-container {

    max-width: 1450px;

    height: 100%;

    margin: auto;

    padding: 0 45px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


.logo {

    display: flex;

    align-items: center;

    gap: 12px;

}


.logo-symbol {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 40px;

    height: 40px;

}


.logo-text {

    display: flex;

    flex-direction: column;

}


.logo-text strong {

    font-family:
        "Playfair Display",
        serif;

    font-size: 25px;

}


.logo-text span {

    font-size: 11px;

    opacity: .9;

}


.navigation {

    display: flex;

    align-items: center;

    gap: 30px;

}


.navigation a {

    font-size: 14px;

    padding: 31px 0;

    position: relative;

}


.navigation a:hover,
.navigation a.active {

    color: #e0c95b;

}


.navigation a.active::after {

    content: "";

    position: absolute;

    bottom: 19px;

    left: 0;

    width: 100%;

    height: 2px;

    background: #e0c95b;

}


.portal-button {

    border: 1px solid #d9bd55;

    border-radius: 7px;

    padding: 12px 20px;

    color: #f5dc73;

    font-size: 13px;

    white-space: nowrap;

}


.portal-button:hover {

    background: #d9bd55;

    color: #123a2b;

}


/* =====================================================
   HERO
===================================================== */

.hero {

    min-height: 500px;

    position: relative;

    overflow: hidden;

    background: var(--ivory);

}


.hero-background {

    position: absolute;

    inset: 0;

    background: url("../images/farm-hero.jpg") center / cover no-repeat;

}



.hero-container {

    max-width: 1250px;

    min-height: 500px;

    margin: auto;

    padding: 30px 25px;

    position: relative;

    z-index: 3;

    display: grid;

    grid-template-columns:
        1.35fr .72fr;

    align-items: center;

    gap: 55px;

}


.hero-content {

    padding-bottom: 10px;

}


.hero-label {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 8px 15px;

    background: #e5ecd9;

    border-radius: 30px;

    color: #174f34;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .4px;

    margin-bottom: 18px;

}


.hero h1 {

    font-family:
        "Playfair Display",
        serif;

    font-size: clamp(48px, 5vw, 68px);

    line-height: 1.03;

    color: #073d2b;

    margin-bottom: 20px;

}


.hero h1 span {

    color: #0d5639;

}


.hero-description {

    max-width: 610px;

    font-size: 17px;

    line-height: 1.6;

    color: #37433e;

    margin-bottom: 27px;

}


/* =====================================================
   HERO FEATURES
===================================================== */

.hero-features {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;

    margin-bottom: 30px;

}


.feature {

    display: flex;

    gap: 9px;

}


.feature-icon {

    min-width: 42px;

    width: 42px;

    height: 42px;

    border-radius: 50%;

    background: #e3edd6;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #12623e;

    font-size: 19px;

}


.feature strong {

    display: block;

    font-size: 12px;

    margin-bottom: 4px;

}


.feature p {

    font-size: 10px;

    line-height: 1.4;

    color: #59635e;

}


/* =====================================================
   BUTTONS
===================================================== */

.hero-buttons {

    display: flex;

    gap: 15px;

}


.primary-button,
.secondary-button {

    height: 48px;

    padding: 0 25px;

    border-radius: 6px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    font-size: 14px;

    font-weight: 700;

}


.primary-button {

    color: white;

    background: #06472e;

}


.primary-button:hover {

    background: #0b6743;

}


.secondary-button {

    border: 1px solid #397053;

    color: #173e2d;

    background: rgba(255, 255, 255, .5);

}


/* =====================================================
   PORTAL LOGIN CARD
===================================================== */

.portal-card {

    background: rgba(255, 255, 255, 0.18);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, 0.35);

    border-radius: 16px;

    padding: 16px 20px;

    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);

}


.portal-title h2 {

    font-family:
        "Playfair Display",
        serif;

    font-size: 22px;

    color: #0a3d25;

}


.portal-title p {

    margin-top: 2px;

    font-size: 11px;

    color: #3a4f42;

}


.portal-tabs {

    display: grid;

    grid-template-columns: 1fr 1fr;

    margin: 10px 0;

    border: 1px solid #d9ddd8;

    border-radius: 6px;

    overflow: hidden;

}


.portal-tab {

    padding: 8px 7px;

    border: 0;

    background: white;

    cursor: pointer;

    font-size: 11px;

    color: #333;

}


.portal-tab.active {

    background: #075331;

    color: white;

}


.input-group {

    margin-bottom: 8px;

}


.input-group label {

    display: block;

    font-size: 11px;

    margin-bottom: 6px;

    color: #1e3a2a;

    font-weight: 600;

}


.input-wrapper {

    display: flex;

    align-items: center;

    border: 1px solid #d9ded9;

    border-radius: 6px;

    height: 36px;

    padding: 0 10px;

    gap: 7px;

}


.input-wrapper span {

    color: #5b665f;

}


.input-wrapper input {

    width: 100%;

    height: 100%;

    border: 0;

    outline: 0;

    font-size: 12px;

}


.login-options {

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-size: 10px;

    color: rgba(255, 255, 255, 0.8);

    margin: 4px 0 8px;

}


.login-options a {

    color: #a8f0c6;

    font-weight: 600;

}


.login-button {

    width: 100%;

    height: 38px;

    border: 0;

    border-radius: 6px;

    background: #075331;

    color: white;

    font-weight: 700;

    font-size: 13px;

    cursor: pointer;

}


.login-button:hover {

    background: #0a6840;

}


.or {

    display: flex;

    align-items: center;

    gap: 10px;

    margin: 8px 0;

    color: #8b918d;

    font-size: 10px;

}


.or span {

    flex: 1;

    height: 1px;

    background: #e1e3e1;

}


.new-client strong {

    font-size: 12px;

    color: #ffffff;

}


.new-client p {

    font-size: 10px;

    color: rgba(255, 255, 255, 0.7);

    margin: 2px 0 7px;

}


.new-client a {

    height: 32px;

    border: 1px solid rgba(255, 255, 255, 0.4);

    border-radius: 5px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #ffffff;

    font-size: 11px;

    font-weight: 700;

    background: rgba(255, 255, 255, 0.12);

}


/* =====================================================
   STANDARDS
===================================================== */

.standards {

    background: #f1f5e7;

    padding: 14px 40px 18px;

}


.standards-title {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 20px;

    margin-bottom: 14px;

}


.standards-title span {

    width: 100px;

    height: 1px;

    background: #a8b69d;

}


.standards-title h3 {

    font-size: 15px;

    color: #163d2c;

}


.standards-list {

    max-width: 1250px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(8, 1fr);

    align-items: center;

}


.standards-list>div {

    text-align: center;

    font-weight: 700;

    font-size: 17px;

    color: #276641;

    padding: 5px 12px;

    border-right: 1px solid #d1d8c9;

}


.standards-list>div:last-child {

    border: 0;

}


.standards-list small {

    display: block;

    font-size: 7px;

    color: #687168;

    margin-top: 3px;

}


/* =====================================================
   PLATFORM
===================================================== */

.platform {

    padding: 42px 40px;

    background: white;

}


.section-heading {

    text-align: center;

    max-width: 800px;

    margin: auto auto 28px;

}


.section-heading h2 {

    font-size: 26px;

    color: #151b18;

    margin-bottom: 5px;

}


.section-heading p {

    color: #657069;

    font-size: 13px;

}


.service-grid {

    max-width: 1370px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 13px;

}


.service-card {

    background: #f5f8eb;

    border: 1px solid #e7ecd9;

    border-radius: 8px;

    text-align: center;

    padding: 15px 12px 18px;

    transition: .25s;

}


.service-card:hover {

    transform: translateY(-5px);

    box-shadow:
        0 12px 30px rgba(20, 70, 40, .12);

}


.service-icon {

    width: 48px;

    height: 48px;

    margin: 0 auto 10px;

    background: #e2edd6;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 22px;

}


.ai-icon {

    font-size: 14px;

    font-weight: 800;

}


.service-card h3 {

    font-size: 14px;

    margin-bottom: 7px;

}


.service-card p {

    font-size: 10px;

    line-height: 1.5;

    color: #5c665f;

    min-height: 60px;

}


.service-card a {

    font-size: 10px;

    color: #11603a;

    font-weight: 700;

}


/* =====================================================
   STATS
===================================================== */

.stats {

    min-height: 100px;

    padding: 20px 45px;

    background:
        linear-gradient(90deg,
            #063d29,
            #075133,
            #063d29);

    color: white;

    display: grid;

    grid-template-columns:
        repeat(5, 1fr) 1.4fr;

    align-items: center;

    gap: 20px;

}


.stat {

    text-align: center;

    border-right: 1px solid rgba(255, 255, 255, .25);

}


.stat strong {

    display: block;

    font-size: 26px;

}


.stat span {

    font-size: 11px;

    opacity: .9;

}


.stats-message {

    display: flex;

    flex-direction: column;

    color: #f0d866;

    font-size: 14px;

    line-height: 1.5;

}


.stats-message span {

    font-size: 22px;

}


/* =====================================================
   FOOTER
===================================================== */

footer {

    background: #03261c;

    color: white;

    padding: 35px 50px;

}


.footer-inner {

    max-width: 1250px;

    margin: auto;

    display: flex;

    justify-content: space-between;

}


.footer-inner h3 {

    font-family:
        "Playfair Display",
        serif;

    font-size: 22px;

}


.footer-inner h4 {

    color: #d6bf55;

    margin-bottom: 8px;

}


.footer-inner p {

    font-size: 12px;

    opacity: .75;

}


/* =====================================================
   FLASH
===================================================== */

.flash-container {

    position: fixed;

    top: 90px;

    right: 25px;

    z-index: 100;

}


.flash {

    padding: 13px 20px;

    border-radius: 6px;

    margin-bottom: 10px;

    background: white;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .15);

    font-size: 13px;

}


.flash.success {

    border-left: 4px solid #18824e;

}


.flash.error {

    border-left: 4px solid #bd423d;

}


/* =====================================================
   AUTH PAGE
===================================================== */

.auth-page {

    min-height: 80vh;

    background: #f3f5e9;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 50px 20px;

}


.auth-card {

    width: 430px;

    background: white;

    padding: 35px;

    border-radius: 12px;

    box-shadow:
        0 20px 50px rgba(20, 50, 35, .12);

}


.auth-card h1 {

    font-family:
        "Playfair Display",
        serif;

    color: #0b442d;

    margin: 10px 0;

}


.auth-card p {

    color: #68736d;

    font-size: 13px;

    margin-bottom: 20px;

}


.auth-card label {

    display: block;

    font-size: 12px;

    margin-bottom: 15px;

}


.auth-card input,
.auth-card select {

    width: 100%;

    height: 44px;

    margin-top: 6px;

    border: 1px solid #d5dbd5;

    border-radius: 6px;

    padding: 0 12px;

    outline: 0;

}


.auth-card button {

    width: 100%;

    height: 45px;

    border: 0;

    border-radius: 6px;

    background: #075331;

    color: white;

    cursor: pointer;

    font-weight: 700;

}


.auth-card a {

    color: #12613e;

    font-weight: 600;

}


.eyebrow {

    color: #286344;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1100px) {

    .navigation {

        gap: 14px;

    }

    .hero-container {

        grid-template-columns: 1fr;

    }

    .portal-card {

        max-width: 500px;

    }

    .hero-features {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .service-grid {

        grid-template-columns:
            repeat(3, 1fr);

    }

    .standards-list {

        grid-template-columns:
            repeat(4, 1fr);

    }

    .stats {

        grid-template-columns:
            repeat(3, 1fr);

    }

}


@media (max-width: 760px) {

    .navbar {

        height: auto;

    }

    .nav-container {

        padding: 15px 20px;

        flex-wrap: wrap;

    }

    .navigation {

        order: 3;

        width: 100%;

        overflow-x: auto;

        padding-bottom: 5px;

    }

    .navigation a {

        white-space: nowrap;

        padding: 8px 0;

    }

    .navigation a.active::after {

        display: none;

    }

    .hero-container {

        padding: 35px 20px;

    }

    .hero h1 {

        font-size: 42px;

    }

    .hero-features {

        grid-template-columns: 1fr;

    }

    .service-grid {

        grid-template-columns: 1fr;

    }

    .standards-list {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .stats {

        grid-template-columns: 1fr 1fr;

    }

    .stats-message {

        grid-column: 1 / -1;

    }

    .footer-inner {

        flex-direction: column;

        gap: 25px;

    }

}