@keyframes fade {
  from {
    background-image: #ffffff00;
  }
  to {
    background-image: #5f5f5f80;
  }
}

:root {
  --main-color: #ef4e2a;
}

/* Responsiveness */
@media (max-width: 768px) {
  body {
    overflow-x: hidden !important;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 16px;
    width: 90%;
  }

  header a[href="/"] {
    align-self: flex-start !important;
  }

  .logo {
    margin-bottom: 16px;
  }

  nav {
    display: none !important;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  nav.show {
    display: flex !important;
  }
  nav.show a {
    text-align: center;
  }

  .menu-toggle {
    display: block !important;
    position: absolute;
    width: 40px;
    height: 40px;
    top: 30px;
    right: 30px;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--main-color);
    align-self: flex-end;
  }

  .menu-toggle img {
    width: 40px;
    height: 40px;
  }

  .cta-button {
    width: 100%;
    text-align: center;
    margin-top: 16px;
  }
  header,
  .section,
  .section-vector,
  .section-comments,
  .section-header,
  .news-section,
  .single-car,
  .new-slogan,
  .legal-text {
    width: calc(100% - 4rem) !important;
    margin: 2rem !important;
  }
  .vector-text {
    font-size: 24px !important;
    width: 100%;
    margin: 0 !important;
  }
  .about-text p {
    font-size: 20px !important;
  }
  .legal-text {
    padding: 3rem !important;
  }
  .single-car {
    flex-direction: column-reverse !important;
  }
  .car-details {
    max-width: unset !important;
  }
  .modal {
    height: unset !important;
  }
  .hero-content {
    top: 200px !important;
    left: 0 !important;
    width: calc(100% - 4rem) !important;
    margin: 0 2rem;
    height: max-content !important;
  }
  .section-comments {
    width: calc(100% - 4rem) !important;
    margin: 2rem;
  }
  .promo-right > img {
    display: none !important;
  }
  .vector-image {
    display: none !important;
  }
  .features {
    flex-direction: column !important;
    gap: 2.5rem;
  }
  .promo-left,
  .promo-right {
    margin-left: 2rem !important;
    margin-right: 2rem !important;
    background-image: none;
    background-color: #5f5f5fa6;
    padding: 1rem;
  }
  .promo-left {
    margin-top: 2rem !important;
    margin-bottom: 0 !important;
    border-radius: 8px 8px 0 0;
    gap: 2rem !important;
  }
  .promo-left h2 {
    width: 100% !important;
    font-size: 32px !important;
    height: fit-content !important;
  }
  .promo-right {
    margin-top: 0 !important;
    margin-bottom: 2rem !important;
    border-radius: 0 0 8px 8px;
  }
  .app-promo {
    flex-direction: column !important;
    height: unset !important;
  }
  .promo-qr {
    align-self: center;
  }
  .promo-right a {
    align-self: center;
  }
  .testimonial,
  .car {
    width: calc(100vw - 4rem) !important;
    height: auto;
  }
  .site-footer {
    padding: 2rem !important;
    width: 100% !important;
  }
  .footer-top {
    flex-direction: column;
    gap: 2rem;
    flex-wrap: nowrap !important;
  }
  .footer-bottom {
    align-items: center;
    gap: 2rem;
  }
  .footer-bottom p {
    width: 100%;
    text-align: center;
  }
  .footer-links {
    width: calc(100vw - 4rem);
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    text-align: center !important;
  }
  .footer-links a {
    margin: 0 !important;
  }
  .news-section {
    /* overflow-x: hidden; */
    display: flex !important;
    flex-direction: column;
    grid-template-columns: unset !important;
    gap: 2rem;
  }
  .new-card {
    width: 100% !important;
    background: rgba(0, 100, 255, 0.05);
  }
  .new-slogan {
    flex-direction: column-reverse;
    padding: 2rem !important;
    gap: 0 !important;
  }
  .section-about {
    flex-direction: column-reverse;
    padding: 2rem !important;
  }
  .section-about img {
    width: 100% !important;
    height: auto !important;
  }
  .masonry {
    column-count: 1 !important;
    padding: 2rem !important;
  }
  .form {
    padding: 2rem !important;
  }
  .form img {
    display: none !important;
  }
  .gallery {
    padding-top: 400px;
  }
  .footer-left {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .logo {
    margin-bottom: unset !important;
  }
  .popup-box {
    width: unset !important;
  }
}

/* Desktop: hide menu toggle */
.menu-toggle {
  width: 4rem !important;
  display: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Roboto", sans-serif;
  background-color: #ededed;
  color: #353535;
}
header {
  position: relative;
  width: 70%;
  min-height: 100px;
  margin: 32px auto;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
a {
  text-decoration: none;
  color: var(--main-color);
}
/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.logo,
.logo img {
  width: 120px;
  height: 48px;
}
nav {
  display: flex;
  z-index: 2;
  gap: 24px;
}
nav a {
  font-size: 20px;
  color: #353535;
  text-decoration: none;
}
.cta-button {
  background: var(--main-color);
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}
.hero {
  background-color: linear-gradient(
    230.62deg,
    rgba(0, 0, 0, 0) 24.52%,
    rgba(0, 0, 0, 0.4) 80.91%
  );
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  min-height: 45rem;
  position: relative;
}
.hero-content {
  position: absolute;
  z-index: 2; /* <-- Important to appear above the overlay */
  top: 300px;
  left: 100px;
  width: 536px;
  height: 354px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(1px);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: white;
}

.hero-content h1 {
  font-weight: 800;
  font-size: 48px;
  line-height: 140%;
}
.hero-content p {
  font-size: 24px;
  line-height: 140%;
}
.hero-content .cta-button {
  width: 129px;
  height: 46px;
  align-self: flex-start;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    to right,
    rgba(237, 237, 237, 0.4) 0%,
    rgba(237, 237, 237, 0) 10%,
    rgba(237, 237, 237, 0) 90%,
    rgba(237, 237, 237, 0.4) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-content > * {
  position: relative;
  z-index: 1;
}
.testimonial i {
  color: #b2b3b2;
  align-self: self-start;
}
.profile-name,
.profile-role {
  text-align: start;
}
.profile-name {
  font-size: 26px;
  font-weight: 600;
}

.section {
  width: 70%;
  margin: 64px auto;
  background: #fcfcfc;
  border-radius: 12px;
  padding: 64px;
}
.section h2 {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 2rem;
}

.section-comments {
  width: 70%;
  margin: 64px auto;
}
.section-comments h2 {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 2rem;
}
.comment-profile-box {
  display: flex;
  justify-content: space-between;
}
.comment-profile {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.profile-image {
  width: 4rem !important;
  height: 4rem;
}
.cards {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.card,
.steps-card {
  width: 281px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card img {
  max-height: 18.5rem;
  width: 100%;
}
.card h3,
.steps-card h3 {
  font-size: 24px;
  font-weight: 700;
}
.card p,
.steps-card p {
  font-size: 16px;
  line-height: 140%;
}
.steps-card img {
  height: 3rem;
  width: auto;
}
.features {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: max-content;
  margin-top: 4rem;
}
.section-vector {
  margin: 2rem 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 15rem;
}
.orange {
  color: var(--main-color);
}
.vector-text {
  font-size: 26px;
  margin: 3rem 14rem 3rem 0;
}
.vector-image {
  width: auto;
  height: 20rem;
}
.testimonials {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin: 64px auto;
  cursor: grab;
}
.testimonial {
  background: #fff;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3),
    0px 1px 3px 1px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 32px;
  width: 408px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.testimonial .content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.testimonial .content p {
  font-size: 16px;
  color: #1f1f1f;
}
.testimonial .footer {
  display: flex;
  gap: 16px;
  align-items: center;
}
.avatar {
  width: 64px;
  height: 64px;
  border-radius: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fdedea;
  font-size: 28px;
  font-weight: 600;
}
.section-why {
  background: #383434;
  color: #fff;
  height: calc(max-content + 5rem);
  font-size: 26px;
  padding: 6rem;
  display: flex;
  flex-direction: column;
}
.section-why h2 {
  text-align: center;
  width: 100%;
}
.driver-info {
  display: flex;
  flex-direction: column;
}
.driver-info h4 {
  font-size: 24px;
  font-weight: 600;
  color: #1f1f1f;
}
.driver-info span {
  font-size: 16px;
  color: #212121;
}
.why-card-image {
  width: 5rem;
  height: 5rem;
  margin: auto;
}

.cars {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 20px;
}

.car {
  position: relative;
  width: 374px;
  height: 248px;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.car .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff00;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.car:hover .overlay {
  background-color: #ffffff80;
}

.car:hover .overlay a {
  display: block;
}

.car .overlay a {
  display: none;
  transition-duration: 0.4s;
  color: #fff;
  background-color: var(--main-color);
  padding: 6px 16px;
  border-radius: 8px;
}

.app-promo {
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: space-between;
  height: 800px;
}

.promo-left {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin: 5rem 0 0 8.2rem;
}

.promo-qr {
  width: 168px;
  height: 168px;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.promo-left h2 {
  color: #fff;
  font-family: Roboto;
  font-weight: 700;
  font-style: Bold;
  font-size: 48px;
  line-height: 140%;
  width: 405px;
  height: 201px;
}

.promo-left p {
  color: #fff;
  font-family: Roboto;
  font-weight: 400;
  font-size: 20px;
  line-height: 140%;
  width: 287px;
  height: 28px;
}

.promo-right {
  display: flex;
  flex-direction: column;
  margin-top: 10rem;
}

.promo-store {
  width: 174px;
  height: 58px;
}

.promo-right h3 {
  color: #fff;
  width: 335px;
  height: 48px;
  font-family: Roboto;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 34px;
  line-height: 140%;
  margin-bottom: 2rem;
}
.site-footer {
  background: #353535;
  color: #fff;
  padding: 60px 140px 40px;
  font-family: "Roboto", sans-serif;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-left .logo {
  font-size: 40px;
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 24px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  background: initial;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-right h4 {
  font-size: 20px;
  margin-bottom: 16px;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 16px;
  color: #fff;
}

.contact-info img {
  width: 20px;
  height: 20px;
  opacity: 0.7;
}

hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 40px 0 20px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 14px;
  color: #ddd;
}

.footer-links a {
  margin-left: 24px;
  text-decoration: none;
  color: #ddd;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}
.section-header {
  width: 70%;
  margin: 32px auto;
  background: #fcfcfc;
  border-radius: 12px;
  padding: 32px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 600;
  text-align: center;
}
.section-about {
  background-color: #fff;
  padding: 64px 15%;
  display: flex;
  gap: 2rem;
}
.about-text h2 {
  font-size: 32px;
  font-weight: 600;
  text-align: left;
  margin: 2rem 0;
}
.about-text p {
  font-family: "Roboto";
  font-weight: 400;
  font-size: 20px;
  line-height: 140%;
  letter-spacing: 0%;
}
.about-image {
  width: 600px;
  height: 470px;
  border-radius: 12px;
}
.form {
  display: flex;
  gap: 2rem;
  margin: 0 auto;
}
.form-image {
  border-radius: 12px;
  width: 50%;
}
.form-text {
  width: 100%;
}
.form-list {
  width: 100%;
  height: max-content;
}
.form-list li {
  list-style: none;
  width: 100%;
  height: max-content;
  margin-bottom: 1rem;
}
.form-list li label {
  font-family: "Roboto";
  font-weight: 500;
  font-style: Medium;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #1e1e1e;
}
.form-list li input,
.form-list li select,
.form-list li textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #999999;
  padding: 16px;
  font-size: 14px;
}
.form-list li select {
  appearance: none; /* Remove default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;

  background: url('data:image/svg+xml;charset=UTF-8,<svg fill="%23ef4e2a" height="16" viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>')
    no-repeat right 12px center;
  background-color: #fff;
  cursor: pointer;
}
.form-list li input#phone {
  border-left: none;
  border-radius: 0 8px 8px 0;
  padding: 16px 16px 16px 4px;
}
.form-list li input#phone:focus {
  outline: none;
  border-left: none;
}
.form-list li:has(input#phone:focus) .input-with-prefix span {
  outline: none;
  border: 2px solid var(--main-color);
  border-right: none;
}
.form-list input:focus,
.form-list select:focus,
.form-list textarea:focus {
  outline: none;
  border: 2px solid var(--main-color);
}
.form-list input[type="checkbox"] {
  accent-color: var(--main-color);
  scale: 1.2;
}
.form-list .terms-and-conditions {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  height: min-content;
}
.form-list .taxi-operator {
  flex-direction: column;
  display: flex;
  width: 100%;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1rem;
  height: min-content;
}
.form-list .terms-and-conditions input,
.form-list .taxi-operator input {
  width: auto;
  cursor: pointer;
}
.form-list .terms-and-conditions label,
.form-list .taxi-operator label {
  display: block;
  cursor: pointer;
}
.form-list .form-checkbox-container {
  display: flex;
  width: max-content;
  gap: 1rem;
}
.form-list input[type="submit"] {
  background-color: #fff;
  color: var(--main-color);
  cursor: pointer;
  border: 1px solid var(--main-color);
  transition-duration: 0.4s;
}
.form-list input[type="submit"]:hover {
  background-color: var(--main-color);
  color: #fff;
}

.input-with-prefix {
  display: flex;
  align-items: center;
}

.input-with-prefix span {
  padding: 16px 4px 15px 16px;
  border: 1px solid #999999;
  border-right: none;
  border-radius: 8px 0 0 8px;
  font-size: 14px;
}

.input-with-prefix input {
  border: 1px solid #999999;
  border-radius: 0 4px 4px 0;
  padding: 8px;
  font-size: 14px;
  flex: 1;
}

.masonry {
  position: relative;
  background-color: #292929;
  column-count: 2;
  width: 100%;
  padding: 2rem 15%;
}
.faq-card {
  background: white;
  padding: 16px 50px 16px 16px;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  font-size: 32px;
  break-inside: avoid;
  box-sizing: border-box;
  width: 100%;
  border-radius: 12px;
  cursor: pointer;
}

.faq-question {
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.faq-question::before {
  content: "?";
  opacity: 0.3;
  font-size: 32px;
  font-weight: 700;
}

.faq-answer {
  font-size: 14px;
  margin-top: 10px;
  display: none;
  color: #555;
}

.faq-toggle {
  position: absolute;
  right: 16px;
  top: 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
  color: #ef4e2a;
}

.faq-card.active .faq-answer {
  display: block;
}

.faq-card.active .faq-toggle {
  transform: rotate(180deg);
}

.button-container {
  background-color: #292929;
  text-align: center;
  padding: 20px 0;
  padding-bottom: 3rem;
}

.button-container button {
  background-color: #ff5033;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
}

.section-error,
.section-success,
.section-fail {
  background-image: url("../../assets/uploads/error-background.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: max-content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 6rem 0 5rem 0rem;
}

.section-error .error-code {
  color: var(--main-color);
  font-size: 300px;
  font-weight: 800;
}
.section-success .success-image,
.section-fail .fail-image {
  width: 15rem;
  height: 15rem;
  object-fit: contain;
  margin-bottom: 2rem;
}
.section-error .error-message {
  font-size: 40px;
  color: #3f3f3f;
  margin-top: 5rem;
}
.section-success .success-message,
.section-fail .fail-message {
  font-size: 40px;
  color: #3f3f3f;
  margin-top: 5rem;
}
.section-error a,
.section-success a,
.section-fail a {
  padding: 12px 24px;
  color: #fff;
  background-color: var(--main-color);
  border-radius: 8px;
  margin-top: 4rem;
}
.news-section {
  width: 70%;
  margin: 0 15%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 3rem;
  justify-items: center;
}
.new-slogan {
  border-radius: 8px;
}
.new-card {
  width: 400px;
  height: 440px;
  background-color: #fff;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.new-image {
  width: 100%;
  height: 270px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px 8px 0 0;
}
.new-text {
  display: flex;
  flex-direction: column;
  padding: 24px;
  color: #3f3f3f;
  gap: 1rem;
  height: max-content;
}
.new-title,
.single-new-title {
  font-family: "Roboto";
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0%;
}
.new-content {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.new-date {
  color: #5f5f5f;
  text-align: right;
  font-family: "Roboto";
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0%;
  vertical-align: middle;
}
.new-slogan {
  width: 100%;
  padding: 2rem 15% 3rem 15%;
  background-color: #fff;
  display: flex;
  margin: 32px 0 0 0;
  gap: 2rem;
}
.slogan-title {
  color: #353535;
  font-size: 34px;
}
.slogan-content {
  font-size: 20px;
  line-height: 140%;
}
.slogan-content h2,
.slogan-title {
  font-size: 32px;
  margin: 2rem 0;
}
.slogan-image {
  max-width: 40%;
  border-radius: 8px;
}
.section-new-content {
  width: 100%;
  padding: 2rem 15%;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}
.owl-carousel {
  cursor: grab;
}

.new-image-container {
  height: max-content; /* defines the visible height for images */
}

.new-image-container img {
  height: 300px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}
.new-share-social p {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
}
.img-orange {
  filter: brightness(0) saturate(100%) invert(35%) sepia(88%) saturate(747%)
    hue-rotate(340deg) brightness(101%) contrast(93%);
}
.image-gallery {
  max-width: 600px;
}

.main-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.thumbs-wrapper {
  display: flex;
  align-items: center;
  margin-top: 10px;
  position: relative;
}

.nav {
  display: none;
  background-color: inherit;
  border: none;
  color: var(--main-color);
  font-size: 24px;
  padding: 5px 10px;
  cursor: pointer;
  z-index: 2;
  position: absolute;
}

.next {
  right: -40px;
}

.prev {
  left: -40px;
}

.thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 3px;
  scrollbar-width: none;
}

.thumbnails::-webkit-scrollbar {
  display: none;
}

.thumb {
  flex: 0 0 auto;
  width: 100px;
  height: 70px;
  cursor: pointer;
  object-fit: cover;
  border-radius: 5px;
  opacity: 0.6;
  transition: 0.3s;
}

.thumb.active,
.thumb:hover {
  opacity: 1;
  box-shadow: 0 0 0 3px #ef4e2a;
}

/* Show nav arrows only on large screens */
@media screen and (min-width: 1000px) {
  .nav {
    display: block;
  }

  .thumbnails {
    overflow-x: hidden;
  }
}

.main-image:hover {
  cursor: pointer;
}

.single-car {
  width: 70%;
  margin: 64px auto;
  display: flex;
  flex-direction: row-reverse;
  justify-content: start;
  gap: 3rem;
}
.car-details {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 50%;
  height: max-content;
}
.car-details > h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--main-color);
}

.car-buying-agreement {
  line-height: 24px;
  color: #3f3f3f;
  margin-bottom: 2rem;
}

.car-tag-box {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1rem;
}
.car-tag {
  background-color: #ededed;
  color: #3f3f3f;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
}
.car-get-now {
  background-color: var(--main-color);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
}
.modal-blur-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 2;
}
.modal-content {
  margin: 80px auto;
  max-width: 90%;
  max-height: 80%;
  z-index: 1000;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 32px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  z-index: 1001;
}

.legal-text {
  width: 70%;
  margin: auto;
  margin-bottom: 2rem;
  padding: 64px;
  background: #fff;
  border-radius: 12px;
  line-height: 1.4;
}
.hide {
  display: none;
}
.popup-box {
  background: white;
  padding: 20px;
  border-radius: 8px;
  width: 350px;
  max-width: 90%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.popup-box h2 {
  margin-top: 0;
  text-align: center;
}

/* Form styles */
.question-form form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.question-form input,
.question-form textarea {
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 14px;
  width: 100%;
}

.question-form textarea {
  resize: vertical;
  min-height: 80px;
}

.question-form button {
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.close-popup {
  position: absolute;
  right: 32px;
  top: 32px;
  color: #5f5f5f;
  border: none;
  background: unset;
  scale: 1.5;
}

.close-popup:hover {
  cursor: pointer;
}
.popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  justify-content: center;
  align-items: center;
}
.popup-box {
  padding: 5rem 3rem 1rem 3rem;
  position: relative;
  width: 40%;
  z-index: 2;
}
.legal-text h2 {
  margin: 1rem 0;
}
