/* ===== BASE STYLES ===== */
.services-container {
  padding: 7rem 0;
}



/* ===== ADVANCED FILTER STYLES ===== */
.advanced-filter-container {
  margin-bottom: 3rem;
}

.filter-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  border: 1px solid #eaeaea;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.filter-group {
  position: relative;
  display: flex;
  align-items: center;
  padding-bottom: 0.5rem;
}

.filter-icon {
  margin-right: 0.75rem;
  color: #dd872b;
  display: flex;
  align-items: center;
}

.filter-input, .filter-select {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  color: #2c3e50;
  outline: none;
  min-width: 0;
}

.filter-input::placeholder {
  color: #95a5a6;
}

.input-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #ecf0f1;
  transition: all 0.3s ease;
}

.filter-group:focus-within .input-underline {
  background: #dd872b;
  height: 2px;
}

.select-group {
  position: relative;
}

.select-arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #7f8c8d;
}

/* ===== CUSTOM MULTISELECT STYLES ===== */
.custom-multiselect {
  position: relative;
  flex: 1;
}

.selected-regions {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 0.5rem;
  align-items: center;
  height: 100%;
  padding: 0.25rem 0;
  scrollbar-width: thin;
  max-width: 280px;
}

.selected-regions::-webkit-scrollbar {
  height: 4px;
}

.selected-regions::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 2px;
}

.region-tag {
  background-color: #dd872b;
  color: white;
  border-radius: 16px;
  padding: 4px 12px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  height: 32px;
  flex-shrink: 0;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 5px rgba(221, 135, 43, 0.2);
}

.region-tag-remove {
  margin-left: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.region-tag-remove:hover {
  opacity: 1;
}

.placeholder {
  color: #95a5a6;
  font-size: 0.95rem;
  white-space: nowrap;
}

.regions-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  margin-top: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
  max-height: 300px;
  overflow-y: auto;
}

.regions-dropdown.active {
  display: block;
}

.search-regions {
  padding: 0.75rem;
  border-bottom: 1px solid #f1f1f1;
}

.search-regions input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  outline: none;
}

.regions-list {
  padding: 0.5rem 0;
}

.region-option {
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.2s;
}

.region-option:hover {
  background-color: #f8f9fa;
}

.region-option input {
  margin-right: 0.75rem;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  gap: 2rem;
  margin: 3rem 0;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));

}
.container{
  max-width: 1500px;
}
.service-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

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

.service-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.service-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #dd872b;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
  opacity: 1;
}

.service-view-btn {
  background: #5da8ae;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-view-btn:hover {
  background: #77cad0;
  transform: translateY(-2px);
}

.service-card-content {
  padding: 1.5rem;
}

.service-card-content h3 {
  margin: 0 0 1rem;
  color: #2c3e50;
  font-size: 1.25rem;
}

.service-meta {
  margin-bottom: 1.5rem;
}

.meta-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: #34495e;
}

.meta-icon {
  margin-right: 0.5rem;
  color: #5da8ae;
  flex-shrink: 0;
}

.service-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #f1f1f1;
}

.update-date {
  font-size: 0.8rem;
  color: #7f8c8d;
  display: flex;
  align-items: center;
}

.date-icon {
  margin-right: 0.25rem;
}

.service-link {
  color: #5da8ae;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.service-link:hover {
  color: #8bd2d7;
}

.link-arrow {
  margin-left: 0.25rem;
  transition: transform 0.3s ease;
}

.service-link:hover .link-arrow {
  transform: translateX(3px);
}

/* ===== NO RESULTS MESSAGE ===== */
.no-results-message {
  text-align: center;
  padding: 3rem;
  background: #f9f9f9;
  border-radius: 12px;
  display: none;
}

.no-results-icon {
  margin-bottom: 1.5rem;
}

.no-results-message h3 {
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.no-results-message p {
  color: #7f8c8d;
}

/* ===== PAGINATION ===== */
.pagination-wrapper {
  margin-top: 3rem;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
  .filter-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .filter-card {
    padding: 1rem;
  }
  
  .service-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .region-tag {
    max-width: 100px;
    font-size: 0.7rem;
  }
}