* {
    margin: 0;
    padding: 0;
}

.hide-desktop {
    display: none;
}


body {
    
    font-family: "Google Sans Flex";
}

/* General Styling */
button {
    all: unset;
    border-radius: 24px;
    background-color: rgb(2, 96, 2);
    color: white;
    padding: .8rem 1.2rem;
    min-width: fit-content;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #616161;
    
}

#item0 {

    img {
    border-radius: 50%;
    background-color: white;
    place-self: right;
    }
    
}

/* .divider {
    height: 50px;
    width: 4px;
    background-color: rgb(0, 45, 0);
} */



/* li {
    background-color: #000;
} */

#item5 {
    place-content: center;
}


/* section {
    min-height: 100vh;
} */


/* Header */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.4rem 3.6rem;
    position: sticky;
    top: .8rem;
    z-index: 999;
    background-color: white;
    padding: 1.2rem;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}




nav ul {
    display: flex;
    align-items: center;
    gap: 40px;
    
    a {
        font-size: .9rem;
    }
}

/* Home */
#home {
    display: flex;
    min-height: 100dvh;
    margin-top: 6%;
    margin: 2rem 4.6rem;
}

#hero-p {
    max-width: 400px;
    margin: 1rem 0;
    opacity: .7;
    font-weight: 400;
}



span {
    color: rgb(2, 96, 2);
}

#home-main {
    display: flex;
    margin-top: 8%;
    max-width: fit-content;
    /* justify-content: center; */
    gap: 70px;

    #hero-h1 {
        font-size: 3.2rem;
        line-height: .9;
        font-weight: 500;
    }
}

stat-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    

    h1 {
        /* opacity: .7; */
        font-weight: 500;
        
        color: rgb(2, 164, 2)
        
       
    }

    p {
        font-weight: 500;
         color: rgb(0, 58, 0);
    }
   
}

.ctas {
    margin: 1.6rem 0;
    display: flex;
    gap: 16px;
    
   

    #sec-cta {
        background-color: white;
        color:rgb(4, 105, 4);
        border: 2px solid;
        font-weight: 550;
    }
}



.hero-img-class {
    
    place-items: right;
    display: flex;
    justify-content: right;
    margin: 0;
    /* height: 380px;
    width: 460px;  */
    align-items: top;
    height: 400px;
    width: 520px; 


    img {
        /* margin-top: 2%; */
        margin-top: -3rem;
        width: 100%;
        border-radius: 40px;

    }

    /* .plaque {   
        height: 590px;
        width: 400px;
        background-color: rgb(204, 224, 204);
        z-index: -1;
        /* position: absolute;
        place-self: center;
        border-radius: 40px;
    } */
}

/* About */

#about {
    padding-top: 4%;
    background-color: #f8f8f8;
    min-height: 100dvh;
    
    

     h3 {
        font-size: 1rem;
        font-weight: 500;
    }
}

.about-div, .solutions-div, .why-choose-us-div, .contact-div {
    background-color: white;
    max-width: fit-content;
    /* margin: 20px 40px; */
    padding: 10px 20px;
    border: 1.5px solid #e7e7e7;
    border-radius: 40px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

#about-main {

    display: flex;
    margin-bottom: 6rem;

    /* padding: 1.2rem; */
    h1 {
        font-size: 2.6rem;
        margin-bottom: 2rem;
        font-weight: 500;
        max-width: 560px
    }


}

.grid-item {
    background-color: #eae9e9;
    padding: 8px;
    border-radius: 8px;
    color: rgb(73, 73, 73)
}

.grid-box {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    max-width: 460px
}



.main-left {
    padding: 4rem 3.6rem;
}

.main-right {
    max-width: 500px;
    color: rgb(73, 73, 73);
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    padding-top: 8%;
    
    

    button {
        max-width: fit-content;
        padding: 16px;
        display: flex;
        align-items: center;
        gap: 10px;
        
        .diamond {
            background-color: white;
        }
    }
}

#about-main2 {
    background-color: white;
    padding: 4rem 3.6rem;
} 

.diamond {
    height: 10px;
    width: 10px;
    background-color: darkgreen;
    transform: rotate(45deg);
}
.circle {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background-color: darkgreen;
}
.box {
    height: 10px;
    width: 10px;
    background-color: darkgreen;
}

.main-stat-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.main-stat {
    /* background-color: white; */
    max-width: fit-content;
    display: flex;
    gap: 10px;
    flex-direction: column;
    padding: 20px;

    h4 {
        font-size: 1.2rem;
        font-weight: 500;
    }

    h1 {
        font-size: 3.8rem;
        font-weight: 500;
    }

    p {
        max-width: 280px;
        /* font-size: .9rem; */
        opacity: .7;
    }
}


/* Solutions */

.solutions-div {

    h3 {
        font-weight: 500;
        opacity: .9;
    }
    
}

#solutions {
    padding-top: 6rem;
    margin-bottom: 4rem;
    display: flex;
   justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-left: 1.2rem;
    margin-right: 1.2rem;

    

    .solutions-h1 {
        font-weight: 500;
        font-size: 2.8rem;
        max-width: 300px;
    }

    .solutions-p {
        max-width: 660px;
        margin-top: 2rem;
        opacity: .7;
        text-align: center;
    }
}
#solutions-btn {
    margin: 2.4rem;
    padding: 24px;
    border-radius: 30px;
    display: flex;
    gap: 10px;
    align-items: center;
    
    .diamond {
        background-color: white;
    }
}

.solutions-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.solutions-card {
    
    height: 320px;
    width: 280px;
    background-color: #e7e7e7;
    border-radius: 20px;
    padding: 10px;
    text-align: none;
    place-items: baseline;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    

    

    h1 {
        font-size: 2rem;
        font-weight: 600;
    }

    p {
        opacity: .8
    }
    
}

#solution1 {
    background: linear-gradient(to bottom, transparent 0%,rgba(0, 0, 0, 1) 100%), url(resources/farmers-support.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
}
#solution2 {
    background: linear-gradient(to bottom, transparent 0%,
  rgba(0, 0, 0, 0.8) 100%), url(resources/agro-advice.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}
#solution3 {
    background: linear-gradient(to bottom, transparent 0%,rgba(1, 59, 1, 1) 100%), url(resources/seed-fert.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}
#solution4 {
    background: linear-gradient(to bottom, transparent 0%,rgba(32, 33, 32, 1) 100%), url(resources/contract.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}
#solution5 {
    background: linear-gradient(to bottom, transparent 0%,rgba(25, 26, 25, 1) 100%), url(resources/digital.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}
#solution6 {
    background: linear-gradient(to bottom, transparent 0%,rgba(32, 33, 32, 1) 100%), url(resources/academy.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.why-choose-us-div {
    h3 {
        font-weight: 500;
        font-size: .9rem;
    }
    
    
}


.partner{
    height: 200px;
    width: 200px;

    img {
        width: 100%
    }
}

.partners {
    padding-top: 2rem;
}

.partners-logos {
    margin: 2rem;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

#why-choose-us {
    padding-top: 1.8rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: #fbfbfb;

    h1 {
        font-size: 2.6rem;
        font-weight: 500;
        max-width: 600px;
        text-align: center;
    }

    

}


.sus-class {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 2rem
}

.sus-card {
    width: 260px;
    height: 280px;
    background-color: #e7e7e7;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px;
    border-radius: 24px;

    h3 {
        font-size: 1.8rem;
    }

    p {
        opacity: .8;
        font-weight: 300;
    }

    img {
        height: 100px;
        width: 100px;
        border-radius: 6%;
    }
}


.partner{
    height: 200px;
    width: 200px;

    img {
        width: 100%
    }
}

.partners {
    padding-top: 2rem;
    background-color: #fbfbfb;
}

.partners-logos {
    margin: 2rem;
    display: flex;
    gap: 40px;
    place-self: center;
    padding-bottom: 3rem;
}

#contact-us {
    padding: 4rem;
}
.contact-div {
    
    h3 {
        font-weight: 500;
        font-size: 1rem;
    }
}

.contact-main {
    p {
        margin-top: 1.2rem;
        max-width: 500px;
        opacity: .7;
    }

    h1 {
        font-size: 2.6rem;
        font-weight: 500;
    }

}


.contact {
    display: flex;
    margin-right: 0rem;
    gap: 80px;
    flex-wrap: wrap;
}
.contact-form {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    width: 500px;
    padding: 1.6rem;
    background-color: whitesmoke;
    /* margin-left: 1.2rem;
     */
    /*  */
    


    input {
        padding: .8rem;
        width: 200px;
        margin: .3rem;
    }

    input, textarea {
        font-family: "Google Sans flex";
        border: none;
        border-radius: 8px;
        background-color: white;
    }

    textarea {
        padding: .8rem;
        /* width: 220; */
        height: 100px; 
        margin: .3rem;
    }

    button {
        text-align: center;
        margin: .8rem
    }

    .br {
        display: flex;
        flex-wrap: wrap;
    }
}

#testimonials {

    margin-top: 3rem;
    
    h1 {
        font-size: 3rem;
        font-weight: 500;
        max-width: 500px;
        place-self: center;
        text-align: center;
    }

    .why-choose-us-div {
        place-self: center;
    }

    
}

.testimonial-box {
    margin: 2rem 1.2rem;
    display: flex;
    gap: 70px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;


    #card1 {
        background-color: black;
        color: white
    }
    #card2 {
        background-color: white;
        color: rgb(56, 55, 55);
        opacity: 1;

        .profile {
            opacity: 1;
            
        }
    }

    .profile-img{
        margin-top: 1.6rem;
        height: 50px;

        img {
            height: 100%;
            border-radius: 50%;
        }
        
    }

    .testimonial-card
    
    {
        b {
            font-size: 2rem;
            line-height: .5;
        }

        .profile {
            opacity: .8;
            
        }
        box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
        border-radius: 16px;
        padding: 1.8rem 1.2rem;
        display: flex;
        flex-direction: column;

        height: 320px;
        width: 240px;
        background-color: #f5f4f4;
        justify-content: space-between;
    }
}



.main-p {

    font-size: 1.2rem;
    font-weight: 500;
    line-height: 26px;;
}


/* ===== FOOTER STYLES ===== */
#main-footer {
    background-color: #0a2918; /* Dark green background */
    color: #f0f7f4;
    padding: 60px 0 20px;
    font-family: 'Google Sans Flex', sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #4CAF50;
}

.footer-logo h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 5px;
}

.footer-logo p {
    color: #b8d4c0;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-description {
    color: #c8e6c9;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #4CAF50;
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #c8e6c9;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #4CAF50;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #c8e6c9;
    font-size: 0.95rem;
}

.footer-contact svg {
    margin-right: 10px;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #b8d4c0;
    font-size: 0.9rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 0;
}

.footer-bottom-links {
    margin-top: 10px;
}

.footer-bottom-links a {
    color: #c8e6c9;
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #4CAF50;
}

.separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        text-align: left;
    }
    
    .footer-bottom-links {
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    #main-footer {
        padding: 40px 0 20px;
    }
    
    .footer-bottom-links a {
        display: block;
        margin: 5px 0;
    }
    
    .separator {
        display: none;
    }
}
@media (width < 1030px) {

    #home {
        margin: 1.2rem 2.6rem;
    }
    #about-main{
        display: flex;
        flex-direction: column;

        
    }

    .main-right {
        margin: 4rem;
        margin-top: 0%;

        button {
            margin-top: 2rem;
        }
    }

    #home-main {
        gap: 40px
    }


    .hero-img-class {
        /* position: absolute; */
        /* margin: 2rem; */
        
        place-items: right;
        display: flex;
        justify-content: right;
        margin: 0;
        height: 380px;
        width: 460px; 
        align-items: top;
        

        img {
            /* margin-top: 16%; */
            width: 100%;
            height: 100%;
            margin-top: 0;
            border-radius: 40px;

        }

    /* .plaque {   
        align-self: center;
        height: 390px;
        width: 300px;
        background-color: rgb(204, 224, 204);
        z-index: -1;
        position: absolute;
        right: 6%;
        top: 10%;
        place-self: center;
        border-radius: 40px;
        
    } */
}



@media (width < 475px) {
    #home {
        margin: 1.2rem 2rem;
    }

    header {
        margin: 1.2rem 1.2rem;
    }

    .main-left {
        padding: 2rem 1.6rem;
    }

    #about-main {

        margin-top: 4rem ;
        margin-bottom: 2rem 
    }

    .ctas {
        font-size: .9rem;
    }

    #about-main2 {
        padding: 2rem 1.6rem;
    } 
    .main-right {
            margin: 1.6rem;
            margin-top: 0%;

            button {
                margin-top: 2rem;
            }
        }



    }

    #home main {
        #hero-h1 {
            font-size: 3rem;
        }
    }

    #why-choose-us {
        h1 {
            font-size: 2.4rem
        }
    }

    #contact-us {
        padding: 2.2rem;
    }

    .hero-img-class {
        width: 100%;
        height: 100%;
        
        img {
            border-radius: 8px;
        }
    }


}

@media (width < 950px ) {
    #home {
        justify-content: center;
    }
    #home-main {
        flex-direction: column;
        text-align: center;
    }

    .ctas, #hero-p {
        place-self: center;
    }

    stat-box {
        place-self: center;
        
    }
    
}

@media (width < 850px) {

    .hide-desktop {
        display: block
    }
    
    nav ul {
        
        height: 100dvh;
        width: 90%;
        position: absolute;
        right: 0;
        display: block;
        align-items: center;
        gap: 40px;
        padding: 16px;;
        top: 0;
        background-color: rgb(0, 58, 0);
        border-radius: 6px;
        text-align: right;
        display: none;
        transition-duration: .3s;
        
        
        
        
        
        li {
            padding-top: 16px;
            
        }

        #item0 {
            padding-top: 0;
        }
        
        #item5 {
            margin-left: 60%;
        }


        
        a {
            font-size: .9rem;
            color: white;
        }
    }

    .open {
        
        display: block;
        transform: translateX(0);
    }


    
}
