body {
  font-family: 'Nunito Sans', sans-serif !important;
}

.navbar {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #484a4a;
}

#listEvButton {
  background-color: #5AB224;
  color: white;
  border: none
}

#signInButton {
  background-color: #1A9CB3;
  color: white;
  border: none
}

#saveForLaterButton {
  background-color: white;
  color: #5AB224;
  border: 1px solid #5AB224;
}

#saveForLaterButton:hover {
  background-color: #5AB224;
  color: white;
}

.navbar-nav .nav-link {
  border-radius: 0.5rem;
  /* rounded rectangle corners */
  transition: background-color 0.3s ease;
  color: white;
}

.navbar-nav .nav-link:hover {
  background-color: hsl(214.3 31.8% 96%);
}

/*.hero-section {
    background-color: hsl(214 32% 96%);
  }*/

.hero-section {
  background-image: url('/static/images/hero-banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: white;
  background-color: #46444480;
  background-blend-mode: color;
  height: 370px;
}

@media (min-width: 1380px) {

  /* Styles for MacBook size */
  .carousel-item .slider {
    min-height: 38vh;
  }
}

@media (min-width: 992px) and (max-width: 1379px) {

  /* Styles for normal laptop size */
  .carousel-item .slider {
    min-height: 50vh;
  }
}

#vehicleCarousel .carousel-control-next,
#vehicleCarousel .carousel-control-prev {
  width: 50px !important;
  z-index: 99 !important;
  filter: invert(1);
}

.image-overlay {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translate(-50%, 0);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
}

/* .carousel-item .d-flex.gap-3 {
  position: absolute;
  bottom: 0;
} */

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  /* subtle dark overlay for text visibility */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.icon-circle {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 15px;
}

.divider-line {
  height: 2px;
  background-color: #0d6efd;
  width: 60px;
  margin: auto;
  opacity: 0.6;
}

.cta-box {
  background: linear-gradient(to right, #4b6cb7, #52c234);
  color: white;
  border-radius: 12px;
  padding: 40px;
}

/*.bulk-ev-wrapper {
position: relative;
overflow: visible;
z-index: 1;
}

.bulk-ev-image {
position: relative;
z-index: 2;
align: left;
}

.bulk-ev-image img {
max-height: 200px;
width: auto;
position: relative;
z-index: 2;
}

.bulk-ev-inner {
background-color: #f5fff5;
border-radius: 16px;
padding: 40px 20px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-39%, -50%);
width: 100%;
max-width: 1000px;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
text-align: center;

}

.bulk-ev-inner .btn-outline-success {
border-width: 2px;
font-weight: 600;
margin: 0 10px;
text-align: center;
}*/

.bulk-ev-wrapper {
  position: relative;
  overflow: visible;
  z-index: 1;
}

.bulk-ev-image {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 2;
}

.bulk-ev-image img {
  max-height: 250px;
  width: auto;
  margin-left: 130px;
}

.bulk-ev-inner {
  background-color: #fff5ff;
  border-radius: 16px;
  padding: 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.bulk-ev-inner .btn-outline-success {
  border-color: #b0209a;
  color: #b0209a;
  border-width: 2px;
  font-weight: 600;
  margin: 0 8px 0 0;
  transition: all 0.3s ease;
  text-decoration-color: b0209a;
}

.bulk-ev-inner .btn-outline-success:hover {
  background-color: #b0209a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Add hover effect for cards */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Style for badges/pills */
.bg-light {
  background-color: #f5f5f5 !important;
}

/* Ensure consistent card heights */
.card-img-top {
  height: 200px;
  object-fit: cover;
}

.custom-tabs .nav-link {
  background-color: #e7f1e8;
  border-radius: 2;
  border-bottom: 2px solid transparent;
  font-weight: 600;
  color: #495057;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px 10px 0 0;
}

.custom-tabs .nav-link.active {
  background-color: #198754;
  border-color: #badc58;
  color: #ffffff;
  border-radius: 10px 10px 0 0;
}

.small-text {
  font-size: 0.85rem;
}

/* Enhance range slider appearance */
.form-range {
  accent-color: #0d6efd;
  height: 1.5rem;
}

.form-range {
  padding-top: 13px !important;
}

.range-labels {
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  padding: 0 0.25rem;
  margin-top: 0.3rem;
  color: #6c757d;
}

.range-container {
  position: relative;
}

.range-value {
  font-weight: 500;
  color: #0d6efd;
}

label span.range-value {
  float: right;
  font-size: 0.95rem;
}

.carousel-indicators [data-bs-target] {
  width: 60px;
  height: 40px;
  background-size: cover;
  background-position: center;
  border: 2px solid transparent;
  border-radius: 4px;
  margin: 0 4px;
}

.carousel-indicators .active {
  border-color: #0d6efd;
}

.spec-box {
  background-color: #f8f9fa;
  border-radius: 16px;
  padding: 1.5rem;
}

.spec-box .row>div {
  padding: 0.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid #dee2e6;
}

.spec-box .row:last-child>div {
  border-bottom: none;
}

.spec-box i {
  font-size: 1.4rem;
  color: #212529;
  margin-right: 8px;
}

.spec-box small {
  color: #6c757d;
  font-size: 0.75rem;
}

.spec-box strong {
  font-size: 1rem;
}

.sticky-col {
  position: sticky;
  top: 80px;


}

.express-btn {
  background-color: #ff6a00;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 8px;
  padding: 12px 20px;
  width: 100%;
}


.modal-dialog {
  max-width: 850px;
}

.modal-content {
  display: flex;
  flex-direction: row;
  border-radius: 20px;
  overflow: hidden;
}

.modal-left {
  flex: 1;
  background-image: url('https://images.unsplash.com/photo-1619845146106-38abf07e9c99');
  background-size: cover;
  background-position: center;
  padding: 2rem;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-right {
  flex: 1;
  background-color: #fff;
  padding: 2rem;
}

.form-check-input:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.btn-disabled {
  background-color: #d3d3d3;
  border: none;
  cursor: not-allowed;
}

#vehicleCarousel img {
  object-fit: contain;
  object-position: center;
  aspect-ratio: 2/1;
  margin: auto;
  min-height: 250px;
}

.selection>span {
  height: 2.375rem !important;
  align-content: center;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 2.375rem !important;
  align-content: center;
}

.bg-gradient-x-grey-blue {
  background-image: linear-gradient(to right, rgb(44, 48, 59) 0%, rgb(111, 133, 173) 100%);
  background-repeat: repeat-x;
}

.bg-gradient-x-primary {
  background-image: linear-gradient(to right, rgb(58, 68, 225) 0%, rgb(146, 152, 239) 100%);
  background-repeat: repeat-x;
}

.bg-gradient-x-danger {
  background-image: linear-gradient(to right, #ff1635 0%, #ff7c8d 100%);
  background-repeat: repeat-x;
}

.bg-gradient-x-blue {
  background-image: linear-gradient(to right, rgb(25, 118, 210) 0%, rgb(100, 181, 246) 100%);
  background-repeat: repeat-x;
}

.bg-gradient-x-cyan {
  background-image: linear-gradient(to right, rgb(0, 151, 167) 0%, rgb(77, 208, 225) 100%);
  background-repeat: repeat-x;
}

.bg-gradient-x-pink {
  background-image: linear-gradient(to right, rgb(194, 24, 91) 0%, rgb(240, 98, 146) 100%);
  background-repeat: repeat-x;
}


input::-webkit-input-placeholder {
  font-weight: 300 !important;
  color: #979797 !important;
}

input::-moz-placeholder {
  font-weight: 300 !important;
  color: #979797 !important;
}

input:-ms-input-placeholder {
  font-weight: 300 !important;
  color: #979797 !important;
}

input::placeholder {
  font-weight: 300 !important;
  color: #979797 !important;
}

label.required::after {
  content: " *";
  color: red;
}

select[readonly],
input[readonly],
textarea[readonly] {
  pointer-events: none;
  background: #efefef;
}

.navbar-nav .nav-link.active {
  background-color: hsl(214.3 31.8% 96%);
}

#vehicleCarousel>.carousel-inner {
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
