/* ══════════════════════════════════════
   CLIENTS & PROJECTS SECTION
══════════════════════════════════════ */

.clients-section {
  background: #ffffff;
  padding: 100px 0 0;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.clients-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section label shared ── */
.cs-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #1D7CC7;
  margin-bottom: 10px;
}

.cs-heading {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #0d1b2e;
  line-height: 1.2;
  margin: 0 0 12px;
}

.cs-heading span { color: #1D7CC7; }

.cs-sub {
  font-size: 0.92rem;
  color: #6b7a90;
  max-width: 500px;
  line-height: 1.7;
}

/* ════════════════════════════════
   TRUSTED CLIENTS
════════════════════════════════ */
.clients-block {
  margin-bottom: 90px;
}

.clients-block__header {
  margin-bottom: 48px;
}

.clients-grid {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 16px;
}

.clients-grid .client-card {
  -webkit-flex: 0 0 calc(20% - 13px);
  flex: 0 0 calc(20% - 13px);
}

.client-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8edf5;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  padding: 18px;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  aspect-ratio: 3 / 2;
  min-height: 90px;
}

.client-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(29,124,199,0.1);
  border-color: rgba(29,124,199,0.2);
}

.client-card__img {
  width: 100%;
  max-height: 80px;
  height: auto;
  object-fit: contain;
  -webkit-filter: grayscale(1) opacity(0.7);
  filter: grayscale(1) opacity(0.7);
  transition: filter 0.3s ease;
  -webkit-transition: -webkit-filter 0.3s ease;
  display: block;
}

.client-card:hover .client-card__img {
  -webkit-filter: grayscale(0) opacity(1);
  filter: grayscale(0) opacity(1);
}

/* ── Responsive ── */
.feature-bar {
  background: linear-gradient(135deg, #0f5fa3 0%, #1D7CC7 50%, #2a9fd6 100%);
  padding: 52px 0;
  margin-top: 80px;
}

.feature-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 140px;
  text-align: center;
  position: relative;
}

.feature-item + .feature-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 48px;
  width: 1px;
  background: rgba(255,255,255,0.2);
}

.feature-item__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.3s ease, transform 0.3s ease;
}

.feature-item:hover .feature-item__icon {
  background: rgba(255,255,255,0.25);
  transform: translateY(-3px);
}

.feature-item__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
  line-height: 1.3;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .clients-grid .client-card { -webkit-flex: 0 0 calc(33.333% - 11px); flex: 0 0 calc(33.333% - 11px); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .clients-section { padding: 64px 0 0; }
  .clients-grid .client-card { -webkit-flex: 0 0 calc(50% - 8px); flex: 0 0 calc(50% - 8px); }
  .projects-grid { grid-template-columns: 1fr; }
  .feature-bar__inner { gap: 28px; }
  .feature-item + .feature-item::before { display: none; }
}
