/* Adept Quality Services - Case Studies Stylesheet */

/* Metric Card Highlight Animation */
.metric-number-glow {
  background: linear-gradient(135deg, #0A2540 0%, #635BFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 12px rgba(99, 91, 255, 0.05);
}

/* Bento Grid layout alignments for Deloitte-style Case Study sections */
.bento-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 91, 255, 0.2);
  box-shadow: 0 20px 40px rgba(10, 37, 64, 0.04);
}

/* Timeline flow for case studies */
.case-timeline-item::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 24px;
  bottom: -24px;
  width: 2px;
  background-color: #E2E8F0;
}

.case-timeline-item:last-child::before {
  display: none;
}

/* Client Brand Carousel animation (grayscale to color transition) */
@keyframes infiniteScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-infinite-scroll {
  animation: infiniteScroll 40s linear infinite;
}

.animate-infinite-scroll:hover {
  animation-play-state: paused;
}

/* Grayscale and color blending */
.grayscale-img {
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.grayscale-img:hover {
  filter: grayscale(0%);
  opacity: 1;
}
