/* ============================================================
   Macteck Divi Suite — Testimonial Carousel CSS
   ============================================================ */

.mds-testimonial-carousel { position: relative; overflow: hidden; padding: 20px 0 60px; font-family: 'Space Grotesk', sans-serif; }

.mds-ts-track { display: flex; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }

.mds-ts-slide { min-width: 100%; padding: 0 12px; box-sizing: border-box; }

/* Cards */
.mds-ts-card { border-radius: 14px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.mds-ts-light .mds-ts-card { background:#fff; border:1px solid #e5e8ec; box-shadow:0 4px 24px rgba(0,0,0,0.07); }
.mds-ts-dark  .mds-ts-card { background:#182129; border:1px solid rgba(255,255,255,0.08); color:#fff; }
.mds-ts-glass .mds-ts-card { background:rgba(255,255,255,0.08); backdrop-filter:blur(16px); border:1px solid rgba(255,255,255,0.15); color:#fff; }

/* Stars */
.mds-ts-stars { color: var(--mds-ts-accent,#FF6B00); font-size: 18px; letter-spacing: 2px; }

/* Quote */
.mds-ts-text { font-size: 17px; line-height: 1.75; margin: 0; font-style: italic; opacity: 0.9; }

/* Author */
.mds-ts-author { display: flex; align-items: center; gap: 14px; }
.mds-ts-avatar { width:48px; height:48px; border-radius:50%; object-fit:cover; }
.mds-ts-avatar-initials { width:48px; height:48px; border-radius:50%; background:var(--mds-ts-accent,#FF6B00); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:16px; flex-shrink:0; }
.mds-ts-author-info strong { display:block; font-size:15px; font-weight:700; }
.mds-ts-author-info span  { font-size:13px; opacity:0.6; }

/* Arrows */
.mds-ts-arrow { position:absolute; top:50%; transform:translateY(-70%); width:44px; height:44px; border-radius:50%; background:var(--mds-ts-accent,#FF6B00); color:#fff; border:none; font-size:24px; cursor:pointer; z-index:10; display:flex; align-items:center; justify-content:center; transition:filter 0.2s, transform 0.2s; line-height:1; }
.mds-ts-arrow:hover { filter:brightness(1.15); transform:translateY(-70%) scale(1.1); }
.mds-ts-prev { left: 0; }
.mds-ts-next { right: 0; }

/* Dots */
.mds-ts-dots { position:absolute; bottom:20px; left:50%; transform:translateX(-50%); display:flex; gap:8px; }
.mds-ts-dot { width:8px; height:8px; border-radius:50%; background:rgba(255,107,0,0.3); border:none; cursor:pointer; padding:0; transition:all 0.3s; }
.mds-ts-dot.active { width:24px; border-radius:4px; background:var(--mds-ts-accent,#FF6B00); }
