/**
 * LGDMS Widgets - Carrousel Testimonials Stylesheet
 * 100% Responsive & Fluid CSS
 */

.lgdms-testimonials-wrapper {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.lgdms-testimonials-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 2rem;
}

/* Viewport & Track */
.lgdms-carousel-viewport {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  border-radius: inherit;
}

.lgdms-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.lgdms-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

/* Card Styling */
.lgdms-testimonial-card {
  position: relative;
  background-color: #ffffff;
  border-radius: 18px;
  padding: 32px 36px;
  width: 100%;
  max-width: 680px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  text-align: left;
}

/* Quote Icon */
.lgdms-quote-icon {
  margin-bottom: 14px;
}

.lgdms-quote-icon svg {
  width: 38px;
  height: 38px;
  fill: #ff7315;
  display: block;
}

/* Quote Body */
.lgdms-quote-body {
  font-family: inherit;
  font-size: 18px;
  line-height: 1.6;
  color: #1e293b;
  margin-bottom: 20px;
  font-weight: 400;
}

/* Author and Company */
.lgdms-testimonial-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lgdms-client-meta {
  display: flex;
  flex-direction: column;
}

.lgdms-client-name {
  font-weight: 700;
  font-size: 16px;
  color: #0f294a;
  margin-bottom: 2px;
}

.lgdms-client-company {
  font-size: 14px;
  color: #476282;
  font-weight: 500;
}

/* Arrows Navigation */
.lgdms-carousel-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.lgdms-carousel-nav.nav-pos-side-right {
  margin-left: 0;
  flex-shrink: 0;
}

.lgdms-carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #93b4d4;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.lgdms-carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff;
  transform: scale(1.05);
}

.lgdms-carousel-arrow svg {
  width: 18px;
  height: 18px;
}

/* Pagination Dots */
.lgdms-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.lgdms-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.lgdms-carousel-dot.is-active {
  background: #ff7315;
  transform: scale(1.2);
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
  .lgdms-testimonials-stage {
    flex-direction: column;
    gap: 1.5rem;
  }
  .lgdms-carousel-nav.nav-pos-side-right {
    margin-top: 0.5rem;
  }
  .lgdms-testimonial-card {
    padding: 28px 28px;
    max-width: 580px;
  }
}

@media (max-width: 767px) {
  .lgdms-testimonial-card {
    padding: 22px 20px;
    border-radius: 14px;
    max-width: 100%;
  }
  .lgdms-quote-body {
    font-size: 15px;
    line-height: 1.55;
  }
  .lgdms-carousel-arrow {
    width: 38px;
    height: 38px;
  }
  .lgdms-carousel-dots {
    margin-top: 20px;
  }
}
