/* 
* Clients Section Styles
*/

.clients {
    background-color: var(--bg-light);
}

/* Testimonials Styles */
.testimonials-container {
    margin-top: 5rem;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.testimonials-slider {
    display: flex;
    gap: 2rem;
    padding: 2rem 1.5rem;
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial-card {
    flex: 0 0 100%;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.05);
    padding: 3rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0 auto;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-rating {
    margin-bottom: 1.5rem;
}

.testimonial-rating i {
    color: var(--secondary-color);
    font-size: 1.6rem;
    margin-right: 0.3rem;
}

.testimonial-text {
    font-size: 1.6rem;
    color: var(--text-dark);
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1.5rem;
    border: 3px solid var(--primary-color);
}

.testimonial-name {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.testimonial-position {
    font-size: 1.4rem;
    color: var(--text-muted);
}

.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
}

.testimonial-arrow {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background-color: #fff;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.testimonial-arrow:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.testimonial-dots {
    display: flex;
    align-items: center;
    margin: 0 2rem;
}

.dot {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.banner-container {
    margin-top: 8rem;
    padding: 0 1.5rem;
}

.banner-blue {
    background-color: var(--primary-color);
    background-image: url('../../assets/images/secondary-banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 1rem;
    padding: 4rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 20rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.banner-placeholder {
    display: none;
}

.banner-placeholder p {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.banner-placeholder small {
    font-size: 1.4rem;
    opacity: 0.8;
}

.banner-blue:hover {
    transform: translateY(-3px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}
.banner-blue.with-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-blue.with-image .banner-placeholder {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 0.5rem;
}

.banner-text {
    text-align: left;
    position: relative;
    max-width: 70%;
    margin-left: auto;
    padding: 3rem 4rem 3rem 8rem;
    text-align: right;
    color: #fff;
    z-index: 2;
    border-radius: 0 1rem 1rem 0;
    margin-right: -1.5rem;
}

.banner-text p {
    overflow: hidden;
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.banner-text .banner-second-text {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.banner-text small {
    font-size: 1.4rem;
    opacity: 0.8;
}

.videos-section {
    position: relative;
    margin: 5rem auto 0;
    max-width: 1200px;
    overflow: hidden;
    padding: 0 3rem;
}

.vídeos-container {
    position: relative;
    overflow: hidden;
    margin: 0 -1rem;
    padding: 1rem 0;
}

.vídeos-slider {
    display: flex;
    gap: 2rem;
    padding: 1rem;
    transition: transform 0.5s ease;
    will-change: transform;
}

.vídeos-card {
    flex: 0 0 calc(33.333% - 1.33rem);
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    margin: 0 0.5rem;
    min-width: 0;
}

.vídeos-card video {
    width: 100%;
    border-radius: 0.5rem;
    object-fit: cover;
    margin-bottom: 1rem;
}

.vídeos-info {
    padding: 0.5rem 0;
}

.vídeos-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #2c3e50;
}

.vídeos-position {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin: 0;
}

.slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.slider-btn {
    background: #2c3e50;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slider-btn:hover:not(:disabled) {
    background: #1a252f;
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #bdc3c7;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #2c3e50;
    transform: scale(1.2);
}

.admin-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.admin-item {
    flex: 0 0 calc(33.333% - 1rem);
    text-align: center;
}

.admin-logo {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .vídeos-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .vídeos-card {
        flex: 0 0 calc(100% - 1rem);
    }
    
    .videos-section {
        padding: 0 1rem;
    }
}


/* Tablet */
@media (max-width: 991px) {
    .banner-text {
        max-width: 80%;
        padding: 2.5rem 3rem 2.5rem 6rem;
    }
    
    .banner-text p,
    .banner-text .banner-second-text {
        font-size: 2.2rem;
    }
}

/* Small Tablet */
@media (max-width: 768px) {
    .banner-container {
        margin-top: 6rem;
        padding: 0 1rem;
    }
    
    .banner-blue {
        min-height: 25rem;
        justify-content: center;
        background-position: 70% center;
    }
    
    .banner-text {
        max-width: 100%;
        margin: 0;
        padding: 2.5rem 2rem;
        text-align: center; 
        border-radius: 1rem;
        margin-right: 0;
    }
    
    .banner-text p,
    .banner-text .banner-second-text {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .banner-text small {
        font-size: 1.3rem;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .banner-container {
        margin-top: 5rem;
        padding: 0 0.5rem;
    }
    
    .banner-blue {
        min-height: 22rem;
        padding: 1.5rem 0.5rem;
    }
    
    .banner-text {
        padding: 2rem 1.5rem;
    }
    
    .banner-text p,
    .banner-text .banner-second-text {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .banner-text small {
        font-size: 1.2rem;
        line-height: 1.5;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .testimonials-slider {
        flex-wrap: wrap;
        justify-content: space-between;
        overflow: visible;
        gap: 2rem;
        padding: 2rem 0;
    }
    
    .testimonial-card {
        flex: 0 0 calc(33.333% - 1.5rem);
        max-width: none;
        margin: 0;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .testimonial-card {
        min-width: calc(50% - 2rem);
    }
}

/* Tablet */
@media (max-width: 991px) {
    .testimonial-card {
        min-width: calc(50% - 1rem);
    }
}

/* Mobile carrusel*/
@media (max-width: 768px) {
    .testimonials-slider {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-padding: 0 1.5rem;
        padding-bottom: 1rem;
    }
    
    .testimonial-card {
        scroll-snap-align: start;
        min-width: 85%;
        margin: 0 1.5rem;
    }
    
    .testimonials-slider::-webkit-scrollbar {
        display: none;
    }
    
    .testimonials-slider {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    
    .partners-logos {
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .testimonial-card {
        padding: 2rem;
    }
    
    .testimonial-avatar {
        width: 5rem;
        height: 5rem;
    }
    
    .testimonial-name {
        font-size: 1.6rem;
    }
    
    .testimonial-text {
        font-size: 1.5rem;
    }
}
