@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.container-color {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: white;
}

.headers {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  height: 11vh;
  position: fixed;
  background-color: white;
  top: 0;
  left: 0;
}

.head-box ul {
  text-decoration: none;
  list-style: none;
  padding: 0;
  margin: 0;

}

.head-box ul li a {
  text-decoration: none;
  color: black;
  font-size: 12px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.head-box ul li a:hover {
  color: #FAB700;
}



/* pages */

.container ul li {
  position: relative;
}

.container ul li ul.submenu,
.container ul.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding: 0;
  background-color: white;
  border: 1px solid white;
  list-style: none;
  min-width: 180px;
  margin-top: 35px;

  z-index: 100;
  display: block;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.5s ease;

}

.container ul li:hover ul.submenu,
.container ul li:hover ul.dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.container ul li ul.dropdown-menu,
.container ul li ul.submenu {
  border: none;
  border-radius: 0;
}

.container ul li ul.dropdown-menu li a:hover,
.container ul li ul.submenu li a:hover {
  background-color: #FAB700;
  color: white;
}

.container ul li ul.dropdown-menu li a,
ul.submenu li a {
  display: block;
  padding: 13px 20px;
  color: black;
  text-decoration: none;
  font-size: 13px;
}

.container {
  margin-bottom: 60px;
}


.about-home li a {
  text-decoration: none;
}




/* Mobil görünüş: 992px-dən kiçik ekranlar */
@media (max-width: 992px) {

  /* Burger icon göstər */
  .burger {
    display: block;
    cursor: pointer;

  }

.head-box ul {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: white;
  max-height: 0;      
  overflow: hidden;      
  transition: max-height 0.5s ease;
  z-index: 999;
  padding: 0 1.5rem;   
}

  .head-box ul li {
    width: 100%;
    padding: 7px 20px;


  }

  .head-box ul li a {
    display: block;
    font-size: 12px;
  }

  /* Açıq menyu */
  .head-box ul.active {
    max-height: 80vh;
    /* lazım olan qədər açılır */
    overflow-y: auto;
    /* scroll lazım olsa */
  }

  .submenu li a,
  .dropdown-menu li a {
    background-color: white;
  }


  .container ul li ul.submenu,
  .container ul li ul.dropdown-menu {
    display: block;
    position: relative;
    top: 0;
    left: 0;
    margin: 0;
    color: black;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    visibility: visible;
  }

  .container ul li:focus-within ul.submenu,
  .container ul li:focus-within ul.dropdown-menu {
    max-height: 300px;
  }

  .burger {
    display: block;
    /* göstər */
    cursor: pointer;
    position: relative;
    left: 26%;

  }

  .burger:hover {
    transition: 0.5s;
  }

  .burger span {
    display: block;
    width: 28px;
    height: 3.2px;
    margin: 5px 0;
    background-color: #FAB700;
    position: relative;
    right: 1%;
  }


  .start-head {

    left: 10%;
  }
}

@media (max-width: 400px) {

  /* Baş menyu mobil */
  .head-box ul {


    padding: 1.5rem 1.5rem 0 2rem;
    display: none;

  }

  .burger span {
    display: block;
    width: 28px;
    height: 3.2px;
    margin: 5px 0;
    background-color: #FAB700;
    position: relative;
    right: 15%;
  }

}

ul li a {
  text-decoration: none;
  color: black;
  font-size: 13px;
}

i {
  color: black;
  font-size: 13px;
}

.container ul li a:hover {
  color: #FAB700;
  ;
}

.dream-img {
  background-image: url(./img/banner.jpg);
  width: 100%;
  height: 42vh;
  background-size: cover;
  background-position: center;
  position: relative;
  background-attachment: fixed;
}


@media screen and (max-width: 992px) {
  .dream-img {
    background-position: center 4rem;


  }

  .menu-end {
    padding: 0 15px;
  }

  /* əsas menyu linkləri */
  .container>div>ul>li>a {
    padding: 10px 15px;
    line-height: 1.2;
  }
  .container>div>ul>li {
    margin: 0;
  }

  .container>div>ul.active {
    padding: 20px 0;
    max-height: 350px;
  }

  .container ul {
    gap: 20px !important;
  }

  .container-color {
    width: 100%;


  }

  .container {
    max-width: 75%;

  }

  .img-fluid {
    margin-top: 30px;

  }

  .vision-box p {
    margin-bottom: 50px;
  }


}


.surname {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
}

.font {
  font-size: 49px;
  font-family: "Roboto", sans-serif;

}


.about-home {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  font-family: "Roboto", sans-serif;
}

.about-home li a {
  font-size: 14px;
  color: white;
  word-spacing: 10px;
}

.about-home li a:hover,
.about-home li a:hover i {
  color: #FAB700;
}

.about-home li a i {
  color: white;
}

h1 {
  display: grid;
  text-align: center;
  color: white;
}

.about-home li a i {
  margin-right: -10px;
}


@media screen and (max-width: 768px) {


  .font {
    font-size: 36px;
    line-height: 0.5;
  }
  .vision-box p {
    width: 100%;

  }

  .container-box {
    margin: 0 15px;
  }

  .price {
    display: inline-block;
    margin-top: 15px;
  }

}


/* Our offered services */



.services-head {
  font-family: "Oswald", sans-serif;
  margin-top: 7rem;
  text-align: center;
  word-spacing: 5px;
  font-size: 36px;
  color: black;
}

.text {
  text-align: center;
  font-family: "Roboto", sans-serif;
  color: #777777;
  font-size: 14px;
  margin-bottom: 70px;
  margin-top: 10px;
}


.build-paint-repair span a {
  font-family: "Oswald", sans-serif;
}

.build-paint-repair {

  width: 365px;
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background-color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.build-paint-repair:hover {

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-radius: 10px;

}




.build-paint-repair img {
  width: 60px;
  align-self: center;
  box-shadow: none;

}

.text-lorem {
  text-align: center;
  color: #777777;
  width: 75%;
  align-self: center;

}

span a {
  text-decoration: none;
  font-weight: bold;
  color: black;
  font-size: 20px;
  line-height: 60px;
}

.offered-box {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.build-paint-repair {
  flex: 0 0 calc(33.333% - 30px);
  max-width: 365px;
}



@media screen and (max-width: 992px) {
  .build-paint-repair {
    flex: 0 0 calc(50% - 30px);
  }
}

@media screen and (max-width: 768px) {

  .services-head {

    font-size: 26px;

    color: black;
  }


  .build-paint-repair {
    flex: 0 0 100%;
    max-width: 365px;
  }

  .services-head {
    font-size: 26px;
  }
}

@media screen and (max-width: 592px) {

  .services-head {

    font-size: 26px;

    color: black;
  }

  .text {
    margin-bottom: 0;

  }

}

@media screen and (max-width: 400px) {

  .services-head {

    font-size: 22px;

    color: black;
  }

  .build-paint-repair {
    margin: auto;
    width: 90%;
    height: 62vh;

  }

  .offered-box {
    padding: 0 15px;
  }


}

/* Number */

.back-color {
  margin-top: 50px;
  background-color: #FAB700;
  width: 100%;
  height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 5vw, 4rem);


}

.counter {
  font-size: 48px;

}


.back-color div {

  font-family: "Oswald", sans-serif;
}


@media screen and (max-width: 992px) {
  .back-color {

    display: flex;
    flex-wrap: wrap;
    height: 450px;
    gap: 0;
    justify-content: flex-start;
  }

  .back-color div {
    margin-left: 70px;
    margin-right: 60px;
    /* width: 20%; */
  }

}

@media screen and (max-width: 769px) {
  .back-color {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: center;
    gap: 10px;
    /* padding: 30px 30px 30px 70px; */
  }

  .back-color div {
    margin-left: 35px;
    margin-right: 30px;

  }

  .counter {
    /* width: 23%; */

  }
}

@media screen and (max-width: 575px) {
  .back-color {
    height: auto;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 20px;

  }

  .back-color div {
    flex: none;
    text-align: center;
  }
}



/* contact */


.end-color {
  background-color: #222;
  color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  padding: 70px;
  gap: 20px;

}

.end-color>div:nth-child(1),
.end-color>div:nth-child(2),
.end-color>div:nth-child(3) {
  flex: 0 0 25%;
}

.end-color>div:nth-child(4),
.end-color>div:nth-child(5) {
  flex: 0 0 40%;
}

.end-text,
.end-text i {
  color: #777777;
  font-size: 14px;
  ;
}

.end-color h6 {
  font-size: 20px;

  font-family: "Oswald", sans-serif;
}

.end-color div p a {
  text-decoration: none;
  font-size: 24px;
  line-height: 10px;
  color: #FAB700;
}


.newsletter {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.email {
  width: 100%;
  padding: 8px 60px 8px 17px;
  border-radius: 25px;
  border: none;
  outline: none;
  font-size: 14px;
}

.send-btn {
  position: absolute;
  top: 50%;
  right: 2px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background-color: #FAB700;
  color: #777777;
  color: black;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.send-btn i {
  font-size: 14px;
}



.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.color {
  font-size: 14px;
}

.icon-box {
  display: flex;
  justify-content: center;
  gap: 5px;
  align-content: center;
  align-items: center;
}

.icon-box a {
  width: 30px;
  height: 30px;
  background-color: #111;

  text-align: center;
  line-height: 30px;
  display: inline-block;
  margin-left: 6px;
}

.icon-box a i {
  color: white;
}

@media screen and (max-width: 992px) {

  .end-color {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
  }




  .end-color>div:nth-child(1),
  .end-color>div:nth-child(2) {
    flex: 0 0 48%;
  }


  .end-color>div:nth-child(3) {
    flex: 0 0 100%;
  }


  .end-color>div:nth-child(4),
  .end-color>div:nth-child(5) {
    flex: 0 0 49%;
  }

}



@media screen and (max-width: 768px) {

  .end-color>div:nth-child(4),
  .end-color>div:nth-child(5) {
    flex: 0 0 100%;
    text-align: center;
  }

  .end-color>div:nth-child(3) {
    margin-bottom: 50px;
  }

  .end-color {


    padding: 70px 40px;
  }

}


@media screen and (max-width: 576px) {

  .end-color>div:nth-child(1),
  .end-color>div:nth-child(2),
  .end-color>div:nth-child(3),
  .end-color>div:nth-child(4),
  .end-color>div:nth-child(5) {
    flex: 0 0 85%;

  }

  .end-color {
    padding: 40px 15px;
  }
}
.head-box ul li a.active {
  color: #FAB700; 
  font-weight: bold;
}