/* ============================================================
   Global components (2025 redesign) — loaded site-wide
   ============================================================ */

/* Scroll-reveal animation (driven by IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Shared brand button */
.qt-button {
  display: inline-block;
  padding: 14px 38px;
  border-radius: 999px;
  font-weight: 600;
  color: #011a1f;
  background: linear-gradient(90deg, #08f7f6 0%, #099dd0 100%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.qt-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -14px rgba(8, 247, 246, 0.7);
  color: #011a1f;
}

/* Rotating consortium partner-logo marquee */
.partner-marquee {
  padding: 50px 0;
  overflow: hidden;
}
.partner-marquee-title {
  text-align: center;
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #79b8c9;
  margin: 0 0 34px;
}
.marquee {
  width: 100%;
  overflow: hidden;
  /* Fade the strip edges so logos appear/disappear softly */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 70px;
  width: max-content;
  animation: qt-marquee 38s linear infinite;
}
/* Pause so logos are easy to read + click */
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
  animation-play-state: paused;
}
.marquee-item {
  flex: 0 0 auto;
}
.partner-logo {
  display: inline-flex;
  align-items: center;
}
.partner-logo img {
  height: 56px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.7);
  opacity: 0.65;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}
.partner-logo:hover img,
.partner-logo:focus-visible img {
  filter: none;
  opacity: 1;
  transform: scale(1.06);
}

@keyframes qt-marquee {
  from {
    transform: translateX(0);
  }
  to {
    /* Track holds two identical sets → -50% loops seamlessly */
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 40px;
  }
  /* Don't show the duplicated (loop) set when not animating */
  .marquee-item[aria-hidden="true"] {
    display: none;
  }
}

/* "Latest from our LinkedIn" / SocialKit block (Blog, News, Contact) */
.section-socialkit {
  padding: 60px 7%;
  text-align: center;
}
.socialkit-title {
  font-size: 32px;
  margin: 0 0 12px;
}
.socialkit-intro {
  max-width: 640px;
  margin: 0 auto 36px;
  color: #cfeaf2;
  font-size: 16px;
}
.socialkit-feed {
  margin: 0 auto;
  max-width: 1100px;
}
