/* ============================================================
   TESTIMONIAL SLIDER SECTION - Homepage
   ============================================================ */

/* Base Section Styles */
.testimonial-slider {
    background-color: #f9f9f9;
  
}

/* Header Section */
.testimonial-slider__header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
    gap: 20px;
}

.testimonial-slider__header-left {
    flex: 0 0 auto;
    text-align: center;
}

.testimonial-slider__title {
    font-family: 'Italiana', serif;
    font-size: 30px;
    line-height: 1;
    color: #191919;
    margin: 0 0 10px 0;
    font-weight: 400;
}

.testimonial-slider__subtitle {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: #191919;
    margin: 0;
}

.testimonial-slider__header-right {
    flex: 0 0 auto;
    margin-left: 0;
}

/* Google Rating Badge */
.testimonial-slider__rating-badge {
    background-color: #e7e7e7;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    cursor: pointer;
    transform: scale(1);
    transition: all 0.3s ease;
}

@media (min-width: 1200px) {
    .testimonial-slider__rating-badge:hover {
        transform: scale(1.015);
    }
}

.testimonial-slider__rating-logo {
    width: 20px;
    height: auto;
}

.testimonial-slider__rating-content {
    display: flex;
    align-items: center;
    gap: 5px;
}


.testimonial-slider__rating-label {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    color: #191919;
   margin: 0;
    line-height: 1.5;
}

.testimonial-slider__rating-number {
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #997f3a;
    margin: 0;
    text-transform: uppercase;
    line-height: 1;
}

.testimonial-slider__rating-stars {
    display: flex;
    gap: 3px;
}

.testimonial-slider__rating-stars .icon-star {
    font-size: 10px;
    color: #997f3a;
}
.testimonial-slider__footer .btn-link { 
    padding: 0 !important;
    font-size: 13px;
}
.testimonial-slider__footer .btn-link::after {
    font-size: 8px;
}

/* Slider Wrapper */
.testimonial-slider__wrapper {
    margin-bottom: 32px;
    overflow: hidden;
}

/* Testimonial Card */
.testimonial-card {
    background: #ffffff;
    border-radius: 3px;
    padding: 20px;
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
    overflow: hidden;
}



.testimonial-card__title {
    font-family: 'Italiana', serif;
    font-size: 24px;
    line-height: 1;
    color: #000000;
    font-weight: 400;
}

.testimonial-card__text {
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #000000;
    margin: 0;
    flex: 1;
}

.testimonial-card__footer {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 50%;
    border-right: 1px solid rgba(153, 127, 58, 0.30);
}

.testimonial-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #4b4b4b;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-card__initials {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1;
}

.testimonial-card__name {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: #000000;
    line-height: 1.5;
    margin: 0;
}

.testimonial-card__divider {
    display: none;
    width: 1px;
    height: 38px;
    background-color: #d1d1d1;
    flex-shrink: 0;
}

.testimonial-card__rating {
    display: flex;
    align-items: center;
    gap: 7px;
    justify-content: flex-end;
    width: 50%;
   
}

.testimonial-card__rating-icon {
    font-size: 13px;
    color: #997f3a;
}

.testimonial-card__rating-text {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: #000000;
    line-height: 1.5;
    margin: 0;
    white-space: nowrap;
}

/* Footer Section */
.testimonial-slider__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonial-slider__view-all {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.testimonial-slider__view-all-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #997f3a;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.testimonial-slider__view-all-link:hover {
    opacity: 0.8;
}

.testimonial-slider__view-all-link i {
    font-size: 14px;
}

.testimonial-slider__view-all-underline {
    width: 166px;
    height: 2px;
    background-color: #997f3a;
    border-radius: 3px;
}

/* Navigation Arrows */
.testimonial-slider__nav {
    display: flex;
    gap: 5px;
    align-self: flex-end;
}

.testimonial-slider__arrow {
    font-size: 16px;
    background-color: #191919;
    border: none;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 8px 10px;
}

.testimonial-slider__arrow:hover {
    background-color: #997f3a;
}

.testimonial-slider__arrow i {
    color: #ffffff;
    line-height: 10px;
}

.testimonial-slider__arrow.slick-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.testimonial-slider__arrow.slick-disabled:hover {
    background-color: #191919;
}

/* Slick Slider Overrides */
.testimonial-slider__wrapper .slick-list {
    margin: 0;
}

.testimonial-slider__wrapper .slick-track {
    display: flex;
}

.testimonial-slider__wrapper .slick-slide {
    height: auto;
}

.testimonial-slider__wrapper .slick-slide > div {
    height: 100%;
    display: flex;
}

.testimonial-slider__wrapper .slick-slide .testimonial-card {
    width: 100%;
}
.testimonial-slider__rating-number-wrap {
    display: flex;
    gap: 5px;
    align-items: center;
}

/* Tablet and Up Styles */
@media (min-width: 768px) {
    .testimonial-slider {
        padding: 80px 0;
    }

    .testimonial-slider__header {
        flex-direction: row;
        gap: 30px;
    }

    .testimonial-slider__header-right {
        margin-left: auto;
    }

    .testimonial-slider__title {
        font-size: 40px;
    }

    .testimonial-slider__subtitle {
        font-size: 16px;
    }

    .testimonial-card {
        margin: 0 16px;
        min-height: 322px;
    }

    .testimonial-card__title {
        font-size: 28px;
    }

    .testimonial-card__text {
        font-size: 16px;
        line-height: 2.25;
    }

    .testimonial-card__name {
        font-size: 14px;
    }

    .testimonial-card__rating-text {
        font-size: 14px;
    }
    .testimonial-card__rating-icon {
        font-size: 13px;
    }
    .testimonial-card__footer {
        flex-wrap: nowrap;
        gap: 15px;
    }

    .testimonial-card__divider {
        display: block;
    }

    .testimonial-card__rating {
        width: auto;
    }

    .testimonial-slider__footer {
        flex-direction: row;
        align-items: center;
        gap: 30px;
    }

    .testimonial-slider__nav {
        align-self: auto;
    }

    .testimonial-slider__wrapper .slick-list {
        margin: 0 -16px;
    }

    .testimonial-slider__rating-number {
        font-size: 18px;
    }

    .testimonial-slider__rating-label {
        font-size: 12px;
    }
    .testimonial-slider__header-left h2 {
        margin-bottom: 0;
    }
    .testimonial-slider__header-left {
        text-align: left;
        flex-shrink: 1;
    }
    .testimonial-slider__rating-badge {
        padding: 8px 15px;
    }
    .testimonial-slider__rating-logo {
        width: 43px;
        height: auto;
    }
    .testimonial-slider__rating-stars .icon-star  {
        font-size: 15px;
    }
    .testimonial-slider__rating-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .testimonial-slider__footer .btn-link {
        font-size: 16px;
    }
    .testimonial-slider__arrow {
        padding: 9px 12px;
        font-size: 22px;
    }
}

/* Desktop Styles */
@media (min-width: 1200px) {
    .testimonial-slider__arrow {
        padding: 20px 32px;
        font-size: 30px;
    }
    .testimonial-slider__nav{
        gap : 32px
    }
    .testimonial-slider__rating-label {
        font-size : 16px;
    }
    .testimonial-slider__rating-logo {
        width: 62px;
    }
    .testimonial-slider__rating-number {
        font-size: 26px;
    }
    .testimonial-slider__rating-stars .icon-star{
        font-size: 20px;
    }
   
}

@media (min-width: 1500px) { 
    .testimonial-slider .container-fluid {
        max-width:83.33333333%;
    }
}


.testimonial-card__content .data-simplebar {
    height: 200px;
    overflow-x: hidden;
    overflow-y: auto;
}

.testimonial-slider--list {
    .row {
        justify-content: center;
    }

    .testimonial-card {
        margin: 0 0 32px;
    }

    .testimonial-loadmore {
        background-color: #fff;
        margin-top: 32px;
    }
}