*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;

}

body{
    background-color: #9bc7a5;
}


.navbar{
   display: flex;
   justify-content: space-between;
   align-items: center;
   background: #364939;
   color:#fff;
   padding: 15px 50px;
   position: sticky;
   top: 0;
   z-index: 100;
}

.logo{
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
}

.nav-links{
     list-style: none;
     display: flex;
     gap: 30px;
}

.nav-links a{
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3 ease,
    border-bottom 0.3 ease;
} 

.nav-links a:hover{
    color: #00961e;
    border-bottom: 2px solid #00a020;
    padding-bottom: 2px;
}

.hero{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
    background-color: #acf5b8;
}

.hero-img{
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #385e46;
    margin-bottom: 20px;
}


.hero-text h1{
   font-size: 2em;
   color: #010201;
   margin-bottom: 10px;
}

.hero-text p{
    font-size: 1.1em;
    color: #000000;
    max-width: 500px;
}


.nav-links a:hover{
    color: red;
    border-bottom: 2px solid red;
    padding-bottom: 2px;
}

.menu-toggle{
    display: none;
}

.menu-icon{
    display: none;
    cursor: pointer;
    font-size: 28px;
}


.projects{
     background-color: #528860;
     padding: 70px 0px;
     text-align: center;

}

.projects h2{
    font-size: 2em;
    margin-bottom:40px;
    color: #48724a;
    position: relative;
}

.project-contanier{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.project-card{
    background: #66a75e;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(o ,o ,o ,o.1);
    overflow: hidden;
    width: 300px;
    cursor: pointer;
    margin: 15px;
    transition: transform 0.3s ease, box-shadow 0,3s ease;
}

.projrct-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 8px 18px rgb(74, 124, 93);
}

.projec-card img{
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card h3{
    padding: 15px;
    font-size: 1.3em;
    color: #000000;
    background: #308b56;
    font-weight: 600;
}

.contact{
    background-color: #456b4d;
    padding: 80px 20px;
    text-align: center;
}

.contact h2{
    font-size: 2em;
    color: #000000;
    margin-bottom: 40px;
}


.contact form{
    max-width: 600px;
    margin: 0 auto;
    padding: 80px 50px;
    background: #799b7f;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.imput-group{
   margin-bottom:20px;
   text-align: left;
}

.imput-group label{
    display: block;
    font-weight: 600;
    margin-bottom: 7px;
}

.imput-group input,
.imput-group textarea{
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #664949;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    transition: botder-color 0.3s ease;
}

.imput-group input:focus,
.imput-group textarea:focus{
    border-color: #00961e;
    outline: none;
}

.input-group textarea{
    height: 140px;
    resize: none;
}

.contact-btm{
    width: 100%;
    padding: 14px;
    background: blue;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    transition: background 0.3s ease;
}

.contact-btm:hover{
    background: #f4f6f7;
    color: blue;
}




@media (max-width: 767px){

    .contact form{
        width: 90%;
        padding: 20px;
    
    }

    .menu-icon{
        display: block;
    }
    
}





@media(max-width: 767px){

    .menu-icon{
        display: block;
    }



.nav-links{
   position: absolute;
   top: 60px;
   left: 0;
   width: 100%;
   background: #111;
   flex-direction: column;
   align-items: center;
   gap: 20px;
   padding: 20, 0;
   display: none;

}

.menu-toggle:checked + .menu-icon + .nav-links{
    display: flex;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {opacity: 0; transform: translateY(-10px);}
    to {opacity: 1; transform: translateY(0);}
    
}

}
