/* CSS Variables for consistent colors and spacing */
:root {
    --what-our-customer-say-color-white: #FFFFFF;
    --what-our-customer-say-color-black: #000000;
    --what-our-customer-say-color-dark-gray: #555555;
    --what-our-customer-say-color-light-gray: #E0E0E0;
    --what-our-customer-say-color-gold: #FFD700;
    --what-our-customer-say-color-blue: #007BFF;
    --what-our-customer-say-color-shadow: rgba(0, 0, 0, 0.08);
    --what-our-customer-say-font-family: 'Inter', sans-serif;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--what-our-customer-say-font-family);
    background-color: var(--what-our-customer-say-color-white);
    line-height: 1.5;
}

/* Main section */
.what-our-customer-say {
    background-color: var(--what-our-customer-say-color-white);
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.what-our-customer-say__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Header section */
.what-our-customer-say__header {
    text-align: center;
    margin-bottom: 80px;
}

.what-our-customer-say__title {
    font-family: var(--what-our-customer-say-font-family);
    font-size: 48px;
    font-weight: 700;
    color: var(--what-our-customer-say-color-black);
    margin-bottom: 20px;
    line-height: 1.2;
}

.what-our-customer-say__subtitle {
    font-family: var(--what-our-customer-say-font-family);
    font-size: 18px;
    font-weight: 400;
    color: var(--what-our-customer-say-color-dark-gray);
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

/* Testimonials grid */
.what-our-customer-say__testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

/* Individual testimonial card */
.what-our-customer-say__testimonial-card {
    background-color: var(--what-our-customer-say-color-white);
    border-radius: 10px;
    box-shadow: 0 4px 12px var(--what-our-customer-say-color-shadow);
    padding: 32px;
    position: relative;
    height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Quote mark */
.what-our-customer-say__quote-mark {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 50px;
    color: var(--what-our-customer-say-color-light-gray);
    font-weight: 700;
    line-height: 1;
    z-index: 1;
}

/* Stars */
.what-our-customer-say__stars {
    display: flex;
    gap: 4px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.what-our-customer-say__footer-stars {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-bottom: 12px;
}

.what-our-customer-say__star {
    color: var(--what-our-customer-say-color-gold);
    font-size: 20px;
    line-height: 1;
}

/* Testimonial text */
.what-our-customer-say__testimonial-text {
    font-family: var(--what-our-customer-say-font-family);
    font-size: 18px;
    font-weight: 400;
    color: var(--what-our-customer-say-color-dark-gray);
    line-height: 1.5;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Customer info */
.what-our-customer-say__customer-info {
    margin-top: auto;
}

.what-our-customer-say__customer-name {
    font-family: var(--what-our-customer-say-font-family);
    font-size: 20px;
    font-weight: 700;
    color: var(--what-our-customer-say-color-black);
    margin-bottom: 4px;
    line-height: 1.2;
}

.what-our-customer-say__customer-location {
    font-family: var(--what-our-customer-say-font-family);
    font-size: 16px;
    font-weight: 400;
    color: var(--what-our-customer-say-color-dark-gray);
    margin-bottom: 8px;
    line-height: 1.2;
}

.what-our-customer-say__purchased-item {
    font-family: var(--what-our-customer-say-font-family);
    font-size: 16px;
    font-weight: 400;
    color: var(--what-our-customer-say-color-blue);
    text-decoration: none;
    line-height: 1.2;
}

/* Footer section */
.what-our-customer-say__footer {
    text-align: center;
}

.what-our-customer-say__average-rating {
    font-family: var(--what-our-customer-say-font-family);
    font-size: 18px;
    font-weight: 400;
    color: var(--what-our-customer-say-color-dark-gray);
    line-height: 1.5;
}

/* Responsive design */
@media (max-width: 1024px) {
    .what-our-customer-say__testimonials {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .what-our-customer-say__testimonial-card {
        height: auto;
        min-height: 320px;
    }
}

@media (max-width: 768px) {
    .what-our-customer-say {
        padding: 60px 0;
    }
    
    .what-our-customer-say__container {
        padding: 0 16px;
    }
    
    .what-our-customer-say__header {
        margin-bottom: 60px;
    }
    
    .what-our-customer-say__title {
        font-size: 36px;
    }
    
    .what-our-customer-say__subtitle {
        font-size: 16px;
    }
    
    .what-our-customer-say__testimonials {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 60px;
    }
    
    .what-our-customer-say__testimonial-card {
        height: auto;
        min-height: 300px;
        padding: 24px;
    }
    
    .what-our-customer-say__quote-mark {
        font-size: 40px;
        top: 16px;
        left: 16px;
    }
    
    .what-our-customer-say__testimonial-text {
        font-size: 16px;
    }
    
    .what-our-customer-say__customer-name {
        font-size: 18px;
    }
    
    .what-our-customer-say__customer-location,
    .what-our-customer-say__purchased-item {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .what-our-customer-say {
        padding: 40px 0;
    }
    
    .what-our-customer-say__title {
        font-size: 28px;
    }
    
    .what-our-customer-say__subtitle {
        font-size: 14px;
    }
    
    .what-our-customer-say__testimonial-card {
        padding: 20px;
        min-height: 280px;
    }
    
    .what-our-customer-say__quote-mark {
        font-size: 35px;
        top: 12px;
        left: 12px;
    }
    
    .what-our-customer-say__star {
        font-size: 18px;
    }
    
    .what-our-customer-say__testimonial-text {
        font-size: 15px;
    }
    
    .what-our-customer-say__customer-name {
        font-size: 16px;
    }
    
    .what-our-customer-say__customer-location,
    .what-our-customer-say__purchased-item {
        font-size: 13px;
    }
    
    .what-our-customer-say__average-rating {
        font-size: 16px;
    }
}
