/* ==========================================================================
   HTDev Feedback Slider
   ========================================================================== */

.hdev-feedback-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0 40px;
}

/* ---- Slider Track ---- */
.hdev-feedback-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* ---- Slide ---- */
.hdev-feedback-slide {
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 0 12px;
}

/* ---- Card ---- */
.hdev-feedback-card {
    background: #ffffff;
    border-radius: 20px 50px 20px 50px;
    padding: 30px 28px 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.hdev-feedback-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* ---- Header (Name + Position + Avatar) ---- */
.hdev-feedback-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.hdev-feedback-info {
    flex: 1;
    min-width: 0;
}

.hdev-feedback-name {
    font-size: 18px;
    font-weight: 700;
    color: #c0392b;
    margin: 0 0 4px;
    line-height: 1.3;
}

.hdev-feedback-position {
    font-size: 14px;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.4;
    font-weight: 400;
}

/* ---- Avatar ---- */
.hdev-feedback-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-left: 16px;
    border: 3px solid #f0f0f0;
}

.hdev-feedback-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hdev-feedback-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0, #c0c0c0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
}

/* ---- Feedback Content ---- */
.hdev-feedback-content {
    position: relative;
    flex: 1;
    padding: 0 4px;
}

.hdev-feedback-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin: 0;
}

/* ---- Quote Marks ---- */
.hdev-feedback-quote-open,
.hdev-feedback-quote-close {
    font-family: Georgia, 'Times New Roman', serif;
    color: #c0392b;
    font-weight: 700;
    line-height: 0;
    display: inline;
}

.hdev-feedback-quote-open {
    font-size: 40px;
    margin-right: 4px;
    position: relative;
}

.hdev-feedback-quote-close {
    font-size: 32px;
    margin-left: 4px;
    position: relative;
    top: 20px;
}

.hdev-feedback-text {
    display: inline;
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

/* ---- Dots Navigation ---- */
.hdev-feedback-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
}

.hdev-feedback-dot {
    display: inline-block;
    width: 28px;
    height: 6px;
    border-radius: 3px;
    background: #d9d9d9;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: background 0.3s ease, width 0.3s ease;
}

.hdev-feedback-dot:hover {
    background: #b0b0b0;
}

.hdev-feedback-dot.active {
    background: #c0392b;
    width: 36px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hdev-feedback-wrapper {
        padding: 16px 0 32px;
    }

    .hdev-feedback-slide {
        padding: 0 8px;
    }

    .hdev-feedback-card {
        padding: 22px 20px 20px;
        border-radius: 12px;
    }

    .hdev-feedback-name {
        font-size: 16px;
    }

    .hdev-feedback-position {
        font-size: 13px;
    }

    .hdev-feedback-avatar {
        width: 60px;
        height: 60px;
    }

    .hdev-feedback-text {
        font-size: 14px;
    }

    .hdev-feedback-quote-open {
        font-size: 32px;
    }

    .hdev-feedback-quote-close {
        font-size: 26px;
    }

    .hdev-feedback-dots {
        margin-top: 20px;
    }
}