@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap");
:root {
  --headerclr: #333435;
  --mainclr: #00ff91;
  --textclr: #efefed;
}
* {
  margin: 0;
  padding: 0;
  text-decoration: none;

  box-sizing: border-box;
  transition: 0.2s;
  font-family: "Roboto", sans-serif;
}
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
}

.header {
  padding: 2rem 7%;
  position: fixed;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--headerclr);
  z-index: 10000;
}

#logo img {
  width: 300px;
}

.nav a {
  color: var(--textclr);
  font-size: 1.75rem;
  margin-left: 3rem;
  text-decoration: none;
}
.nav a:hover {
  color: var(--mainclr);
}
.icon-header div {
  color: white;
  margin-left: 1.5rem;
  font-size: 2rem;
  cursor: pointer;
}
.icon-header div:hover {
  color: var(--mainclr);
}
#menu-bar {
  display: none;
}
.nav.active {
  top: 100%;
}

.background-image {
  background: url(./images/hero_background.jpg);
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  user-select: none;
}

.background-image::before {
  content: "";
  background: rgba(0, 0, 0, 0.55);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.inner-back-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.inner-back-text h1 {
  margin-top: 150px;
  font-size: 70px;
  color: white;
  text-align: center;
  line-height: 8rem;
  text-transform: uppercase;
}
.inner-back-text h1 span {
  color: var(--mainclr);
  text-transform: uppercase;
  font-size: 40px;
}
.inner-back-text p {
  color: white;
  font-size: 1.75rem;
  margin-bottom: 15px;
  padding: 1rem;
  text-transform: none;
  margin: 50px 0;
  font-weight: 400;
}
.inner-back-btn {
  display: flex;
  justify-content: center;
}
.inner-back-btn a {
  margin-right: 1rem;
}
.first-btn,
.second-btn {
  width: 150px;
  padding: 1.5rem 4rem;
  background: var(--mainclr);
  border-radius: 15px;
  color: var(--headerclr);
  font-size: 1.75rem;
  text-decoration: none;
}
.first-btn:hover,
.second-btn:hover {
  background: var(--headerclr);
  color: white;
}

.services {
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 30px 20px;
  background-color: #fff;
}

.services-heading {
  text-align: center;
  font-size: 3.5rem;
  color: var(--headerclr);
  padding-bottom: 30px;
}

.services-heading span {
  color: var(--headerclr);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-evenly;
}

.card {
  padding: 20px;
  width: 380px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  background-color: var(--headerclr);
}

.card img {
  width: 100%;
  height: auto;
}

.card-heading {
  margin-top: 10px;
  margin-bottom: 10px;
  color: var(--textclr);
  font-size: 2.5rem;
}

.card p {
  color: var(--textclr);
  font-size: 1.5rem;
}

.chose-us {
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 30px 20px;
  background-color: var(--headerclr);
}
.chose-us h1 {
  color: var(--textclr);
  font-size: 3.5rem;
  text-align: center;
  padding-bottom: 30px;
}
.chose-us h1 span {
  color: var(--mainclr);
}
.chose-text {
  color: var(--textclr);
  font-size: 1.5rem;
  padding: 1rem 10rem;
  text-align: center;
  margin-bottom: 25px;
}
.main-chose {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
}
.inner-chose {
  flex: 1 1 200px;
}
.chose-icon {
  width: 100px;
  height: 100px;
  text-align: center;
  line-height: 100px;
  border: 8px solid var(--mainclr);
  border-radius: 100%;
  margin: 0 auto;
}
.chose-icon i {
  font-size: 40px;
  color: white;
  transition: 0.5s;
}

.inner-chose h2 {
  font-size: 2rem;
  padding: 1rem 0;
  color: var(--textclr);
}
.inner-chose p {
  font-size: 1.5rem;
  padding: 0 1rem;
  color: var(--textclr);
}

.ourworks {
  margin-top: 30px;
  margin-bottom: 30px;
}

.ourworks h1 {
  text-align: center;
  font-size: 3.5rem;
  color: var(--headerclr);
}

.img-container {
  width: 100%;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 8%;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 30px;
}

.gallery img {
  width: 100%;
}

.customer-review {
  padding: 4rem 7%;
  margin-bottom: 40px;
}
.customer-review h1 {
  color: var(--headerclr);
  font-size: 40px;
  text-align: center;
  margin-bottom: 20px;
}
.customer-review h1 span {
  color: var(--mainclr);
}
.main-review {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.inner-review {
  flex: 1 1 300px;
  padding: 3rem 2rem;
  position: relative;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.inner-review:hover {
  background: var(--mainclr);
}
.inner-review:hover i {
  color: white;
}
.inner-review p {
  font-size: 1.5rem;
  padding: 1rem 2rem;
}

.inner-review i {
  position: absolute;
  font-size: 3rem;
  left: 1rem;
  top: 1rem;
  color: var(--mainclr);
}

@media (max-width: 767px) {
  html {
    font-size: 55%;
  }
  #menu-bar {
    display: initial;
  }
  .header {
    padding: 2rem;
  }
  .nav {
    position: absolute;
    top: 100%;
    width: 80%;
    left: 10%;
    top: -1000%;
    background: var(--headerclr);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 15px;
    transition: 0.5s;
  }
  .nav a {
    color: var(--textclr);
    display: block;
    margin: 1rem;
    font-size: 14px;
  }

  .inner-back-text h1 {
    font-size: 4rem;
  }

  .inner-back-text h1 span {
    font-size: 2rem;
  }

  .inner-back-text p {
    margin: 20px;
    display: none;
  }

  .inner-welcome img {
    margin-top: 20px;
    text-align: center;
  }
  .chose-text {
    padding: 1rem 2rem;
  }
}

/*:::::::::::: Contacts Section  :::::::::::::*/

.contacts {
  background-color: var(--headerclr);
  padding: 30px;
}

.contacts_heading {
  text-align: center;
  color: var(--textclr);
  font-size: 4rem;
}

.contacts_heading span {
  color: var(--mainclr);
}

.contacts .contacts-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 50px 20px;
}

.contact-info {
  flex: 1 1 20rem;
  padding: 10px;
  color: var(--textclr);
  font-size: 2rem;
  line-height: 2;
}

.social:hover {
  color: var(--mainclr);
}

.contact-form {
  flex: 1 1 20rem;
  padding: 10px;
  display: flex;
  justify-content: center;
}

#street,
#phone,
#email {
  margin-left: 20px;
}

.social {
  margin-top: 50px;
}
.social > * {
  color: var(--textclr);
}

.social > *:hover {
  color: var(--mainclr);
}

.adress p .fas {
  color: var(--accent);
}

form input,
textarea {
  width: 100%;
  padding: 17px;
  border-radius: 0.5rem;
  outline: none;
  margin-bottom: 1rem;
  border: 2px solid var(--headerclr);
  box-shadow: 4px 4px 8px rgb(14 55 54 / 10%);
}

form input::placeholder,
textarea::placeholder {
  color: var(--headerclr);
}

form textarea {
  resize: none;
  height: 150px;
}

.btn-home {
  color: var(--headerclr);
  font-size: 1.7rem;
  background-color: var(--mainclr);
  border-radius: 5px;
  border: none;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.55);
  padding: 8px 16px;
}

.btn-home:hover {
  background: var(--textclr);
}
