.testimonial-section {
    padding: 0 0 80px;
}

.testimonial-slider {
    width: calc(100% + 10px);
    margin-left: -5px;
}

.testimonial-section .slick-list.draggable {
    height: 100% !important;
}

.testimonial-slider .slick-slide {
    margin: 0 5px;
    border-radius: 30px;
    height: auto;
}

.testimonial-wrap {
    background: linear-gradient(90deg, rgba(179, 211, 54, 0.15) 0%, rgba(31, 71, 33, 0.15) 100%);
    border-radius: 30px;
    padding: 50px;
    position: relative;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 36px;
    padding-right: 100px;
}

.testimonial-header h2 {
    margin-bottom: 14px;
}

.testimonial-slider .slick-arrow {
    width: 45px;
    height: 45px;
    font-size: 0;
    background-color: var(--green);
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    top: -80px;
    transition: 0.5s ease-in;
}

.testimonial-slider .slick-arrow.slick-prev {
    right: 55px;
}

.testimonial-slider .slick-arrow.slick-next {
    right: 0;
}

.testimonial-slider .slick-arrow:before {
    content: "";
    background-image: url("https://dddemo.net/wordpress/2026/youthhome/wp-content/themes/youthhome/assets/images/slider-arrow.png");
    width: 100%;
    height: 100%;
    display: block;
}

.testimonial-slider .slick-arrow.slick-next {
    transform: rotate(180deg);
}

.testimonial-slider .slick-arrow:hover {
    background-color: var(--parrot);
}

.testimonial-item {
    background: #ffffff;
    border-radius: 30px;
    padding: 30px;
    height: 100%;
}

.quote img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    margin-bottom: 14px;
}

.testimonial-header p,
.testimonial-desctiption p {
    text-transform: capitalize;
}

.testimonial-item .reviewer-name {
    font-family: 'Montserrat';
    font-weight: 700;
    text-transform: capitalize;
    color: var(--green);
    margin-top: 19px;
    display: block;
}

.testimonial-desctiption {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
    overflow: hidden;
}

.testimonial-desctiption.expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.testimonial-item .read-more-btn {
    color: var(--black);
    cursor: pointer;
    text-decoration: underline;
}

.testimonial-item .read-more-btn:hover {
    color: var(--parrot);
}

.testimonial-slider .slick-track {
    display: flex;
    align-items: stretch;
}

.testimonial-slider .slick-slide>div {
    height: 100%;
}

@media (max-width: 1024px) {
    .testimonial-wrap {
        padding: 30px;
    }
}

@media (max-width: 991px) {
    .testimonial-section {
        padding: 0 0 60px;
    }
    .testimonial-wrap,
    .testimonial-item {
        padding: 20px;
        border-radius: 15px;
    }
    .testimonial-slider .slick-slide {
        border-radius: 15px;
    }
}

@media (max-width: 768px) {
    .testimonial-section {
        padding: 0 0 40px;
    }
    .testimonial-wrap,
    .testimonial-item {
        padding: 15px;
        border-radius: 10px;
    }
    .testimonial-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 14px;
    }
    .quote img {
        width: 40px;
        height: 40px;
        margin-bottom: 8px;
    }
    .testimonial-header {
        padding-right: 80px;
    }
    .testimonial-slider .slick-arrow.slick-prev {
        right: 40px;
        width: 35px;
        height: 35px;
        padding: 6px;
    }
    .testimonial-slider .slick-arrow.slick-next {
        right: 0;
        width: 35px;
        height: 35px;
        padding: 6px;
    }
    .testimonial-item .reviewer-name {
        margin-top: 8px;
    }
    .testimonial-header h2 {
        margin-bottom: 8px;
    }
    .testimonial-slider .slick-slide {
        border-radius: 10px;
    }
}

@media (max-width: 420px) {
    .testimonial-header {
        padding-right: 0;
        padding-bottom: 30px;
    }
    .testimonial-slider .slick-arrow {
        top: -40px;
    }
    .testimonial-slider .slick-arrow.slick-next {
        right: calc(50% - 38px);
    }
    .testimonial-slider .slick-arrow.slick-prev {
        left: calc(50% - 38px);
        right: unset;
    }
}