

.navbar a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    transition: color 0.3s ease;
  }
  
  .navbar a:hover {
    color: green !important;
  }
  
  .navbar li:nth-child(3) a{
    color: green !important;
  }
  
  /* By default, show the text and hide icons */
  .nav-text {
    display: inline;
    font-size: 15px;
    font-family: 'Lobster', sans-serif;
  }
  
  .nav-home {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 900;
    color: white !important;
  }
  
  .nav-home:hover {
    color: green!important;
  }
  
.zojie-agro-intro {
    width: 100vw;
    height: auto;
    /* Set the background image */
    background-image: url("/assets/images/1.png");
    background-size: cover;
    /* Scales the image proportionally */
    background-position: center;
    /* Centers the image within the div */
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
}

.zojie-agro-intro>img {
    height: 1200px;
    width: 70%;
    border-radius: 10px;
}

.zojie-div {
    border-bottom: 15px solid black;
}

.agro-vision {
    /* Set the background image */
    background-image: url("/assets/images/1.png");
    background-size: cover;
    /* Scales the image proportionally */
    background-position: center;
    /* Centers the image within the div */
    background-repeat: no-repeat;
    width: 100%;
    min-height: 500px;
    /* Allow the container to grow if needed */
    display: flex;
    /* If you want both .vision-text blocks side by side */
    flex-direction: column;
    gap: 80px;
    /* Space between the two .vision-text blocks */
    align-items: center;
    justify-content: center;
    padding: 100px 0px;
}

.vision-text {
    text-align: center;
    max-width: 500px;
    /* Limit text width so it doesn’t stretch too wide */
}

.vision-text>span {
    color: rgb(233, 130, 12);
    font-size: 80px;
    font-weight: 800;
}

.vision-text>p {
    color: rgb(233, 130, 12);
    font-size: 60px;
    font-weight: 700;
    font-style: italic;
    font-family: 'Allura', sans-serif;
}

.vision-text>h4 {
    color: black;
    font-size: 17px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    /* width: 40vw;  You could use a fixed max-width or remove this if not needed */
}


.agro-future,
.agro-feed {
    height: 670px;
    width: 100vw;
    position: relative;
}

.agro-future>img,
.agro-feed>img {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.agro-future>p,
.agro-feed>p {
    position: absolute;
    bottom: 100px;
    left: 100px;
    font-size: 31px;
    font-weight: 400;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
}

.agro-future>p>span,
.agro-feed>p>span {
    font-size: 60px;
    font-weight: 900;
}

.food-grid {
    width: 100vw;
    margin-top: 5px;
    height: 500px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.food-grid>.rice-img {
    width: 39%;
    height: 100%;
}

.food-grid>.potato-grid {
    width: 29%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.potato-grid>img {
    width: 100%;
    height: 30%;
}

.potato-grid>img:first-child {
    width: 100%;
    height: 70%;
}

.food-grid>.fork-img {
    width: 29%;
    height: 100%;
}

/* 
  The main container with the background image.
  Adjust url(...) to match your actual path.
*/
.product-list {
    background-image: url("/assets/images/1.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 100vw;
    /* Spans the full viewport width */
    padding: 70px 0;
    /* Top/bottom spacing */
    display: flex;
    /* So that the child .product-list-container is centered horizontally */
    justify-content: space-evenly;
}

/* 
    This inner container holds both the vertical text (left)
    and the product list (right).
  */
.product-list-container {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    /* A bit of side padding on smaller screens */
}

/* Left text: "PRODUCT LIST" vertically */
.left-text {
    writing-mode: vertical-lr;
    /* Make text vertical top to bottom */
    text-orientation: mixed;
    margin-right: 40px;
    height: 100%;
}

.left-text h2 {
    font-size: 5rem;
    font-weight: 700;
    color: #D4A017;
    /* A gold-like color; tweak to match your design */
    margin: 0;
}

/* Right text: the actual product list */
.right-text {
    flex: 1;
    /* Take remaining horizontal space */
    max-width: 700px;
}

/* Style the top-level ordered list: 1, 2, 3... */
.right-text ol {
    list-style: none;
    /* Remove default numbering so we can style it ourselves */
    counter-reset: dept-counter;
    margin: 0;
    padding: 0;
}

/* Each department is an <li> that increments the counter */
.right-text ol>li {
    counter-increment: dept-counter;
    margin-bottom: 1.5rem;
}

/* Add "1. ", "2. ", etc. before each department title */
.right-text ol>li::before {
    content: counter(dept-counter) ". ";
    font-weight: bold;
    margin-right: 5px;
    color: #333;
}

/* Department title style */
.right-text li h3 {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 10px 0;
}

/* Nested unordered lists for the items (e.g. Maize, Rice, etc.) */
.right-text li ul {
    list-style: disc;
    /* or circle, or whatever style you prefer */
    margin: 10px 0 0 25px;
    padding: 0;
}

.right-text li ul li {
    margin-bottom: 5px;
}



/* EQUIPMENTS */

.equipments {
    width: 100vw;
    height: auto;
    margin: 0;
    padding: 0;
}

.equipments>img {
    width: 100%;
    height: 750px;
}

.b-tractor>img {
    width: 100%;
    height: 850px;
}



.crop-bg {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    position: relative;
}

.crop-bg>img {
    width: 100%;
    height: 750px;
}

.crop-bg>p {
    position: absolute;
    bottom: 70px;
    font-size: 27px;
    color: white;
    font-weight: 300;
    font-family: 'Montserrat', sans-serif;
    z-index: 9999;
    width: 65%;
}




.equipments>.equipment-text {
    background-image: url(/assets/images/1.png);
    height: 100px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    font-weight: 900;
    color: rgb(227, 194, 28);
}

.cassava {
    height: 750px;
}


.grains {
    display: flex;
    width: 100vw;
    height: 650px;
    justify-content: center;
    align-items: center;
}


.grains-text {
    width: 20%;
    height: 100%;
    background-image: url("/assets/images/1.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    /* Left text: "PRODUCT LIST" vertically */
    writing-mode: vertical-lr;
    /* Make text vertical top to bottom */
    text-orientation: mixed;
    display: flex;
    justify-content: center;
    align-items: center;
}

.poultry-home>.grains-text {
    background-image: none;
}

.grains-text>p {
    font-size: 60px;
    font-weight: 700;
    color: #D4A017;
}


.grains>img {
    width: 80%;
    height: 100%;
}

.poultry-home {
    background-image: url("/assets/images/1.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    align-items: flex-end;
}

.poultry-grid {
    width: 80%;
    height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.poultry-grid>.first-grid-img {
    width: 100%;
    height: 64.7%;
}

.first-grid-img>img {
    width: 100%;
    height: 100%;
}

.poultry-grid>.double-box {
    width: 100%;
    height: 34.7%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.double-box>img {
    width: 49.7%;
    height: 100%;
}

.pepper-grid {
    width: 100%;
    height: 800px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pepper-grid>img {
    width: 100%;
    height: 49%;
}

.blue-overlay {
    background-color: black;
    opacity: .7;
    position: absolute;
    bottom: 70px;
    width: 100vw;
    height: auto;
    z-index: 1;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.blue-overlay>p {
    position: static !important;
    font-size: 27px;
    color: white;
    font-weight: 300;
    font-family: 'Montserrat', sans-serif;
    z-index: 9999;
    width: 65%;
}

.agro-footer {
    background-color: #f0c44c;
    height: 800px;
    width: 100vw;
    display: flex;
    flex-direction: column;
    background-image: url(/assets/images/zojieagro/38.jpg);
    background-repeat: no-repeat;
    background-size: 100% 30%;
    background-position: bottom;
    justify-content: center;
    align-items: center;
}

/**** Footer Container ****/
.agro-footer {
    position: relative;
    /* Needed so the overlay can be absolutely positioned */
    width: 100%;
    /* Full viewport width */
    height: 600px;
    /* Matches your reference height */
    background-color: #f0c44c;
    /* Base yellow color at the top */
    background-image: url("/assets/images/zojieagro/38.jpg");
    background-repeat: no-repeat;
    background-size: 100% 50%;
    /* The bottom 30% shows the image */
    background-position: bottom;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Ensures no accidental scrollbars */
    color: #fff;
    /* Make text white */
}

/**** Overlay Effect ****/
.agro-overlay {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Adjust the RGBA as you wish to lighten/darken the background */
    background-color: #D4A017;
    opacity: .9;
    z-index: 1;
}

/**** Content Wrapper (above the overlay) ****/
.agro-content {
    position: relative;
    /* So it sits on top of .agro-overlay */
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 2rem;
    /* Some padding around the content */
    width: 100%;
    max-width: 1200px;
    /* Constrain the content on large screens */
    margin: 0 auto;
}

/**** Address / Contact Info Section ****/
.agro-address {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
    /* Space before the wheat icons */
}

.agro-address>.d-flex{
  width: 100%;
  justify-content: center;
  gap: 70px;
}

/**** Each info block (location, phone, email, etc.) ****/
.info-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 0px;
    /* Center the icon & text horizontally */
}

.info-block i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    margin-right: 5px;
}

.info-block p,
.info-block a {
    color: #fff;
    /* Ensure text is white */
    text-decoration: none;
    /* Remove underlines from links */
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
}

/**** Wheat / Flower Icons Section ****/
.wheat-icons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 60px;
    width: 100%;
    align-items: center;
}

.wheat-icons i {
    font-size: 120px;
    /* Make them big to match the pic */
    color: #fff;
}

/**** Responsiveness ****/
@media (max-width: 768px) {
    .agro-footer {
        height: auto;
        /* Let the footer auto-adjust height on small screens */
        padding: 2rem 0;
    }

    .info-block i {
        font-size: 1.5rem;
    }

    .wheat-icons i {
        font-size: 50px;
    }

    .agro-address>.d-flex{
        width: 100%;
        justify-content: center;
        gap: 10px;
      }

      .wheat-icons{
        display: none;
      }
}


/* RESPONSIVENESS */

@media screen and (max-width: 700px) {

    .zojie-agro-intro>img {
        height: 1200px;
        width: 100%;
        border-radius: 10px;
    }

    .food-grid {
        flex-direction: column;
        height: auto;
        gap: 7px;
    }

    .food-grid>.rice-img {
        width: 100%;
        height: 450px;
    }

    .food-grid>.fork-img {
        width: 100%;
        height: 550px;
    }

    .food-grid>.potato-grid {
        width: 100%;
        height: auto;
    }

    .potato-grid>img {
        width: 100%;
        height: 450px;
        margin-top: 7px;
    }

    .potato-grid>img:first-child {
        width: 100%;
        height: 450px;
        margin-top: 0;
    }

    .product-list-container {
        flex-direction: column;
        align-items: center;
        padding-left: 30px;
    }

    .left-text {
        writing-mode: unset;
        margin-bottom: 30px;
    }

    .left-text h2 {
        font-size: 45px;
    }

    .crop-bg>p {
        width: 85%;
        font-size: 23px;
    }

    .blue-overlay>p {
        width: 85%;
        font-size: 23px;
    }
}

@media screen and (max-width: 600px) {
    .vision-text>h4 {
        font-size: 15px;
        width: 85vw;
    }

    .agro-future>p {
        left: 40px;
    }

    .agro-feed>p {
        left: 40px;
    }

    .grains {
        display: flex;
        flex-direction: column-reverse;
        width: 100vw;
        height: auto;

    }


    .grains-text {
        width: 100%;
        height: auto;
        padding: 20px 0px;
        background-image: url("/assets/images/1.png");
        background-size: 100% 100%;
        background-repeat: no-repeat;
        /* Left text: "PRODUCT LIST" vertically */
        writing-mode: unset;
        /* Make text vertical top to bottom */
        text-orientation: mixed;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .grains-text>p {
        font-size: 40px;
        font-weight: 800;
        color: #D4A017;
    }


    .grains>img {
        width: 100%;
        height: auto;
    }

    .poultry-grid {
        width: 100%;
        height: auto;
    }

    .poultry-grid>.first-grid-img {
        width: 100%;
        height: auto;
        border-bottom: 7px solid black;
        margin: 0;
    }

    .poultry-grid>.double-box {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
    }

    .double-box>img {
        width: 100%;
        height: auto;
    }

    .double-box>img:first-child {
        border-bottom: 8px solid black;
    }

}