﻿.hz {
  background: url(../image/indhz-bg.jpg) no-repeat;
  background-size: cover;
  padding: 0.6rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hz .clients-container {
  max-width: 1400px;
  width: 100%;
  padding: clamp(16px, 3vw, 32px) clamp(16px, 2vw, 24px) clamp(24px, 4vw, 40px) clamp(16px, 2vw, 24px);
}

.hz .header-section {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.hz .header-section h1 {
  color: #fff;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.hz .header-section p {
  color: rgba(255,255,255,0.7);
  font-size: clamp(14.4px, 3vw, 17.6px);
  margin-top: clamp(8px, 2vw, 12px);
  font-weight: 400;
  letter-spacing: 0.5px;
}

.hz .client-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(16px, 2vw, 28.8px);
  row-gap: clamp(19.2px, 3vw, 35.2px);
}

.hz .client-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.hz .logo-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  transform-style: preserve-3d;
}

.hz .client-logo {
  max-width: clamp(60px, 10vw, 150px);
  width: 80%;
  height: auto;
  max-height: clamp(50px, 8vw, 70px);
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  transition: filter 0.3s;
  pointer-events: none;
}

.hz .client-name {
  font-size: clamp(12px, 2.5vw, 14.4px);
  font-weight: 500;
  text-align: center;
  color: #eef4ff;
  letter-spacing: 0.3px;
  background: rgba(0,0,0,0.3);
  padding: clamp(2.4px, 1vw, 3.2px) clamp(6.4px, 1.5vw, 9.6px);
  border-radius: 30px;
  backdrop-filter: blur(2px);
  margin-top: clamp(3.2px, 1vw, 4.8px);
  transition: color 0.2s;
}

.hz .client-card:hover {

  transform: translateY(-5px);
}

.hz .client-card:hover .logo-wrapper {
  animation: spin360 0.65s cubic-bezier(0.2, 0.9, 0.6, 1.1) forwards;
}

.hz .client-card:hover .client-name {
  color: white;
  background: rgba(0, 0, 0, 0.5);
  text-shadow: 0 0 3px #9bb6ff;
}

@media (max-width: 1200px) {
  .hz .client-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: clamp(16px, 2vw, 24px);
  }
  .hz .clients-container {
    padding: clamp(16px, 2vw, 24px);
  }
  .hz .header-section h1 {
    font-size: clamp(25.6px, 4vw, 35.2px);
  }
}

@media (max-width: 850px) {
  .hz .client-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(12.8px, 1.5vw, 19.2px);
  }
  .hz .client-logo {
    max-width: clamp(66px, 30vw, 110px);
    max-height: clamp(70px, 18vw, 80px);
  }
}

@media (max-width: 550px) {
  .hz .client-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(12.8px, 2vw, 16px);
  }
  .hz .header-section h1 {
    font-size: clamp(22.4px, 5vw, 28.8px);
  }
  .hz .client-card {
    padding: clamp(9.6px, 1.5vw, 16px) clamp(4.8px, 1vw, 8px);
  }
}

.hz .clients-container {
  position: relative;
  overflow: hidden;
}

.hz .clients-container::after {
  content: '';
  position: absolute;
  bottom: -15%;
  right: -5%;
  width: min(300px, 45vw);
  height: min(300px, 45vw);
  background: radial-gradient(circle, rgba(0,255,200,0.1), transparent 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

.hz .client-card {
  transition: transform 0.25s ease, background 0.2s ease, box-shadow 0.2s;
}

.hz .client-logo {
  filter: brightness(1.05) drop-shadow(0 2px 3px rgba(0,0,0,0.2));
  transition: filter 0.3s;
}

.hz .client-card:hover .client-logo {
  filter: brightness(1.1) drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.hz ::-webkit-scrollbar {
  width: 8px;
  background: #1a1f2e;
}

.hz ::-webkit-scrollbar-thumb {
  background: #4a6fa5;
  border-radius: 10px;
}