/* =============================================
   Happy Client Section - Built on Trust
   ============================================= */

.hc-section {
  padding: 20px 40px 60px;
  background: #fff;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.hc-header {
  text-align: center;
  margin-bottom: 50px;
}

.hc-title {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.hc-subtitle {
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  color: #555;
  margin: 0;
}

/* Content Row */
.hc-content {
  display: flex;
  align-items: center;
  gap: 0;
}

/* Left Stats Panel */
.hc-stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  min-width: 160px;
  padding-right: 40px;
  flex-shrink: 0;
}

.hc-stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1;
}

.hc-stat-label {
  font-size: 0.95rem;
  color: #555;
  margin-top: 4px;
}

/* Vertical Divider */
.hc-divider {
  width: 1px;
  background-color: #ddd;
  align-self: stretch;
  margin: 0 30px 0 0;
  flex-shrink: 0;
}

/* Logo Grid Wrapper */
.hc-logos-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Logo Grid */
.hc-logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

/* Each Logo Item */
.hc-logo-item {
  flex: 0 0 calc(20% - 13px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 12px;
  min-height: 90px;
  transition: transform 0.25s ease;
}

.hc-logo-item:hover {
  transform: translateY(-6px) scale(1.05);
}

.hc-logo-item img {
  max-width: 100%;
  max-height: 75px;
  width: 130px;
  object-fit: contain;
  object-position: center;
  filter: grayscale(30%);
  transition: filter 0.25s ease;
}

.hc-logo-item:hover img {
  filter: grayscale(0%);
}

/* Hidden logos (beyond initial 10) */
.hc-logo-item.hc-hidden {
  display: none;
}

/* View More Button */
.hc-view-more-btn {
  display: inline-block;
  padding: 10px 30px;
  background-color: #0A1A6F;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease;
  margin-top: 6px;
  text-decoration: none;
}

.hc-view-more-btn:hover {
  transform: scale(1.05);
  background-color: #0A1A6F !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-decoration: none !important;
}

/* Responsive */
@media (max-width: 900px) {
  .hc-logo-item {
    flex: 0 0 calc(25% - 12px);
  }
}

@media (max-width: 768px) {
  .hc-section {
    padding: 10px 20px 40px;
  }

  .hc-header {
    margin-bottom: 24px;
  }

  .hc-content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .hc-stats {
    flex-direction: row;
    justify-content: center;
    gap: 50px;
    padding-right: 0;
    width: 100%;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
  }

  .hc-divider {
    display: none;
  }

  .hc-logo-item {
    flex: 0 0 calc(33.33% - 11px);
  }
}

@media (max-width: 480px) {
  .hc-logo-item {
    flex: 0 0 calc(50% - 8px);
  }

  .hc-stat-number {
    font-size: 2rem;
  }
}
