.reviews-section {
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.reviews-section h2,
.reviews-section h3 {
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: left;
}

.review-item {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 20px;
    animation: fadeIn 0.4s ease-out forwards;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: bold;
}

.review-rating {
    color: #ffc107;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.review-comment {
    color: var(--gray);
    line-height: 1.5;
}

/* Form styling */
.reviews-section form {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: left;
}

.reviews-section .form-group {
    margin-bottom: 20px;
}

.reviews-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.reviews-section input,
.reviews-section textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
}

.reviews-section .star-rating {
    display: flex;
    gap: 5px;
    font-size: 1.5rem;
    justify-content: center;
    margin-bottom: 10px;
}

.reviews-section .star {
    cursor: pointer;
    color: #ccc;
    transition: color 0.2s;
}

.reviews-section .star:hover,
.reviews-section .star.selected {
    color: gold;
}

.reviews-section .btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    font-size: 1rem;
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.reviews-section .btn:hover {
    background-color: var(--primary-dark);
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
