/* Testimonial Carousel Styles */

.partners-recognition-section {
    width: 100%;
}

.section-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.section-title {
    font-size: 48px;
    font-weight: 400;
    color: #000000;
    margin: 0 0 20px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #666666;
    margin: 0 0 40px;
}

/* Partner Avatars */
.partner-avatars {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.partner-avatar {
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1
}

.partner-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    width: 30px;
    aspect-ratio: 1
}

/* Carousel Wrapper - Full Width */
.testimonial-carousel-wrapper {
    position: relative;
    width: 100%;
    padding: 0 0px;
}

/* Carousel Container */
.testimonial-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 30px;
}

/* Testimonial Card */
.testimonial-card {
    flex: 0 0 calc(400px - 20px);
    min-width: calc(400px - 20px);
    background: #F7F7F7;
    border-radius: 12px;
    padding: 25px 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.4s ease;
    opacity: 0.7;
    /*transform: scale(0.95);*/
}

/* Center active card - Always in the middle */
.testimonial-card.active {
    background: #161616;
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Side cards (visible but smaller) */
.testimonial-card.side {
    opacity: 0.7;
}

.testimonial-card.hidden {
    opacity: 0.3;
}

/* Rating Stars */
.testimonial-rating {
    display: flex;
    gap: 4px;
    font-size: 20px;
}

.testimonial-card .star {
    color: #E0E0E0;
    transition: color 0.3s ease;
}

.testimonial-card .star.filled {
    color: #FFD700;
}

.testimonial-card.active .star {
    color: #555555;
}

.testimonial-card.active .star.filled {
    color: #FFD700;
}

/* Testimonial Content */
.testimonial-content {
    flex: 1;
}

.testimonial-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #4A4949;
    margin: 0;
    font-weight: 300;
}

.testimonial-card.active .testimonial-content p {
    color: #ffffff;
}

/* Author Info */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 99px!important;
    object-fit: cover;
    border: 2px solid #ffffff;
    background: #e0e0e0;
}

.author-name {
    font-size: 14px;
    font-weight: 300;
    color: #4A4949;
}

.testimonial-card.active .author-name {
    color: #ffffff;
}

/* Navigation Buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50px;
    background: #F0EEEE;
    border: 0px solid #E0E0E0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: #000;
    padding: 6px;
}

.carousel-nav:hover {
    background: #f5f5f5;
    border-color: #333333;
    transform: translateY(-50%) scale(1.05);
}

.carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .testimonial-card {
        flex: 0 0 calc(35% - 20px);
        min-width: calc(35% - 20px);
    }
}

@media (max-width: 1200px) {
    .testimonial-card {
        flex: 0 0 calc(40% - 20px);
        min-width: calc(40% - 20px);
    }
}

@media (max-width: 992px) {
    .testimonial-carousel-wrapper {
        padding: 0 60px;
    }
    
    .testimonial-card {
        flex: 0 0 calc(50% - 20px);
        min-width: calc(50% - 20px);
    }
    
    .section-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .testimonial-carousel-wrapper {
        padding: 0 50px;
    }
    
    .testimonial-card {
        flex: 0 0 calc(80% - 20px);
        min-width: calc(80% - 20px);
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .partner-avatars {
        gap: 8px;
    }
    
    .partner-avatar {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .partners-recognition-section {
        padding: 0px 0;
    }
    
    .testimonial-carousel-wrapper {
        padding: 0 40px;
    }
    
    .testimonial-card {
        flex: 0 0 calc(100% - 20px);
        min-width: calc(100% - 20px);
        padding: 30px 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
}