/* Custom Effects for Datasyncsa */

:root {
    --primary: #2ca65b;
}

#hero-title {
    position: relative;
    cursor: default;
}

.char {
    display: inline-block;
    transition: transform 0.2s ease, color 0.2s ease;
}

.char:hover {
    color: var(--primary);
    transform: translateY(-5px) scale(1.1);
}

/* Gradient Shimmer Effect */
.shimmer {
    background: linear-gradient(90deg,
            currentColor 0%,
            #2ca65b 50%,
            currentColor 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

/* Infinite Scroll Logic */
.logo-carousel-container {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    /* Minimal side fade */
    mask-image: linear-gradient(90deg, transparent, #fff 5%, #fff 95%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #fff 5%, #fff 95%, transparent);
    padding: 10px 0;
    /* Minimal vertical padding */
}

.logo-carousel-group {
    display: flex;
    white-space: nowrap;
    animation: scroll 40s linear infinite;
    flex-shrink: 0;
}

.logo-carousel-container:hover .logo-carousel-group {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.logo-item {
    flex: 0 0 auto;
    width: auto;
    /* Allow items to shrink to their content width */
    margin: 0 10px;
    /* Minimal margin for maximum closeness */
    height: 160px;
    /* Doubled height */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    filter: grayscale(100%);
    opacity: 0.5;
}

.logo-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.testimonial-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-4px);
}