.hero-section {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  padding: 3rem 0;
}

.hero-section .lead {
  color: rgba(255, 255, 255, 0.85);
}

.section-title {
  margin-bottom: 2rem;
}

.info-strip {
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.car-card {
  position: relative;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  height: 100%;
  overflow: visible;
}

.car-image-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #f8fafc;
  overflow: hidden;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.car-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.25s ease, transform 0.25s ease;
}

.car-card:hover .car-image-wrap img {
  filter: brightness(0.85);
  transform: scale(1.02);
}

.car-image-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 1rem 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 3;
}

.car-card:hover .car-image-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.car-hover-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.car-hover-actions .btn {
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  margin: 0;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.car-card-body {
  position: relative;
  z-index: 1;
}

.feature-pill {
  display: inline-block;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  margin-right: 0.35rem;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
}

.service-card,
.metric-card,
.contact-card {
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem;
  background: #fff;
  height: 100%;
}

.cta-band {
  background: #111827;
  color: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
}

footer.site-footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.85);
}

footer.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

/* nav.navbar.navbar-expand-lg.bg-white.border-bottom.sticky-top {
  min-height: 90px;
  padding-top: 1rem;
  padding-bottom: 1rem;
} */


/* Navbar mobile-safe */
.navbar {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.navbar-brand {
  font-weight: 700;
}

.custom-toggler {
  border: 0;
  background: transparent;
  color: red;
  padding: 0.4rem 0.6rem;
}

.custom-toggler:focus {
  box-shadow: none;
}

/* Let Bootstrap control visibility by breakpoint */
.navbar-toggler {
  display: block;
  color: red !important;
}

@media (min-width: 992px) {
  .navbar-toggler {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #fff;
    margin-top: 0.75rem;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  }

  .navbar-nav .nav-link {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}

@media (min-width: 992px) {
  .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }

  .navbar-nav {
    margin-left: auto !important;
    gap: 1rem;
  }
}

.booking-form {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.compare-popup {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 20px;
  padding: 1rem;
  z-index: 20;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.compare-popup-header {
  margin-bottom: 0.75rem;
}

.compare-popup-body {
  max-height: 420px;
  overflow-y: auto;
}

.compare-option-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 0.75rem;
  height: 100%;
  background: #fff;
}

.compare-option-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.75rem;
}

.compare-option-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0.5rem 0 0.75rem;
}

.compare-option-meta span {
  font-size: 0.8rem;
  background: #f5f5f5;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.like-btn.liked {
  background: #212529;
  color: #fff;
  border-color: #212529;
}

.premium-hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  background: #0f172a;
}

.hero-slider {
  position: relative;
  min-height: 92vh;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 6s ease;
  will-change: transform;
}

.hero-slide.active .hero-bg img {
  transform: scale(1.14);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.55) 38%, rgba(15, 23, 42, 0.28) 100%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.18) 0%, rgba(15, 23, 42, 0.45) 100%);
  z-index: 1;
}

.hero-content-wrap {
  position: relative;
  z-index: 3;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 7rem;
  padding-bottom: 6rem;
}

.hero-copy {
  max-width: 700px;
  color: #fff;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.8s ease 0.2s, opacity 0.8s ease 0.2s;
}

.hero-slide.active .hero-copy {
  transform: translateY(0);
  opacity: 1;
}

.hero-badge {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: #fff;
}

.hero-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
  max-width: 600px;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-form-shell {
  position: relative;
  z-index: 10;
  /* display: flex; */
  /* justify-content: flex-end; */
}

/* .premium-booking-form {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 1.25rem;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.25);
} */

.premium-booking-form {
opacity: 0.8;
border-radius: 12px;
padding: 20px;
border: 1px solid rgba(255, 255, 255, 0.3);
}

.premium-booking-form .form-control {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
}

/* .premium-booking-form {
  color: #fff;
}

.premium-booking-form input,
.premium-booking-form textarea {
  background: rgba(255,255,255,0.9);
} */

.hero-slide.active .premium-booking-form {
  transform: translateY(0);
  opacity: 0.8;
}

.premium-booking-form textarea.form-control {
  min-height: 110px;
}

.hero-nav {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 5;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;

  margin: 0;
  width: auto;
}

.hero-nav-btn {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
  flex: 0 0 auto;
}

.hero-nav-btn:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.38);
  transition: transform 0.2s ease, background 0.2s ease;
  flex: 0 0 auto;
}

.hero-dot.active {
  background: #fbbf24;
  transform: scale(1.18);
}

/* Hero mobile-safe without breaking desktop behavior */
@media (max-width: 991.98px) {
  .premium-hero,
  .hero-slider {
    min-height: 100vh;
  }

  .hero-content-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 7rem;
    padding-bottom: 7rem;
  }

  .hero-copy {
    max-width: 100%;
    margin-bottom: 1.5rem;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.65;
    max-width: 100%;
  }

  .hero-form-shell {
    width: 100%;
  }

  .premium-booking-form {
    max-width: 100%;
  }

  .hero-nav {
    bottom: 1.25rem;
  }
}

@media (max-width: 575.98px) {
  .premium-hero,
  .hero-slider {
    min-height: 100svh;
  }

  .hero-content-wrap {
    min-height: 100svh;
    padding-top: 6.5rem;
    padding-bottom: 6rem;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.1;
  }

  .hero-text {
    font-size: 0.98rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .premium-booking-form {
    padding: 1.1rem;
  }
}

.brand-parallax-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.35)),
    url("/assets/car_rental/images/parallax-fleet.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 0;
}

.parallax-card-wrap {
  position: absolute;
  left: 50%;
  top: 78%; /* places top of card near bottom of parallax window */
  transform: translateX(-50%);
  width: min(100%, 1400px);
  z-index: 2;
}

.listing-brand-panel {
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
}

.brand-panel-header {
  position: relative;
  padding: 5rem 2rem 2.5rem;
  background: transparent;
}

.brand-panel-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.10),
    rgba(255, 255, 255, 0.04)
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 0;
}

.brand-panel-header > * {
  position: relative;
  z-index: 1;
}

.brand-panel-body {
  background: rgba(255, 255, 255, 0.98);
  padding: 2rem;
}

.listing-brand-panel .form-control,
.listing-brand-panel .form-select {
  min-height: 48px;
  border-radius: 0.9rem;
  border: 1px solid #dbe2ea;
  box-shadow: none;
}

.brand-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 220px;
  padding: 1.5rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  background: #fff;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  color: #111827;
  height: 100%;
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  border-color: #fbbf24;
  color: #111827;
}

.brand-logo-wrap {
  height: 72px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.brand-logo-wrap img {
  max-width: 140px;
  max-height: 60px;
  object-fit: contain;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.brand-category {
  color: #374151;
  font-weight: 600;
}

.brand-count {
  color: #6b7280;
}

.pagination .page-link {
  border-radius: 999px;
  margin: 0 0.2rem;
  border: 1px solid #d1d5db;
  color: #111827;
}

.pagination .page-item.active .page-link {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #fff;
}

.pagination .page-link:focus {
  box-shadow: none;
}

@media (max-width: 1199.98px) {
  .brand-parallax-section {
    min-height: 58vh;
    padding-top: clamp(7rem, 16vh, 13rem);
    padding-bottom: clamp(18rem, 56vh, 42rem);
  }

  .parallax-card-wrap {
    top: 76%;
  }
}

@media (max-width: 991.98px) {
  .brand-parallax-bg {
    background-attachment: scroll;
  }

  .brand-parallax-section {
    min-height: 52vh;
    padding-top: clamp(5rem, 12vh, 9rem);
    padding-bottom: clamp(16rem, 48vh, 34rem);
  }

  .parallax-card-wrap {
    width: calc(100% - 1.5rem);
    top: 72%;
  }

  .brand-panel-header {
    padding: 3rem 1.25rem 2rem;
  }

  .brand-panel-body {
    padding: 1.25rem;
  }

  .brand-card {
    min-height: 190px;
  }
}

@media (max-width: 575.98px) {
  .brand-parallax-section {
    min-height: 46vh;
    padding-top: clamp(4rem, 10vh, 7rem);
    padding-bottom: clamp(14rem, 42vh, 28rem);
  }

  .parallax-card-wrap {
    top: 68%;
  }
}

.brand-parallax-section {
  position: relative;
  min-height: 60vh;
  padding-top: clamp(8rem, 18vh, 16rem);
  padding-bottom: clamp(50rem, 60vh, 50rem);
  overflow: visible;
}

.auto-decar-why-section {
  background: #f7f7f7;
  overflow: hidden;
}

.auto-decar-visual-wrap {
  position: relative;
  min-height: 640px;
}

.auto-decar-image-card {
  width: 72%;
  max-width: 460px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.auto-decar-bg-image {
  display: block;
  width: 100%;
  height: 650px;
  object-fit: cover;
}

.auto-decar-car-image {
  position: absolute;
  left: 40px;
  bottom: -40px;
  width: 680px;
  max-width: 120%;
  z-index: 2;
}

.auto-decar-badge {
  position: absolute;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  padding: 18px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 18px;
  color: #222;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  z-index: 3;
  white-space: nowrap;
}

.auto-decar-badge-1 {
  top: 120px;
}

.auto-decar-badge-2 {
  top: 220px;
}

.auto-decar-badge-3 {
  top: 320px;
}

.auto-decar-badge-icon {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background: #ff7a00;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auto-decar-badge-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.auto-decar-content {
  padding-left: 10px;
}

.auto-decar-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}

.auto-decar-subtitle {
  font-size: 1.08rem;
  line-height: 1.7;
  color: #6b7280;
  max-width: 620px;
}

.auto-decar-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 22px;
  padding: 32px 30px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}

.auto-decar-feature-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff7a00;
  background: #fff7f0;
}

.auto-decar-feature-icon svg {
  width: 38px;
  height: 38px;
  display: block;
}

.auto-decar-feature-card h4 {
  margin-bottom: 12px;
  font-size: 1.55rem;
  font-weight: 600;
  color: #111827;
}

.auto-decar-feature-card p {
  margin-bottom: 0;
  color: #5f6b7a;
  font-size: 1.08rem;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 1199.98px) {
  .auto-decar-car-image {
    width: 560px;
    left: 20px;
  }

  .auto-decar-badge {
    font-size: 16px;
    padding: 16px 22px;
  }
}

@media (max-width: 991.98px) {
  .auto-decar-visual-wrap {
    min-height: 720px;
    margin-bottom: 30px;
  }

  .auto-decar-image-card {
    width: 78%;
  }

  .auto-decar-car-image {
    width: 540px;
    left: 10px;
    bottom: 10px;
    max-width: 95%;
  }

  .auto-decar-badge {
    right: 10px;
  }

  .auto-decar-content {
    padding-left: 0;
  }
}

@media (max-width: 767.98px) {
  .auto-decar-visual-wrap {
    min-height: 560px;
  }

  .auto-decar-image-card {
    width: 100%;
    max-width: 100%;
  }

  .auto-decar-bg-image {
    height: 420px;
  }

  .auto-decar-car-image {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    width: 100%;
    max-width: 100%;
  }

  .auto-decar-badge {
    position: relative;
    top: auto !important;
    right: auto;
    margin-top: 14px;
    font-size: 15px;
    padding: 14px 18px;
    white-space: normal;
  }

  .auto-decar-badge-1,
  .auto-decar-badge-2,
  .auto-decar-badge-3 {
    top: auto;
  }

  .auto-decar-title {
    font-size: 2rem;
  }

  .auto-decar-feature-card {
    padding: 24px 20px;
    gap: 18px;
  }

  .auto-decar-feature-card h4 {
    font-size: 1.25rem;
  }

  .auto-decar-feature-card p {
    font-size: 1rem;
  }
}