/* =============================================
   Happy Tails Testimonial Slider – Frontend CSS
   ============================================= */

/* ── Wrapper ── */
.hts-wrapper {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    box-sizing: border-box;
}

/* ── Header ── */
.hts-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
}

.hts-subtitle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ec4899;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.hts-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ec4899;
}

.hts-title {
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 800;
    color: #1e3a5f;
    margin: 0;
    line-height: 1.2;
}

/* ── Arrow buttons ── */
.hts-arrows {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.hts-arrow {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.hts-arrow:hover    { transform: scale(1.12); opacity: 0.85; }
.hts-arrow:disabled { opacity: 0.35; cursor: default; transform: none; }

.hts-arrow svg,
.hts-arrow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

/* ── Track ── */
.hts-track-outer {
    overflow: hidden;
    width: 100%;
}

.hts-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    align-items: stretch;
}

/* ── Slide ── */
.hts-slide {
    flex: 0 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
    display: flex;
}

/* ── Card wrapper: stacks two boxes vertically ── */
.hts-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

/* ══════════════════════════════════════
   TOP BOX  –  review + name + designation
   ══════════════════════════════════════ */
.hts-card-top {
    background: #ffffff;
    border: 2px solid #dbeafe;
    border-radius: 18px;
    padding: 28px 26px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex-grow: 1;
    box-sizing: border-box;
    transition: box-shadow 0.2s ease;
}

.hts-card-top:hover {
    box-shadow: 0 6px 24px rgba(30, 58, 95, 0.08);
}

.hts-review-text {
    color: #374151;
    font-size: 15px;
    line-height: 1.78;
    flex-grow: 1;
}

.hts-reviewer-name {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 4px;
}

.hts-designation {
    display: block;
    font-size: 13px;
    color: #6b9ec8;
    font-weight: 400;
}

/* ══════════════════════════════════════
   BOTTOM BOX  –  photo left + stars right
   ══════════════════════════════════════ */
.hts-card-bottom {
    background: #eaf3ff;
    border: 2px solid #dbeafe;
    border-radius: 18px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-sizing: border-box;
    min-height: 78px;
}

.hts-reviewer-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #bfdbfe;
}

.hts-stars {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.hts-star-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    display: block;
}

.hts-paw {
    font-size: 26px;
    line-height: 1;
}

/* ── Dots ── */
.hts-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.hts-dot-btn {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #d1e3f8;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hts-dot-btn.active {
    background: #ec4899;
    transform: scale(1.3);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .hts-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .hts-arrows {
        align-self: flex-end;
    }
}

@media (max-width: 600px) {
    .hts-card-top    { padding: 20px 18px 18px; }
    .hts-card-bottom { padding: 12px 16px; }
    .hts-star-img    { width: 30px; height: 30px; }
    .hts-paw         { font-size: 20px; }
}
