.review-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: auto;
}
.review-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
@media (max-width: 1024px) {
    .review-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .review-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
.profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}
.stars {
    display: flex;
    justify-content: center;
    position: relative;
    font-size: 20px;
    letter-spacing: 3px;
    margin: 5px 0;
}
.stars::before {
    content: "★★★★★";
    color: #ccc;
}
.stars::after {
    content: "★★★★★";
    color: #FFD700;
    position: absolute;
    top: 0;
    left: 0;
    width: var(--rating, 100%);
    overflow: hidden;
    white-space: nowrap;
}
.review-text {
    font-size: 14px;
    color: #555;
    margin-top: 10px;
    text-align: center;
}
.review-meta {
    font-size: 12px;
    color: #777;
    margin-bottom: 10px;
}
.reviews-footer {
    text-align: center;
    margin-top: 20px;
}

.reviews-button {
    display: inline-block;
    background-color: #1877f2;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}
.reviews-button:visited,
.reviews-button:focus,
.reviews-button:hover,
.reviews-button:active {
    background-color: white;
    color: #1877f2;
    border: 2px solid #1877f2;
}
.fbreviews {
    padding: 0 1.5rem;
    margin-bottom: 3.7rem;
    padding-bottom: 3rem;
}
.fbreviews h2 {
    font-size: 1.8rem;
    padding: 0 2.4rem;
    margin: 2.5rem 0 1.4rem 0;
    display: block;
    color: #373737;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}
.hidden-review { 
    display: none; 
}
#showMoreReviews, #showLessReviews {
    font-size: 1.4rem;
    text-decoration: underline;
    color: #373737;
    font-weight: 700;
    margin: 0;
    display: block;
    cursor: pointer;
    width: 100%;
    position: relative;
    padding: 0 15px 15px 15px;
}
