/* Our Clients page specific styles */

/* --- Clients Page --- */
.clients-page {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 50%, var(--surface-muted) 100%);
  padding: 80px 0;
}

.clients-heading {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 36px;
  color: var(--dark);
  text-align: center;
  margin-bottom: 12px;
}

.clients-subheading {
  font-size: 16px;
  color: #000;
  text-align: left;
  margin-bottom: 56px;
  min-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.client-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(74, 156, 194, 0.18);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Top accent line */
.client-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(74, 156, 194, 0.7), transparent);
  transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Bottom glow */
/* .client-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 50%;
  background: radial-gradient(ellipse at bottom, rgba(74, 156, 194, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
} */

.client-card:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(74, 156, 194, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(74, 156, 194, 0.12), 0 0 24px rgba(74, 156, 194, 0.1);
}

.client-card:hover::before {
  width: 100%;
  left: 0;
}

.client-card:hover::after {
  opacity: 1;
}

.client-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* filter: grayscale(100%) brightness(0.8);
  opacity: 0.45; */
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.client-card:hover img {
  /* filter: grayscale(0%) brightness(1);
  opacity: 1; */
  transform: scale(1.05);
}

/* responsive tweaks */
@media (max-width: 992px) {
  .clients-grid {
    gap: 20px;
  }

  .client-card {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .client-card {
    height: 160px;
    padding: 20px;
  }

  .clients-heading {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .client-card {
    height: 140px;
    padding: 16px;
  }

  .clients-heading {
    font-size: 24px;
  }
}