 

/* =========================================
   MAIN SECTION
========================================= */

.testimonial-section {
    width: 100%;
    padding: 35px 0 50px;
    background: #ffffff;
    overflow: hidden;
}

.testimonial-container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}


/* =========================================
   HEADER
========================================= */

.testimonial-header {
    padding: 0 5.3%;
    margin-bottom: 40px;
}

.testimonial-header h2 {
	margin: 0 0 25px;
	line-height: 0;
	font-weight: 500;
	font-size: 30px;
	color: #95553A;
}

.testimonial-header p {
    margin: 0;

    max-width: 1180px;

    font-size: 20px;
    line-height: 1.5;
    font-weight: 400;

    color: #a9a9a9;
}


/* =========================================
   SLIDER
========================================= */

.testimonial-slider-wrapper {
    width: 100%;
    overflow: hidden;
    padding-left: 5.3%;
}

.testimonial-slider {
    display: flex;
    gap: 45px;

    width: max-content;

    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    will-change: transform;
}


/* =========================================
   CARD
========================================= */

.testimonial-card {
    flex: 0 0 580px;

    width: 580px;
    min-height: 465px;

    padding: 45px 50px;

    background: #ffffff;

    border-radius: 14px;

    box-shadow:
        0 5px 4px rgba(0, 0, 0, 0.20),
        0 1px 5px rgba(0, 0, 0, 0.05);

    border: 1px solid #eeeeee; margin-bottom: 10px;
}


/* =========================================
   STARS
========================================= */

.stars {
    display: flex;
    align-items: center;
    gap: 19px;

    margin-bottom: 45px;
}

.stars span {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #95553A;
    color: #ffffff;

    font-size: 26px;
    line-height: 1;
}


/* =========================================
   CARD TITLE
========================================= */

.testimonial-card h3 {
    margin: 0 0 20px;

    color: #95553A;

    font-size: 27px;
    line-height: 1.25;
    font-weight: 500;
}


/* =========================================
   TESTIMONIAL TEXT
========================================= */

.testimonial-text {
    margin: 0;

    color: #95553A;

    font-size: 20px;
    line-height: 1.5;
    font-weight: 400;

    max-width: 480px;
}


/* =========================================
   CLIENT
========================================= */

.client-info {
    display: flex;
    align-items: center;

    gap: 16px;

    margin-top: 38px;
}

.client-info img {
    width: 68px;
    height: 68px;

    object-fit: cover;

    border-radius: 50%;

    background: #eeeeee;
}

.client-info h4 {
    margin: 0 0 5px;

    color: #95553A;

    font-size: 21px;
    line-height: 1.2;
    font-weight: 500;
}

.client-info p {
    margin: 0;

    color: #444444;

    font-size: 18px;
    line-height: 1.3;
}


/* =========================================
   CONTROLS
========================================= */

.testimonial-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    gap: 12px;

    padding: 62px 5.3% 0;
}

.slider-arrow {
    width: 66px;
    height: 66px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    font-size: 37px;
    font-weight: 300;

    transition: all 0.25s ease;
}

.slider-prev {
    background: #ffffff;

    border: 2px solid #c48d73;

    color: #95553A;
}

.slider-next {
    background: #95553A;

    border: 2px solid #95553A;

    color: #ffffff;
}

.slider-arrow:hover {
    transform: scale(1.05);
}

.slider-prev:hover {
    background: #95553A;
    color: #ffffff;
}

.slider-next:hover {
    background: #7d432d;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

    .testimonial-header {
        padding: 0 40px;
        margin-bottom: 50px;
    }

    .testimonial-header h2 {
        font-size: 44px;
    }

    .testimonial-header p {
        font-size: 18px;
    }

    .testimonial-slider-wrapper {
        padding-left: 40px;
    }

    .testimonial-slider {
        gap: 30px;
    }

    .testimonial-card {
        flex-basis: 500px;
        width: 500px;
    }

    .testimonial-controls {
        padding-right: 40px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .testimonial-section {
        padding-top: 25px;
    }

    .testimonial-header {
        padding: 0 20px;
        margin-bottom: 40px;
    }

    .testimonial-header h2 {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .testimonial-header p {
        font-size: 16px;
        line-height: 1.5;
    }

    .testimonial-slider-wrapper {
        padding-left: 20px;
    }

    .testimonial-slider {
        gap: 20px;
    }

    .testimonial-card {
        flex-basis: calc(100vw - 40px);
        width: calc(100vw - 40px);

        min-height: 420px;

        padding: 30px 25px;
    }

    .stars {
        gap: 10px;
        margin-bottom: 30px;
    }

    .stars span {
        width: 38px;
        height: 38px;
        font-size: 21px;
    }

    .testimonial-card h3 {
        font-size: 23px;
    }

    .testimonial-text {
        font-size: 17px;
    }

    .client-info {
        margin-top: 30px;
    }

    .client-info img {
        width: 58px;
        height: 58px;
    }

    .client-info h4 {
        font-size: 18px;
    }

    .client-info p {
        font-size: 16px;
    }

    .testimonial-controls {
        justify-content: flex-end;

        padding: 35px 20px 0;
    }

    .slider-arrow {
        width: 55px;
        height: 55px;

        font-size: 30px;
    }
}
 
 