#testimonials-slider {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.slider-wrapper {
  overflow: hidden;
  position: relative;
}
/* ------------------------- */
/* CTA PRIMARY FIXED */
/* ------------------------- */
.cta-primary {
  color: #fff;
  background: linear-gradient(135deg, #F97316, #EA580C);
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-radius: 10px;
  border: none;
  outline: none;
  transition: all 0.3s ease;
}

/* Sheen / sweep effect */
.cta-primary:after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: skewX(-20deg);
  transition: none;
  pointer-events: none;
}

/* Hover sheen animation */
.cta-primary:hover:after {
  left: 200%;
  transition: left 0.7s ease;
}

/* Hover button effect */
.cta-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 40px rgba(249, 115, 22, 0.8);
  transform: translateY(-1px);
}

/* Click */
.cta-primary:active {
  color: #000;
  transform: scale(0.97);
}

.cta-primary:active:after {
  background: transparent;
}

/* Gradient background animation */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


.cta-secondary {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.1), transparent);
  transition: left 0.5s ease;
}

.cta-secondary:hover::before {
  left: 100%;
}

.cta-secondary:hover {
  border-color: #F97316;
  color: #F97316;
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
}

/* General button glow effect */
.btn-glow:hover {
  box-shadow: 0 0 30px rgba(249, 115, 22, 0.6), 0 0 60px rgba(249, 115, 22, 0.4);
}

/* Interactive hover effects for better user feel */
.testimonial-card:hover {
  transform: scale(1.02) translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.avatar:hover {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

.live-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(249, 115, 22, 0.2);
  transition: all 0.3s ease;
}

.telegram-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.curriculum-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(249, 115, 22, 0.1);
  transition: all 0.3s ease;
}

/* Keyframes */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-buttons {
  animation: fadeInUp 1s ease-out 0.5s both;
}

/* Individual Cards */
#testimonials-slider > div {
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0.6;
  transform: scale(0.95);
}

/* Active Card */
#testimonials-slider > div.active {
  opacity: 1;
  transform: scale(1);
}

/* Fade-in on load */
.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}