/* Trusted By Section Styles */
.trusted-by {
    text-align: center;
    padding: 15px 0;
    background: linear-gradient(to bottom, rgba(51, 191, 173, 0.03), rgba(51, 191, 173, 0.06));
    border-top: 1px solid rgba(51, 191, 173, 0.1);
    border-bottom: 1px solid rgba(51, 191, 173, 0.1);
    height: auto;
    min-height: 160px;
    width: 100%;
    margin-top: 15px;
    overflow: hidden;
    position: relative;
}

.trusted-by-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 15px;
    overflow: hidden;
    position: relative;
}

.trusted-by-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.trusted-by-logos {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 10px;
    animation: scroll 40s linear infinite;
    width: max-content;
}

.trusted-by-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 5px;
    opacity: 0.7;
    transition: all 0.3s ease;
    width: 120px;
    min-width: 120px;
    flex-shrink: 0;
}

.trusted-by-frame {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #33bfad 0%, rgba(51, 191, 173, 0.3) 100%);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(51, 191, 173, 0.15);
}

.trusted-by-frame img {
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: block;
}

.trusted-by-name {
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    color: var(--text);
    font-weight: 100;
    opacity: 0.9;
    text-align: center;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 3));
    }
}

.trusted-by-logos:hover {
    animation-play-state: paused;
}

/* Hover effects */
.trusted-by-item:hover {
    transform: scale(1.05);
    opacity: 1;
}

.trusted-by-item:hover .trusted-by-frame {
    background: linear-gradient(135deg, #33bfad 0%, cyan 100%);
    box-shadow: 0 0 15px rgba(51, 191, 173, 0.3);
}

.trusted-by-item:hover .trusted-by-name {
    color: #00a976;
    opacity: 1;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .trusted-by-logos {
        animation-duration: 35s;
    }
}

@media (max-width: 768px) {
    .trusted-by-logos {
        animation-duration: 30s;
        gap: 40px;
    }
    .trusted-by-frame {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .trusted-by-logos {
        animation-duration: 25s;
        gap: 30px;
    }
    .trusted-by-frame {
        width: 60px;
        height: 60px;
    }
    .trusted-by-name {
        font-size: 10px;
    }
}
