/* =========================================================
   CLIENTS PAGE
========================================================= */

.clients-hero {
  background: #1f3570;
  color: #fff;
  padding: 90px 24px 60px;
  text-align: center;
}
.clients-hero h1 {
  font-size: 42px;
  font-weight: 500;
  margin-bottom: 14px;
}
.clients-hero p {
  font-size: 17px;
  color: #cbd5f5;
  max-width: 620px;
  margin: 0 auto;
}

/* SEARCH / FILTER BAR */
.clients-toolbar {
  max-width: 1140px;
  margin: -34px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 3;
}
.clients-toolbar-inner {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  padding: 18px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.clients-search {
  flex: 1 1 260px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e2e6f0;
  border-radius: 999px;
  padding: 10px 18px;
}
.clients-search input {
  border: none;
  outline: none;
  font-size: 14px;
  width: 100%;
  font-family: var(--font-body);
}
.clients-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.clients-filter-btn {
  border: 1px solid #e2e6f0;
  background: #fff;
  color: #1f3570;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.25s ease;
}
.clients-filter-btn.active,
.clients-filter-btn:hover {
  background: #1f3570;
  color: #fff;
  border-color: #1f3570;
}

/* CATEGORY SECTIONS */
.clients-body {
  max-width: 1140px;
  margin: 0 auto;
  padding: 60px 24px 90px;
}
.client-category {
  margin-bottom: 54px;
}
.client-category h2 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef0f6;
}
.client-category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.client-logo-card {
  background: #ffffff;
  border: 1px solid #eef0f6;
  border-radius: 16px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: 0.3s ease;
}
.client-logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.client-logo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
  border-color: transparent;
}
.client-logo-card span {
  font-size: 13px;
  font-weight: 600;
  color: #1f3570;
  text-align: center;
}

.clients-empty {
  text-align: center;
  padding: 60px 20px;
  color: #667;
  display: none;
}
.clients-empty.show {
  display: block;
}

@media (max-width: 992px) {
  .client-category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .clients-hero h1 {
    font-size: 30px;
  }
  .client-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .clients-toolbar-inner {
    flex-direction: column;
    align-items: stretch;
  }
}
