.services-container {
  display: flex;
  gap: 2rem;
  padding: 1rem;
}

/* Sidebar */
.sticky-sidebar {
  position: sticky;
  top: 100px;
}

.filter-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.filter-search {
  width: 100%;
  padding: 0.5rem;
  margin: 20px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Accordion */
.accordion-item {
  margin-bottom: 0.5rem;
  border: none;
}

.accordion-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-weight: bold;
  padding: 0.5rem 0;
  cursor: pointer;
  /* border-bottom: 1px solid #ddd; */
  background: #F4F4F4;
}

.accordion-body {
  display: none;
  padding: 0.5rem 0;
  background-color: #F4F4F4;
}

.accordion-item.active .accordion-body {
  display: block;
  background-color: #F4F4F4;
}

/* Checkboxes */
.filter-list {
  list-style: none;
  padding: 10px;
  margin: 0;
  background: #F4F4F4;
}

.filter-list li {
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  background: #F4F4F4;
}

.filter-list input {
  margin-right: 0.5rem;
}

/* Services */
.services-content {
  flex: 1;
  padding: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.service-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card img {
  max-width: 100%;
  border-radius: 5px;
}

.service-card h3 {
  font-size: 1rem;
  margin: 0.5rem 0;
}

.price {
  font-weight: bold;
  color: #e63946;
}

.old-price {
  text-decoration: line-through;
  color: #888;
  font-size: 0.9rem;
}

.btn-inquire {
  background: #0d6efd;
  border: none;
  padding: 0.6rem;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
  margin-top: auto;
}

.filterbutton {
  background: #0d6efd;
  border: none;
  /* padding: 0.6rem; */
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
  margin-top: auto;
}

.btn-inquire:hover {
  background: #084298;
}

/* Mobile Modal Fixes */
@media (max-width: 991px) {
  #filterModal .modal-dialog {
    max-width: 100%;
    margin: 0.5rem;
  }

  #filterModal .modal-content {
    border-radius: 8px;
    padding: 1rem;
  }

  /* .modal-backdrop.show {
    z-index: 1050 !important;
  } */

  #filterSidebar .filter-box {
    display: none !important; /* hide desktop filter sidebar on mobile */
  }

  body.modal-open {
    overflow: hidden; /* prevent background scroll when modal is open */
  }
}

