/*=========================================================
    SANVI MASALE
    HOMEPAGE - TESTIMONIAL SECTION
=========================================================*/

:root {

    --testimonial-primary: #C62828;
    --testimonial-primary-dark: #A61919;
    --testimonial-gold: #FFC107;

    --testimonial-dark: #292321;
    --testimonial-text: #6D6661;

    --testimonial-light: #FFF8F3;
    --testimonial-border: #EDE3DC;

    --testimonial-white: #FFFFFF;

    --testimonial-transition:
        all 0.35s ease;
}


/*=========================================================
    SECTION
=========================================================*/

.testimonial-section {

    position: relative;

    padding: 95px 0;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #FFF9F5 0%,
            #FFFFFF 50%,
            #FFF7F1 100%
        );

}


/*=========================================================
    BACKGROUND DECORATION
=========================================================*/

.testimonial-section::before {

    content: "";

    position: absolute;

    top: -180px;

    left: -180px;

    width: 400px;

    height: 400px;

    border-radius: 50%;

    background:
        rgba(198, 40, 40, 0.035);

    pointer-events: none;

}


.testimonial-section::after {

    content: "";

    position: absolute;

    right: -180px;

    bottom: -180px;

    width: 400px;

    height: 400px;

    border-radius: 50%;

    background:
        rgba(255, 193, 7, 0.045);

    pointer-events: none;

}


/*=========================================================
    HEADING
=========================================================*/

.testimonial-heading {

    position: relative;

    z-index: 2;

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 40px;

    margin-bottom: 45px;

}


.testimonial-heading-content {

    max-width: 700px;

}


.testimonial-eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    margin-bottom: 10px;

    color:
        var(--testimonial-primary);

    font-size: 11px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 1.5px;

}


.testimonial-heading h2 {

    margin: 0 0 13px;

    color:
        var(--testimonial-dark);

    font-size: 42px;

    font-weight: 900;

    line-height: 1.15;

    letter-spacing: -0.8px;

}


.testimonial-heading h2 span {

    color:
        var(--testimonial-primary);

}


.testimonial-heading p {

    max-width: 650px;

    margin: 0;

    color:
        var(--testimonial-text);

    font-size: 13px;

    line-height: 1.8;

}


/*=========================================================
    RATING BOX
=========================================================*/

.testimonial-rating-box {

    display: flex;

    align-items: center;

    gap: 14px;

    flex-shrink: 0;

    padding: 17px 22px;

    border:
        1px solid
        var(--testimonial-border);

    border-radius: 12px;

    background:
        rgba(255,255,255,0.85);

    box-shadow:
        0 10px 30px
        rgba(60,25,10,0.06);

}


.testimonial-rating-number {

    color:
        var(--testimonial-primary);

    font-size: 38px;

    font-weight: 900;

    line-height: 1;

}


.testimonial-rating-details strong {

    display: block;

    margin-top: 4px;

    color:
        var(--testimonial-dark);

    font-size: 10px;

    font-weight: 900;

}


.testimonial-rating-details span {

    display: block;

    margin-top: 3px;

    color:
        #99908A;

    font-size: 8px;

}


/*=========================================================
    STARS
=========================================================*/

.testimonial-stars {

    display: flex;

    align-items: center;

    gap: 3px;

}


.testimonial-stars i {

    color:
        var(--testimonial-gold);

    font-size: 11px;

}


/*=========================================================
    TESTIMONIAL GRID
=========================================================*/

.testimonial-grid {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 17px;

}


/*=========================================================
    CARD
=========================================================*/

.testimonial-card {

    position: relative;

    display: flex;

    flex-direction: column;

    min-height: 285px;

    padding: 23px;

    border:
        1px solid
        var(--testimonial-border);

    border-radius: 15px;

    background:
        var(--testimonial-white);

    box-shadow:
        0 10px 30px
        rgba(60,25,10,0.055);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;

}


.testimonial-card:hover {

    transform:
        translateY(-7px);

    border-color:
        rgba(198,40,40,0.20);

    box-shadow:
        0 20px 45px
        rgba(60,25,10,0.10);

}


/*=========================================================
    FEATURED CARD
=========================================================*/

.testimonial-card-featured {

    border-color:
        rgba(198,40,40,0.22);

    background:
        linear-gradient(
            180deg,
            #FFFFFF,
            #FFF9F6
        );

}


.testimonial-card-featured::before {

    content: "TOP REVIEW";

    position: absolute;

    top: 0;

    right: 20px;

    padding: 6px 10px;

    border-radius:
        0 0 6px 6px;

    background:
        var(--testimonial-primary);

    color:
        #FFFFFF;

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 0.8px;

}


/*=========================================================
    CUSTOMER TOP
=========================================================*/

.testimonial-card-top {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 10px;

    margin-bottom: 17px;

}


.testimonial-customer {

    display: flex;

    align-items: center;

    gap: 10px;

}


/*=========================================================
    AVATAR
=========================================================*/

.testimonial-avatar {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #C62828,
            #8E1717
        );

    color:
        #FFFFFF;

    font-size: 10px;

    font-weight: 900;

}


.testimonial-customer h3 {

    margin: 0 0 3px;

    color:
        var(--testimonial-dark);

    font-size: 11px;

    font-weight: 900;

}


.testimonial-customer span {

    display: block;

    color:
        #958C86;

    font-size: 8px;

}


/*=========================================================
    QUOTE ICON
=========================================================*/

.testimonial-quote-icon {

    width: 34px;

    height: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border-radius: 8px;

    background:
        #FFF1EA;

    color:
        var(--testimonial-primary);

}


.testimonial-quote-icon i {

    font-size: 12px;

}


/*=========================================================
    CARD STARS
=========================================================*/

.testimonial-card
.testimonial-stars {

    margin-bottom: 14px;

}


/*=========================================================
    TESTIMONIAL TEXT
=========================================================*/

.testimonial-text {

    flex: 1;

    margin: 0 0 18px;

    color:
        #625B56;

    font-size: 11px;

    line-height: 1.8;

    font-weight: 500;

}


/*=========================================================
    VERIFIED
=========================================================*/

.testimonial-verified {

    display: inline-flex;

    align-items: center;

    gap: 5px;

    align-self: flex-start;

    padding-top: 12px;

    border-top:
        1px solid
        #F0E8E2;

    color:
        #6D756C;

    font-size: 8px;

    font-weight: 700;

}


.testimonial-verified i {

    color:
        #2E7D32;

    font-size: 10px;

}


/*=========================================================
    BOTTOM CTA
=========================================================*/

.testimonial-bottom {

    position: relative;

    z-index: 2;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    margin-top: 30px;

    padding: 20px 24px;

    border:
        1px solid
        var(--testimonial-border);

    border-radius: 12px;

    background:
        #FFFFFF;

    box-shadow:
        0 8px 25px
        rgba(60,25,10,0.04);

}


.testimonial-bottom-content {

    display: flex;

    align-items: center;

    gap: 12px;

}


.testimonial-bottom-icon {

    width: 40px;

    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    background:
        #FFF0EA;

    color:
        var(--testimonial-primary);

    font-size: 15px;

}


.testimonial-bottom-content strong {

    display: block;

    margin-bottom: 3px;

    color:
        var(--testimonial-dark);

    font-size: 11px;

    font-weight: 900;

}


.testimonial-bottom-content span {

    display: block;

    color:
        #918983;

    font-size: 8px;

}


.testimonial-review-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    min-height: 42px;

    padding:
        0 17px;

    border-radius: 7px;

    background:
        var(--testimonial-primary);

    color:
        #FFFFFF;

    text-decoration: none;

    font-size: 9px;

    font-weight: 800;

    transition:
        var(--testimonial-transition);

}


.testimonial-review-btn:hover {

    color:
        #FFFFFF;

    background:
        var(--testimonial-primary-dark);

    transform:
        translateY(-2px);

    box-shadow:
        0 8px 18px
        rgba(198,40,40,0.20);

}


.testimonial-review-btn i {

    transition:
        transform 0.3s ease;

}


.testimonial-review-btn:hover i {

    transform:
        translateX(4px);

}


/*=========================================================
    LARGE TABLET
=========================================================*/

@media (max-width: 1199px) {

    .testimonial-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


/*=========================================================
    TABLET
=========================================================*/

@media (max-width: 991px) {

    .testimonial-section {

        padding:
            75px 0;

    }


    .testimonial-heading {

        align-items:
            flex-start;

        flex-direction:
            column;

        margin-bottom:
            35px;

    }


    .testimonial-heading h2 {

        font-size:
            36px;

    }


    .testimonial-rating-box {

        align-self:
            flex-start;

    }

}


/*=========================================================
    MOBILE
=========================================================*/

@media (max-width: 767px) {

    .testimonial-section {

        padding:
            60px 0;

    }


    .testimonial-heading h2 {

        font-size:
            30px;

    }


    .testimonial-heading p {

        font-size:
            12px;

    }


    .testimonial-grid {

        grid-template-columns:
            1fr;

        gap: 13px;

    }


    .testimonial-card {

        min-height:
            auto;

        padding:
            20px;

    }


    .testimonial-bottom {

        flex-direction:
            column;

        align-items:
            stretch;

    }


    .testimonial-review-btn {

        width:
            100%;

    }

}


/*=========================================================
    SMALL MOBILE
=========================================================*/

@media (max-width: 480px) {

    .testimonial-heading h2 {

        font-size:
            27px;

    }


    .testimonial-rating-box {

        width:
            100%;

    }


    .testimonial-rating-number {

        font-size:
            34px;

    }


    .testimonial-card {

        border-radius:
            12px;

    }

}