/* Partner page styles (kept separate so the live src/style.css is not changed) */
/* ==========================================================================
   Partners Hero Banner with Professional Background Image
   ========================================================================== */
.jb-partners-hero {
  position: relative;
  background-color: #091938;
  background-image: 
    linear-gradient(135deg, rgba(9, 25, 56, 0.94) 0%, rgba(14, 45, 84, 0.88) 55%, rgba(9, 25, 56, 0.93) 100%),
    url('../images/partners_hero_banner.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: #ffffff;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.jb-partners-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 30%, rgba(37, 99, 235, 0.28) 0%, transparent 65%);
  pointer-events: none;
}

.jb-partners-hero .lead {
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88) !important;
}

.jb-partners-glass-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.35);
  border-radius: 20px;
}

/* ==========================================================================
   Official Corporate Logos Marquee & Continuous Animation
   ========================================================================== */
.jb-logo-ticker-section {
  position: relative;
  background: #ffffff;
  border-bottom: 1px solid var(--jb-border);
  padding: 16px 0;
  overflow: hidden;
}

.jb-logo-ticker-container {
  display: flex;
  align-items: center;
  gap: 24px;
}

.jb-logo-ticker-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
  padding-right: 16px;
  border-right: 2px solid #e2e8f0;
}

.jb-logo-ticker-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.jb-logo-ticker-track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  will-change: transform;
  animation: jbLogoScroll 28s linear infinite;
}

.jb-logo-ticker-wrapper:hover .jb-logo-ticker-track {
  animation-play-state: paused;
}

.jb-logo-ticker-wrapper:focus-within .jb-logo-ticker-track {
  animation-play-state: paused;
}

@keyframes jbLogoScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.jb-logo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  flex-shrink: 0;
  cursor: pointer;
}

.jb-logo-pill:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 8px 18px -2px rgba(37, 99, 235, 0.12), 0 3px 6px -1px rgba(0, 0, 0, 0.04);
}

.jb-logo-pill:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

.jb-logo-pill img {
  height: 24px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  display: block;
}

@media (max-width: 991px) {
  .jb-logo-ticker-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .jb-logo-ticker-title {
    border-right: none;
    border-bottom: 2px solid #e2e8f0;
    padding-right: 0;
    padding-bottom: 8px;
    width: 100%;
  }

  .jb-logo-ticker-wrapper {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jb-logo-ticker-track {
      animation: none;
      width: max-content;
    }

    .jb-logo-ticker-wrapper {
      overflow-x: auto;
      mask-image: none;
      -webkit-mask-image: none;
      scrollbar-width: thin;
      -webkit-overflow-scrolling: touch;
    }

    .jb-logo-pill[aria-hidden="true"] {
      display: none;
    }
  }
