/* ============================================================
   CERTIFICATIONS STRIP (Premium Continuous Slider)
============================================================ */
.certifications-strip {
  background: var(--white);
  padding: 64px 0;
  border-top: 1px solid var(--outline-var);
  border-bottom: 1px solid var(--outline-var);
  overflow: hidden;
}

.certifications-strip__label {
  text-align: center;
  margin-bottom: 28px;
  color: var(--primary);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Marquee track container with gradient fade edges */
.certifications-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 16px 0;
}

.certifications-marquee::before,
.certifications-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.certifications-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--white) 0%, transparent 100%);
}

.certifications-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--white) 0%, transparent 100%);
}

.certifications-track {
  display: flex;
  align-items: center;
  gap: 48px; /* Balanced spacing between logos */
  width: max-content;
  animation: cert-marquee-scroll 45s linear infinite; /* Slower, smoother scroll */
}

/* Pause scroll on hover for interactivity */
.certifications-marquee:hover .certifications-track {
  animation-play-state: paused;
}

.cert-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px; /* Circular dimension */
  height: 120px; /* Circular dimension */
  border-radius: 50%;
  border: 2px solid var(--outline-var); /* Premium border */
  background: var(--white);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  transition: all var(--dur) var(--ease);
  padding: 16px;
  box-sizing: border-box;
}

.cert-logo:hover {
  transform: scale(1.08); /* Micro-interaction scale */
  border-color: var(--primary); /* Highlight border color */
  box-shadow: var(--shadow-md);
}

.cert-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: none !important;
  opacity: 1 !important;
  -webkit-filter: none !important;
}

.cert-logo__text {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 12px 20px;
  border: 1.5px solid var(--primary);
  border-radius: var(--r-sm);
  background: var(--leaf-tint);
}

/* Keyframes for continuous scroll */
@keyframes cert-marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Translate exactly half of the total track width since we duplicated items */
    transform: translateX(-50%);
  }
}
