/* ==========================================================================
   ROSE EVENTS — HOMEPAGE TESTIMONIALS SLIDER CSS (home-testimonials.css)
   ========================================================================== */

#testimonials {
  position: relative;
  padding-top: 7rem;
  padding-bottom: 7rem;
  background-color: #ffffff;
  overflow: hidden;
}

#testimonials .testimonials-wrapper {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Track & Container */
#testimonials .testimonials-overflow {
  position: relative;
  overflow: hidden;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  margin-top: -0.5rem;
  touch-action: pan-y;
  cursor: grab;
}

#testimonials .testimonials-overflow:active {
  cursor: grabbing;
}

#testimonials-track {
  display: flex;
  will-change: transform;
  transition: transform 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}

/* Testimonial Card Items */
.home-testimonial-item {
  flex-shrink: 0;
  width: calc(33.333% - 20px);
  min-width: 320px;
  margin-right: 28px;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .home-testimonial-item {
    width: calc(50% - 15px);
  }
}

@media (max-width: 640px) {
  .home-testimonial-item {
    width: 100%;
    margin-right: 0;
  }
}

/* Card Outer Box */
.home-testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #F1E2D0;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.4s ease;
  user-select: none;
}

.home-testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(136, 13, 15, 0.12);
  border-color: rgba(136, 13, 15, 0.3);
}

/* Quote Icon Top Right */
.home-t-quote-bg {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  color: #E8C5C8;
  opacity: 0.35;
  pointer-events: none;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.home-testimonial-card:hover .home-t-quote-bg {
  transform: rotate(6deg) scale(1.08);
  opacity: 0.6;
}

/* Quote Content Text */
.home-t-text {
  font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.125rem;
  line-height: 1.75;
  color: #444444;
  font-style: italic;
  margin-bottom: 2rem;
  flex-grow: 1;
  text-align: center;
}

/* Star Rating */
.home-t-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 1.75rem;
  color: #D4AF37;
}

.home-t-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Avatar Image */
.home-t-avatar-wrap {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.home-t-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.home-testimonial-card:hover .home-t-avatar {
  transform: scale(1.06);
}

/* Author Details */
.home-t-name {
  font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: #2D2D2D;
  text-align: center;
  line-height: 1.2;
}

.home-t-role {
  font-family: var(--font-sans, 'Manrope', sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  color: #880D0F;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  margin-top: 0.4rem;
}

.home-t-location {
  font-family: var(--font-sans, 'Manrope', sans-serif);
  font-size: 0.825rem;
  color: #888888;
  text-align: center;
  margin-top: 0.2rem;
}

/* Navigation Controls & Pagination */
.home-t-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 3.5rem;
}

.home-t-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(136, 13, 15, 0.3);
  color: #880D0F;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.home-t-btn:hover {
  background: #880D0F;
  border-color: #880D0F;
  color: #ffffff;
  transform: translateY(-2px);
}

.home-t-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-dot-btn {
  border-radius: 50px;
  height: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
