*{
    margin: 0;
    padding: 0;
}
.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(../pic/bck.png);
    background-position: center;
    background-size: cover;
    position: relative;
}

nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img {
    width: 150px;

}
.nav-links{
    flex: 1;
    text-align: right;

}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 13px;

}

.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after{
    width:100%;

}
.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;

}
.text-box h1{
    font-size: 62px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;

}

nav .fa-solid  {
    display: none;
}
@media(max-width: 700px){
    .text-box h1{
    font-size: 20px;
}
     .nav-links ul li {
        display: block;
     }
     .nav-links{
        position: absolute;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: 0;
        text-align: left;
        z-index: 2;
        transition: 1s;
     }
     nav .fa-solid {
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
     }
     .nav-links ul{
       padding: 30px;

     }
}
/*--------products--------------*/
.benefits{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;

}
h1{

    font-size: 36px;
    font-weight: 600;

}
p{

    color: #777;
    font-size: 20px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;

}
.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;

}
.ben-col{

    flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px ;
    box-sizing: border-box;
    transition: 0.5s;


}

h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;

}

.ben-col:hover{

    box-shadow:  0 0 20px 0px rgba (0,0,0,0.2);
}
@media(max-width : 700px){

    .row{
        flex-direction: column;
    }
}
/* Network */
.Network{

    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;

}
.Network-col{
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.Network-col img{

    width: 100%;
    display: block;
    

}
.layer{

    background:transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left:0;
    transition: 0.5s;
}

.layer :hover{

    background: rgba(226,0,0,0.7);
}
.layer h3{
    width: 100%;
    font-weight: 500;
    color: #fff;
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;


}
.layer:hover h3{
    bottom: 49%;
    opacity: 1;

}
/* products */
.products{

    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;

}
.pro-col{

    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;

}
.pro-col img{

    width: 100%;
    border-radius: 10px;

}

.pro-col p{

    padding: 0;

}
.pro-col h3{
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: left;
    
}
.about{
    margin-bottom: 50px;

}
.about h1{

    text-align: left;
    color: aqua;
}
.about p{
    color:rgb(234, 229, 229)
}
.about h3{
color: aquamarine;
text-align: left;

    
}
.about ul{
    color: beige;
    margin-bottom: 10px;
    text-align: left;
}
.contact{
    margin-bottom: 50px;


}
.contact h1{

    text-align: center;
    color: aquamarine;
    
}

.contact h1:hover{

    text-align: center;
    color: rgb(255, 127, 129);
    
}
.contact p{
     margin-bottom: 60px;
    text-align: left;
    color: rgb(194, 201, 199);
    
}
.contact-buttons{
    
    text-align: center;
    margin-right: 15px;
    
}
.contact-buttons a{
    text-align: center;
    color: #5ebd7d;
    margin-top: 50px;
    margin-bottom: 60px;
    margin-right: 15px;
    
}
 
.btn i{
    
    font-size: 22px;
    margin-right: 10px;
    vertical-align: middle;
    color: #c7c0c0;
}
.footer{
    text-align: left;
}
.footer-section h3 {
    color: #5ebd7d;
    text-align: left;


}
.footer-section a{
color: #605cc7;
margin-right: 15px;
}
.copyright{
    color: #f44336;
}
 
/* Agri-pro */

.agr-products{
    width:85%;
    margin:60px auto;
    font-family:Arial, sans-serif;
}

.agr-products h1{
    text-align:center;
    font-size:45px;
    color:#2E8B57;
    margin-bottom:50px;
}


.product-card{

    display:flex;
    align-items:center;
    gap:40px;
    background:#f8f8f8;
    padding:30px;
    border-radius:15px;
    margin-bottom:40px;

}


.product-image{
    width:40%;
}


.product-image img{

    width:100%;
    height:300px;
    object-fit:cover;
    border-radius:12px;

}


.product-info{

    width:60%;
    text-align:left;

}


.product-info h2{

    font-size:32px;
    color:#2E8B57;

}


.product-info p{

    font-size:18px;
    line-height:1.8;
    color:#555;

}


.product-info li{

    margin-bottom:10px;
    font-size:17px;

}


/* للموبايل */

@media(max-width:768px){

.product-card{

    flex-direction:column;

}

.product-image,
.product-info{

    width:100%;

}
.footer-section a{
    margin-bottom: 40px;
}


/* go agriclture page */
.product-link{
    display: block;
    text-decoration: none;
    color: #333;
    width: 350px;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
}

.product-link img{
    width: 100%;
    display: block;
}

.product-link h3{
    margin: 15px 0 10px;
    color: #2E8B57;
}

.product-link p{
    color: #666;
    line-height: 1.6;
}

.product-link:hover{
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}


}