:root {
  --bg: #000;
  --next-bg: #111;
  --primary-teal: #028cc5;
  --secondary-teal: #35c3bd;
  --dark-text: #333;
  --light-text: #666;
  --background-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.industries-section {
  overflow-x: hidden;
  position: relative;
  background: transparent;
}

/* Neon Blob (light source) */
.neon-blob {
  position: absolute;
  top: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #00e0ff 0%, rgba(0, 224, 255, 0.2) 70%, transparent 100%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 1;
  animation: pulse 6s ease-in-out infinite;
}

/* Pulse effect for blob */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.industry-category {
  background: transparent;
  border-top-right-radius: 95px;
  padding: 30px 20px 1px;
  z-index: 2;
  position: relative;
}

.testimonial-section {
  padding: 60px 0;
  color: white;
  border-bottom-left-radius: 95px;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.testimonial-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background-image: radial-gradient(rgba(0, 212, 255, 0.3) 2px, transparent 2px);
  background-size: 25px 25px;
  opacity: 0.25;
  z-index: 0;
  pointer-events: none;
}

.testimonial-section > * {
  position: relative;
  z-index: 1;
}

.testimonial-section .swiper-outer {
  position: relative;
}

.testimonial-section .swiper {
  padding: 10px 0 20px;
  overflow-y: visible;
  overflow-x: clip;
}

.testimonial-section .swiper-slide-active .testimonial-card {
  border: 2px solid #00bcd4;
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 188, 212, 0.15);
}

.testimonial-section .swiper-wrapper {
  align-items: stretch;
}

.testimonial-card {
  background: linear-gradient(135deg, #333333, #161616 50%, #020202);
  border-radius: 30px;
  padding: 32px 28px;
  height: 275px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.client-info {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-10px, -24px);
  display: flex;
  align-items: end;
  margin-bottom: 24px;
}

.client-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 16px;
  border: 2px solid rgba(148, 163, 184, 0.3);
  z-index: 20;
}

.testimonial-section .swiper-slide-active .client-avatar {
  border-color: #00bcd4;
}

.testimonial-section .client-details h4 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: #ffffff;
}

.testimonial-section .client-details p {
  font-size: 16px;
  color: #64748b;
  margin: 0;
  font-weight: 500;
}

.testimonial-section .testimonial-text {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: auto;
  flex-grow: 1;
  padding-top: 40px;
  width: 93%;
}

.testimonial-section .rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.testimonial-section .star-icon {
  width: 40px;
  height: 40px;
  color: #00bcd4;
}

.testimonial-section .rating-score {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin-left: 4px;
}

.testimonial-section .swiper-button-next,
.testimonial-section .swiper-button-prev {
  display: none;
}

.testimonial-section .swiper-pagination {
  display: none;
}

.testimonial-section .testimonial-card.swiper-slide-active::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -15px;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #00bcd4, transparent);
  transform: translateY(-50%);
  z-index: 10;
}

.testimonial-section .testimonial-card.swiper-slide-active::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -15px;
  width: 30px;
  height: 2px;
  background: linear-gradient(270deg, #00bcd4, transparent);
  transform: translateY(-50%);
  z-index: 10;
}

.swiper-slide {
  height: auto;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .testimonial-section {
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .testimonial-section {
    margin-left: 0;
  }
  
  .testimonial-card {
    height: auto;
    min-height: 300px;
    margin: 0 10px;
  }

  .testimonial-card.swiper-slide-active::before,
  .testimonial-card.swiper-slide-active::after {
    display: none;
  }
}