/**
 * Section - Testimonials Styles
 * Testimonials section with carousel navigation
 *
 * @package SeedDigital
 * @since 1.0.0
 */

/* ============================================
   Section Container
   ============================================ */
.section-testimonials {
    padding: 80px 0;
    background-color: #F2F4F7;
    /* margin-bottom: -290px; */
}

/* ============================================
   Wrapper
   ============================================ */
.testimonials__wrapper {
    display: flex;
    flex-direction: column;
    gap: 56px;
    padding-left: 100px;
}

/* ============================================
   Header
   ============================================ */
.testimonials__header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1030px;
}

.testimonials__title {
    font-family: 'Be Vietnam', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 28px;
    color: #667085;
    margin: 0;
}

.testimonials__header p:not(.testimonials__description-small){
    font-size: 40px;
    font-weight: 400;
    color: #000000;
    margin-bottom: 24px;
    line-height: 1.2;
}

.testimonials__description-large {
    font-family: 'Be Vietnam', sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: #000000;
    margin: 0;
}

.testimonials__description-small {
    font-family: 'Be Vietnam', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 140%;
    color: #000000;
    margin: 0;
}

/* ============================================
   Carousel
   ============================================ */
.testimonials__carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Swiper overrides */
.testimonials__carousel.swiper {
    overflow: hidden;
}

.testimonials__carousel .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.testimonials__carousel .swiper-slide {
    height: auto;
    display: flex;
    width: auto;
    flex-shrink: 0;
}

.testimonial-item {
    width: 100%;
    max-width: 735px;
    display: flex;
    flex-direction: column;
    gap: 56px;
    min-width: 0;
    flex-shrink: 0;
}

/* ============================================
   Quote
   ============================================ */
.testimonial-item__quote {
    position: relative;
    width: 100%;
}

.testimonial-item__quote-icon {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 40px;
    line-height: 26px;
    color: #EAECF0;
    z-index: 0;
}

.testimonial-item__text {
    position: relative;
    margin-left: 72px;
    margin-top: 35px;
    font-family: 'Be Vietnam', sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 140%;
    color: #636D7E;
    margin-bottom: 0;
    z-index: 1;
    width: calc(100% - 72px);
    max-width: 735px;
    min-height: 220px;
}

/* ============================================
   Author
   ============================================ */
.testimonial-item__author {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.testimonial-item__avatar {
    width: 56px;
    height: 81px;
    flex-shrink: 0;
}

.testimonial-item__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
}

.testimonial-item__info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.testimonial-item__name {
    font-family: 'Be Vietnam', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    color: #000000;
    margin: 0;
    font-feature-settings: 'pnum' on, 'lnum' on;
}

.testimonial-item__role {
    font-family: 'Be Vietnam', sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 32px;
    color: #98A2B3;
    margin: 0;
    font-feature-settings: 'pnum' on, 'lnum' on;
}

/* ============================================
   Navigation
   ============================================ */
.testimonials__navigation {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 56px;
    isolation: isolate;
}

.testimonials__nav-btn,
.testimonials__carousel .swiper-button-prev,
.testimonials__carousel .swiper-button-next {
    width: 72px;
    height: 72px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 24px 28px;
    gap: 12px;
    background: #EAECF0;
    border: none;
    border-radius: 72px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 0;
    position: relative;
    margin-top: 0;
}

.testimonials__nav-btn:hover,
.testimonials__carousel .swiper-button-prev:hover,
.testimonials__carousel .swiper-button-next:hover {
    background: #D0D5DD;
}

.testimonials__nav-btn i,
.testimonials__carousel .swiper-button-prev i,
.testimonials__carousel .swiper-button-next i {
    width: 9.33px;
    height: 18.67px;
    color: #667085;
    font-size: 18px;
}

.testimonials__nav-btn--prev,
.testimonials__carousel .swiper-button-prev {
    transform: rotate(-180deg);
}

.testimonials__nav-btn--prev i,
.testimonials__carousel .swiper-button-prev i {
    transform: rotate(-180deg);
}

/* Hide Swiper default arrows */
.testimonials__carousel .swiper-button-prev::after,
.testimonials__carousel .swiper-button-next::after {
    display: none;
}

/* Dots */
.testimonials__dots,
.testimonials__carousel .swiper-pagination {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    isolation: isolate;
    position: relative;
    width: auto;
    bottom: auto;
    left: auto;
    right: auto;
}

.testimonials__dot,
.testimonials__carousel .swiper-pagination-bullet {
    width: 22.25px;
    height: 22.26px;
    box-sizing: border-box;
    background: transparent;
    border: 1px solid #667085;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    flex-shrink: 0;
    margin: 0;
    opacity: 1;
}

.testimonials__dot:hover {
    background: #667085;
}

.testimonials__dot.is-active,
.testimonials__carousel .swiper-pagination-bullet-active {
    background: #667085;
    border-color: #667085;
    box-shadow: inset 0px 4px 4px rgba(0, 0, 0, 0.25);
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1024px) {
    .testimonials__track {
        gap: 60px;
    }

    .testimonial-item {
        flex: 0 0 calc(50% - 30px);
    }

    .testimonials__description-large {
        font-size: 32px;
    }

    .testimonials__description-small {
        font-size: 20px;
    }
    .testimonials__wrapper{
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .section-testimonials {
        padding: 60px 0;
    }

    .testimonials__wrapper {
        gap: 40px;
    }

    .testimonials__track {
        gap: 40px;
        flex-direction: column;
    }

    .testimonial-item {
        flex: 0 0 100%;
    }

    .testimonials__description-large {
        font-size: 28px;
    }

    .testimonials__description-small {
        font-size: 18px;
    }

    .testimonial-item__text {
        font-size: 18px;
        margin-left: 60px;
        margin-top: 30px;
    }

    .testimonial-item__quote-icon {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .section-testimonials {
        padding: 40px 0;
    }

    .testimonials__wrapper {
        gap: 32px;
    }

    .testimonials__description-large {
        font-size: 24px;
    }

    .testimonials__description-small {
        font-size: 16px;
    }

    .testimonial-item__text {
        font-size: 16px;
        margin-left: 50px;
        margin-top: 25px;
    }

    .testimonial-item__quote-icon {
        font-size: 28px;
    }

    .testimonials__nav-btn {
        width: 56px;
        height: 56px;
        padding: 16px 20px;
    }
}

