h1 {
  text-align: center;
  margin-top: 3.75rem;
  margin-bottom: 5.375rem;
  font-family: hyundaisanshead-Medium, sans-serif;
  color: #003469;
  font-size: 3.125rem;
  width: 100vw;
}

.swiper-container {
  width: 100%;
  position: relative;
  margin-right: -6.25rem;
  margin-bottom: 6.25rem;
  margin-top: 1.75rem;
  overflow-x: visible;
  display: flex;
  justify-content: center;
  padding: 20px 10px;
}

.swiper-title {
  font-size: 2rem;
  color: #9a9a9a;
  border-bottom: 1px solid #9a9a9a;
  text-transform: uppercase;
}

.swiper-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 3.125rem;
}

.swiper-slide {
  padding-block: 5.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease-in-out;
  max-width: 397px;
  border: 1px solid #dbdbdb;
  border-radius: 10px;
  cursor: pointer;
  height: 230px;
}

.swiper-slide:hover {
  transform: scale(1.05);
}

.swiper-slide img {
  max-width: 100%;
  height: auto;
}

.swiper-scrollbar {
  left: 0 !important;
  bottom: 0 !important;
  position: absolute;
}
.swiper-scrollbar-drag {
  background: #0ea9e1 !important;
}

.car-showcase {
  margin: 0 6.25rem;
}

.car-model {
  font-size: 2rem;
}

.car-version {
  font-size: 1.25rem;
}

.car-model,
.car-version {
  text-align: center;
  color: #003469;
}

.modal {
  justify-content: center;
  align-items: center;
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: brightness(0.4);
}

.modal-content {
  background-color: white;
  padding: 35px 35px 60px;
  width: 50vw;
  max-width: 700px;
  max-height: 90vh;
  position: relative;
  text-align: center;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

@media (max-width: 768px) {
  .modal-content {
    width: 80vw;
  }
}

.modal-content img {
  aspect-ratio: 16/9;
  width: 60%;
  height: 100%;
}

.modal-content h2 {
  font-family: hyundaisanshead-Medium, sans-serif;
  font-size: 24px;
  line-height: 29px;
  margin: 0;
}

@media (min-width: 768px) {
  .modal-content h2 {
    font-size: 28px;
    line-height: 34px;
  }
}

@media (min-width: 1024px) {
  .modal-content h2 {
    font-size: 34px;
    line-height: 42px;
  }
}

.modal-content p {
  font-family: hyundaisanshead-Medium, sans-serif;
  font-size: 19px;
  line-height: 24px;
  margin: 0;
}

@media (min-width: 768px) {
  .modal-content p {
    font-size: 22px;
    line-height: 28px;
  }
}

@media (min-width: 1024px) {
  .modal-content p {
    font-size: 22px;
    line-height: 28px;
  }
}

ul {
  padding-inline-start: 0px !important;
}

.modal-content li {
  font-family: hyundaisanshead-Regular;
  font-size: 1rem;
  line-height: 1.25rem;
  margin-top: 8px;
  text-wrap: balance;
  color: #555;
  -webkit-font-smoothing: antialiased;
}

.modal-content li::before {
  content: "\2713";
  display: inline-block;
  color: #003469;
  padding: 0 6px 0 0;
  font-family: system-ui;
}

.close {
  font-size: 30px;
  cursor: pointer;
  display: flex;
  height: fit-content;
  align-self: flex-end;
}

.car-pricing {
  display: flex;
  justify-content: space-between;
  width: 80%;
}

.car-pricing span {
  font-family: hyundaisanshead-Regular;
  font-size: 24px;
  font-weight: 600;
  color: #000;
}

.car-pricing p {
  font-family: hyundaisanshead-Regular;
  color: #0ea9e1;
  font-size: 1rem;
}

#exploreButton {
  background-color: #003469;
  color: hsl(0, 0%, 100%);
  font-size: 1rem;
  line-height: 1.25rem;
  font-family: hyundaisanstext-regular, sans-serif;
  font-weight: 400;
  padding: 16px 2rem !important;
  border: solid #003469;
  border-radius: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 5px;
}

#exploreButton svg {
  width: 13.33px;
  height: 13.33px;
}

@media (max-width: 768px) {
  h1 {
    margin-top: 6.875rem;
  }

  .car-showcase {
    margin: 0 1.25rem;
  }

  .car-pricing {
    flex-direction: column;
    gap: 10px;
  }
}

.modal-cta-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
}

 @media only screen and (max-width: 515px) {
  .modal-cta-wrapper {
    flex-direction: column;
    gap: 12px;
  }
}
