.review-hub-section {
    padding: 120px 0;
    background-color: #0b0b0b;
    overflow: hidden;
    position: relative;
}

.review-hub-header {
    text-align: center;
    margin-bottom: 80px;
}

.review-badge {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

/* Marquee Container */
.review-marquee-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.review-marquee-row {
    display: flex;
    width: fit-content;
    gap: 30px;
}

/* Animations */
.review-marquee-row.move-left {
    animation: review-marquee-left 40s linear infinite;
}

.review-marquee-row.move-right {
    animation: review-marquee-right 40s linear infinite;
}

@keyframes review-marquee-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes review-marquee-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

.review-card-item {
    width: 320px;
    height: 400px; /* Increased height as requested (400px) */
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 40px;
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures content is spaced out in the taller card */
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.review-card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.review-card-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.review-card-item:hover::before {
    opacity: 1;
}

.review-text-content {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.review-user-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.profile-avatar-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(168, 85, 247, 0.3);
}

.profile-avatar-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name-info h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 2px;
}

.profile-name-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .review-card-item {
        width: 280px;
        height: 350px;
        padding: 30px;
    }
}
