.hero-section {
  position: relative;
}

.hero-carousel .carousel-item,
.hero-slide {
  height: auto;
  min-height: 350px;
}

.hero-slide {
  position: relative;
  overflow: hidden;
  padding: 15px 0;
}

.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(9, 22, 39, 0.75) 0%, rgba(9, 22, 39, 0.5) 45%, rgba(9, 22, 39, 0.2) 100%);
}

.hero-content {
  position: relative;
  padding-top: 20px;
}

.hero-header-block {
  background-image: none !important;
}

.hero-body-block {
  background: transparent;
}

.hero-eyebrow {
  color: #D4AF37;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero-title {
  font-family: 'Outfit', sans-serif !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 2.2rem !important;
  line-height: 1.2 !important;
}

.hero-title-accent {
  color: #D4AF37 !important;
  font-size: 2.6rem !important;
  display: inline-block;
}

.hero-eyebrow,
.hero-quote-title,
.hero-quote-subtitle,
.hero-badge-title,
.hero-badge-subtitle {
  font-family: 'Outfit', sans-serif !important;
}



.hero-desc {
  color: #e5e5e5;
  font-size: 1rem;
  max-width: 560px;
}

.hero-badge-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 16px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-badge-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.hero-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd700 0%, #D4AF37 100%);
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.hero-badge-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-badge-subtitle {
  color: #cfcfcf;
  font-size: 0.75rem;
}

.hero-btn-call {
  background-color: rgba(255, 255, 255, 0.04);
  border: 2px solid #D4AF37;
  color: #D4AF37 !important;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.hero-btn-call:hover {
  background: linear-gradient(135deg, #ffd700 0%, #D4AF37 100%);
  border-color: transparent;
  color: #111111 !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.45);
}

.hero-btn-call:active {
  transform: translateY(-1px) scale(0.98);
}

.hero-btn-quote {
  background: linear-gradient(135deg, #ffd700 0%, #D4AF37 100%);
  border: 2px solid transparent;
  color: #111111 !important;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
  text-decoration: none;
}

.hero-btn-quote:hover {
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  color: #000000 !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.6);
  border-color: transparent;
}

.hero-btn-quote:active {
  transform: translateY(-1px) scale(0.98);
}

.hero-indicators [data-bs-target] {
  background-color: #D4AF37;
  width: 30px;
  height: 4px;
  border-radius: 2px;
}

.hero-control {
  width: 48px;
  height: 48px;
  background: rgba(0,0,0,0.4);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

.carousel-control-prev.hero-control {
  left: 2%;
}

.carousel-control-next.hero-control {
  right: 2%;
}

.hero-control-icon {
  color: #D4AF37;
  font-size: 1.4rem;
}

.hero-quote-wrapper {
  margin-top: -45px;
  z-index: 10;
}

.hero-quote-card {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 16px;
  padding: 24px 28px;
  margin: 0;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.hero-quote-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffd700, #D4AF37, #ffc107);
}

.hero-quote-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #111111 !important;
  color: #D4AF37 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.hero-quote-title {
  color: #1a1a1a !important;
  font-weight: 800;
  font-size: 1.35rem;
}

.hero-quote-subtitle {
  color: #666666 !important;
  font-size: 0.9rem;
}

.hero-form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #222222 !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hero-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.hero-input-icon {
  position: absolute;
  left: 14px;
  color: #D4AF37;
  font-size: 1rem;
  z-index: 2;
}

.hero-input {
  padding-left: 42px;
  border: 1.5px solid #dcdcdc !important;
  background-color: #ffffff !important;
  color: #333333 !important;
  border-radius: 8px;
  height: 45px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.hero-input::placeholder {
  color: #999999 !important;
}

.hero-input:focus {
  border-color: #D4AF37 !important;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.20) !important;
  background-color: #ffffff !important;
}

.hero-input option {
  background-color: #ffffff !important;
  color: #333333 !important;
}

.hero-btn-submit {
  background: linear-gradient(135deg, #ffd700 0%, #D4AF37 100%);
  color: #111111;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  height: 44px;
  padding: 0 1.5rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.hero-btn-submit:hover {
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.55);
}

.hero-btn-submit:active {
  transform: translateY(0);
}

.hero-btn-cancel {
  background-color: #f1f5f9;
  color: #333333;
  font-weight: 700;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  height: 44px;
  padding: 0 1.5rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-btn-cancel:hover {
  background-color: #e2e8f0;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-btn-cancel:active {
  transform: translateY(0);
}

.hero-security-note {
  color: #666666;
  font-size: 0.85rem;
}

.hero-security-note i {
  color: #D4AF37;
}

.hero-modal-content {
  border-radius: 12px;
  border: none;
  overflow: hidden;
}

.hero-modal-header {
  background-color: #1a1a1a;
  color: #D4AF37;
  font-weight: 700;
  font-size: 1.15rem;
  text-align: center;
  padding: 1rem;
}

.hero-modal-close {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 10;
  filter: invert(1);
}

.hero-modal-text {
  color: #6b6b6b;
  font-size: 0.9rem;
}

.hero-field-error {
  color: #c0392b;
  font-size: 0.8rem;
}

@media (max-width: 991px) {
  .hero-carousel .carousel-item,
  .hero-slide {
    height: auto;
    min-height: 350px;
  }
  .hero-slide {
    padding: 15px 0;
  }
  .hero-content {
    padding-top: 5px;
  }
  .hero-title {
    font-size: 2.2rem !important;
  }
  .hero-title-accent {
    font-size: 2.6rem !important;
  }
  .hero-quote-wrapper {
    margin-top: -25px;
  }
  .hero-quote-card {
    padding: 16px 20px;
  }
}

@media (max-width: 575.98px) {
  .hero-carousel .carousel-item,
  .hero-slide {
    height: auto;
    min-height: auto;
  }

  .hero-slide {
    display: block !important;
    padding: 0 0 30px !important;
    background-color: #ffffff !important;
  }

  .hero-slide > .container,
  .hero-slide > .container > .row {
    min-height: auto;
  }

  .hero-slide > .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .hero-slide-img,
  .hero-overlay {
    display: none !important;
  }

  .hero-header-block {
    position: relative;
    background-image: linear-gradient(180deg, rgba(9, 22, 39, 0.75) 0%, rgba(9, 22, 39, 0.85) 100%), var(--bg-image) !important;
    background-size: cover;
    background-position: center;
    padding: 30px 16px 24px !important;
    text-align: center;
    border-radius: -27px 0 16px 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    margin-bottom: 12px;
  }

  .hero-body-block {
    padding: 12px 16px 20px !important;
    background-color: #ffffff !important;
  }

  .hero-content {
    padding: 0;
    text-align: center;
  }

  .hero-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 1px;
    line-height: 1.4;
  }

  .hero-title {
    font-size: 1.8rem !important;
    line-height: 1.18 !important;
  }

  .hero-title-accent {
    font-size: 2.1rem !important;
  }

  .hero-desc {
    font-size: 0.9rem;
    line-height: 1.55;
    max-width: 100%;
    color: #222222 !important;
  }

  .hero-desc strong {
    color: #091627 !important;
  }

  .hero-badges {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-badge-item {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    padding: 8px 4px !important;
    gap: 6px !important;
    border-radius: 8px;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
  }

  .hero-badge-icon {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
    margin: 0 auto;
    background: linear-gradient(135deg, #ffd700 0%, #D4AF37 100%) !important;
    color: #091627 !important;
  }

  .hero-badge-title {
    font-size: 0.88rem;
    color: #091627 !important;
  }

  .hero-badge-subtitle {
    font-size: 0.68rem;
    line-height: 1.25;
    color: #64748b !important;
  }

  .hero-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center;
    gap: 8px !important;
  }

  .hero-btn-call {
    width: auto !important;
    flex: 1 1 0% !important;
    min-width: 0 !important;
    justify-content: center;
    padding: 11px 8px;
    font-size: 0.85rem;
    white-space: nowrap !important;
    background-color: transparent !important;
    border: 2px solid #091627 !important;
    color: #091627 !important;
  }

  .hero-btn-quote {
    width: auto !important;
    flex: 1 1 0% !important;
    min-width: 0 !important;
    justify-content: center;
    padding: 11px 8px;
    font-size: 0.85rem;
    white-space: nowrap !important;
    background: linear-gradient(135deg, #ffd700 0%, #D4AF37 100%) !important;
    border: none !important;
    color: #091627 !important;
  }

  .city-slider-form-card {
    margin: 15px 16px 20px !important;
    background-color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 16px !important;
  }

  .hero-control {
    display: none;
  }

  .hero-indicators {
    margin-bottom: 0.75rem;
  }

  .hero-quote-wrapper {
    margin-top: 0;
    padding-top: 18px;
  }

  .hero-quote-card {
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  }

  .hero-quote-header {
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 10px !important;
  }

  .hero-quote-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .hero-quote-title {
    font-size: 1.05rem;
  }

  .hero-quote-subtitle,
  .hero-security-note {
    font-size: 0.75rem;
  }

  .hero-input {
    height: 38px;
    font-size: 0.85rem;
  }

  .hero-btn-submit,
  .hero-btn-cancel {
    width: 100%;
    min-height: 38px;
  }

  .hero-modal .modal-dialog {
    margin: 0.75rem;
  }

  .hero-modal .modal-body {
    padding: 1.25rem !important;
  }

  .hero-modal .d-flex.justify-content-center {
    flex-direction: column;
    gap: 10px !important;
  }
}

/* User-friendly City Quote Form Label */
.city-form-label {
  display: block;
  font-family: 'Outfit', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #333333 !important;
  margin-bottom: 5px !important;
  text-align: left !important;
}
