@import url('https://fonts.googleapis.com/css2?family=Goldman&family=Poppins:wght@300&display=swap');

*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Goldman', cursive;
  scroll-behavior: smooth;
}

:root{
  --cblue1: #0abcd4;
  --cblue2: #518b9a;
  --cyellow: #fecb00;
}
body{
  position: relative;
}

.top {
  position: fixed;
  right: 10px;
  bottom: 45px;
  visibility: hidden;
  opacity: 0;
  z-index: 100;
  transition: 0.5s;
}

.top ion-icon{
  color: var(--cblue2);
  font-size: 1.5rem;


}
.top.active{
  visibility: visible;
  opacity: 1;
}

.hamburger {
  position: absolute;
  top: 45%;
  right: 20px;
  display: none;
  cursor: pointer;
  color: var(--cblue1);
  font-size: 1.6rem;
  background: transparent;
  margin-right: 30px;
  border: none;

}
/* HEADER */

header{
  position: relative;
  width: 100%;
  height: 140px;
  background-image: url(img/bg01.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;

}

.logo{
  width: 30%;
  height: 140px;
}

.logo img{
  width: 9.5rem;
  height: auto;
  margin: 0.5rem 7rem;
  padding-top: 5px;
}

#navbar{
  width: 70%;
  height: 140px;
}

.header-buttons {
  display: none;
  gap: 1rem;
  position: absolute;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  z-index: 100;
}

.header-buttons a {
  text-decoration: none;
  text-align: center;
  font-size: 1rem;
  color: var(--cblue2);  
  line-height: 20px;
  background-color: var(--cyellow);
  padding: 10px 2rem;
}

.social{
  width: 100%;
  height: 40px;
  background-color: var(--cyellow);
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.social-dis{
  display: flex;
  align-items: center;

}

.social-dis a ion-icon{
  font-size: 1.5rem;
  color: var(--cblue2);
  text-decoration: none;
}

.social-dis a ion-icon:hover{
  color: white;
}

.social-dis span a{
  font-size: 1rem;
  color: var(--cblue2);
  padding-left: 0.5rem;
  text-decoration: none;
}

.social-dis span a:hover{
  color: white;
}


#navbar ul{
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-around;

}

#navbar ul li{
  list-style: none;
}
#navbar ul li a{
  font-size: 1.2rem;
  color: white;
  text-decoration: none;
}

#navbar ul li a:hover{

  color: var(--cblue1);
}

.quote {
 color: var(--cblue1);
 text-transform: uppercase;
 font-size: 1rem;
 cursor: pointer;
 background: none;
 text-align: center;
}
.quote:hover {
 color: var(--cyellow);
}



/*  MAIN HEADER */

main{
  width: 100%;
  height: auto;
  display: flex;
  }

.main-text{
   width: 30%;
   height: auto;
   padding: 50px;
   display: flex;
   flex-direction: column;
   justify-content: center;

}


.main-text h1{
   font-size: 1.5rem;
   text-align: center;
   padding-bottom: 1rem;
   color: var(--cblue1);
}

.main-text h2{
   font-size: 1.3rem;
   color: black;
   text-align: center;
   margin-top: 1.5rem;

}

.main-text p{
   font-size: 1.2rem;
   text-align: center;
   padding-top: 0.5rem;
   padding-bottom: 0.5rem;
   width: 90%;
   margin: 0 auto;
}

.main-img{
  width: 70%;
  height: 80vh;
}

.main-img img{
  object-fit: cover;
  width: 100%;
  height: 100%;
}


/*      SERVICES FIRST PAGE    */

.service-headline1{
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 3rem;
  padding-right: 5rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  background-image: url(img/bg01.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.service-headline1 h2{
  text-transform: uppercase;
  font-size: 1.8rem;
  color: var(--cyellow);
}

.service-headline1 p{
  font-size: 1.5rem;
  color: white;
}

.service{
  width: 100%;
  height: 100vh;
  background-image: url(img/Hexagonal_tiles_1.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  display: flex;
  flex-direction: column;
  padding-bottom: 2rem;
}

.service-text{
  width: 70%;
  margin-left: 25%;
  margin-top: 3rem;
  margin-right: 5%;
  text-align: justify;
}

.service-text p{
  font-size: 1.2rem;
  padding-top: 1rem;
}

.service-list{
  width: 50%;
  margin-top: 3rem;
  margin-left: 50%;
}

.service-list h3{
  font-size: 1.2rem;
  margin-left: -1rem;
  margin-bottom: 0.8rem;
}

.service-list ul li{
  margin-top: 0.3rem;
  font-size: 1.2rem;;
}




/*      WHY US FIRST PAGE    */


.whyus-headline2{
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 3rem;
  padding-right: 5rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  background-image: url(img/bg01.jpg);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
}

.whyus-headline2 h2{
  text-transform: uppercase;
  font-size: 1.8rem;
  color: var(--cyellow);
}

.whyus-headline2 p{
  font-size: 1.5rem;
  color: white;
}

.whyus-holder{
  width: 100%;
  height: auto;
  background: white;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  padding: 3rem 2rem;
  grid-gap: 2rem;
  /*opacity: 0;
  transform: translateY(120px);
  transition: 1s all ease-in-out;*/
}

.whyus-holder.active{
opacity: 1;
transform: translateY(0px);
}


.care{
  background-image: url(img/care.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.honest{
  background-image: url(img/honest.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.skill{
  background-image: url(img/skill.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.improve{
  background-image: url(img/improving.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}


.box-head{
  width: 90%;
  height: 30%;
  margin-top: 1rem;
  margin-left: 5%;
  display: flex;
  justify-content: space-around;
  align-items: center;

}

.box-head img{
  width: 100px;
  height: 100px;
}

.box-head h3{
  font-size: 1.2rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: var(--cyellow);
}

.why p{
  font-size: 1.2rem;
  color: white;
  padding-top: 2rem;
  padding-bottom: 5rem;
  padding-left: 2rem;
  padding-right: 2rem;

}


/*      TESTEMONIALS    */

.testemonials-headline3{
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 3rem;
  padding-right: 5rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  background-image: url(img/bg01.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.testemonials-headline3 h2{
  text-transform: uppercase;
  font-size: 1.8rem;
  color: var(--cyellow);
}

.testemonials-headline3 img{
  width: 200px;
  height: 35px;
}

.test-holder{
  width: 100%;
  height: auto;
  background-color: white;
  padding-bottom: 5rem;
}

.test-holder article{
  width: 90%;
  height: auto;
  margin: 3rem auto;

}

.test-holder article h3{
  font-size: 1.2rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: var(--cblue1);
  padding-top: 1.5rem;
}

.test-holder article p{
  font-size: 1.2rem;
  padding-top: 1.2rem;
}

.test-holder article span{
  float: right;
  padding-top: 1.5rem;
}


/*      CONTACT    */

footer{
  width: 100%;
  height: auto;
  background-image: url(img/bg01.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer p{
  font-size: 0.8rem;
  color: white;
  text-align: center;
  padding-bottom: 2rem;
}
.contact-holder{
  width: 100%;
  height: auto;
  display: flex;
  align-items: top;
  padding-top: 6rem;
  padding-bottom: 6rem;
  justify-content: space-evenly;
}

.footer-logo{
  width: 33%;
  display: flex;
  flex-direction: column;
  padding-left: 10%;

}

.footer-logo img{
  width: 230px;
  height: 180px;
  position: relative;
}

.footer-logo span{
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  width: 230px;
  height: 0.2rem;
  background-color: var(--cblue1);
}

.footer-logo p{
  font-size: 1.2rem;
  color: white;
  text-align: left;
  margin-top: 0.5rem;
}

.contact-info{
  width: 33%;
  display: flex;
  flex-direction: column;
  padding-left: 10%;
}

.contact-info h2{
  text-transform: uppercase;
  font-size: 1.5rem;
  color: white;
}

.contact-info span{
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  width: 230px;
  height: 0.2rem;
  background-color: var(--cblue1);
}
.contact-info p{
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
  font-size: 1.3rem;
  color: var(--cyellow);
  text-align: left;
}

.footer-info{
  display: flex;
  flex-direction: column;
}

.footer-info a{
  text-decoration: none;
  font-size: 1.3rem;
  color: white;
  line-height: 2rem;
}

.footer-info a:hover{
  color: var(--cblue1);
}

.footer-icon{
  display: flex;
}
.social-footer ion-icon{
  font-size: 2rem;
  color: var(--cblue1);
  padding-top: 2rem;
  padding-right: 1rem;
}

.social-footer ion-icon:hover{
  color: white;
}

.quick-links{
  width: 33%;
  display: flex;
  flex-direction: column;
  padding-left: 10%;
}

.quick-links h2{
  text-transform: uppercase;
  font-size: 1.5rem;
  color: white;
}

.quick-links span{
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  width: 230px;
  height: 0.2rem;
  background-color: var(--cblue1);
}

.quick-links a{
  text-decoration: none;
  font-size: 1.1rem;
  color: white;
  line-height: 1.8rem;
}

.quick-links a:hover{
  color: var(--cblue1);
}


.quick-links ul li {
  list-style: none;
}





/*      CONTACT  FORM  */


.contact-form{
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  position: absolute;
  top: 0;
  left: 0;
  visibility: hidden;
  z-index: 100;

}


form{
  width: 70%;
  height: 90%;
  position: relative;
  margin: 1.5rem auto;
  padding-top: 3rem;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;

}

form h2{
  font-size: 1.3rem;
  color: var(--cblue1);
  margin-bottom: 1rem;
}

form input{
  width: 500px;
  height: 50px;
  border: none;
  border-bottom: 2px solid var(--cblue1);
  margin: 20px;
  padding-left: 1rem;
  outline: none;

}

form textarea{
  width: 500px;
  border: none;
  border-bottom: 2px solid var(--cblue1);
  margin: 20px;
  padding-left: 10px;
  outline: none;
}
 .send{
  background: var(--cblue1);
  text-transform: uppercase;
  font-size: 1.2rem;
  color: white;
  border-bottom: none;
  cursor: pointer;

}

.exit{
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 2rem;
  cursor: pointer;
  color: var(--cyellow);
}
.contact-form.active{
  visibility: visible;
}

.proba{
  width: 100%;
  height: 80vh;
  background-image: url(img/bg01.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.proba p{
    font-size: 1.8rem;
    color: white;
}

.proba img{
    width: 200px;
    height: 180px;
    padding-top: 3rem;
}


/*      MEDIA SCREEN    */


@media screen and (max-width: 1320px) {

  .top {
    right: 5px;
    bottom: 40px;
  }


  #navbar {
    display: none;
  }
  .hamburger{
    display: block;
  }

  header{
    flex-direction: column;
    align-items: center;
    height: 160px;

  }


  #navbar.active {
    display: block;
    position: absolute;
    top: 160px;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url(img/bg01.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 100;

    }

  #navbar.active .social{
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;

  }

  #navbar.active .social-dis{
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }



 .logo{
    width: 100%;
    height: 160px;
  }
  .logo img{
    width: 10rem;
    height: 7rem;
    margin-top: 1.5rem;
    margin-left: 2rem;
  }

  #navbar.active ul{
    width: 100%;
    height: auto;
    padding-top: 30px;
    flex-direction: column;
  }

    #navbar.active ul li{
    padding-top: 1.5rem;
  }

  #navbar.active .quote{
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }

  .header-buttons {
    display: flex;
  }

  #navbar.active + .hamburger + .header-buttons {
    display: none;
  }

  main{
    width: 100%;
    height: auto;
    flex-direction: column;

  }
  .main-text{
     width: 100%;
     height: auto;
     padding: 50px;
     background: transparent;
  }
  .main-img{
    width: 100%;
    height: 100%;

  }

  .main-img img{
    width: 100%;
    height: 80%;

  }

  .service-headline1{
    display: flex;
    flex-direction: column;
    padding-left: 3rem;
    padding-right: 3rem;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    margin-top: -10px;

  }

  .service-headline1 h2{
    padding-bottom: 1.8rem;
    font-size: 1.2rem;
  }

  .service-headline1 p{
    font-size: 1.2rem;
  }

  .whyus-headline2{
    display: flex;
    flex-direction: column;
    padding-left: 3rem;
    padding-right: 3rem;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;

  }

  .whyus-headline2 h2{
    padding-bottom: 1.8rem;
    font-size: 1.2rem;
  }

  .whyus-headline2 p{
    font-size: 1.2rem;
  }

  .service{
  height: auto;
  }

  .service-text{
  width: 85%;
  margin: 1rem auto;
  background-color: rgba(255, 255, 255, 0.4);
  padding-left: 0.5rem;

  }

  .service-list{
  width: 80%;
  margin-left: 10%;
  background-color: rgba(255, 255, 255, 0.4);
  padding-left: 1.5rem;
  }

  .whyus-holder{
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    padding: 3rem 0.5rem;
    grid-gap: 1rem;
  }

  .testemonials-headline3{
    display: flex;
    flex-direction: column;
    padding-left: 3rem;
    padding-right: 3rem;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;

  }

  .testemonials-headline3 h2{
    padding-bottom: 1.8rem;
    font-size: 1.2rem;
  }


  .contact-holder{
    flex-direction: column;
    padding-top: 6rem;
    padding-bottom: 6rem;
    align-items:  center;
  }

  .footer-logo{
    width: 90%;
    margin-bottom: 4rem;
    padding-left: 10%;
  }

  .contact-info{
    width: 90%;
    margin-bottom: 4rem;
    padding-left: 10%;
  }
  .quick-links{
    width: 90%;
    margin-bottom: 4rem;
    padding-left: 10%;
  }

  .contact-form{
    width: 100%;
    height: auto;
    padding-bottom:  2rem;
    font-size: 0.6rem;
    color: white;

    }

    form{
      width: 90%;
      height: 90%;
      margin: 20px auto;
      padding-top: 3rem;
      padding-bottom: 3rem;
    }

    form input{
      width: 70%;
      height: 50px;
      margin: 10px;
      padding-left: 5px;
    }

    form textarea{
      width: 70%;
      padding-left: 5px;
    }
     .send{
      font-size: 1rem;
    }

    .exit{
      position: absolute;
      top: 5px;
      right: 5px;
      font-size: 1rem;
      z-index: 50;

    }

}


@media screen and (max-width: 820px) {

  header {
    height: 240px;
  }

  .hamburger {
    top: 74px;
  }

  .header-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    top: 170px;
    left: 33px;
    right: 24px;
    bottom: auto;
    transform: none;
  }
}