#nova-clients-section {
  width: 100%;
  background: #ffffff;
  padding: 36px 20px;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  border-top: 1px solid #eef2f7;
  border-bottom: 1px solid #eef2f7;
  box-shadow: 0 4px 18px rgba(0, 40, 100, 0.05);
  overflow: visible;
  position: relative;
  z-index: 5;
}

.nova-clients-container {
  max-width: 1867px;
  margin: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  position: relative;
  overflow: hidden;
}

.nova-clients-container h3 {
  margin: 0;
  color: #004795;
  font-size: 20px;
  font-weight: 750;
  white-space: nowrap;
  position: relative;
  z-index: 1000;
  background: #ffffff;
  padding-right: 10px;
}

.nova-clients-slider {
  width: 100%;
  overflow: hidden;
  padding: 24px 42px;
  position: relative;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 16%,
    black 84%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 16%,
    black 84%,
    transparent 100%
  );
}

.nova-clients-track {
  display: flex;
  align-items: center;
  gap: 21px;
  width: max-content;
  animation: novaClientsMove 74s linear infinite;
  position: relative;
  z-index: 10;
}

.nova-clients-slider:hover .nova-clients-track {
  animation-play-state: paused;
}

.nova-client-logo {
  min-width: 198px;
  height: 99px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid #e3ebf5;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 45, 105, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  transform-origin: center center;
  position: relative;
  z-index: 20;
  overflow: visible;
}

.nova-client-logo img {
  max-width: 100%;
  max-height: 58px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  border-radius: 12px;
  transition: transform 0.35s ease;
}

.nova-client-logo:hover {
  transform: translateY(-10px) scale(1.08);
  border-color: #08376b;
  box-shadow: 0 18px 40px rgba(197, 227, 245, 0.28);
  z-index: 50;
}

.nova-client-logo:hover img {
  transform: scale(1.04);
}

.nova-clients-btn {
  color: #004795;
  border: 2px solid #004795;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.25s ease;
  position: relative;
  z-index: 1000;
}

.nova-clients-btn:hover {
  background: #004795;
  color: #ffffff;
}

@keyframes novaClientsMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 850px) {
  .nova-clients-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 18px;
    overflow: visible;
  }

  .nova-clients-container h3 {
    font-size: 18px;
    padding-right: 0;
  }

  .nova-clients-slider {
    padding: 20px 0;
    overflow: hidden;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .nova-clients-track {
    gap: 34px;
  }

  .nova-clients-btn {
    justify-self: center;
  }
}

@media (max-width: 520px) {
  #nova-clients-section {
    padding: 28px 12px;
  }

  .nova-client-logo {
    min-width: 105px;
    height: 76px;
    padding: 9px 12px;
  }

  .nova-client-logo img {
    max-height: 52px;
  }

  .nova-client-logo:hover {
    transform: translateY(-6px) scale(1.06);
  }
}