@import url('https://fonts.googleapis.com/css?family=Muli&display=swap');

*{
    box-sizing: border-box;
}


body{
    font-family:"Roboto" ,Arial, Helvetica, sans-serif;

}

/*for nav bar start*/
.logo-container{
    justify-content: center;
    display: flex;
    padding-left: 3rem;

}

.navbar{
    background-color: white !important;
    box-shadow: -1px 4px 10px 0px rgba(0,0,0,0.25);
    -webkit-box-shadow: -1px 4px 10px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: -1px 4px 10px 0px rgba(0,0,0,0.25);
}

.nav-link{
    color: black !important;
    padding: 1rem 2rem !important;
}


ul.navbar-nav li {
    list-style: none;
    display: inline-block;
    padding-bottom:2px; /*the space for the gradient*/
    background: linear-gradient(#357717,#357717) center bottom; /*OR bottom right OR bottom left*/
    background-size: 0% 1px; /*width:0% height:2px*/
    background-repeat:no-repeat; /* Don't repeat !!*/
    transition: all 0.45s;
}
  
  
ul.navbar-nav li:hover {
    background-size: 70% 2px; /*width:100% height:2px*/
}
/*for nav bar end*/

ul{
    list-style: none;
    display: flex; 
    justify-content: space-around !important;
    gap: 2em;
}


/* for phone screen*/
@media only screen and (max-width: 600px){
    .hero-text h1{    
        font-size: 2.5rem;
    }

    .logo-container{
        display: flex; 
        position: relative;
        justify-content: center;
        margin: 1rem auto;
        padding-right: 6rem;
    }

    .nav-link{
        text-align: center;
    }
    
    .second-solution{
        flex-direction: column-reverse !important;
    }

    #cta>h2{
        font-size: 2.5rem !important;
        max-width: 90%;
        margin: 7rem auto;
    }
    
}


@media only screen and (min-width: 600px){
    .logo-container{
        display: flex; 
        position: relative;
        justify-content: center;
        margin: 1rem auto;
        padding-right: 5rem;
    }

    .hero-text h1{    
        font-size: 3rem;
    } 

    .text-container{
        max-width: 41rem; 
        margin: 0 3rem;
    }

    #cta{
        max-width: 70%;
        margin: 7rem auto;
    }


    
    /*
    .second-solution{
        flex-direction: column-reverse !important;
    }*/
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .logo-container{
        display: flex; 
        position: relative;
        justify-content: center;
        margin: 1rem auto;
        padding-right: 1rem;
    }

}





/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .logo-container{
        padding-right: 4rem;
    }

    .hero-text h1{
        font-size: 3.5rem;
    }

    .navbar-nav{
        margin: 0.5rem auto ;
    }

    .navbar-collapse{
        padding-right: 12rem;
    }

}



/*for hero part*/
.hero-container{
    position:relative; 
    display: flex; 
}

.hero-text{
    display: flex; 
    flex-direction: column;
    flex-wrap: wrap; 
    align-items: center;
    justify-content: center;
    text-align: center; 
    /*to cover the image with opaque layer*/
    background-color: black;
    width: 100%;
    opacity: 0.65;
}

.hero-container{
    background-image:  url(agribackground_2.jpg); 
    background-size: cover; 
    height: 75vh;
}


.hero-text>h1{
    color: white; 
    font-weight: bold;
}
/*-----hero part end-----*/



/*-----section 2 story start-----*/

h2{
    text-align: center;
    font-weight: bolder !important;
    font-size: 3rem !important;
}

.story>h2{
    padding-top: 6rem;
}

#laboratory{
    height: 20rem; 
    border-radius: 50%;
}

#farmers{
    max-height: 20rem;
    border-radius: 15%;
    /*border-top-left-radius: 15%;
    border-bottom-right-radius: 15%;*/
}

b{
    color:#357717;
}

.story-container{
    display: flex;
    flex-wrap: wrap;
    position: relative;
    flex-direction: row;
    margin: 2rem auto;
    justify-content: center;
}



.section-text{
    font-size: 1.5rem;
    padding: 2rem;
    text-align: center;
}


.contact-container{

    margin: 3rem auto;
    color: #357717;
    font-weight: bold;
    border-radius: 5%;
    text-align: center;


}

.contact-container>p{
    font-size: 1.7rem;
}
/*----section 2 story start-----*/



/*footer*/
.footer-container{
    display: flex !important; 
    align-items: center !important;
    justify-content: center !important;


}

.footer-inside-container{

    display: flex!important; 
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
}

.text-body-secondary{
    margin: auto 0.5rem;

}
