
*, *::before, *::after {
    box-sizing: border-box;
    margin:0;
    padding:0;
}

body{

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
 
    font-family: "Plus Jakarta Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight:400;
    font-size: 1.125rem;
    font-style: normal;



    color:#2B2B2B;

    gap:3rem;



}

main {
    width: 100%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


h1,h2,h3,h4,h5{
    font-family: "Plus Jakarta Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight:800;
    font-style: normal;
}


h1{
    font-size: 2.5rem;
    text-align: left;
    margin-bottom: 0.5rem;;




}

h2{
    font-size: 2rem;
    text-align: left;
    margin-top:0;
    margin-bottom: 0.5rem;;


 
}

.center h2 {
    text-align: center;
}

h3{
    font-size: 1.5rem;
    text-align: left;
    margin-top:0;
    margin-bottom: 0.5rem;;
 
}


p{
    line-height: 150%;
}

nav{

    display:flex;
    flex-direction: row;
    justify-content: space-between;
    width:100%;
    max-width: 1180px;
    padding:1rem;
    font-size: 1.075rem;
    border-bottom: 2px solid #E6E6E6;


}

section{
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    width: 100%;
    max-width: 1180px;
    margin:2rem;
}

section.center{

justify-content: center;
align-items: center;
text-align: center;
}

section.fullWidth{
    width:100%;
}
.nav-contacts{

    display:flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0.5rem 1rem ;
    border-radius: 4px;
    background-color: #F5F9FC;
    gap:2rem;

}



.nav-contacts div{
    display:flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
}

.nav-contacts div img{
    padding-right:0.5rem;
}

.logo{
    width:160px;
}

.hero{
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap:2rem;
    padding-top:1.5rem;

}

.hero-text{
    display: flex;
    flex-direction: column;
    width: 100%;

    justify-content: center;
    align-items: start;
}
.hero-img {
    width: 100%;


}

.hero-img img{
    border-radius: 1rem;
    height: auto;
    object-fit: cover; 
    width: 100%;
}


.work{
    margin-top:1rem;
    display: flex;
    flex-direction: column;
    gap:6rem;
}

.work-item{
    display: flex;
    flex-direction: column;
    gap:1rem;


}

.process-images{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap:1rem;
    
    /* padding-bottom: 2rem; */
    /* border-bottom: 2px hsl(221, 33%, 80%) solid; */


}

.two-column-images{
    display: grid;
    grid-template-columns: 1fr;
    gap:2rem;
    
}

.process-images img, .two-column-images img{
width:100%;
border-radius: 1rem;
}

.title-description{
    max-width: 600px;
}


.services{
display: flex;
flex-direction: column;
gap:3rem;

margin-top:2.5rem;

}

.service{
    display: flex;
    flex-direction: column;
    gap:0.5rem;
}
.service-title{
    display: flex;
    flex-direction: row;
    gap:0.5rem;
    justify-content: start;
    align-items:center;
}


.service-list{
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    row-gap: 0.5rem;
    gap:1rem;
}
.service-item{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;;
    font-size: 1rem;
    padding: 0.75rem 0.875rem;

    border-radius: 3rem;
    background-color: #F2F4F6;

}

.services-examples{
    display: flex;
    flex-direction: column;
    gap:0.5rem;
    width: 100%;
}

.service-example-item{
    display: flex;
    width: fit-content;;
    font-size: 0.875rem;
    padding:0.5rem 0.75rem;
    border-radius: 3rem;
    background-color: none;
    border:solid 1px #8f97a6;
}

.service-example-list{
    display: flex;
    gap:4px;

    font-size: 1rem;
    color: #9299a5;
   
}

#work-example-1{
    display: flex;
    flex-direction: row;
    gap:0.5rem;
    justify-content: end;
    margin-top:4rem;
}


#work-example-1 .services-examples{
    justify-content:start;
    align-items: end;
    text-align: right;
    width: fit-content;
}

#work-example-1 .services-examples .service-example-list{
    justify-content:end;
    align-items: end;
    text-align: right;
    flex-direction: column;
    width: 100%;
    max-width: 400px;
}
#work-example-1 .work-img{
    max-width: 550px;
}


#work-example-2{
    display: flex;
    flex-direction: row;
    gap:0.5rem;
    margin-top:4rem;
}


#work-example-2 .services-examples{
    justify-content:start;
    align-items: start;
    text-align: left;
    width: fit-content;
}

#work-example-2 .services-examples .service-example-list{
    
    justify-content:start;
    align-items: start;
    text-align: left;
    flex-direction: column;
    width: 100%;
    max-width: 400px;
}

#work-example-2 .work-img{
    max-width: 550px;
}

#work-example-3{
    display: flex;
    flex-direction: row;
    gap:0.5rem;
    justify-content: end;
    margin-top:4rem;
}







#work-example-4{
    display: flex;
    flex-direction: column;
    gap:0.5rem;
    justify-content: end;
    margin-top:2rem;
}

#work-example-4 .two-images{
    display: flex;
    flex-direction: row;
    gap:0.5rem;
    justify-content: end;
}
#work-example-4 .services-examples{
    width: 100%;
    justify-content:start;
    align-items: start;
    text-align: left;
    width: fit-content;
}




.work-img{
    width: 100%;
}
.work-img img{
    width: 100%;
}


.dividerBox {

    width: 80%;
    background: #1c5bd6;
    color: white;
    display: flex;
    flex-direction: row;
    padding: 1.75rem;
    gap: 2rem;
    border-radius: 0.5rem;
    margin-bottom: 3rem;
}

.box{
    width:33%;
}

.boxBigNumber {
    font-size: 2.5rem;
}

.verticalDivider {
    display: inline;
    width: 2px;
    /* height: 100%; */
    background-color: #ffffff5c;
}

.contacts{
    width: 100%;
    padding:1rem;
}

.container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    background-color: #F2F4F6;
    border-radius: 1rem;

    gap:2rem;
    padding:2rem;

}



.contacts .text .nav-contacts{
    flex-direction: column;
    gap:8px;
    background: none;
    padding: 0;
}

.contacts .text p{
    margin-top:4px;
    margin-bottom: 48px;
}



.form form{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
  }
  
  .form-label {
    margin-bottom: 0.5rem;
  }


  .form-input,
.form-textarea {
  padding: 0.5rem;
  border: 1px solid #e5e7eb;
  display: flex;
  height: 2.5rem;
  width: 100%;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}


.form-input::placeholder,
.form-textarea:focus-visible {
  color: #6b7280;
}



.form-textarea {
  min-height: 7.5rem;
}

button{
    outline: none;
    border:none;
}

.form-input:focus-visible,
.form-textarea:focus-visible,
button:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.form-submit {
  width: 100%;

  background-color: #005FC3;
  color: #fff;
  padding: 12px 6px;
  border-radius: 0.375rem;
}


footer{
    width:100%;
    background-color: #2B2B2B;

    color:white;
    padding:3rem 1rem;

}

footer div{
    margin: auto;
    max-width: 1080px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: end;


    
}

footer a{
    color:white;
}

.copyright{
    color: white;;
    font-size:0.75rem;
}

#result{
    display: none;
    justify-content: center;
    align-items: center;
    width:100%;
    padding:2rem 1.5rem;
    background-color: #e9f3f5;
    font-size:1.125rem;
    text-align: center;
    margin-top:8px;
  }

  .location-image {
    width: 100%;
    max-width: 720px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}
.location-image img{
  width: 100%;
}

  @media (max-width: 920px) {

    .two-column-images{
        grid-template-columns: 1fr;
        gap:4rem;
    }

    #work-example-2{
        margin-top:2rem;
    }

    .service-list{
        grid-template-columns: 1fr 1fr 1fr ;
    }

}



  @media (max-width: 700px) {

    .process-images{
        grid-template-columns: 1fr 1fr;
    }


    .two-column-images{
        grid-template-columns: 1fr;
    }

    .service-list{
        grid-template-columns: 1fr 1fr;
    }

    .dividerBox {
        width: 100%;
    }
    
    #work-example-1{
        flex-direction: column;
        gap:0.5rem;

    }
    #work-example-1 .services-examples{
        width: 100%;
    }

    #work-example-2{
        flex-direction: column;
        gap:0.5rem;
    }

  }

  @media (max-width: 620px) {

    nav{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap:1.5rem;
    }

    .service-list{
        grid-template-columns: 1fr;
    }

    .container.contacts{
        grid-template-columns: 1fr;
    }

    #work-example-4 .two-images{
        flex-direction: column;
        gap:0.5rem;

    }

}


  @media (max-width: 500px) {

    body{
      gap:1.5rem;
      font-size: 1.125rem;
    }

    h1{
        text-align: center;
        font-size: 1.75rem;
    }

    h2{
        font-size: 1.5rem;
    }

    h3{
        font-size: 1.25rem;
    }

    section{
        margin:1.25rem;
    }

 
    .box {
        width: 100%;
    }
    .verticalDivider {
    display: none;
    }

    .dividerBox {
        width: auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 1.75rem;
        gap: 1.25rem;
        text-align: center;
      
    }


    .nav-contacts{
        gap:1rem;
        flex-direction: column;

    }


    .hero{
        grid-template-columns: 1fr;
        padding-top:0.5rem;
    }

    .hero-text p{
        text-align: center;
        font-size:1rem;
    }

    .hero-text{
        gap:0.5rem;
    }


    .container{
        grid-template-columns: 1fr;
    }

    footer div{
        flex-direction: column;

        justify-content: center;
        align-items: center;
        gap:2rem;
    }

    .two-column-images{
        gap:6rem;
    }

    .services-examples .service-example-list{
        display: flex;
    }

    #work-example-2{
        flex-direction: column;
        margin-top:0rem;
    }

    #work-example-1{
        flex-direction: column;
        margin-top:0rem;
    }

    #work-example-1 .services-examples {
        display: flex;
        width: 100%;
        justify-content: right;
    }

    .service-item{
        width: 100%;
        font-size: 0.875rem;
    }


  }