@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=Turret+Road:wght@200;300;400;500;700;800&display=swap");

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-padding-top: 2rem;
  scroll-behavior: smooth;
  list-style: none;
  text-decoration: none;
}
:root {
  --main-color: #fe5b3d;
  --second-color: #ffac38;
  --text-color: #444444;
  --gradient: linear-gradient(#fe5b3d, #ffac38);
}
html::-webkit-scrollbar {
  width: 0.5rem;
}
html::-webkit-scrollbar-track {
  background: transparent;
}
html::-webkit-scrollbar-thumb {
  background: var(--main-color);
  border-radius: 5rem;
}
section {
  max-width: 1400px;
  margin: auto;
  padding: 50px 100px;
}
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  background: #eeeff1;
}
.header-content {
  max-width: 1400px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 100px;
}
.logo img {
  width: 80px;
}
.navbar {
  display: flex;
}
.navbar li {
  position: relative;
}
.navbar a {
  font-size: 1rem;
  padding: 10px 20px;
  color: var(--text-color);
  font-weight: 500;
}
.navbar a::after {
  content: "";
  width: 0;
  height: 3px;
  background: var(--gradient);
  bottom: -4px;
  left: 0;
  transition: 0.5s;
  position: absolute;
}
.navbar a:hover::after {
  width: 100%;
}
header .ri-close-line {
  display: none;
}
#menu-icon {
  font-size: 24px;
  cursor: pointer;
  z-index: 110;
  display: none;
}
.header-btn a {
  padding: 10px 20px;
  color: var(--text-color);
  font-weight: 500;
}
.header-btn .sign-in {
  background: #474fa0;
  color: #ffffff;
  border-radius: 0.5rem;
  transition: 0.5s;
}
.header-btn .sign-in:hover {
  background: var(--main-color);
}

/* Home */

.home {
  width: 100%;
  min-height: 100vh;
  background-color: #eeeff1;
  display: flex;
  padding: 0;
  margin: 0;
  max-width: unset;
}
.home-content {
  width: 100%;
  position: relative;
  background: url("images/hero-background.png");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: auto;
  display: grid;
  align-items: center;
  grid-template-columns: repeat(2, 1fr);
  background-color: #eeeff1;
  padding: 50px 100px;
  margin: 0 auto;
  max-width: 1400px;
}
.text h1 {
  font-size: 3.5rem;
  letter-spacing: 1px;
  line-height: 1.2em;
}
.text-uppercase {
  text-transform: uppercase;
}
.text span {
  color: var(--main-color);
}
.text p {
  margin: 0.5rem 0 1rem;
  font-size: 1.1rem;
}
.app-stores {
  display: flex;
}
.app-stores img {
  width: 100px;
  margin-right: 1rem;
  cursor: pointer;
}
.form-container form {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 1rem;
  position: absolute;
  bottom: 5rem;
  left: 100px;
  background: #ffffff;
  padding: 20px;
  border-radius: 0.5rem;
}
.form-container form .btn {
  flex: 1 1 7rem;
  padding: 10px 34px;
  border: none;
  border-radius: 0.5rem;
  background: #474fa0;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}
.form-container form .btn:hover {
  transition: 0.5s;
  background: var(--main-color);
}
.input-box {
  flex: 1 1 7rem;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.input-box span {
  font-weight: 500;
}
.input-box input {
  padding: 7px;
  outline: none;
  border: none;
  background: #eeeff1;
  border-radius: 0.5rem;
  font-size: 1rem;
  width: 100%;
}

.input-box select {
  padding: 7px;
  border: 2px solid #eeeff1;
  border-radius: 0.5rem;
  background: #eeeff1;
  font-size: 1rem;
  width: 100%;
}

.input-box select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #000;
}

/* Ride */

.heading {
  text-align: center;
}
.heading span {
  font-weight: 500;
  text-transform: uppercase;
}
.heading h1 {
  font-size: 2rem;
}
.ride-container {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(250px, auto));
  gap: 1rem;
  margin-top: 2rem;
}
.ride-container .box {
  text-align: center;
  padding: 20px;
}
.ride-container .box i {
  font-size: 34px;
  padding: 10px;
  background: #eeeff1;
  border-radius: 0.5rem;
  color: var(--main-color);
}
.ride-container .box i:hover {
  background: var(--gradient);
  color: #ffffff;
}
.ride-container .box h2 {
  font-size: 1.3rem;
  font-weight: 500;
  margin: 1.4rem 0 0.5rem;
}

.car-features {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 10px 0;

  ul li {
    list-style: disc;
    margin-left: 20px;

    span {
      font-weight: 600;
    }
  }
}

/* Services */

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, auto));
  gap: 1rem;
  margin-top: 2rem;
}
.services-container .box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
  border-radius: 1rem;
  box-shadow: 1px 4px 41px rgba(0, 0, 0, 0.1);
}
.services-container .box .box-img {
  width: 100%;
  aspect-ratio: 4/3;
}
.services-container .box .box-img img {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  object-fit: cover;
  object-position: center;
}
.services-container .box p {
}
.services-container .box h3 {
  margin-top: 0.3rem;
  font-weight: 500;
}
.services-container .box h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--main-color);
  margin: 0.5rem 0 0.7rem;
}
.services-container .box h2 span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-color);
}
.services-container .box .btn {
  display: flex;
  justify-content: center;
  background: #474fa0;
  color: #ffffff;
  padding: 10px;
  border-radius: 0.5rem;
  transition: 0.5s;
}
.services-container .box .btn:hover {
  background: var(--main-color);
}

/* About */

.about-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2rem;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}
.about-img img {
  width: 100%;
}
.about-text span {
  font-weight: 500;
  color: var(--main-color);
  text-transform: uppercase;
}
.about-text p {
  margin: 0.5rem 0 1.4rem;
}
.about-text .btn {
  padding: 10px 20px;
  background: #474fa0;
  color: #ffffff;
  border-radius: 0.5rem;
  transition: 0.5s;
}
.about-text .btn:hover {
  background: var(--main-color);
}

/* Reviews */

.reviews-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, auto));
  gap: 1rem;
  margin-top: 2rem;
}
.reviews-container .box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  box-shadow: 1px 4px 4px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
}
.reviews-container .box h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.5rem 0 0.5rem;
}
.reviews-container .box p {
  font-style: italic;
}
.reviews-container .box i {
  color: var(--main-color);
}
.rev-img {
  width: 70px;
  height: 70px;
}
.rev-img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 2px solid var(--second-color);
}

/* Footer */

.copyright {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.copyright span {
  font-family: "Turret Road";
}
.social a {
  color: #444444;
  padding: 10px;
  font-size: 21px;
}
.spoiler {
  margin-bottom: 10px;
  margin-top: 2rem;
}
.spoiler-header {
  cursor: pointer;
  background: #dadada;
  border-radius: 5px 5px 0px 0px;
  padding: 5px;
}
.spoiler-content {
  background: #efefef;
  display: block;
  border-radius: 0px 0px 10px 10px;
  padding: 10px 10px 10px 15px;
  border: 1px solid #dadada;
}
.spoiler-content-hidden {
  display: none;
}

/* Responsive */

@media (max-width: 1375px) {
  /* .text {
    display: none;
  } */
  .home-content {
    width: 100%;
    min-height: 100vh;
    position: relative;
    background-position-x: 0%;
    background-position-y: 0%;
    background-repeat: repeat;
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center right;
    display: grid;
    align-items: center;
    /* grid-template-columns: repeat(2, 1fr); */
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1280px) {
  .text-overlay {
    width: fit-content;
    padding: 20px;
    border-radius: 0.5rem;
    background-color: rgb(255, 255, 255, 0.6);
  }
}

@media (max-width: 1100px) {
  .navbar a,
  .header-btn a {
    padding: 10px 8px;
  }
}

@media (max-width: 991px) {
  .header-content {
    padding: 18px 40px;
  }
  section,
  .home-content {
    padding: 50px 40px;
  }
  .form-container form {
    position: unset;
  }
}

@media (max-width: 881px) {
  .home-content {
    background-position: center;
  }
  .form-container .form {
    bottom: 0.2rem;
    left: 40px;
  }
  .text {
    display: initial;
  }
  .form-container form {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-container form .btn {
    grid-column: 1 / 3;
    justify-self: center;
    max-width: 320px;
    width: 100%;
  }
}

@media (max-width: 795px) {
  .header-content {
    padding: 11px 40px;
  }
  #menu-icon {
    display: initial;
  }
  .sign-up {
    display: none;
  }
  .text h1 {
    font-size: 2.5rem;
    width: 320px;
  }
  .text p {
    font-size: 0.8rem;
    width: 320px;
  }
  .home-content {
    grid-template-columns: 1fr;
  }
  header .navbar {
    position: absolute;
    top: -600px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
    transition: 0.2s ease;
    text-align: left;
  }
  .navbar.active {
    top: 100%;
  }
  .navbar a {
    padding: 1rem;
    border-left: 2px solid var(--main-color);
    margin: 1rem;
    display: block;
    transition: 0.3s ease;
  }
  .navbar a:hover {
    color: #ffffff;
    background: var(--main-color);
    border: none;
  }
  .navbar a::after {
    display: none;
  }
  .heading span {
    font-size: 0.9rem;
    font-weight: 600;
  }
  .heading h1 {
    font-size: 1.3rem;
  }

  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-img {
    padding: 1rem;
    order: 1;
  }
  .about-text {
    order: 2;
  }
}

@media (max-width: 568px) {
  .home-content {
    background-position: left;
  }
  .text-overlay {
    width: unset;
    background-color: unset;
  }
  .text h1,
  .text p {
    width: 100%;
    max-width: 300px;
  }
  .form-container {
    padding-top: 2rem;
  }
  .about-text p {
    font-size: 14px;
  }
  .copyright {
    flex-direction: column;
  }
  .newsletter .box {
    width: 284px;
  }
}

@media (max-width: 460px) {
  .header-content {
    padding: 6px 14px;
  }
  .logo img {
    width: 40px;
  }
  section,
  .home-content {
    padding: 50px 6px;
  }
  .header-btn .sign-in {
    padding: 7px 10px;
    font-size: 14px;
    font-weight: 400;
  }
  .text h1 {
    font-size: 2rem;
  }
  .services-container {
    grid-template-columns: repeat(auto-fit, minmax(254px, auto));
  }
  .form-container form {
    grid-template-columns: 1fr;
  }

  .form-container form .btn {
    grid-column: 1;
  }
}
