/* CSS for Clients Section */

.clients-section {
  background: var(--naf-bg-default);
  padding: 4rem 2rem;
  text-align: center;
}

.clients-container {
  max-width: 1200px;
  margin: 0 auto;
}

.clients-title {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--naf-text-primary);
  margin-bottom: 3rem;
  position: relative;
}

.clients-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--naf-primary);
  margin: 1rem auto 0;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem 2rem;
  align-items: center;
  justify-items: center;
}

.client-item {
  width: 100%;
  max-width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  overflow: hidden;
}

.client-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: var(--naf-primary-light);
}

.client-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.client-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(0%) opacity(1);
  transition: all 0.3s ease;
}

.client-item:hover .client-logo {
  filter: grayscale(1000%) opacity(0.7);
}

.client-name-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--naf-text-primary);
  text-align: center;
  line-height: 1.4;
}

/* Responsive Design for Clients Section */
@media (max-width: 1024px) {
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .clients-section {
    padding: 3rem 1.5rem;
  }

  .clients-title {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }

  .client-item {
    height: 100px;
    padding: 1rem;
  }

  .client-logo {
    max-height: 60px;
  }
}

@media (max-width: 480px) {
  .clients-section {
    padding: 2.5rem 1rem;
  }

  .clients-title {
    font-size: 1.6rem;
    margin-bottom: 2rem;
  }

  .clients-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .client-item {
    max-width: 250px;
    height: 90px;
  }
}
