/* TESTIMONIAL SECTION */
.cosmic-testimonials {
    background: #0b0b0f;
    position: relative;
}

.testimonial-column {
    height: 550px;
    overflow: hidden;
    position: relative;
    border-radius: 30px;
}

.mask-down {
    mask-image: linear-gradient(to bottom,
            transparent,
            white 15%,
            white 85%,
            transparent);
}

.mask-up {
    mask-image: linear-gradient(to top,
            transparent,
            white 15%,
            white 85%,
            transparent);
}

.scroll-track {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.scroll-down {
    animation: scrollDown 35s linear infinite;
}

.scroll-up {
    animation: scrollUp 35s linear infinite;
}



@keyframes scrollDown {
    from {
        transform: translateY(0%);
    }

    to {
        transform: translateY(-50%);
    }
}

@keyframes scrollUp {
    from {
        transform: translateY(-50%);
    }

    to {
        transform: translateY(0%);
    }
}

.testimonial-card {
    background: rgba(24, 24, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px;
    border-radius: 24px;
    transition: 0.4s ease;
    backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: #0dcaf0;
    box-shadow: 0 0 25px rgba(13, 202, 240, 0.2);
}

.avatar-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0dcaf0, #6f42c1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 15px;
}

.stars {
    color: #ffc107;
    letter-spacing: 2px;
    font-size: 18px;
}

.testimonial-card p {
    color: #cfcfcf;
    line-height: 1.7;
    margin-bottom: 0;
}

@media(max-width:768px) {
    .testimonial-column {
        height: 500px;
    }
}