/* ============================================================
   TechPartners Section — Light & Premium Redesign
   ============================================================ */

.tech-partners-section {
  padding: 100px 0;
  overflow: hidden;
}

/* Subtle background decoration */
.tech-partners-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(111, 66, 193, 0.1),
    transparent
  );
}

.tech-partners-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
}

.tech-partners-glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(111, 66, 193, 0.15) 0%,
    transparent 70%
  );
  top: -150px;
  right: -100px;
}

.tech-partners-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(155, 89, 182, 0.1) 0%,
    transparent 70%
  );
  bottom: -100px;
  left: -100px;
}

.tech-partners-section .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* ---------- Badge ---------- */
.tech-partners-badge-wrapper {
  margin-bottom: 25px;
}

.tech-partners-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid rgba(111, 66, 193, 0.15);
  color: #6f42c1;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 8px 24px;
  border-radius: 100px;
  box-shadow: 0 4px 10px rgba(111, 66, 193, 0.05);
}

.tech-partners-badge-dot {
  width: 8px;
  height: 8px;
  background: #6f42c1;
  border-radius: 50%;
  animation: tp-pulse-dot 2s ease-in-out infinite;
}

@keyframes tp-pulse-dot {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ---------- Title & Desc ---------- */
.tech-partners-title {
  color: #1a152e;
  font-size: clamp(26px, 4.5vw, 40px);
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.25;
}

.tech-partners-desc {
  color: #6a667d;
  font-size: 17px;
  max-width: 720px;
  margin: 0 auto 65px;
  line-height: 1.7;
}

/* ---------- Carousel Container ---------- */
.tech-partners-slider-container {
  position: relative;
  width: 100%;
  padding: 10px 0;
  /* Fade edges for smooth entry/exit */
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

/* Track styles are handled by GSAP in JS for smoother infinite loop */

/* ---------- Partner Card ---------- */
.tech-partner-item {
  flex-shrink: 0;
  width: 220px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #eeeef5;
  border-radius: 14px;
  padding: 22px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  text-decoration: none !important;
  border-color: rgba(111, 66, 193, 0.25);
}

.tech-partner-item:hover {
  box-shadow: 0 12px 25px rgba(111, 66, 193, 0.08);
  transform: translateY(-6px);
}

.tech-partner-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* Natural branding colors but slightly desaturated by default */
  /* filter: grayscale(100%); */
  transition: all 0.4s ease;
}

.tech-partner-item:hover .tech-partner-logo {
  filter: grayscale(0%);
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .tech-partner-item {
    width: 200px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  .tech-partners-section {
    padding: 60px 0;
  }
  .tech-partner-item {
    width: 170px;
    height: 85px;
    padding: 18px;
    border-radius: 12px;
  }
  .tech-partners-desc {
    font-size: 15px;
    margin-bottom: 45px;
  }
}
