/* Testimonial Ticker Banner Styles */

.testimonial-ticker {
    background: linear-gradient(135deg, var(--primary-green) 0%, #005a2d 100%);
    padding: 1rem 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ticker-wrapper {
    width: 100%;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    gap: 3rem;
    animation: scroll-left 180s linear infinite;
    width: max-content;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    color: var(--white);
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ticker-item strong {
    color: var(--accent-orange);
    font-weight: 600;
}

.ticker-icon {
    font-size: 0.75rem;
    color: #FFD700;
}

/* Pause animation on hover */
.testimonial-ticker:hover .ticker-content {
    animation-play-state: paused;
}

/* Scrolling animation */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .testimonial-ticker {
        padding: 0.75rem 0;
    }
    
    .ticker-item {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
        gap: 0.4rem;
    }
    
    .ticker-content {
        gap: 2rem;
        animation: scroll-left 120s linear infinite;
    }
}

@media (max-width: 480px) {
    .ticker-item {
        font-size: 0.8rem;
        padding: 0.35rem 0.7rem;
    }
    
    .ticker-content {
        gap: 1.5rem;
        animation: scroll-left 100s linear infinite;
    }
    
    .ticker-icon {
        font-size: 0.7rem;
    }
}
