/* ==========================================================================
   AWEA Testimonials Carousel — Zero-Shadow Architectural Slider
   ========================================================================== */

@property --awea-beam-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.awea-testimonials-carousel-wrapper {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.awea-testimonials {
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

/* Individual Card Architecture */
.awea-testimonial-card {
  --awea-beam-color: var(--e-global-color-primary, #4f46e5);
  --awea-beam-speed: 3.5s;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  padding: 36px;
  border-radius: 24px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: none;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.awea-testimonial-card:hover {
  background-color: #f8fafc;
  border-color: var(--awea-beam-color);
}

/* Kinetic Border Beam Masking */
.awea-testimonial-card.awea-has-beam::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--awea-beam-angle), transparent 70%, var(--awea-beam-color), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

@keyframes aweaBeamSpin {
  to {
    --awea-beam-angle: 360deg;
  }
}

.awea-testimonial-card.awea-has-beam:hover::after {
  opacity: 1;
  animation: aweaBeamSpin var(--awea-beam-speed, 3.5s) linear infinite;
}

/* Watermark Brand Quote */
.awea-testimonial-quote-brand {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  opacity: 0.08;
  color: var(--awea-beam-color);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.awea-testimonial-card:hover .awea-testimonial-quote-brand {
  opacity: 0.16;
}

/* Rating Stars */
.awea-testimonial-stars {
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
  z-index: 2;
  margin-bottom: 18px;
}

.awea-testimonial-stars i {
  font-size: 14px;
  line-height: 1;
}

.awea-star-filled {
  color: #f59e0b;
}

.awea-star-empty {
  color: #e2e8f0;
}

/* Review Speech Text */
.awea-testimonial-text {
  margin: 0 0 24px 0;
  position: relative;
  z-index: 2;
  font-size: 1rem;
  line-height: 1.68;
  color: #334155;
  font-style: italic;
  word-break: break-word;
}

/* Author Footer Lockup */
.awea-testimonial-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
  position: relative;
  z-index: 2;
}

/* Avatar Photo */
.awea-testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 100%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.awea-testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.awea-testimonial-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
  word-break: break-word;
}

.awea-testimonial-desg {
  font-style: normal;
  font-size: 0.84rem;
  line-height: 1.3;
  color: #64748b;
  display: block;
  word-break: break-word;
}

/* Verified Customer Badge */
.awea-testimonial-verify {
  margin-left: auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #dcfce7;
  color: #15803d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.awea-testimonial-verify svg {
  width: 12px;
  height: 12px;
}

/* ==========================================================================
   Owl Carousel Navigation Controls
   ========================================================================== */
.awea-testimonials.owl-carousel .owl-stage-outer {
  padding: 8px 0;
}

.awea-testimonials .owl-nav {
  position: static;
}

.awea-testimonials .owl-nav button.owl-prev,
.awea-testimonials .owl-nav button.owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 10;
  outline: none;
}

.awea-testimonials .owl-nav button.owl-prev {
  left: -20px;
}

.awea-testimonials .owl-nav button.owl-next {
  right: -20px;
}

.awea-carousel-arrow-border {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  box-shadow: none;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.awea-carousel-arrow-border:hover {
  background-color: var(--e-global-color-primary, #4f46e5);
  border-color: var(--e-global-color-primary, #4f46e5);
  color: #ffffff;
}

.awea-testimonials .owl-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
}

.awea-testimonials .owl-dots button.owl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #cbd5e1;
  border: none;
  margin: 0 5px;
  padding: 0;
  outline: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.awea-testimonials .owl-dots button.owl-dot.active {
  background-color: var(--e-global-color-primary, #4f46e5);
  transform: scale(1.25);
}

/* Mobile (<= 768px) */
@media (max-width: 768px) {
  .awea-testimonials .owl-nav button.owl-prev {
    left: -6px;
  }
  .awea-testimonials .owl-nav button.owl-next {
    right: -6px;
  }
  .awea-carousel-arrow-border {
    width: 36px;
    height: 36px;
  }
  .awea-testimonial-card {
    padding: 24px 20px;
    border-radius: 18px;
  }
}