@import url("./font.css");
* {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif !important;
  box-sizing: border-box;
}
:root {
  --blue: #0059bb;
  --red: #b6171e;
  --text: #495f81;
  --blue-light: #0059bb;
  --red-bg: #f4dcdd;
  --bg: #eff4ff;
  --border: #c1c6d7;
  --light: 300;
  --reg: 400;
  --semi: 600;
}

header .navbar {
  height: 80px;
  background-color: #fff !important;
}

header .navbar .navbar-nav .nav-link {
  color: var(--text);
  font-weight: var(--light);
  font-size: 14px;
  margin: 0 10px;
  transition: all 0.3s ease;
}
header .navbar .navbar-nav .nav-link.active {
  color: var(--blue);
  font-weight: var(--semi);
  border-bottom: 2px solid var(--blue);
}
header .navbar .navbar-nav .nav-link:hover {
  color: var(--blue);
  font-weight: var(--semi);
}
.first-nav {
  margin-left: 50px;
}

@media (max-width: 991px) {
  header .navbar {
    height: auto !important;
    min-height: 80px;
    padding: 10px 0;
  }
  .first-nav {
    margin-left: 0 !important;
    margin-top: 15px;
    margin-bottom: 10px;
  }
  header .navbar .navbar-nav .nav-link {
    margin: 8px 0;
    padding: 6px 0;
  }
  header .navbar .navbar-nav .nav-link.active {
    border-bottom: none;
    border-left: 3px solid var(--blue);
    padding-left: 10px;
    margin-left: 0;
  }
  header .navbar .collapse .d-flex {
    margin-top: 15px;
    border-top: 1px solid #eff3f8;
    padding-top: 15px;
    padding-bottom: 10px;
  }
  header .navbar .collapse .d-flex ul.navbar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
  }
  header .navbar .collapse .d-flex ul.navbar-nav li {
    margin: 0;
  }
  header .navbar .collapse .d-flex ul.navbar-nav li .nav-link:not(.loginButton):not(.sellMyCar) {
    margin: 0;
    padding: 0;
  }
}

.sellMyCar {
  background-color: var(--red);
  color: #fff !important;
  padding: 8px 20px !important;
  font-weight: 400 !important;
  border-radius: 8px;
}

.trending-show-more {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 9px;
  margin-top: 8px;
}

.trending-show-more__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 225px;
  padding: 13px 26px;
  border: 1px solid var(--red);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--red), #d62d36);
  box-shadow: 0 10px 22px rgba(182, 23, 30, 0.2);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trending-show-more__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(182, 23, 30, 0.28);
  color: #fff;
}

.trending-show-more__button svg {
  transition: transform 0.2s ease;
}

.trending-show-more__button:hover svg {
  transform: translateX(4px);
}

.trending-show-more__hint {
  color: var(--text);
  font-size: 12px;
}

.loginButton {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 18px !important;
  border: 1px solid var(--blue);
  border-radius: 8px;
  color: var(--blue) !important;
  font-weight: 600 !important;
}

.loginButton:hover {
  background-color: var(--blue);
  color: #fff !important;
}

/* banner */
.banner {
  height: 480px;
  background: url("./../imgs/banner.png") no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner .content {
  width:70%;
  height: 200px;
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.banner .content h1 {
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 2.7rem);
  color: #fff;
  line-height: 56px;
  text-align: center;
  margin-bottom: 0;
}
.banner .content p {
  color: #fff;
  font-size: 1.4rem;
  font-weight: var(--light) !important;
}
.banner .content .search {
  width: clamp(80%, 80%, 100%);
  padding: 10px;
  background: rgba(255, 255, 255, 0.68);
  border-radius: 12px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(9.4px);
  -webkit-backdrop-filter: blur(9.4px);
}
.banner .content .search .form-select {
  background-color: transparent;
  border: none;
  font-weight: var(--light) !important;
  box-shadow: none !important;
}
.city-picker {
  position: relative;
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  color: #0b1c30;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 89, 187, 0.14);
  border-radius: 9px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.city-picker:hover,
.city-picker.is-open {
  background: #fff;
  border-color: rgba(0, 89, 187, 0.45);
}
.city-picker.is-open {
  box-shadow: 0 0 0 3px rgba(0, 89, 187, 0.12);
}
.city-picker__pin {
  flex: 0 0 auto;
  margin-inline-start: 14px;
  color: var(--blue);
}
.banner .content .search input.city-picker__input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 8px 0 10px;
  color: #0b1c30;
  background: transparent !important;
  border: 0;
  outline: 0;
  font-size: 0.95rem;
}
.banner .content .search input.city-picker__input::placeholder {
  color: #495f81;
}
.city-picker__clear {
  width: 28px;
  height: 28px;
  padding: 0;
  color: #667892;
  background: transparent;
  border: 0;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
}
.city-picker__clear:hover {
  color: var(--red);
  background: var(--red-bg);
}
.city-picker__chevron {
  flex: 0 0 auto;
  margin-inline: 8px 13px;
  color: #495f81;
  transition: transform 0.2s ease;
}
.city-picker.is-open .city-picker__chevron {
  color: var(--blue);
  transform: rotate(180deg);
}
.city-picker__menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 9px);
  inset-inline: 0;
  max-height: 240px;
  padding: 7px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #dbe4f0;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(11, 28, 48, 0.18);
}
.city-picker__option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  color: #253b59;
  background: transparent;
  border: 0;
  border-radius: 8px;
  text-align: start;
  font-size: 0.9rem;
}
.city-picker__option:hover,
.city-picker__option.is-active,
.city-picker__option[aria-selected="true"] {
  color: var(--blue);
  background: var(--bg);
}
.city-picker__option-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--blue);
  background: #e4efff;
  border-radius: 8px;
}
.city-picker__option[aria-selected="true"]::after {
  content: "\2713";
  margin-inline-start: auto;
  color: var(--red);
  font-weight: 700;
}
.city-picker__empty {
  padding: 16px 12px;
  color: #6c7d95;
  text-align: center;
  font-size: 0.88rem;
}
.btn-danger {
  background-color: var(--red) !important;
  text-transform: uppercase;
  font-weight: var(--light) !important;
  font-size: 0.8rem;
  border-color: var(--red);
}
.btn-lg {
  padding: 15px 20px !important;
  min-height: 50px;
  font-weight: var(--semi) !important;
  letter-spacing: 2px;
}
.banner .content .search .input-group-text {
  background-color: transparent;
  border: none;
  padding: 10px !important;
}
.banner .content .search input.form-control {
  background-color: transparent !important;
  border: none;
  font-weight: var(--light) !important;
  box-shadow: none !important;
}
.banner .content .search input.form-control::placeholder {
  color: #000;
}

/*  */
.section {
  padding: 50px;
}
.section.bg-gray {
  background-color: #f8f9ff !important;
}
.section-heading {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0 !important;
}
.section-des {
  font-size: 0.9rem !important;
  margin-bottom: 0;
  font-weight: var(--light);
  color: #495f81;
}
.category-list {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
  margin-top: 10px;
}

.category-list li {
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  border-left: 1px solid var(--border);
  padding: 5px 20px;
  font-size: 0.85rem;
  color: #78797b;
  font-weight: var(--reg);
  position: relative;
  transition: all 0.3s ease;
  margin-bottom: 10px;
}
.category-list li:first-child {
  border-left: none;
}
.category-list li.active,
.category-list li:hover {
  color: var(--blue);
  font-weight: var(--semi);
  cursor: pointer;
}
.category-list li:after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 1.5px;
  border-radius: 10px;
  background-color: var(--blue);
  transition: all 0.3s ease;
}
.category-list li:after {
  opacity: 0;
  transform: translateX(-50%) scaleX(0);
}
.category-list li.active:after,
.category-list li:hover:after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}
.view-link {
  display: inline-flex;
  justify-content: center;
  gap: 5px;
  align-items: center;
  color: var(--red);
  font-weight: var(--semi);
  text-transform: uppercase;
  font-size: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.carsType {
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border: 1px solid #e0e3e5;
  height: 100%;
  border-radius: 12px;
  gap: 10px;
  transition: all 0.3s ease;
}
.carsType h5 {
  font-size: 0.9rem;
  text-transform: uppercase;
}
.carsType:hover {
  background-color: var(--blue);
  cursor: pointer;
}
.carsType:hover svg path {
  fill: #fff;
}
.carsType:hover h5 {
  color: #fff;
}

.carCard .card-img,
.carCard .card-img-top {
  aspect-ratio: 16/11;
  width: 100%;
  object-fit: cover;
}
.carCard {
  border-radius: 12px !important;
  overflow: hidden;
  border-color: #e0e3e5 !important;
  position: relative;
}
.carCard .label {
  padding: 5px 15px;
  font-size: 0.7rem;
  font-weight: var(--light);
  color: #fff;
  text-transform: uppercase;
  position: absolute;
  top: 20px;
  letter-spacing: 1px;
  left: 20px;
  background-color: var(--red);
  border-radius: 4px;
}
.carCard h5 {
  margin-bottom: 0 !important;
}
.carCard .card-body .detail {
  font-weight: var(--light);
  color: var(--text);
  font-size: 0.75rem;
  margin-right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.carCard .card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.carCard .vehicle-card-header {
  min-height: 72px;
  align-content: flex-start;
  gap: 8px;
}
.carCard .vehicle-card-header .card-title {
  line-height: 1.35;
}
.carCard .vehicle-card-location {
  min-height: 24px;
}

.carCard .card-body ul {
  width: 100%;
  padding: 10px 30px;
  list-style-type: none;
  margin: 20px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eff6ff;
  border-bottom: 1px solid #eff6ff;
  flex-wrap: wrap;
  min-height: 92px;
}
.carCard .card-body ul li {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}
.carCard .card-body ul li p {
  margin-bottom: 5px;
  color: #9ca3af;
  font-size: 0.65rem;
  font-weight: 600;
}
.carCard .card-body ul li h4 {
  margin-bottom: 0;
  color: #001a42;
  font-size: 1rem;
  font-weight: 600;
}
.btn-outline-danger {
  border-color: var(--red) !important;
  color: var(--red);
  padding: 5px 20px !important;
  font-size: 0.75rem;
  font-weight: var(--semi) !important;
}

.btn-outline-danger:hover {
  background-color: var(--red) !important;
  color: #fff !important;
}
.btn-danger {
  border-color: var(--red) !important;
  padding: 8px 20px !important;
  font-size: 1rem;
  text-transform: capitalize;
  font-weight: var(--semi) !important;
}
.carCard .card-body h2 {
  font-size: 1.5rem;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 0;
  text-wrap: nowrap;
}
.why-us {
  background: var(--blue-light);
}

.why-us h3 {
  color: #fff;
}
.why-us p {
  color: #fff;
  font-size: 1rem !important;
  font-weight: var(--light) !important;
}
.why-us-item {
  padding: 20px 10px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
}
.why-us-item .icon {
  width: 55px;
  height: 55px;
  margin-bottom: 20px;
  border-radius: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
}
.why-us-item h2 {
  font-size: 1.3rem;
  color: #fff;
  font-weight: var(--semi);
  margin-bottom: 10px !important;
}
.joinUs {
  width: 95%;
  background: var(--red-bg);
  border-radius: 12px;
  padding: 30px;
  margin: 30px auto;
}
.joinUs h4 {
  font-size: 1.3rem;
  font-weight: var(--semi);
}
.joinUs p {
  color: #495f81;
  font-weight: var(--reg);
  font-size: 0.9rem;
  margin-bottom: 0 !important;
}
.form-control-lg {
  font-size: 0.9rem;
  border-color: #c1c6d7 !important;
  height: 50px !important;
}

footer {
  background-color: #f3f6fb;
  color: #4f5d78;
  font-size: 0.9rem;
}

.footer-top {
  padding: 60px 0 40px;
}

.footer-logo {
  width: 120px;
  margin-bottom: 24px;
}

.footer-brand p {
  max-width: 320px;
  line-height: 1.8;
  color: #5b6a86;
}

.footer-section h5 {
  color: #b6171e;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 12px;
}

.footer-section a {
  color: #495f81;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: var(--light);
}

.footer-section a:hover {
  color: var(--blue);
}

.footer-card {
  background: #ffffff;
  border: 1px solid rgba(77, 97, 135, 0.12);
  border-radius: 20px;
  padding: 28px;
  min-height: 200px;
}

.footer-card span {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 16px;
}

.footer-card p {
  margin: 0;
  color: #5b6a86;
  line-height: 1.75;
}

.footer-socials {
  margin-top: 22px;
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 46px;
  height: 46px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(77, 97, 135, 0.18);
  border-radius: 14px;
  color: var(--blue);
  text-decoration: none;
  background: #fff;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.footer-socials a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.footer-bottom {
  padding: 18px 0 32px;
  border-top: 1px solid rgba(77, 97, 135, 0.14);
}

.footer-bottom p {
  margin: 0;
  color: #5b6a86;
  font-weight: var(--light) !important;
}

.footer-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #495f81;
  text-decoration: none;
  font-weight: var(--light) !important;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--blue);
}

@media (max-width: 767px) {
  .footer-top {
    padding: 40px 0 24px;
  }

  .footer-card {
    min-height: auto;
  }
}

/* filter page css */
.filter-panel {
  background: #ffffff;
  border: 1px solid rgba(77, 97, 135, 0.12);
  border-radius: 12px;
  padding: 30px 20px;
  /* box-shadow: 0 24px 60px rgba(60, 77, 124, 0.08); */
}

.filter-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.filter-panel-header h3 {
  font-size: 1rem;
  color: #0f1f42;
  font-weight: 700;
  margin: 0;
}

.filter-clear {
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 400;
  text-decoration: none;
}
.accordion-button:not(.collapsed) {
  background-color: transparent !important;
  box-shadow: none !important;
}
.accordion-button {
  padding: 10px !important;
  font-size: 0.8rem !important;
  color: #9ca3af !important;
  box-shadow: none !important;
  text-transform: uppercase;
}
.accordion-button::after {
  width: 0.9rem !important;
  height: 0.9rem !important;
  background-size: 0.9rem !important;
}
.accordion-item {
  border: none !important;
}
.accordion-body {
  padding: 10px 5px !important;
}
.form-check .form-check-label {
  font-size: 0.8rem;
  color: #001a42;
  font-weight: var(--reg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.form-check .form-check-input {
  margin-top: -1px;
}
.form-check .form-check-label span {
  color: #9ca3af;
}
.form-check-input {
  box-shadow: none !important;
  border-color: #dee2e6;
}
.form-check-input:checked {
  background-color: var(--red);
  border-color: var(--red);
}
.form-check-input:focus {
  border-color: var(--red);
}
.filter-heading {
  font-size: 0.8rem;
  font-weight: 500;
  margin: 15px 0;
  color: #9ca3af !important;
}
.rang {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.rang .form-control {
  background-color: #eff4ff;
  border: none !important;
  font-size: 0.9rem !important;
  box-shadow: none !important;
}
.bodyType {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.bodyType input {
  display: none;
}
.bodyType .form-check {
  padding: 0 !important;
  margin-bottom: 0 !important;
  width: 100%;
  min-width: 0;
}
.bodyType .form-check-label {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border: 2px solid #f3f4f6;
  width: 100%;
  min-width: 0;
  min-height: 100px;
  height: 100%;
  padding: 12px 8px;
  text-align: center;
  border-radius: 8px;
}
.bodyType .form-check-input:checked ~ .form-check-label {
  background-color: rgba(182, 23, 30, 0.1);
  border-color: #b6171e;
}
.bodyType .form-check-input:checked ~ .form-check-label svg path {
  stroke: #b6171e;
}
.bodyType .form-check-input:checked ~ .form-check-label p {
  color: #b6171e !important;
}

.bodyType .form-check-label svg {
  margin-bottom: 10px;
}
.bodyType .form-check-label p {
  margin-bottom: 0 !important;
  font-weight: 500;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.progress {
  height: 10px;
}
.progress-bar {
  background-color: var(--red) !important;
}

/* Vehicle detail specs card */
.vehicle-specs-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  margin-top: 30px;
  gap: 0;
  align-items: center;
  margin-bottom: 22px;
  border: 2px solid #d1e2f0;
}

.spec-item {
  flex: 1 1 0;
  padding: 14px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spec-item + .spec-item {
  border-left: 1px solid #eef4ff;
}

.spec-label {
  font-size: 0.75rem;
  color: #6b7d9a;
  font-weight: 600;
  text-transform: uppercase;
}

.spec-value {
  font-size: 1.5rem;
  color: #0b2546;
  font-weight: 700;
  margin-top: 8px;
  line-height: 1;
}

.spec-value .muted {
  font-size: 0.95rem;
  color: #6b7d9a;
  font-weight: 700;
  margin-left: 6px;
}

.loc-icon {
  color: var(--red);
  font-size: 1.25rem;
  vertical-align: middle;
}

@media (max-width: 991px) {
  .spec-value {
    font-size: 1.6rem;
  }
}

@media (max-width: 576px) {
  .vehicle-specs-card {
    flex-direction: column;
    gap: 10px;
  }
  .spec-item + .spec-item {
    border-left: none;
    border-top: 1px solid #eef4ff;
  }
  .spec-item {
    padding: 12px 14px;
  }
  .spec-value {
    font-size: 1.4rem;
  }
}

/* Results header card (top of results) */
.results-header-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  box-shadow: 0 10px 30px rgba(60, 77, 124, 0.06);
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.results-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.results-count {
  font-size: 1.2rem;
  color: #0b2546;
  margin: 0 !important;
  font-weight: 600;
}

.results-sub {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 400;
}

.results-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.save-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(183, 23, 30, 0.12);
  background: #fff;
  color: var(--red);
  font-weight: 500;
  font-size: 0.8rem;
}

.save-search-btn svg path,
.save-search-btn svg {
  stroke: var(--red);
}

.sort-by {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
}
.sort-by select {
  border: none !important;
  box-shadow: none !important;
}

.sort-label {
  color: #000;
  font-weight: 500;
  margin-right: 6px;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.sort-value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0b2546;
}

@media (max-width: 767px) {
  .results-header-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .results-right {
    width: 100%;
    justify-content: space-between;
  }
}

/* detail page */
.slider {
  width: 100%;
  padding: 10px;
}
.slider .main-thumbnail {
  width: 100%;
  /* height: clamp(20px,15px,250px); */
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
}
.slider .main-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
}
.slider .small-thumbnail-list {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  list-style: none;
}
.slider .small-thumbnail-list li {
  width: 190px;
  height: 140px;
  border-radius: 10px;
  background-color: #eff4ff;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  aspect-ratio: 19/6;
}
.slider .small-thumbnail-list li.active {
  border: 2px solid var(--red);
}
.slider .small-thumbnail-list li p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 10;
  color: #3f4759;
}
.slider .small-thumbnail-list li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Transparency & History styles */
.transparency-history {
  margin-top: 26px;
}

.th-title {
  font-size: 1.25rem;
  color: #0b2546;
  margin-bottom: 14px;
  font-weight: 700;
}

.th-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.th-score-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border: 1px solid #d1e2f0;
}
.th-score-card h4,
.th-service-card h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #3f4759;
}

.score-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.score-ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 8px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.score-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0b2546;
}
.score-desc {
  color: #5b6d8e;
  text-align: center;
  font-size: 0.95rem;
  margin: 0;
}

.th-service-card {
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  border: 1px solid #d1e2f0;
}
.th-service-card h4 {
  margin-top: 0;
  color: #0b2546;
}
.service-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 18px;
}
.service-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed #f1f6fb;
}
.service-list li .service-label {
  color: #3f4759;
  font-weight: 300;
  font-size: 0.9rem;
}
.service-list li strong.none {
  background: #eff6ff;
  color: var(--red);
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}
.view-report {
  background: #fff;
  border: 1px solid rgba(11, 37, 70, 0.06);
  color: #0b2546;
  padding: 10px 16px;
  border-radius: 8px;
}
.service-list li strong {
  font-weight: 500;
  font-size: 1rem;
}
.service-list li strong a {
  font-size: 0.9rem;
  color: #001a42;
}
/* Facts grid */
.the-facts {
  margin-top: 28px;
}
.facts-title {
  font-size: 1.25rem;
  color: #0b2546;
  margin-bottom: 18px;
  font-weight: 700;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 28px;
  background: transparent;
  padding-bottom: 18px;
  border-bottom: 1px solid #eef4ff;
}
.fact {
  display: flex;
  flex-direction: column;
}
.fact-label {
  font-size: 0.75rem;
  color: #3f4759;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.fact-value {
  font-size: 1rem;
  color: #0b2546;
  font-weight: 700;
}

.desc-title {
  font-size: 1.1rem;
  color: #0b2546;
  margin-top: 18px;
  font-weight: 700;
}
.vehicle-description {
  color: #3f4759;
  line-height: 1.8;
  margin-top: 12px;
}

@media (max-width: 991px) {
  .th-grid {
    grid-template-columns: 1fr;
  }
  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .facts-grid {
    grid-template-columns: 1fr;
  }
}

/* Dealer Contact Form Section */
.dealer-contact-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(11, 37, 70, 0.08);
  margin-bottom: 16px;
}

.dealer-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.dealer-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.dealer-name {
  font-size: 1rem;
  font-weight: 700;
  color: #0b2546;
  margin: 0 0 4px 0;
}

.dealer-badge {
  font-size: 0.85rem;
  color: #3f4759;
  margin: 0;
  font-weight: 400;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0b2546;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-input {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(11, 37, 70, 0.12);
  background: #f7f9ff;
  font-size: 0.9rem;
  color: #000;
  transition: all 0.2s ease;
  font-family: inherit;
}

.form-input::placeholder {
  color: #8f9bb8;
}

.form-input:focus {
  outline: none;
  border-color: rgba(0, 89, 187, 0.3);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 89, 187, 0.08);
}

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

.btn-send-inquiry {
  background: var(--red);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-send-inquiry:hover {
  background: #a0131a;
  box-shadow: 0 8px 16px rgba(182, 23, 30, 0.2);
}

.contact-divider {
  height: 1px;
  background: #eef4ff;
  margin: 18px 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #0b2546;
  font-weight: 600;
}

.contact-icon {
  font-size: 1.2rem;
}

.contact-text {
  line-height: 1.4;
  font-weight: 500;
  font-size: 0.9rem;
}

.map-placeholder {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4a5f7f 0%, #6b7d9a 100%);
  margin-bottom: 12px;
}

.security-guarantee {
  background: #eff4ff;
  border: 1px solid rgba(0, 123, 255, 0.1);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  gap: 14px;
}

.guarantee-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.guarantee-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.guarantee-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0b2546;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

.guarantee-text {
  font-size: 0.9rem;
  color: #3f4759;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 991px) {
  .dealer-contact-card {
    margin-top: 24px;
  }
}

@media (max-width: 576px) {
  .dealer-contact-card {
    padding: 18px;
  }
  .map-placeholder {
    height: 160px;
  }
  .form-input {
    font-size: 0.9rem;
  }
  .section {
    padding:20px 0px;
  }
}
.form-label {
  margin-bottom: 0;
  color: #3f4759;
  font-size: 0.7rem !important;
}
@media (max-width: 768px) {
  .slider .small-thumbnail-list li {
    width: 48%;
    gap: 5px;
    height: 100px;
  }
  .banner .content{
    width: 100%;
  }
}
@media (max-width: 480px) {
  .slider .small-thumbnail-list li {
    width: 100%;
    gap: 5px;
    height: 100px;
  }
  
}
