.sciom-testimonials-section *,
.sciom-testimonials-section *::before,
.sciom-testimonials-section *::after {
  box-sizing: border-box;
}

/* Decorative Top Swoosh Accent */
.sciom-accent-swoosh {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}
.sciom-quote-icon {
  font-size: 12px;
}

.sciom-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  gap: 60px;
}

/* Left Column Content */
.sciom-testimonial-info {
}

.sciom-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 150, 136, 0.32);
  color: #ffffff;
}

/* Batch Pagination Dots */
.sciom-slider-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  justify-content: center;
}

.sciom-dots {
  display: flex;
  gap: 8px;
}

.sciom-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50px;
  background: #d5e0ea;
  border: none;
  cursor: pointer;
  transition: all 0.35s ease;
}

.sciom-dot.active {
  width: 28px;
  background: #2a7bb3;
}

/* Right Column: Staggered 3-Card Stack */
.sciom-cards-stage {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sciom-card-batch {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* Individual Card Styling */
.sciom-t-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  background: #ffffff;
  border-radius: 12px;
  padding: 22px 28px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 22px 50px rgba(0, 150, 136, 0.14);
  border: 1px solid rgba(12, 35, 64, 0.04);
  overflow: hidden;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    opacity 0.5s ease;
  animation: sciomCardSlideIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Staggered Horizontal Offsets */
.sciom-t-card:nth-child(1) {
  align-self: flex-end;
  animation-delay: 0.05s;
}

.sciom-t-card:nth-child(2) {
  align-self: flex-start;
  box-shadow: 0 22px 50px rgba(0, 150, 136, 0.14);
  animation-delay: 0.15s;
}

.sciom-t-card:nth-child(3) {
  align-self: flex-end;
  animation-delay: 0.25s;
}

/* Left Vertical Accent Bar */
.sciom-t-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background-color: var(--sciom-border-inactive);
  transition: background-color 0.35s ease;
}

.sciom-t-card:nth-child(2)::before,
.sciom-t-card:hover::before {
  background: var(--sciom-teal);
}

.sciom-t-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sciom-active-shadow);
}

/* Exit Animation State */
.sciom-card-batch.exiting .sciom-t-card {
  animation: sciomCardSlideOut 0.45s cubic-bezier(0.55, 0.06, 0.68, 0.19)
    forwards;
}

@keyframes sciomCardSlideIn {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes sciomCardSlideOut {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-18px) scale(0.98);
  }
}

/* Avatar Circle */
.sciom-avatar {
  flex-shrink: 0;
  width: 72px;
  height: 7;
}
.sciom-client-name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sciom-navy);
  margin-bottom: 2px;
}

.sciom-client-role {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sciom-teal);
  margin-bottom: 6px;
  display: block;
}

.sciom-client-quote {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--sciom-text-muted);
}

/* Top-Right Quote Icon */
.sciom-quote-icon {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 22px;
  height: 22px;
  fill: #dce4ec;
  transition: fill 0.35s ease;
}

.sciom-t-card:nth-child(2) .sciom-quote-icon,
.sciom-t-card:hover .sciom-quote-icon {
  fill: #2a7bb3;
}

.sciom-avatar {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: #eef4f8;
  border: 2px solid #f0f5f9;
}
.sciom-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sciom-testimonial-info {
  text-align: end;
}
.sciom-testimonial-info .sciom-left {
  max-width: 600px;
  width: 100%;
}
.sciom-testimonial-info .sciom-left p {
  width: 100%;
  margin-left: auto;
}
