.professional {
  margin: 100px 0;
 
}

.professional h2{
  text-transform: uppercase;
  text-align: center;
  font-size: 36px;
  font-weight: 600;
}



.text{
  color: #E4E4E4;
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 2rem;
  font-size: 14px;
}

.slider-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  background: rgba(8, 45, 64, 0.95);
  border-radius: 25px;
  padding: 30px 30px;
  text-align: center;
}

.quote-img {
  width: 55px;
  position: absolute;
  top: 10px;
  right: 40px;
}

/* Author image styling */
.author-image-container {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  position: absolute;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid blue;
  top: -50px;
  right:5rem;
  left:5rem
}

.author-image-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.author-image-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Content track styling */
.content-track {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.content-slide {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: translateX(100%);
}

.content-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.content-slide.prev {
  transform: translateX(-100%);
}

.testimonial-text {
  color: #E4E4E4;
  font-size: 16px;
  margin-bottom: 40px;
  padding-top: 60px;
  /* padding-bottom: 30px; */
  /* min-height: 120px; */
}

.rating {
  color: #FFE978;
  font-size: 1.5rem;
}

.author-name {
  background: linear-gradient(21deg, #B7CEA6 0%, #ECFBFE 36.98%, #FCFEF5 69.27%, #C0D4C9 100%);
  font-size: 14px;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

.author-title {
  color: #E4E4E4;
  margin-top: 5px;
  font-size: 12px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, #8ED3FF 0%, #0088FF 100%);
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
}

.prev-arrow {
  left: -25px;
}

.next-arrow {
  right: -25px;
}

@media (max-width: 768px) {
  .slider-container {
    padding: 60px 20px 40px;
  }
  
  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .prev-arrow {
    left: -10px;
  }
  
  .next-arrow {
    right: -10px;
  }
}