.testimonial-header {
    width: 100%;
    max-width: 1440px;
    height: 436px;
    background: #FCFAF8;
    padding: 64px 80px;
    margin: 0 auto;
}

.testimonial-container {
    width: 1280px;
    max-width: 1280px;
    height: 308px;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    margin: 0 auto;
}

.testimonial-heading {
    width: 100%;
    height: 36px;
    font-family: Georgia, serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 36px;
    text-align: center;
    color: #000000;
}

.testimonial-card {
    width: 896px;
    max-width: 896px;
    height: 224px;
    background: linear-gradient(90deg, #FFFBEB 0%, #FFF7ED 100%);
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0px 4px 6px -4px rgba(0,0,0,0.1), 0px 10px 15px -3px rgba(0,0,0,0.1);
    position: relative;
}

.testimonial-content {
    width: 800px;
    height: 128px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
    transition: opacity 0.3s ease-in-out;
}

.customer-image {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    padding: 4px;
    border: 4px solid #FFFFFF;
    background: #FFFFFF01;
    box-shadow: 0px 2px 4px -2px rgba(0,0,0,0.1), 0px 4px 6px -1px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.customer-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-text {
    width: 640px;
    height: 112px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 4px;
}

.testimonial-quote {
    width: 100%;
    height: 64px;
    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: 400;
    font-style: italic;
    line-height: 32px;
    color: #000000;
    margin: 0;
}

.rating-stars {
    width: 100px;
    height: 20px;
    display: flex;
    gap: 0;
    position: absolute;
    top: 16px;
    right: 16px;
}

.testimonial-quote {
    width: 100%;
    height: 64px;
    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: 400;
    font-style: italic;
    line-height: 32px;
    color: #000000;
    margin: 0;
}

.testimonial-author {
    width: 100%;
    height: 24px;
    font-family: Inter, sans-serif;
    font-size: 15.5px;
    font-weight: 400;
    line-height: 24px;
    color: #374151;
    margin: 0;
}

.testimonial-nav {
    width: 80px;
    height: 36px;
    display: flex;
    gap: 8px;
    align-self: flex-end;
    margin-right: -32px;
}

.nav-btn-testimonial {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    padding: 8px;
    background: #FFFFFF;
    border: none;
    box-shadow: 0px 1px 2px -1px rgba(0,0,0,0.1), 0px 1px 3px 0px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-btn-testimonial:hover {
    background: #F3F4F6;
}

@media (max-width: 1024px) {
    .testimonial-header {
        padding: 48px 20px;
        height: auto;
    }
    
    .testimonial-container {
        width: 100%;
        height: auto;
        padding: 0;
        gap: 32px;
    }
    
    .testimonial-heading {
        width: 100%;
        font-size: 26px;
        height: auto;
    }
    
    .testimonial-card {
        width: 100%;
        max-width: 600px;
        height: auto;
        padding: 32px;
    }
    
    .testimonial-content {
        width: 100%;
        height: auto;
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .testimonial-text {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .testimonial-header {
        padding: 32px 16px;
    }
    
    .testimonial-heading {
        font-size: 22px;
        line-height: 28px;
    }
    
    .testimonial-card {
        padding: 24px;
    }
    
    .customer-image {
        width: 100px;
        height: 100px;
    }
    
    .customer-image img {
        width: 92px;
        height: 92px;
    }
    
    .testimonial-quote {
        font-size: 20px;
        line-height: 28px;
        height: auto;
    }
    
    .testimonial-author {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .testimonial-header {
        padding: 24px 12px;
    }
    
    .testimonial-heading {
        font-size: 20px;
        line-height: 24px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .customer-image {
        width: 80px;
        height: 80px;
    }
    
    .customer-image img {
        width: 72px;
        height: 72px;
    }
    
    .testimonial-quote {
        font-size: 18px;
        line-height: 24px;
    }
    
    .testimonial-author {
        font-size: 13px;
    }
    
    .testimonial-nav {
        justify-content: center;
    }
    
    .rating-stars {
        justify-content: center;
    }
}