.review-card {
            margin-bottom: 20px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 307px; /* Fixed height for the card */
            display: flex;
            flex-direction: column;
            overflow: hidden; /* Ensure the card itself doesn't overflow */
        }
        .review-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        }
        .review-card .card-body {
            padding: 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
            overflow: hidden; /* Ensure the body doesn't overflow */
        }
        .review-card .card-text {
            font-size: 1rem;
            color: #555;
            flex: 1;
            overflow-y: auto; /* Add scrollbar for overflow content */
            margin-bottom: 15px;
            padding-right: 10px; /* Add padding to avoid overlap with scrollbar */
        }
        .review-card .rating {
            color: #FFD700;
            font-size: 1rem;
        }
        .review-card .date {
            font-size: 1.1rem;
            color: #000;
            font-weight: 400;
        }
        .profile-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: #4f897f;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: bold;
            margin-right: 15px;
        }
        .review-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }