/* =====================================================
   Finozone Testimonials
===================================================== */
.fz-testimonials {
    position: relative;
    padding: 90px 0;
    overflow: hidden;
    background: #fff8f6;
}

.fz-testimonials::before {
    content: "";
    position: absolute;
    top: -170px;
    left: -170px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(255, 51, 0, 0.035);
    pointer-events: none;
}

.fz-testimonials .container {
    position: relative;
    z-index: 2;
}

/* =====================================================
   Section Header
===================================================== */
.fz-testimonials-header {
    max-width: 750px;
    margin: 0 auto 50px;
}

.fz-testimonials-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--bg-first);
    font-family: var(--primary-font);
    font-size: var(--font-sm);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.08rem;
}

.fz-testimonials-header h2 {
    margin: 0 0 16px;
    color: #171717;
    font-family: var(--third-font);
    font-size: var(--font-section-title);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0.025em;
}

.fz-testimonials-header h2 span {
    color: var(--bg-first);
}

.fz-testimonials-header p {
    max-width: 680px;
    margin: 0 auto;
    color: #666666;
    font-family: var(--primary-font);
    font-size: var(--font-md);
    font-weight: 400;
    line-height: 1.8;
}

/* =====================================================
   Testimonial Card
===================================================== */
.fz-testimonial-card {
    position: relative;
    height: 100%;
    min-height: 390px;
    padding: 32px;
    overflow: hidden;
    border: 1px solid rgba(255, 51, 0, 0.08);
    border-radius: 15px;
    background: #ffffff;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.fz-testimonial-card:hover {
    border-color: rgba(255, 51, 0, 0.18);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    transform: translateY(-5px);
}

/* =====================================================
   Quote Icon
===================================================== */
.fz-testimonial-quote {
    position: absolute;
    top: 22px;
    right: 25px;
    color: rgba(255, 51, 0, 0.08);
    pointer-events: none;
}

.fz-testimonial-quote i {
    font-size: 58px;
}

/* =====================================================
   Rating Stars
===================================================== */
.fz-testimonial-stars {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 22px;
}

.fz-testimonial-stars i {
    color: #f5a623;
    font-size: 17px;
}

/* =====================================================
   Testimonial Content
===================================================== */
.fz-testimonial-text {
    position: relative;
    z-index: 2;
    margin: 0 0 90px;
    color: #555555;
    font-family: var(--primary-font);
    font-size: var(--font-base);
    font-weight: 400;
    line-height: 1.85;
}

/* =====================================================
   Testimonial User
===================================================== */
.fz-testimonial-user {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding-top: 18px;
    border-top: 1px solid #eeeeee;
}

/* =====================================================
   User Avatar
===================================================== */
.fz-testimonial-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--bg-third);
    color: var(--bg-first);
}

.fz-testimonial-avatar i {
    font-size: 23px;
}

/* =====================================================
   User Information
===================================================== */
.fz-testimonial-user h4 {
    margin: 0 0 3px;
    color: #222222;
    font-family: var(--primary-font);
    font-size: var(--font-base);
    font-weight: 600;
    line-height: 1.4;
}

.fz-testimonial-user span {
    display: block;
    color: #888888;
    font-family: var(--primary-font);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
}

/* =====================================================
   Tablet
===================================================== */
@media (max-width: 991.98px) {
    .fz-testimonials {
        padding: 70px 0;
    }

    .fz-testimonials-header {
        margin-bottom: 42px;
    }

    .fz-testimonial-card {
        min-height: 390px;
    }
}

/* =====================================================
   Mobile
===================================================== */
@media (max-width: 767.98px) {
    .fz-testimonials {
        padding: 60px 0;
    }

    .fz-testimonials-header {
        margin-bottom: 35px;
    }

    .fz-testimonials-header p {
        font-size: var(--font-base);
    }

    .fz-testimonial-card {
        min-height: 360px;
        padding: 26px;
    }

    .fz-testimonial-text {
        font-size: var(--font-base);
        line-height: 1.8;
    }

    .fz-testimonial-user {
        left: 26px;
        right: 26px;
        bottom: 25px;
    }
}

/* =====================================================
   Small Mobile
===================================================== */
@media (max-width: 575.98px) {
    .fz-testimonials {
        padding: 50px 0;
    }

    .fz-testimonials-header p {
        font-size: 15px;
        line-height: 1.75;
    }

    .fz-testimonial-card {
        min-height: auto;
        padding: 24px;
    }

    .fz-testimonial-quote {
        top: 18px;
        right: 20px;
    }

    .fz-testimonial-quote i {
        font-size: 50px;
    }

    .fz-testimonial-stars {
        margin-bottom: 18px;
    }

    .fz-testimonial-text {
        margin-bottom: 24px;
        font-size: 15px;
        line-height: 1.8;
    }

    .fz-testimonial-user {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        padding-top: 18px;
    }

    .fz-testimonial-user h4 {
        font-size: 16px;
    }

    .fz-testimonial-user span {
        font-size: 15px;
    }
}