:root {
    --green: #005a2b;
    --brown: #8b400a;
    --blue: #0a5ea8;
    --line: #e4e7e5;
}

/* =========================================================
   GLOBAL
   ========================================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: #111;
    font-family: Arial, "Noto Sans", sans-serif;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================================================
   TOP BAR
   ========================================================= */

.topbar {
    height: 48px;
    background: #005a2b;
    color: #fff;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 3.5%;
    font-size: 15px;
}

.top-left,
.top-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-right {
    gap: 27px;
}

.top-right a {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.customer-btn {
    background: #e8a800;
    color: #000000 !important;
    font-weight: 700;
    border-radius: 4px;
    padding: 8px 18px;
}


/* =========================================================
   SITE HEADER
   ========================================================= */

.site-header {
    height: 70px;

    display: flex;
    align-items: center;

    padding: 0 3.4%;
    background: #fff;
}

.brand {
    display: flex;
    align-items: center;
    min-width: 500px;
}

.brand img {
    /*width: 50px;*/
    height: 60px;
    object-fit: cover;
}

.brand-copy {
    margin-left: 12px;
}

.brand-name {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.02;
    color: #005a2b;
}

.tagline {
    font-size: 14px;
    color: #555;
    margin-top: 7px;
}


/* =========================================================
   MAIN NAVIGATION
   ========================================================= */

.main-nav {
    margin-left: auto;

    height: 50%;

    display: flex;
    align-items: center;
    gap: 27px;
}

.main-nav > a,
.nav-drop > a {
    height: 100%;

    display: flex;
    align-items: center;

    gap: 5px;

    font-size: 15px;

    border-bottom: 3px solid transparent;

    white-space: nowrap;
}

.main-nav > a.active {
    border-bottom-color: #005a2b;
}


/* =========================================================
   DROPDOWN
   ========================================================= */

.nav-drop {
    height: 100%;
    position: relative;
}

.dropdown {
    display: none;

    position: absolute;

    right: 0;
    top: 100%;

    min-width: 220px;

    background: #fff;

    border: 1px solid #ddd;

    box-shadow: 0 8px 25px #0002;

    padding: 8px 0;

    z-index: 30;
}

.nav-drop:hover .dropdown {
    display: block;
}

.dropdown a {
    display: block;
    padding: 10px 16px;
}

.dropdown a:hover {
    background: #f2f6f3;
    color: #005a2b;
}


/* =========================================================
   MOBILE MENU
   ========================================================= */

.mobile-menu {
    display: none;
}


/* =========================================================
   HERO SECTION
   ========================================================= */

.hero {
    height: 350px;

    position: relative;
    overflow: hidden;

    background: #f5f7f3;
}

.hero-image {
    position: absolute;
    inset: 0;

    background: url("../images/hero-farmer.jpg") center right / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
            linear-gradient(
                    90deg,
                    #f7f7f3 0%,
                    #f7f7f3 28%,
                    rgba(247, 247, 243, 0.76) 44%,
                    rgba(247, 247, 243, 0) 64%
            );

    z-index: 2;
}

.hero-copy {
    position: absolute;

    left: 9.2%;
    top: 31px;
}

.hero h1 {
    margin: 0;

    color: #005a2b;

    font-size: 38px;
    line-height: 1.08;
}

.hero p {
    font-size: 18px;
    line-height: 1.45;

    margin: 13px 0 16px;
}

.hero-buttons {
    display: flex;
    gap: 18px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    height: 39px;

    padding: 0 19px;

    display: inline-flex;
    align-items: center;

    gap: 24px;

    border-radius: 4px;

    font-weight: 700;
}

.btn.green {
    background: #005a2b;
    color: #fff;
}

.btn.white {
    background: #fff;

    border: 1px solid #005a2b;
}

.btn span {
    font-size: 20px;
}


/* =========================================================
   HERO SLIDER
   ========================================================= */

.slider-arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    transform: translateY(-650%);
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #005a2b;
    color: #fff;
    font-size: 31px;
    cursor: pointer;
}

.slider-arrow.left {
    left: 22px;
}

.slider-arrow.right {
    right: 22px;
}


/* =========================================================
   SLIDER DOTS
   ========================================================= */

.dots {
    position: absolute;

    z-index: 6;

    bottom: 13px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    gap: 7px;
}

.dot {
    width: 12px;
    height: 12px;

    border: 0;
    border-radius: 50%;

    background: #fff;

    box-shadow: 0 0 0 1px #aaa;
}

.dot.active {
    background: #005a2b;
    box-shadow: none;
}


/* =========================================================
   QUICK LINKS + NEWS WRAPPER
   ========================================================= */

.quick-news-wrap {
    display: grid;

    grid-template-columns:
        minmax(0, 3.4fr)
        minmax(330px, 1.15fr);

    gap: 20px;

    padding: 17px 2.8% 0;
}


/* =========================================================
   QUICK LINKS GRID
   ========================================================= */

.quick-grid {
    display: grid;

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

    gap: 6px;
}

.quick-card {
    height: 84px;

    border: 1px solid #e3e7e4;
    border-radius: 7px;

    display: flex;
    align-items: center;

    gap: 11px;

    padding: 9px 12px;

    background: #fff;
}

.quick-icon {
    font-size: 34px;
    color: #005a2b;

    width: 36px;

    text-align: center;
}

.quick-card strong {
    display: block;

    font-size: 14px;

    margin-bottom: 5px;
}

.quick-card small {
    display: block;

    font-size: 12px;

    line-height: 1.35;

    color: #555;
}


/* =========================================================
   SERVICES TITLE
   ========================================================= */

.services-title {
    margin-top: 20px;
    height: 35px;
}

.services-title h2 {
    font-size: 21px;

    color: #005a2b;

    margin: 0;

    position: relative;
}

.services-title h2::after {
    content: "";

    display: block;

    width: 34px;
    height: 3px;

    background: #005a2b;

    margin-top: 8px;
}


/* =========================================================
   SERVICE CARDS
   ========================================================= */

.service-cards {
    display: grid;

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

    gap: 17px;
}

.service-card {
    height: 211px;

    border: 1px solid #e1e5e2;
    border-radius: 7px;

    overflow: hidden;

    position: relative;

    text-align: center;

    background: #fff;
}

.service-image {
    height: 89px;
}

.service-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* =========================================================
   SERVICE BADGES
   ========================================================= */

.service-badge {
    position: absolute;

    top: 61px;
    left: 50%;

    transform: translateX(-50%);

    width: 50px;
    height: 50px;

    border: 3px solid #fff;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;

    font-size: 23px;

    box-shadow: 0 2px 5px #0003;
}

.green-badge {
    background: #005a2b;
}

.brown-badge {
    background: #8b400a;
}

.blue-badge {
    background: #0a5ea8;
}


/* =========================================================
   SERVICE BODY
   ========================================================= */

.service-body {
    padding: 29px 8px 7px;
}

.service-body h3 {
    font-size: 14px;

    margin: 0 0 8px;
}

.service-body p {
    font-size: 11px;

    color: #666;

    line-height: 1.45;

    margin: 0 0 10px;
}

.service-body a {
    color: #005a2b;

    font-size: 12px;

    font-weight: 700;
}

.service-body a span {
    font-size: 17px;

    margin-left: 6px;
}


/* =========================================================
   NEWS PANEL
   ========================================================= */

.news-panel {
    border: 1px solid #e1e5e2;

    border-radius: 7px;

    padding: 13px 17px 0;

    min-height: 365px;
}

.news-head {
    display: flex;

    justify-content: space-between;

    align-items: center;
}

.news-head h2 {
    font-size: 19px;

    color: #005a2b;

    margin: 0;
}

.news-head a {
    font-size: 12px;
}

.news-head a span {
    font-size: 18px;
    color: #005a2b;
}

.news-line {
    width: 34px;
    height: 3px;

    background: #005a2b;

    margin: 8px 0 10px;
}


/* =========================================================
   NEWS ITEMS
   ========================================================= */

.news-item {
    display: block;

    position: relative;

    padding: 0 20px 12px 0;

    margin-bottom: 10px;

    border-bottom: 1px solid #e1e5e2;
}

.news-item:last-child {
    border: 0;
}

.tag {
    display: inline-block;

    color: #fff;

    font-size: 9px;

    padding: 3px 6px;

    border-radius: 2px;

    margin-bottom: 4px;
}

.news-tag {
    background: #005a2b;
}

.announcement-tag {
    background: #11679e;
}

.circular-tag {
    background: #8b400a;
}

.tender-tag {
    background: #6b247c;
}

.news-item strong {
    display: block;

    font-size: 12px;

    line-height: 1.3;
}

.news-item small {
    display: block;

    color: #777;

    font-size: 10px;

    margin-top: 4px;
}

.news-item i {
    position: absolute;

    right: 0;
    top: 32px;

    font-size: 25px;

    color: #777;

    font-style: normal;
}


/* =========================================================
   STATISTICS BAR
   ========================================================= */

.stats-bar {
    margin: 10px 2.8%;

    height: 84px;

    background: #005a2b;

    color: #fff;

    border-radius: 8px;

    display: grid;

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

    align-items: center;
}

.stat {
    height: 60%;

    display: grid;

    grid-template-columns: 45px 1fr 1.15fr;

    align-items: center;

    padding: 0 30px;

    border-right: 1px solid #ffffff55;
}

.stat:last-child {
    border: 0;
}

.stat > b {
    font-size: 31px;
    text-align: center;
}

.stat strong {
    font-size: 21px;
}

.stat span {
    font-size: 11px;

    line-height: 1.4;
}

.stat small {
    font-size: 10px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: #005a2b;

    color: #fff;

    margin-top: 10px;
}

.footer-main {
    display: grid;

    grid-template-columns:
        1.55fr
        1fr
        .75fr
        1.35fr
        1.15fr
        .95fr
        1.25fr;

    gap: 20px;

    padding: 17px 3.2% 14px;
}

.footer-logo {
    width: 73px;
    height: 73px;
    border-radius: 50%;
}

.footer-logo img {
    margin: 15px auto 0;

    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.footer-about {
    font-size: 11px;
}

.footer-about p {
    line-height: 1.45;

    color: #edf7f0;
}

.follow {
    font-weight: 700;
}


/* =========================================================
   SOCIAL MEDIA
   ========================================================= */

.socials {
    display: flex;
    gap: 13px;
}

.socials a {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #000000;
    color: #005a2b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
}

/* =========================================================
   FOOTER LINKS
   ========================================================= */

.site-footer h3 {
    font-size: 14px;
    margin: 3px 0 8px;
}

.site-footer a,
.site-footer p {
    display: block;
    color: #edf7f0;
    font-size: 11px;
    line-height: 1.65;
    margin: 0;
}


/* =========================================================
   COPYRIGHT
   ========================================================= */

.copyright {
    height: 30px;
    background: #8b400a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}


/* =========================================================
   INNER PAGES
   ========================================================= */

.inner-page {
    min-height: 520px;
    padding: 55px 4%;
}

.inner-container {
    max-width: 1280px;
    margin: auto;
}

.inner-container h1 {
    font-size: 34px;
    color: #005a2b;
}

.content-box {
    border: 1px solid #e3e7e4;
    border-radius: 7px;
    padding: 25px;
}

.content-box h2 {
    color: #005a2b;
}


/* =========================================================
   RESPONSIVE
   MAX WIDTH: 1250px
   ========================================================= */

@media (max-width: 1250px) {

    .brand {
        min-width: 400px;
    }

    .main-nav {
        gap: 15px;
    }

    .quick-news-wrap {
        grid-template-columns: 1fr;
    }

    .news-panel {
        min-height: 0;
    }

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


/* =========================================================
   RESPONSIVE
   MAX WIDTH: 1000px
   ========================================================= */

@media (max-width: 1000px) {

    .top-right {
        gap: 12px;
    }

    .top-right > a:not(.customer-btn) {
        display: none;
    }

    .brand {
        min-width: 0;
    }

    .mobile-menu {
        display: block;

        margin-left: auto;

        border: 0;

        background: none;

        font-size: 28px;

        color: #005a2b;
    }

    .main-nav {
        display: none;

        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        height: auto;

        background: #fff;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 10px 4%;

        box-shadow: 0 8px 20px #0002;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav > a,
    .nav-drop > a {
        height: 45px;

        border-bottom: 1px solid #eee;
    }

    .quick-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .stats-bar {
        height: auto;

        padding: 10px 0;

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


/* =========================================================
   RESPONSIVE
   MAX WIDTH: 650px
   ========================================================= */

@media (max-width: 650px) {

    .topbar {
        height: auto;

        padding: 7px 4%;

        font-size: 12px;
    }

    .customer-btn {
        padding: 6px 9px;
    }

    .site-header {
        height: 90px;
    }

    .brand img {
        /*width: 300px;*/
        height: 68px;
    }

    .brand-name {
        font-size: 10px;
    }

    .tagline {
        font-size: 11px;
    }

    .hero {
        height: 300px;
    }

    .hero-copy {
        left: 7%;
        top: 42px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }

    .quick-grid,
    .service-cards,
    .footer-main {
        grid-template-columns: 1fr;
    }

    .stats-bar {
        grid-template-columns: 1fr 1fr;
    }

    .stat {
        border: 0;
    }

    .news-panel {
        margin-top: 4px;
    }
}