.clients-section {
  padding: 40px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

.clients-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

/* .filter-buttons {
  margin-bottom: 20px;
} */

.filter-btn {
  border: 2px solid #800000;
  padding: 8px 13px;
  cursor: pointer;
  margin: 5px;
  background-color: #ffffff;
  color: rgb(80, 80, 80);
  border-radius: 50px; /* Updated for more rounded corners */
  transition: background-color 0.3s, color 0.3s;
}

.filter-btn:hover {
  background-color: #800000;
  color: #ffffff;
  border: 2px solid white;
}

.filter-btn.active {
  background-color: #636161;
}

.client-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.gallery-item {
  display: none;
  flex: 1 1 200px;
  max-width: 200px;
  transition: transform 0.3s;
}

.gallery-item img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

.gallery-item.active {
  display: block;
}

/* Specific Responsive Adjustments for Services Section */
@media (max-width: 768px) {
  /* Target only the services section */
  .services-section .services-container {
      flex-direction: column;
      align-items: center;
      gap: 20px; /* Adjust spacing between service boxes */
  }
  .services-section .service-box {
      width: 90%; /* Full-width for small screens */
      text-align: center;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Target only the services section */
  .services-section .services-container {
      gap: 30px; /* Adjust spacing between service boxes */
  }
  .services-section .service-box {
      width: calc(50% - 10px); /* Two service boxes per row for tablets */
  }
}

