@import url("https://fonts.googleapis.com/css?family=Work+Sans:300,600");
:root {
  /* font-family: 'Lato', sans-serif;
     font-family: 'Montserrat', sans-serif; */
  /* --background: rgba(0, 214, 170, 0.85); */
  --ff-lato: "Lato", sans-serif;
  --ff-mont: "Montserrat", sans-serif;
  --background: rgb(255, 255, 255);
  --ff-clr: black;
}
/* * {
  overflow: hidden;
} */

/* resets */
*,
*::after,
*::before {
  box-sizing: border-box;
}li
img {
  max-width: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-style: var(--ff-lato);
  color: #444444;
  line-height: 1.5;
}

ul {
  font-size: 0.875rem;
  font-family: var(--ff-mont);
  padding: 0;
  /* font-style: inherit; */
}

.logo {
  margin: 1em 0.7em;
  float: left;
  max-width: 12rem;
  /* min-width: 30%; */
}

@media (max-width: 425px) {
  .logo {
    width: 10rem;
  }
}

h1,
h2,
h3 {
  font-family: var(--ff-mont);
}

/* typography */

section {
  font-family: var(--ff-lato);
}

.page-title {
  color: white;
  margin: auto;
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
}

.section-title {
  font-size: 30px;
  margin-bottom: 3rem;
  font-weight: 700;
  text-transform: uppercase;
}

.section-para {
  font-size: 1rem;
  font-family: var(--ff-lato);
  line-height: 2;
}

h2.section-title {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Navigation styling */

.container {
  max-width: 80%;
  margin: auto;
  padding: 3em 0;
}

.top {
  padding: 0.5em;
  font-family: var(--ff-lato);
  font-size: 12.5px;
  color: #222;
  text-transform: capitalize;
  display: flex;
  justify-content: center;
  /* justify-items: center;
  align-items: center; */
  gap: 2em;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.212);
}

header {
  /* display: flex;
  justify-content: space-around; */
  position: fixed;
  width: 100%;
  text-align: center;
  background-color: white;
  margin: 0;
  z-index: 999;
}

.nav-bar {
  position: absolute;
  top: 100%;
  background-color: white;
  width: 100%;
  text-align: left;
  /* display: none; */
  /* outline: 1px solid red; */
  transform: scale(1, 0);
  transform-origin: top;
  transition: transform 500ms ease-in;
}

.nav-bar li {
  list-style-type: none;
  margin-bottom: 1em;
  margin-left: 1em;
  text-transform: uppercase;
}

.nav-bar a {
  opacity: 0;

  color: black;
  text-transform: uppercase;
  text-decoration: none;
}

.class-checkbox {
  display: none;
}

.checkbox-label {
  position: absolute;
  top: 1.9rem;
  right: 0;
  margin-right: 1rem;
  height: 100%;
  display: flex;
  align-items: center;
}

.checkbox-label span,
.checkbox-label span::before,
.checkbox-label span::after {
  /* display: block; this is crucial step to level up 3 bars of hambuger menu */
  display: block;
  position: relative;
  width: 1em;
  height: 3.5px;
  border-radius: 1px;
  background: black;
}

.checkbox-label span::before,
.checkbox-label span::after {
  position: absolute;
  content: "";
}

.checkbox-label span::before {
  top: 6px;
}
.checkbox-label span::after {
  bottom: 6px;
}

.class-checkbox:checked ~ .nav-bar {
  /* display: block; */
  transform: scale(1, 1);
  transition: transform 100ms ease-in 100ms;
}

.class-checkbox:checked ~ .nav-bar a {
  transition: opacity 200ms ease-in 200ms;
  opacity: 1;
}

/* desktop media queries */

@media (min-width: 1100px) {
  .wrapper {
    max-width: 80%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: grow;
    gap: 2.5em;
  }

  .nav-bar {
    position: relative;
    transition: none;
    transform: scale(1, 1);
    background: none;
  }

  .nav-bar ul {
    display: flex;
    justify-content: flex-end;
    justify-self: end;
    flex-wrap: wrap;
    gap: 1.5em;
  }

  .nav-bar a {
    opacity: 1;
  }

  .nav-bar li {
    margin-bottom: 0;
    position: relative;
  }

  .nav-bar li::before {
    position: absolute;
    content: "";
    border-bottom: 2px solid red;
    height: 5px;
    width: 100%;
    bottom: -5px;
    transform: scale(1, 0);
    transform-origin: left;
    transition: transform 150ms ease-in;
  }

  .nav-bar li:hover::before {
    transform-origin: left;
    transform: scale(1, 1);
  }
  .nav-bar li:active::before,
  .nav-bar li:focus:active::before {
    transform-origin: left;
    transform: scale(1, 1);
  }

  .nav-bar li:after {
    position: absolute;
    background: 1px solid green;
    height: 5px;
    border: 1px solid red;
  }
  .logo {
    flex: 1;
  }

  .checkbox-label {
    display: none;
  }
}

/* hero section */

.hero {
  position: relative;
  top: 8rem;
  z-index: -999; /*important part here */
}

.hero img {
  width: 100%;
  height: 10%;
}

.screen {
  position: absolute;
  max-width: 20ch;
  text-transform: uppercase;
  color: white;
  font-family: var(--ff-mont);
  font-size: 2.3em;
  line-height: 1.1;
  font-weight: 700;
  transform: scale(1, 1);
  top: 30%;
  left: 13%;
}

.screen > * {
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
}

.white::after {
  background: grey;
  width: 1em;
}

/* button & links */

.link {
  color: black;
  text-decoration: none;
}

.link:hover,
.link:focus {
  text-decoration: underline;
}

.btn {
  padding: 0.5em 1em;
  background: white;
  color: #333;
  text-decoration: none;
  font-family: var(--ff-lato);
  font-size: calc(10px + 0.1vw);
  cursor: pointer;
  font-weight: 600;
}

.btn a {
  cursor: pointer;
}

@media (max-width: 1100px) {
  .hero::before {
    position: absolute;

    content: "";
    width: 100%;
    height: 100%;
    background: #708dabe6;

    /* background: rgba(0, 0, 139, 0.608); */
  }

  .hero {
    font-size: 2.5vw;
    text-align: center;
    margin-bottom: 8rem;
  }

  .screen {
    /* transform: translateX(12vw); */
    transform: translateX(30%);
  }
}

.info-icon {
  z-index: 999;
  background: white;
  font-size: 14px;
}

/* icon part */
.info-icon_inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
  gap: 1em;
}

.icon::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  left: -1.5em;
  color: #f35f55;
  line-height: 1;
  font-size: 2.3rem;
  display: inline;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  position: static;
  margin-right: 10px;
}

.icon-2::before {
  font-size: 1.5rem;
}

.mobile::before {
  content: "\f3cd";
}

.truck::before {
  content: "\f0d1";
}

.tuner::before {
  content: "\f1de";
}

.gear::before {
  content: "\f013";
}

.pin-point::before {
  content: "\f3c5";
}

.email::before {
  content: "\f0e0";
}

.watch::before {
  content: "\f017";
}

/* utility */

.flex {
  font-family: var(--ff-lato);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2em;
}

@media (max-width: 900px) {
  .flex {
    flex-direction: column;
    place-items: start;
  }
}

/* services  */

.center {
  text-align: center;
}

.services {
  outline: 1px solid rgba(128, 128, 128, 0.356);
}

.slide img {
}

.services .text {
  background: #ebebeb;

  font-family: var(--ff-lato);
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  font-size: clamp(0.1rem, 0.2rem + 1.5vw, 1rem);
  /* font-size: min(1vw); */
  /* font-size: max(2vw); */
  padding: 1vw 2vw;
}

.services img {
  height: 20%;
  object-fit: cover;
}

.ggez {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.services .item {
  outline: 1px solid rgba(128, 128, 128, 0.226);
}

.something {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  /* gap: 2em; */
}

.something > * {
  flex-grow: 1;
}

/* brand slider */

.our-brand img {
  /* max-width: 15%; */
}

/* =====================================FAQ===================================== */

summary {
  font-size: 1.25rem;
  font-weight: 600;
  background-color: #fff;
  color: #333;
  margin-bottom: 1rem;
  outline: none;
  border-radius: 0.25rem;
  text-align: left;
  cursor: pointer;
  position: relative;
}
details > summary::after {
  position: absolute;
  content: "+";
  right: 20px;
}
details[open] > summary::after {
  position: absolute;
  content: "-";
  right: 20px;
}
details > summary::-webkit-details-marker {
  display: none;
}

details[open] summary ~ * {
  animation: sweep 0.5s ease-in-out;
}
@keyframes sweep {
  0% {
    opacity: 0;
    margin-top: -10px;
  }
  100% {
    opacity: 1;
    margin-top: 0px;
  }
}

.faq {
  line-height: 2;
}

.faq-flex {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex: 1;
  gap: 2rem;
}

@media (max-width: 765px) {
  .faq-flex {
    flex-direction: column;
  }
}
.faq-left {
  flex: 2;
}
.faq-right {
  flex: 1;
}

.faq summary {
  font-family: var(--ff-mont);
  font-weight: 700;
  font-size: 1rem;
}

.faq p {
  font-family: var(--ff-lato);
}

/* form */

form {
  flex: 50%;
  display: flex;

  flex-direction: column;
}

form > * {
  margin: 0.5em 0;
  padding: 0.5 1em;
}

button {
  display: inline-block;
}

.faq button {
  width: 7em;
  padding: 0.5em 2em;
  border: none;
  background: #4b4b4b;
  font: inherit;
  font-family: inherit;
  color: white;
  cursor: pointer;
}

.faq button:hover {
  transition: 0.5s ease-out;
  background: #3a3a3a;
}

.faq input,
.faq textarea {
  font-family: var(--ff-lato);
  text-transform: capitalize;
  padding: 0.9rem 1rem;
  opacity: 0.7;
}
.faq textarea {
  height: 9rem;
}

.faq details {
  outline: 1px solid rgba(128, 128, 128, 0.384);
  padding: 0.5rem 1rem;
}

.faq-right_title {
  margin-top: 0;
}

/* testimonial */

.testimonials {
  overflow: hidden;
  font-size: var(--ff-lato);
}

.design {
  padding: 0.5rem 1rem;
  /* outline: 1px solid rgba(128, 128, 128, 0.527); */
  box-shadow: rgb(0 0 0 / 10%) 2px 2px 2px 0px;

  bottom: 0px;
  box-shadow: rgba(0, 0, 0, 0.0980392) 2px 2px 2px 0px;
  box-sizing: border-box;

  outline: 1px solid rgb(245, 245, 245);
  position: relative;
}

.design .yelp {
  position: absolute;
  bottom: 0;
  right: 0;
}
.yelp,
.rating {
  max-width: 25%;
}

/* info */

.info {
  background-image: url("imgs/bg-silver.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.info .flex {
  gap: 2em;

  margin-bottom: 2rem;
}

@media (max-width: 766px) {
  .info {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .info .flex {
    gap: 0em;
    align-items: center;
  }
}

.info a {
  color: inherit;
}

/* cta */

.cta {
  position: relative;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: black;
}

.cta::before {
  position: absolute;
  content: "";
  background-image: url(imgs/bg-cta.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.2;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.cta > * {
  position: relative;
}

.cta h1 {
  font-size: 1.8rem;
}

.cta p,
.cta button {
  font-size: 1.2rem;
}

.cta-btn {
  cursor: pointer;
  padding: 0.6rem 1.5rem;
  color: white;
  outline: none;
  border: none;
  background-color: #ff675b;
  border-radius: 0.5rem;
}

.cta-btn:hover {
  background: #912400e0;
  color: white;
  transition: 250ms ease-in-out;
}
/* footer*/

.footer {
  background-color: #6287ad;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer ul {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  flex-wrap: no-wrap;
  gap: 0.8rem;
}

.footer a {
  text-decoration: none;
  color: #fff;
}
.footer a:hover {
  color: rgba(255, 255, 255, 0.603);
}

.footer-flex {
  display: flex;
  flex-direction: row;
}

@media (max-width: 766px) {
  .footer-flex {
    flex-direction: column;
  }
}

.footer-flex > * {
}
.footer-1,
.footer-2,
.footer-3 {
  flex: 1;
  padding: 0.5rem 1rem;
}

/* About - us Page */

.about-us header,
.our-brand header {
  position: fixed;
}
.page-header {
  background-color: #7796b4;
  color: white;
  position: relative;
  top: 8rem;
  text-transform: capitalize;
  font-size: 0.9rem;
}

.page-header a {
  color: white;
  text-decoration: none;
}

.about-us .section-title {
  /* margin: 2em auto 0 auto; */
  margin-bottom: 0;
}

.about,
.gallery {
  background-color: #ebebeb;
  margin-top: 6rem;
}

/* process */
.process-box {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.process-box > * {
  padding: 0.5rem;
  flex: 1;
  outline: 1px solid rgba(128, 128, 128, 0.288);
}

.process-box img {
  display: block;
  margin: auto;
}

.red {
  color: red;
}
.process-title {
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.photo-gallery {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
}
.photo-gallery img {
  width: 20%;
}

@media (max-width: 766px) {
  .process-box {
    flex-direction: column;
  }

  .photo-gallery {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
}

/* our brands page */

.brand-imgs {
  margin-top: 7em;
}
.brand-imgs img {
  width: 10%;
  margin: 0 3rem;
}

/* contact page */

.address-info {
  margin-top: 6rem;
}

.about-us-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 2rem;
}

@media (max-width: 766px) {
  .about-us-container {
    flex-direction: column;
  }
}

.address-info .container > * {
  flex: 1;
}

.address-info a {
  text-decoration: none;
  color: #333;
}

.address-info input {
  padding: 0.8rem;
}

.address-info label {
  margin-bottom: 0;
}

.contact .btn {
  display: block;
  max-width: 6rem;
}

/* services page */

.product-images {
  margin-top: 8rem;
}
.flex-card {
  display: flex;
  gap: 2rem;
}

.card {
  text-align: center;
  text-transform: uppercase;
  outline: 1px solid rgba(128, 128, 128, 0.425);
  width: 33%;
  position: relative;
}
.page-services .box {
  background-color: #ebebeb;
  position: absolute;
  top: 75%;
  bottom: 0;
  width: 100%;
  object-fit: cover;
  font-size: clamp(0.5rem, 8px+ 0.1vw, 1rem);
  display: grid;
  place-items: center;
  transform-origin: top;
}

.page-services .box:hover {
  background: #f35e54;
  color: white;
  transition: transform 2250ms ease-in;
}

.here:active {
  border-bottom: 1px solid red;
}
