/* Marquee 3D Styles */
.marquee-3d-container {
    position: relative;
    width: 100%;
    height: 400px;
    perspective: 800px;
    overflow: hidden;
}

.marquee-3d-wrapper {
    display: flex;
    gap: 1rem;
    height: 100%;
    transform: translateX(-50px) translateY(0px) translateZ(-50px) rotateX(15deg) rotateY(-8deg) rotateZ(15deg);
    transform-style: preserve-3d;
}

.marquee-column {
    flex: 1;
    min-width: 200px;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.marquee-column[data-direction="up"] .marquee-content {
    animation-name: marqueeUp;
    animation-duration: 60s;
}

.marquee-column[data-direction="down"] .marquee-content {
    animation-name: marqueeDown;
    animation-duration: 60s;
}

.marquee-column:hover .marquee-content {
    animation-play-state: paused;
}

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

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

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

    to {
        transform: translateY(0);
    }
}

.testimonial-card {
    background: rgba(31, 41, 55, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 150px;
}

.testimonial-card:hover {
    background: rgba(31, 41, 55, 0.7);
    border-color: rgba(34, 211, 238, 0.3);
    transform: translateY(-2px);
}

.testimonial-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22d3ee, #3b82f6);
}

/* Gradient Overlays */
.marquee-gradient {
    position: absolute;
    pointer-events: none;
    z-index: 10;
}

.marquee-gradient-top {
    top: 0;
    left: 0;
    right: 0;
    height: 25%;
    background: linear-gradient(to bottom, #0a0a0a, transparent);
}

.marquee-gradient-bottom {
    bottom: 0;
    left: 0;
    right: 0;
    height: 25%;
    background: linear-gradient(to top, #0a0a0a, transparent);
}

.marquee-gradient-left {
    top: 0;
    bottom: 0;
    left: 0;
    width: 15%;
    background: linear-gradient(to right, #0a0a0a, transparent);
}

.marquee-gradient-right {
    top: 0;
    bottom: 0;
    right: 0;
    width: 15%;
    background: linear-gradient(to left, #0a0a0a, transparent);
}

/* Responsive */
@media (max-width: 768px) {
    .marquee-3d-container {
        height: 300px;
    }

    .marquee-3d-wrapper {
        transform: translateX(-20px) translateY(0px) translateZ(-30px) rotateX(10deg) rotateY(-5deg) rotateZ(10deg);
    }

    .marquee-column {
        min-width: 150px;
    }

    .testimonial-card {
        min-height: 120px;
        padding: 0.75rem;
    }
}