
#divRentSearch{
    background-image: url(../img/rent.jfif);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
}

.scroll-container .btn-categ {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative; /* Position for the overlay */
    height: 130px;
}

/* Hover effect */
.scroll-container .btn-categ:hover {
    transform: scale(1.05); /* Slightly increase the size */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Add a shadow */
}

/* Optional: active state when clicked */
.scroll-container .btn-categ:active {
    transform: scale(0.98); /* Slightly reduce the size on click */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2); /* Reduce shadow on click */
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)); /* Gradient for fading effect */
  padding: 10px; /* Optional padding */
  text-align: center; /* Center text */
}

.overlay h3 {
  color: white; /* Text color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Shadow for the text */
  margin: 0; /* Remove default margin */
}

.flex-nowrap {
    white-space: nowrap; /* Prevent wrapping to next line */
  }

.col-with-scroll-horizontal {
    /* Set your preferred max width */
    overflow-x: auto; /* Scroll horizontally only if content exceeds this width */
    overflow-y: hidden; /* Hide vertical overflow */
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: scale(1.05); /* Increase size slightly on hover */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Larger shadow on hover */
}

.card img {
  transition: transform 0.3s ease;
}

.deny-button-class {
  background-color: #00cc99 !important; /* Custom color for deny button */
  color: #fff; /* Adjust text color for readability */
}
