html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
  scroll-padding-top: 90px;
}

body {
  background-color: rgba(216, 211, 180, 0.301);
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
}

a:any-link {
  color: hsl(0, 6%, 79%);
  text-decoration: none;
  font-size: 300;
}

li {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

span {
  color: hsl(43, 49%, 46%);
}

html::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-thumb {
  background-color: hsla(43, 49%, 46%, 0.63);
}

html::-webkit-scrollbar-thumb:hover {
  background-color: hsl(43, 49%, 46%);
}

html::-webkit-scrollbar-track {
  background-color: rgba(201, 201, 201, 0.466);
}

html::-webkit-scrollbar-track:hover {
  background-color: rgb(151, 151, 151);
}

.burger {
  display: none;
}

.burger div {
  align-self: center;
  margin: 5px;
  width: 25px;
  height: 3px;
  background-color: white;
  transition: 0.6s ease-in-out;
}

/****** Media Query ******/

/****** Tablet ******/

@media screen and (max-width: 900px) {
  .container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
  }

  .navbar {
    background-color: rgba(0, 0, 0, 0.473);
    position: fixed;
    z-index: 1;
  }

  .length {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    justify-content: space-around;
  }

  .links {
    display: flex;
    justify-content: center;
    position: absolute;
    right: 0px;
    height: 92vh;
    top: -8vh;
    left: 10;
    background-color: #29323c;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    flex-direction: column;
    transform: translateX(100%);
    transition: 0.5s ease-in;
  }

  .navbar li {
    padding: 20px;
    opacity: 0;
  }

  .burger {
    z-index: 100;
    display: block;
    cursor: pointer;
  }

  .navbar ul li a:hover {
    color: hsl(43, 49%, 46%);
    transition: 0.3s ease-in;
  }

  .banner-text h1 {
    font-size: 2rem;
  }

  .banner-text p {
    margin: 20px auto;
    font-weight: 300;
    line-height: 30px;
    letter-spacing: 2px;
  }

  button {
    width: 200px;
    padding: 10px 0;
    text-align: center;
    font-size: 1.1rem;
    border-radius: 25px;
    border: 2px solid hsl(43, 49%, 46%);
    background: transparent;
    color: #fff;
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }

  button span {
    background: hsl(43, 49%, 46%);
    height: 100%;
    width: 0%;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
    transition: 0.5s;
  }

  button:hover span {
    width: 100%;
  }

  /****** About section ******/
  .about-intro {
    height: 100%;
    text-align: center;
    margin: 25px 0;
    justify-items: center;
  }

  .about-intro h2 {
    color: rgb(26, 25, 25);
    font-size: 2.5rem;
    letter-spacing: 2px;
  }

  .about-intro h2 span {
    color: rgb(175, 142, 60);
  }

  .about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .about-content .right-col {
    width: 100%;
    text-align: center;
    padding: 0 10px;
    justify-content: center;
  }

  .about-content .right-col .info-title p {
    width: 100%;
    font-size: 2rem;
    font-weight: 600;
  }

  .about-content .right-col .quality {
    height: auto;
  }

  .about-content .right-col .qualities {
    margin-top: 20px;
    width: 100%;
  }

  .quality-item {
    display: flex;
    align-items: center;
  }

  .about-qualities .quality-card {
    display: flex;
    flex-wrap: wrap;
  }

  .card-info .card-img {
    justify-content: center;
  }

  .card-info .card-title {
    text-align: center;
  }

  .card-info .card-title p {
    font-size: 1.7rem;
  }

  /****** Services  ******/

  .service-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }

  .service-title .title-text {
    font-size: 2.5rem;
  }

  /****** FAQ ******/
  .faq-title h2 {
    padding-top: 20px;
    font-size: 2.5rem;
  }

  .Faq-body {
    padding: 0 50px 0 50px;
  }

  /****** Contact  ******/
  .form-holder {
    display: flex;
    flex-wrap: wrap;
  }

  .contact-form {
    padding: 0 50px;
  }

  .contact-intro .contact-title .title-name {
    font-size: 2.5rem;
  }

  .contact-map {
    padding: 0 50px;
  }

  .footer-container .row {
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: 70px;
  }

  .footer-logo {
    margin-top: -20px;
    color: hsl(43, 49%, 46%);
    /* font-size: 1.8rem; */
  }

  .first-col {
    margin: 10px 20px;
    width: 400px;
  }

  .second-col {
    /* margin-top: 20px; */
    height: 220px;
  }

  .second-col h4 {
    margin-bottom: -20px;
  }

  .third-col {
    margin: 20px 20px;
    height: 150px;
    width: 150px;
  }

  .third-col h4 {
    margin-bottom: -20px;
  }
  .fourth-col {
    margin-left: 20px;
  }

  .footer-form {
    width: 300px;
  }
}

.nav-active {
  transform: translateX(0%);
}

.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
  opacity: 0;
}

.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

@keyframes navFade {
  from {
    opacity: 0;
    transform: rotateX(50px);
  }
  to {
    opacity: 1;
    transform: rotateX(0px);
  }
}

/****** mobile ******/
@media screen and (max-width: 500px) {
  .banner-text h1 {
    font-size: 1.3rem;
  }

  .banner-text p {
    font-size: 0.8rem;
  }

  .container {
    width: 100%;
    margin: 0 auto;
  }

  .about-intro h2 {
    font-size: 1.3rem;
  }

  .about-text p {
    font-size: 0.8rem;
    line-height: 18px;
    font-weight: normal;
  }

  .about-content .right-col .info-title p {
    font-size: 1.3rem;
    margin-bottom: 0;
  }

  .quality-item .quality-info-title p {
    font-size: 1.3rem;
  }

  .quality-item .quality-info .info-note {
    font-size: 0.8rem;
  }

  .quality-item .quality-icon img {
    width: 50px;
  }

  .card-info .card-img img {
    width: 50px;
  }

  .card-info .card-title p {
    font-size: 1.3rem;
  }

  .card-info .card-text {
    font-size: 0.8rem;
  }

  /****** FAQ ******/
  .service-intro .service-title .title-text {
    font-size: 1.3rem;
  }

  .service-intro .service-text .s-text {
    font-size: 0.8rem;
  }

  /****** FAQ ******/
  .faq-title h2 {
    padding-top: 20px;
    font-size: 1.5rem;
  }
  .about-content .left-col .about-image img {
    width: 100%;
  }

  .Faq-body {
    padding: 20px;
  }

  .answer p {
    font-size: 1rem;
  }

  /****** Services  ******/
  .service-cards {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 30px;
  }

  .service-card-holder .card-number {
    font-size: 1.6rem;
  }

  .service-card-holder .s-c-title {
    font-size: 1.1rem;
  }

  .faq-title h2 {
    font-size: 1.3rem;
  }

  .question h3 {
    font-size: 1rem;
  }

  .question svg {
    width: 15px;
  }

  /****** Contact  ******/

  .contact-intro .contact-title .title-name {
    font-size: 1.3rem;
  }

  .contact-intro .contact-text .c-text {
    font-size: 0.8rem;
  }

  .form-holder {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
  }

  .contact-form {
    padding: 0 50px;
  }

  .contact-map {
    padding: 0 50px;
  }

  .footer-container .row {
    padding: 70px 0 0 0;
  }

  .footer-logo {
    font-size: 1rem;
  }

  .footer-form {
    width: 200px;
  }
}

.hidden {
  display: none;
}
