/* Testimonials Slider Styling - 3 Cards Display */
.cyber-testimonials-section {   
  padding: 60px 20px 0px 20px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.testimonials-container {
  max-width: 1280px; /* Expanded container width to fit 3 cards comfortably */
  margin: 0 auto;
}

/* Header */
.testimonials-header {
  text-align: center;
  margin-bottom: 40px;
}

.sub-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(147, 51, 234, 0.12);
  border: 1px solid rgba(192, 132, 252, 0.3);
  color: #c084fc;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: #94a3b8;
  font-size: 1rem;
  margin: 0;
}

/* Slider Track Architecture */
.testimonial-slider-wrapper {
  overflow: hidden;
  width: 100%;
  cursor: grab;
  user-select: none;
  padding: 10px 0 20px 0;
}

.testimonial-slider-wrapper:active {
  cursor: grabbing;
}

.testimonial-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Base Mobile View: 1 Card */
.testimonial-slide {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 12px;
  box-sizing: border-box;
}

/* Tablet View: 2 Cards */
@media (min-width: 768px) and (max-width: 1023px) {
  .testimonial-slide {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* Desktop View: 3 Cards */
@media (min-width: 1024px) {
  .testimonial-slide {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
}

/* Card Visuals */
.testimonial-card {
  background: rgba(15, 11, 26, 0.8);
  border: 1px solid rgba(147, 51, 234, 0.3);
  border-radius: 16px;
  padding: 28px;
  height: 100%;
  box-sizing: border-box;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  border-color: #38bdf8;
  box-shadow: 0 10px 30px -10px rgba(56, 189, 248, 0.25);
}

.rating-stars {
  color: #38bdf8;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

.review-text {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 24px 0;
  font-style: italic;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.client-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9333ea, #38bdf8);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 0 12px rgba(147, 51, 234, 0.5);
}

.client-details .client-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f8fafc;
}

.client-details .client-role {
  font-size: 0.8rem;
  color: #64748b;
}

/* Controls & Indicators */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.slider-arrow {
  background: rgba(15, 11, 26, 0.9);
  border: 1px solid rgba(147, 51, 234, 0.4);
  color: #38bdf8;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  cursor: pointer;
}

.slider-arrow:hover {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.slider-dot.active {
  background: #38bdf8;
  width: 24px;
  border-radius: 10px;
  box-shadow: 0 0 10px #38bdf8;
}

@media (max-width:768px) {

  .cyber-testimonials-section {   
    padding: 20px 20px;
  }

  .cyber-testimonials-section .sub-badge {
    letter-spacing: 2px;
    font-size: 0.55rem;  
    padding: 6px 14px;
  }

  .cyber-testimonials-section .section-title {
      font-size: 1.6rem;
  }
  .testimonials-header{
      margin-bottom:20px;
  }
  .rating-stars {
      margin-bottom:0px;
  }
  .review-text {
      margin:0 0 4px 0;
      font-style: normal;
  }
  .testimonial-card {
      padding:18px;
  }

  .slider-controls{
    margin-top:0px;
  }
  .slider-arrow {
      width:32px;
      height:32px;
  }

  .slider-dot {
    width: 8px;
    height: 8px;
  }

  .slider-dot.active {
    width: 18px;
  }
}