/* Testimonial Slider Widget Styles */

.testimonial-slider-wrapper {
    padding: 60px 20px;
    min-height: 600px;
}

.testimonial-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 100px;
}

.section-title {
    font-size: 3rem;
    font-weight: 300;
    margin: 0;
}

.section-title span {
    font-weight: 700;
}

.cards-container {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.testimonial-card {
    position: absolute;
    width: 90%;
    max-width: 1300px;
    border-radius: 25px;
    padding: 60px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    transition: all 0.5s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.testimonial-card.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    z-index: 10;
}

.testimonial-card.stack-1 {
    transform: translateY(-25px) scale(0.98);
    opacity: 1;
    z-index: 9;
}

.testimonial-card.stack-2 {
    transform: translateY(-50px) scale(0.96);
    opacity: 1;
    z-index: 8;
}

.testimonial-card.hidden {
    transform: translateY(50px) scale(0.9);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

.card-content {
    flex: 1;
}

.quote-icon {
    font-size: 6rem;
    color: #444;
    line-height: 0.8;
    margin-bottom: 20px;
    font-family: Georgia, serif;
}

.stars {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
}

.star {
    font-size: 2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.author {
    font-size: 1rem;
}

.author-name {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.author-role {
    opacity: 0.8;
}

.card-image {
    flex-shrink: 0;
    width: 320px;
    height: 320px;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-icon {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.3);
}

.decorative-cards {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1300px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    z-index: 5;
}

.decorative-card {
    height: 35px;
    border-radius: 25px;
    width: 100%;
}

.controls {
    text-align: center;
    margin-top: 60px;
}

.see-all {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 30px;
    cursor: pointer;
    transition: color 0.3s;
}

.see-all:hover {
    opacity: 0.8;
}

.nav-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.nav-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.3s;
    color: #ffffff;
}

.nav-btn.next-btn {
    background: transparent !important;
    border: 4px solid;
}

.nav-btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .testimonial-card {
        padding: 50px 60px;
        gap: 60px;
    }

    .card-image {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .testimonial-card {
        flex-direction: column;
        padding: 40px;
        height: auto;
    }

    .card-image {
        width: 250px;
        height: 250px;
    }

    .cards-container {
        height: 650px;
    }

    .quote-icon {
        font-size: 4rem;
    }

    .nav-btn {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }

    .testimonial-card {
        padding: 30px;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .card-image {
        width: 200px;
        height: 200px;
    }

    .nav-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}
