/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
    /* padding: 40px 20px; */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-section {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Trustpilot header */
.trustpilot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.trustpilot-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trustpilot-icon {
    background: #00b67a;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

.trustpilot-text {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.rating-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.rating-label {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.stars-rating {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 20px;
    color: #ddd;
}

.star.filled {
    color: #00b67a;
}

.star.half {
    color: #00b67a;
    position: relative;
}

.star.half::after {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    overflow: hidden;
    color: #ddd;
}

.rating-text {
    font-size: 14px;
    color: #666;
}

/* Reviews grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.review-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    background: #fafafa;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e0;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.review-stars {
    display: flex;
    gap: 2px;
}

.review-stars .star {
    font-size: 16px;
}

.review-stars .star.filled {
    color: #00b67a;
}

.review-stars .star.empty {
    color: #ddd;
}

.review-date {
    font-size: 12px;
    color: #666;
}

.review-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.review-text {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
}

.reviewer-name {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

/* Footer */
.reviews-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.reviews-footer p {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Responsive design */
@media (max-width: 768px) {
    .reviews-section {
        padding: 25px;
    }
    
    .trustpilot-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .rating-summary {
        gap: 10px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .review-card {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    body {
        /* padding: 20px 10px; */
    }
    
    .reviews-section {
        padding: 20px;
    }
    
    .trustpilot-text {
        font-size: 20px;
    }
    
    .rating-label {
        font-size: 16px;
    }
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-card {
    animation: fadeInUp 0.6s ease forwards;
}

.review-card:nth-child(1) { animation-delay: 0.1s; }
.review-card:nth-child(2) { animation-delay: 0.2s; }
.review-card:nth-child(3) { animation-delay: 0.3s; }
.review-card:nth-child(4) { animation-delay: 0.4s; }