/* Main Section Container */
.testimonials-section {
    background-color: var(--powder-white);
    padding: var(--section-break-m) 0px var(--section-break-xl);
}

.testimonials-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1260px;
    margin: 0px auto;
}

/* Section Title */
.testimonials-title {
    padding-bottom: 36px;
    text-align: center;
}

.testimonials-title p {
    font-family: 'Blinker', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.4;
    color: var(--iron);
    margin: 0;
    white-space: pre-wrap;
}

/* Cards Container */
.testimonials-cards {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
}

/* Swiper Container */
.testimonials-swiper {
    width: 100%;
}

.swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
}

/* Navigation Buttons */
.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    transition: opacity 0.2s ease;
    position: relative;
    z-index: 10;
}

.testimonials-nav:hover {
    opacity: 0.7;
}

.testimonials-nav.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.testimonials-nav i {
    font-size: 32px;
    color: var(--steel);
    line-height: 0;
}

/* Testimonial Card */
.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--m);
    background-color: var(--white);
    border-radius: var(--xs);
    padding: var(--l) var(--l) 12px;
    min-height: 380px;
    height: 400px;
    box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    flex-shrink: 0;
}
.testimonials-nav.testimonials-nav-prev{
    left: 20px;
}
.testimonials-nav.testimonials-nav-next{
    right: 20px;
}

/* Avatar */
.testimonial-avatar {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content */
.testimonial-content {
    display: flex;
    flex-direction: column;
    gap: var(--s);
    width: 100%;
    text-align: center;
}

/* Testimonial Text */
.testimonial-text {
    font-family: 'Blinker', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    color: var(--iron);
    margin: 0;
    white-space: pre-wrap;
}

/* Author Info */
.testimonial-author {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.testimonial-name {
    font-family: 'Blinker', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.5;
    color: var(--blue);
    margin: 0;
}

.testimonial-business {
    font-family: 'Blinker', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: var(--iron);
    margin: 0;
}
.testimonials-container .swiper-slide {
    flex-direction: column;
    height: auto
}
.swiper.testimonials-swiper {
    max-width: 1128px;
    padding: 5px 7px 15px 7px;
}

.testimonials-cards .swiper-button-next:after, 
.testimonials-cards .swiper-button-prev:after{
    display: none;
}
.cta-wrpr .col-sm-12,
.testimonials-swiper-wrpr .col-sm-12{
    padding-left: 0px;
    padding-right: 0px;
}
.testimonials-cards .testimonials-nav{
    width: 20px;
    height: 32px;
}


/* Responsive Design */
@media screen and (max-width: 1440px) {
    .testimonials-cards {
        padding-left: 100px;
        padding-right: 100px;
    }
}

@media screen and (max-width: 1200px) {
    .testimonials-cards {
        padding-left: 60px;
        padding-right: 60px;
        gap: var(--s);
    }
    
    .testimonial-card {
        width: 100%;
        height: 100%;
    }
}
@media screen and (max-width: 1440px) and (min-width: 1025px) {
    .testimonials-nav.testimonials-nav-prev {
        left: -10px;
    }
    .testimonials-nav.testimonials-nav-next {
        right: -10px;
    }
}
@media screen and (max-width: 1024px) {
    .testimonials-cards {
        padding-left: 0px;
        padding-right: 0px;
        gap: 17px;
    }
    .testimonials-container .swiper-wrapper {
        justify-content: normal;
    }
    .testimonials-section {
        padding: var(--section-break-m) var(--xl) 45px var(--xl) !important;
    }
    .swiper.testimonials-swiper {
        padding-top: 5px;
        padding-bottom: 15px;
        padding-left: 0px;
        padding-right: 0px;
    }
    .swiper.testimonials-swiper .swiper-slide {
        padding: 0px 7px;
    }
    .testimonial-card {
        width: 100%;
    }
    .testimonials-cards .swiper-button-next, 
    .testimonials-cards .swiper-button-prev{
        position:unset;

    }
    .testimonial-card {
        min-height: auto;
        height: 380px;
        padding-left: var(--m);
        padding-right: var(--m);
    }
    .testimonial-avatar {
        width: 60px;
        height: 60px;
    }
    .testimonial-text {
        font-size: 14px;
    }
    .testimonial-name {
        font-size: 16px;
    }
    .testimonial-business {
        font-size: 12px;
    }
}

@media screen and (max-width: 767px) {
    .testimonials-section {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
    .testimonials-cards {
        padding-left: 5px;
        padding-right: 5px;
        gap: 7px;
    }
    
    .testimonial-card {
        width: 100%;
        max-width: fit-content;
    }
    .testimonials-cards .swiper-button-prev {
        left: 0px;
    }
    .testimonials-cards .swiper-button-next{
        right: 0px;
    }
    .swiper.testimonials-swiper{
        padding-left: 0px;
        padding-right: 0px;
    }
    .testimonial-card{
        height: 350px;
    }
    .testimonial-card {
        margin: auto;
    }
}
@media screen and (max-width: 375px) {
    .testimonial-card{
        height: 380px;
    }
}

