/* General container styling for Google reviews */
#google-reviews {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    gap: 15px; /* Adds spacing between reviews */
    justify-content: center; /* Centers the reviews */
    margin: 20px 0; /* Adds spacing around the section */
    padding: 10px; /* Optional padding for the container */
}

/* Individual review box styling */
.review {
    flex: 0 0 calc(20% - 20px); /* 5 reviews per row with proper spacing */
    background-color: #fff; /* White background for better contrast */
    border: 1px solid #ccc; /* Light border */
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    padding: 15px; /* Spacing inside the box */
    font-family: Arial, sans-serif; /* Consistent font */
    text-align: left; /* Aligns text to the left */
}

/* Author's name styling */
.review h4 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

/* Star rating styling */
.review .stars {
    color: #FFD700; /* Gold for stars */
    font-size: 14px;
    margin-bottom: 10px;
}

/* Review text styling */
.review p {
    font-size: 14px;
    color: #555; /* Neutral text color */
    margin-bottom: 10px;
}

/* Link styling for "View Full Review" */
.review a {
    font-size: 14px;
    color: #1a73e8; /* Google's blue link color */
    text-decoration: none;
}

.review a:hover {
    text-decoration: underline; /* Underline on hover for clarity */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .review {
        flex: 0 0 calc(48% - 10px); /* 2 reviews per row on medium screens */
    }
}

@media (max-width: 480px) {
    .review {
        flex: 0 0 100%; /* 1 review per row on small screens */
    }
}
