@import url('https://fonts.googleapis.com/css2?family=Asap&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}
body{
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}
a{
    text-decoration: none;
    cursor: pointer;
    color: inherit;
}
p{
    margin-bottom: 1rem;
    } 
header{
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position:fixed;
    top:0;
    left: 0;
    z-index: 1030;
    transition: 0.6s;
   
}
header.light   {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.09);
}

#logo {
    width: 200px;
    height: 80px;
}
nav ul {
    list-style: none;
    text-transform: capitalize;
    margin-left: -100%;
    transition: all 0.5s ease;
    text-align: right;

}
nav ul li {
    display: inline-block;
    align-items: left;
    margin-right: 25px;
}
header nav ul li a {
    padding: 14px 16px;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0.48px; 
    color:white;
}
header.light nav ul li a  {
    color: black; 
}
nav ul li a:hover, nav ul li.active a {
 color: #808040 !important; 
  
}

.menu-button{
    display: none;
}
.menu-button div {
    width: 30px;
    height: 4px;
    background-color: white;
    margin: 6px 0;
}
.mobile-menu{
    margin-left: 0;

}
section{
    width: 100%;
    height: 100%;
    padding: 3rem;
}

 #home {
    background-image: url('./images/pexels-pixabay-209251.jpeg');
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    height: 100vh;
}
#home::after{
    content:'';
    background-color:  rgba(27, 27, 27, 0.7);
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
#home > * {
    z-index: 2;
}
.home-content {
    padding: 80px;
    text-align: center;
    width: 900px;
}
#home  .home-title{
    font-size: 70px;
    line-height: 80px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}
#home .home-subtitle {
    font-size: 40px;
    font-weight: 400;
    line-height: 60px;
    margin-bottom: 1.5rem;
}
.home-content button a{
  text-decoration: none;
  color: white;
}
.home-content button {
    font-family: 'Roboto', sans-serif;
    z-index: 2;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
    padding: 0;
    line-height: 45px;
    width: 170px;
    height: 46px;
    background-color: #808040;
    color: #ffffff;
    border: 2px solid #808040;
    border-radius: 5px;
    transition:  0.3s;
}
.home-content button:hover{
    background-color: transparent;
  
}
#about {
    font-size: 1.2rem;
    gap: 2rem;
    padding-top: 100px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #f8f8f8;
    
}
#about .about-content{
    display: flex;
}
#about div > p {
    line-height: 35px;
}
#about .about-content .text {
    padding-right: 1rem;
}
#services {
    padding-top: 100px;
}

.services-title {
    color: #32374a;
    text-transform: capitalize;
    font-size: calc(1.375rem + 1.5vw);
    font-family: "worksans-light",'Roboto',sans-serif;
    font-weight: normal;
    font-style: normal;
    margin-bottom: 30px;
    line-height: 1.13;

}

.services-item{
    display: grid;
     grid-template-columns: 1fr 1fr; 
    margin-bottom: 6rem;
    gap: 3rem;

}

.services-item > div  h3 {
    color: #ce5945;
    margin-bottom: 1rem;
 
}

.services-item-img img{
    width: 100%;
    height: 100%;
   } 



#contact{
    background-color: #f8f8f8;
    padding-top: 100px;
    height: 100vh; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#contact .contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}
.contact-info{
    display: flex;
    align-items: center;
    margin-top: 1rem;
    margin-left: 1.5rem;
  }

.contact-info .icon{
    align-self: flex-start;
}  
.contact-info .text {
margin-left: 1rem;
font-size: 1.3rem;
}

#contact input, textarea{
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
  }
#contact  input[type=submit] {
    font-family: 'Roboto', sans-serif;
    z-index: 2;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
    padding: 0;
    line-height: 45px;
    width: 170px;
    height: 46px;
    background-color: #ce5945;
    color: #ffffff;
    border: 2px solid #ce5945;
    border-radius: 5px;
    transition:  0.3s;
    cursor: pointer;
  }
  
#contact  input[type=submit]:hover {
    background-color: #F78F6E;
    border-color: #F78F6E; 

  }
section:nth-last-child(1){
    padding: 0;
}
footer {
    padding: .8rem 0;
    text-align: center;
    background-color:#808040 ;
    color: white;
}
@media screen and (max-width:1088px) {
    header {
        padding: 20px 0;
    }
    nav ul {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #3334329a;
        backdrop-filter: blur(8px);
        
    }
    nav ul li {
        margin: 25px 0;
        font-size: 1.3rem;
    }
    nav ul li.active a {
        color: #ce5945 !important; 
         
       }
    .menu-button{
        display: block;
        position: absolute;
        top: 30px;
        right: 30px;
      
    }
    
    section {
        padding: 1rem;
    }
    .home-content {
        padding: 80px 0;
        text-align: center;
    }
    #home  .home-title{
        font-size: 8vw;
        margin-bottom: 1.5rem;
        text-transform: uppercase;
    }
    #home .home-subtitle {
        font-size: 6vw;
        font-weight: 400;
        margin-bottom: 1.5rem;
    }
    #home .home-content{
        width: 100%;
    }
    #about {
        font-size: 1rem;
        height: 100%;
    }
    #about .img-container {
        display: none;

    }
    .services-item {
        margin-bottom: 3rem;
    }
    .services-item, #contact .contact-content{
    
         grid-template-columns: 1fr; 
         width: 100%;


    
    }
    .services-item > div  p, #about div > p  {
        line-height: 28px;
     
    }
    #contact {
        height: 100%;
    }
    .contact-info{
        margin-left: 0;
     
      }


} 