/* ============================================================
   placements.css — Sun Technologies
   Company logo marquee scroll styles
   ============================================================ */

/* ── Track wrapper — clips overflow ── */
.co-track-wrap {
  overflow: hidden;
  padding: 14px 0;
}

/* ── Scrolling track ── */
.co-track {
  display: flex;
  align-items: flex-start;
  gap: 44px;
  width: max-content;
}

.co-track-left {
  animation: coScrollLeft 50s linear infinite;
}

.co-track-right {
  animation: coScrollRight 50s linear infinite;
}

.co-track-wrap:hover .co-track {
  animation-play-state: paused;
}

@keyframes coScrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes coScrollRight {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

/* ── Single company card ── */
.co-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  width: 195px;
}

/* ── Circle ── */
.co-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 5px solid #ccc;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.09);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.co-circle:hover {
  transform: translateY(-6px) scale(1.06);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}

/* ── Logo image ── */
.co-logo-img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

/* ── Fallback initials ── */
.co-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* ── Company name label ── */
.co-name {
  font-size: 13px;
  text-align: center;
  color: var(--default-color);
  margin: 0;
  line-height: 1.35;
  font-weight: 600;
  max-width: 180px;
}

/* Mobile */
@media (max-width: 576px) {
  .co-circle {
    width: 120px;
    height: 120px;
  }

  .co-item {
    width: 135px;
    gap: 8px;
  }

  .co-track {
    gap: 28px;
  }

  .co-fallback {
    font-size: 22px;
  }
}

/* ── Testimonial profile fix (placements page) ──
   Overrides .img-fluid which makes the image full-width.
   Matches the reference: small circle photo | name, role, course
──────────────────────────────────────────────────────── */
.testimonial-item .testimonial-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  background: rgba(var(--accent-color-rgb, 251, 134, 0), 0.06);
  border-radius: 8px;
  padding: 10px 14px;
}

.testimonial-item .testimonial-profile img {
  width: 54px !important;
  height: 54px !important;
  min-width: 54px;
  max-width: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e0e0e0;
  flex-shrink: 0;
}

.testimonial-item .testimonial-profile>div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-item .testimonial-profile h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.testimonial-item .testimonial-profile h4 {
  font-size: 13px;
  font-weight: 400;
  color: #666;
  margin: 0;
  line-height: 1.3;
}

.testimonial-item .testimonial-profile small {
  font-size: 12px;
  line-height: 1.3;
}


/* ── CTA buttons ── */
.about-btn-primary {
  display: inline-block;
  background: #fb8600;
  color: #fff;
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #fb8600;
  transition: background 0.3s, color 0.3s;
}

.about-btn-primary:hover {
  background: #e07800;
  border-color: #e07800;
  color: #fff;
}

.about-btn-outline {
  display: inline-block;
  background: transparent;
  color: #fb8600;
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #fb8600;
  transition: background 0.3s, color 0.3s;
}

.about-btn-outline:hover {
  background: #fb8600;
  color: #fff;
}

/* ── Responsive ── */
@media (prefers-reduced-motion: reduce) {
  .uni-track {
    animation: none !important;
  }
}

@media (max-width: 576px) {
  .uni-circle {
    width: 90px;
    height: 90px;
  }

  .uni-item {
    width: 100px;
    gap: 7px;
  }

  .uni-track {
    gap: 24px;
  }
}