.cert-carousel-section {
  padding: 56px 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.cert-carousel-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.cert-carousel-track-wrap {
  position: relative;
  overflow: hidden;
}

.cert-carousel-track-wrap::before,
.cert-carousel-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.cert-carousel-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

.cert-carousel-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

.cert-carousel-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: certScroll 28s linear infinite;
}

.cert-carousel-track:hover {
  animation-play-state: paused;
}

@keyframes certScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.cert-item {
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-white);
  transition: all 0.3s;
  cursor: default;
}

.cert-item:hover {
  border-color: var(--border-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.cert-item img {
  width: 118px;
  height: 118px;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .cert-carousel-track-wrap::before,
  .cert-carousel-track-wrap::after {
    width: 56px;
  }

  .cert-carousel-track {
    gap: 24px;
  }

  .cert-item {
    width: 120px;
    height: 120px;
    padding: 12px;
  }

  .cert-item img {
    width: 92px;
    height: 92px;
  }
}
