.partner-cards {
  margin-top: 42px;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ------------ CARD ------------- */
.partner-card {
  width: 363px;
  height: 146px;
  background: #0ADBCD;
  border-radius: 12px;
  position: relative;
  text-align: center;
  color: #FFFFFF;
}

.partner-icon {
  margin-top: 22px;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Force all SVG icons to align & scale consistently */
.partner-icon svg {
  width: 35px;
  height: 35px;
  display: block;
}


/* ------------ TITLE ------------- */
.partner-title {
  position: absolute;
  top: 65px;             /* EXACT top distance from card */
  width: 100%;
  font-family: Roboto, sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
}

/* ------------ SUBTITLE ------------- */
.partner-subtitle {
  position: absolute;
  top: 98px;             /* Perfect placement under title */
  width: 100%;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}


/* ---------- SLIDER WRAPPER ---------- */
.partner-slider {
  margin-top: 48px;
  
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
   padding-bottom: 32px;
}

.partner-slider::-webkit-scrollbar {
  display: none;
}




/* ---------- SLIDER TRACK ---------- */
.slider-track {
  display: flex;
  align-items: center;
  gap: 10px;                   /* Space between icons */
  white-space: nowrap;
  will-change: transform;
  animation: scrollPartners 15s linear infinite;
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

@keyframes scrollPartners {
  0% {
    transform: translateX(0) translateZ(0);
  }
  100% {
    transform: translateX(-50%) translateZ(0);
  }
}

/* Pause animation on hover */
.partner-slider:hover .slider-track {
  animation-play-state: paused;
}

/* ---------- SLIDER ICONS ---------- */
.slider-track img {
  width: 144px;
  height: 48px;
  object-fit: contain;
  opacity: 0.7;        /* 70% opacity */
  flex-shrink: 0;
}

/* Responsive margins for partner slider */
@media (max-width: 1200px) {
  .partner-slider {
    margin-left: 80px;
    margin-right: 80px;
  }
}

@media (max-width: 992px) {
  .partner-slider {
    margin-left: 60px;
    margin-right: 60px;
  }
}

@media (max-width: 768px) {
  .partner-slider {
    margin-left: 36px;
    margin-right: 36px;
  }
}

@media (max-width: 576px) {
  .partner-slider {
    margin-left: 20px;
    margin-right: 20px;
  }
}
