.ct-container {
  max-width: 1290px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: left;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.filter-group {
  flex: 1 1 300px;
  min-width: 250px;
}

.filter-group strong {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.pill-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pill {
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.pill:hover {
  background-color: #ddd;
}

.pill.active {
  background-color: #0055a5;
  color: #fff;
  border-color: #0055a5;
}

.clear-filters {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

#clearFiltersBtn {
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  background-color: #888;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#clearFiltersBtn:hover {
  background-color: #555;
}

.view-toggle {
  margin-bottom: 1.5rem;
}

.view-toggle button {
  padding: 0.5rem 1rem;
  margin-right: 0.5rem;
  border: 1px solid #ccc;
  background: #f5f5f5;
  cursor: pointer;
  font-size: 0.95rem;
  border-radius: 4px;
}

.view-toggle button.active {
  background-color: #0055a5;
  color: #fff;
  border-color: #0055a5;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  justify-content: center;
  width: 100%;
}

.client-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.client-list .client-card {
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem;
}

.client-card {
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
  border: 1px solid #ccc;
  padding: 1rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.client-logo-img {
  width: 200px;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
}

.client-name {
  font-size: 1.25rem;
  font-weight: 600;
  text-align: left;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.client-divider {
  margin: 1rem 0;
}

.client-meta strong {
  font-size: 1rem;
  font-weight: 500;
  display: block;
  margin-bottom: 0.25rem;
}

.client-meta ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.client-meta > div {
  margin-bottom: 1.25rem;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.service-icon {
  width: 24px;
  height: 24px;
}

.project-link-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: #0055a5;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.95rem;
  text-align: center;
}

.project-link-button:hover {
  background-color: #003f7d;
}

.client-examples {
  padding-bottom: 3rem;
}

@media (min-width: 1024px) {
  .client-examples {
    padding-bottom: 4rem;
  }
}

#backToTop {
  margin-top: 2rem;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  background-color: #0055a5;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#backToTop:hover {
  background-color: #003f7d;
}