.contenedor-empresas {
    text-align: center;
    padding: 40px 20px;
    background-image: linear-gradient(135deg, #c8a060, #f4dba3, #c8a060);
    color: #080509;
}

.contenedor-empresas .titulo-seccion {
    background: linear-gradient(71deg, #080509, #1a171c, #080509);
    -webkit-background-clip: text;
    color: transparent;
    font-weight: bold;
    font-size: 30px;
    margin-bottom: 20px;
}

.carousel-container {
    overflow: hidden;
    max-width: 90%;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
}

.carousel-wrapper {
    display: flex;
    width: 100%;
    justify-content: center;
}

.carousel {
    display: flex;
    width: max-content;
    animation: scroll 10s linear infinite;
}

.empresa {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 15px;
}

.empresa img {
    background-color: #fff;
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    padding: 10px;
    transition: transform 0.3s ease-in-out;
}

.empresa img:hover {
    transform: perspective(300px) rotateX(15deg) scale(1.1);
}

.empresa p {
    margin-top: 10px;
    background: linear-gradient(71deg, #130c15, #1a171c, #130c15);
    -webkit-background-clip: text;
    color: transparent;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 20px;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Media Query para pantallas pequeñas, hasta 250px de ancho */
@media (max-width: 250px) {
    .contenedor-empresas .titulo-seccion {
        font-size: 18px;
    }

    .empresa img {
        width: 60px;  /* Ajuste de tamaño de la imagen */
        height: 60px; /* Ajuste de tamaño de la imagen */
    }

    .empresa p {
        font-size: 12px; /* Ajuste del tamaño del texto */
    }
}

/* Media Query para pantallas pequeñas (hasta 768px de ancho) */
@media (max-width: 768px) {
    .contenedor-empresas .titulo-seccion {
        font-size: 28px;
    }
    .empresa img {
        width: 100px;
        height: 100px;
    }
}

/* Media Query para pantallas muy pequeñas (hasta 480px de ancho) */
@media (max-width: 480px) {
    .empresa img {
        width: 80px;
        height: 80px;
    }
}