.article-slide .carousel-indicators img {
    border: 2px solid #FFFFFF;
    float: left;
    height: 55px;
    left: 0;
    width: 80px;
    margin-top: -2px;
}

/*NEW css*/


/* Typography + General Cleanup */
body {
  font-family: "Segoe UI", sans-serif;
  background-color: #f9fafb;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  color: #222;
  margin-bottom: 0.5rem;
}

/* Header */
.top-head-line {
  background: #fff;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}

.logo a {
  font-size: 1.8rem;
  font-weight: bold;
  color: #dd6153 !important;
  text-decoration: none;
}

/* Navigation Menu */
.navbar-nav > li > a {
  padding: 10px 15px;
  font-weight: 500;
  color: #333 !important;
}

.navbar-nav > li > a:hover {
  background: #f5f5f5;
  color: #dd6153 !important;
}

/* Filter Form */
.search-form-wrap {
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

.search-form-wrap h3 {
  margin-bottom: 1.5rem;
}

.search-form-wrap .form-control {
  border-radius: 8px;
  border: 1px solid #ccc;
  /*padding: 10px;*/
  font-size: 14px;
}

.search-form-wrap .btn-primary {
  background-color: #dd6153;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.3s;
}

.search-form-wrap .btn-primary:hover {
  background-color: #c35145;
}

/* Listings Grid */
.main-container .row > div.col-md-3 {
  margin-bottom: 30px;
}

/* Car Listing Card */
.thumbnail {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
  background: #fff;
}

.thumbnail:hover {
  transform: translateY(-4px);
}

.thumbnail img.home-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.thumbnail-price {
  position: absolute;
  bottom: 24px;
  left: 180px !important;
  background-color: #dd6153;
  padding: 5px 10px;
  border-radius: 6px;
  color: #fff;
  font-weight: bold;
}

.home-caption h5 {
  font-size: 1rem;
  font-weight: 600;
  min-height: 48px;
  margin: 1rem 0 0.5rem;
}

.home-caption .row {
  font-size: 14px;
  color: #555;
}

.feature-icon {
  width: 16px;
  margin-right: 5px;
  vertical-align: middle;
}

/* Footer */
footer.page-foot {
  background: #f5f5f5;
  padding: 2rem 1rem;
  font-size: 14px;
  color: #777;
}

footer ul.bottom-nav-menu {
  padding: 0;
  margin: 0 0 1rem;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

footer ul.bottom-nav-menu li a {
  color: #333;
  text-decoration: none;
}

footer ul.bottom-nav-menu li a:hover {
  text-decoration: underline;
}

.home-caption{
  padding:10px;
}

/* Menu toggle button */
.navbar-toggle {
  display: inline-block;
  padding: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.navbar-toggle img {
  width: 28px;
  height: 28px;
}

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

/* Hide/show nav menu */
#nav_menu {
  transition: max-height 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
}

#nav_menu.collapse:not(.in) {
  max-height: 50%;
  /*opacity: 0;*/
}

#nav_menu.in {
  max-height: 1000px;
  opacity: 1;
}

/* Toggle animation */
.more-options-collapse {
  transition: max-height 0.4s ease, opacity 0.4s ease;
  overflow: hidden;
}

.more-options-collapse:not(.in) {
  max-height: 0;
  opacity: 0;
}

.more-options-collapse.in {
  max-height: 1000px;
  opacity: 1;
}

/* “More Options” link */
#more_button {
  font-weight: 600;
  color: #dd6153;
  cursor: pointer;
}

#more_button:hover {
  text-decoration: underline;
}

#expand_search_img {
  width: 16px;
  margin-left: 4px;
  transition: transform 0.3s ease;
}

/* Rotate arrow when expanded */
.more-options-collapse.in + #expand_search_img {
  transform: rotate(180deg);
}

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  gap: 10px;
  margin: 2rem 0;
  padding: 0;
}

.pagination li a {
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  color: #333;
  background-color: #fff;
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s;
}

.pagination li a:hover,
.pagination li.active a {
  background-color: #dd6153;
  color: #fff;
  border-color: #dd6153;
}


/* Ensure nav links are visible and styled */
.main-navigation-menu > li > a.nav-link {
  color: #333 !important;
  font-weight: 500;
  padding: 10px 15px;
  display: block;
}

.main-navigation-menu > li > a.nav-link:hover {
  color: #dd6153 !important;
  background-color: #f9f9f9;
}

/* Show menu on desktop by default */
@media (min-width: 992px) {
  #nav_menu.navbar-collapse {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* Card container */
.thumbnail, .img-result {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

.thumbnail:hover, .img-result:hover {
  transform: scale(1.02); /* Grows card by ~5px depending on container size */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Optional: make image smoother */
.thumbnail img.home-image {
  transition: transform 0.3s ease;
}

.thumbnail:hover img.home-image {
  transform: scale(1.02);
}

.main-container .thumbnail:hover {
  transform: scale(1.02);
}


/* CSS FOR SIDEBAR  */
/* Sidebar container */
#sidebar {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Headings */
#sidebar h3,
#sidebar h4 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 20px;
  color: #333;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}

/* Form elements */
#sidebar select,
#sidebar input[type="text"],
#sidebar input[type="number"] {
  width: 100%;
  /*padding: 10px 12px;*/
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  font-size: 14px;
}

/* Labels */
#sidebar label {
  font-size: 13px;
  color: #555;
  margin-bottom: 5px;
  display: block;
}

/* Submit button */
#sidebar input[type="submit"],
#sidebar button {
  width: 100%;
  background-color: #003e90;
  color: #fff;
  padding: 10px 14px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#sidebar input[type="submit"]:hover,
#sidebar button:hover {
  background-color: #002e6d;
}

/* Checkbox and radio inputs */
#sidebar input[type="checkbox"],
#sidebar input[type="radio"] {
  margin-right: 6px;
}

/* Responsive tweaks */
@media (max-width: 767px) {
  #sidebar {
    display: none;
  }
}

