.trusted-companies {
    width: 100%;

    text-align: center;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.header {
    margin-bottom: 40px;
    color: white;
}

.header h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.carousel-wrapper {
    position: relative;
    height: 400px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.carousel-trusted-companies {
    height: 100%;
    width: 100%;
    position: relative;
}

.carousel-track {
    display: flex;
    height: 100%;
    position: absolute;
    left: 0;
    animation: scroll 30s linear infinite;
    will-change: transform;
}

.carousel-item {
    height: 100%;
    width: 235px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.carousel-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.logo-trusted-companies {
    width: 200px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border-radius: 20px;
    background: white;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s 
ease;

}

.carousel-item:hover .logo-trusted-companies {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.logo {
    font-size: 3.5rem;
    color: #333;
}

.company-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    pointer-events: none;
    z-index: 10;
}

.control-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 20;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.control-btn:active {
    transform: scale(0.95);
}

.instructions {
    margin-top: 30px;
    color: white;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

@media (max-width: 768px) {
    .carousel-item {
        width: 250px;
    }

    .header h1 {
        font-size: 2.2rem;
    }

    .control-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}