.testimonials-section {
    background: #000;
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.testimonials-btn {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 30px;
    padding: 7px 32px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.testimonials-btn:hover {
    background: #fff;
    color: #000;
}

.testimonials-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: 1px;
}

.testimonials-desc {
    font-size: 1.15rem;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.testimonial-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-card.active {
    display: block;
    opacity: 1;
}

.testimonial-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid #ffd700;
    border-radius: 20px;
    padding: 0;
    display: flex;
    align-items: stretch;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.testimonial-text {
    flex: 1;
    padding: 2.5rem;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 2rem;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.author-info {
    margin-left: 0;
}

.author-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
    position: relative;
    padding-left: 30px;
}

.author-name::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 3px;
    background: #ffd700;
}

.author-position {
    font-size: 0.95rem;
    color: #ccc;
    margin: 0;
    padding-left: 30px;
}

.testimonial-controls {
    display: flex;
    gap: 10px;
}

.control-btn {
    background: #ffd700;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.control-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

.testimonial-image {
    flex: 0 0 300px;
    position: relative;
    background: #ffd700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    border: 3px solid #000;
}

.testimonial-dots {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.3);
}

.dot:hover {
    background: #fff;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .testimonials-title {
        font-size: 1.8rem;
    }
    
    .testimonials-desc {
        font-size: 1rem;
    }
    
    .testimonial-image {
        flex: 0 0 250px;
    }
    
    .testimonial-text {
        padding: 2rem;
    }
    
    .testimonial-text p {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonials-title {
        font-size: 1.5rem;
    }
    
    .testimonial-content {
        flex-direction: column;
        min-height: auto;
    }
    
    .testimonial-image {
        flex: none;
        height: 200px;
        order: -1;
    }
    
    .testimonial-text {
        padding: 1.5rem;
    }
    
    .testimonial-dots {
        top: 15px;
        right: 15px;
        flex-direction: row;
    }
    
    .control-btn {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 575.98px) {
    .testimonials-btn {
        padding: 8px 24px;
        font-size: 1rem;
    }
    
    .testimonials-title {
        font-size: 1.2rem;
    }
    
    .testimonial-text {
        padding: 1.2rem;
    }
    
    .testimonial-text p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .author-name {
        font-size: 1.1rem;
    }
    
    .author-position {
        font-size: 0.85rem;
    }
}