
/* Fondo azul degradado */
.bg-gradient-primary {
    background: linear-gradient(90deg, #004080, #0066cc);
    /* color: #004080; */
}
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.color-text {
    background: linear-gradient(90deg, #004080, #0066cc);
    background-size: 200% 200%;
    /* -webkit-background-clip: text; */
    -webkit-text-fill-color: transparent;
    animation: gradientMove 5s ease-in-out infinite;
}


/* Efecto hover en los enlaces */
.nav-link {
    transition: all 0.3s ease-in-out;
}
.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
}

/* Active style */
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.3);
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.color-text {
    background-image: linear-gradient(90deg, #004080, #0066cc);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: gradientMove 5s ease-in-out infinite;
}
.caja {
    border-radius: 50px;
    background: #0051A2;
    box-shadow:
        inset 29px 29px 57px #00458a,
        inset -29px -29px 57px #005dba;
    transition: all 0.3s ease-in-out; /* Transición suave */
}
/* caso para las cajas de app */

.caja:hover {
    background: #5995d6; /* Color más claro al pasar el mouse */
    box-shadow:
        inset 10px 10px 20px #5995d6,
        inset -10px -10px 20px #5995d6;
}

.img_caja {
    max-width: 100%;
    height: auto;
}
/* ***************** */
/* caso para servicio */
/* ***************** */
/* Contenedor principal con desplazamiento horizontal */
.accordion-ribbon {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 10px;
    scrollbar-width: thin;
    -ms-overflow-style: none;
}
.accordion-ribbon::-webkit-scrollbar {
    display: none;
}

.ribbon-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.accordion-item:hover .ribbon-img {
    transform: scale(1.03);
}

.accordion-item.open {
    max-height: 600px;
}

.ribbon-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    background: rgba(163, 161, 161, 0.7);
    color: white;
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.accordion-item:hover .ribbon-content,
.accordion-item.open .ribbon-content {
    opacity: 1;
}

.ribbon-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.ribbon-content p {
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .accordion-item {
        min-width: 220px;
        max-height: 180px;
    }

    .accordion-item.open {
        max-height: 500px;
    }

    .ribbon-content h4 {
        font-size: 1.1rem;
    }

    .ribbon-content p {
        font-size: 0.85rem;
    }
}
/* Cada item del acordeón */
.accordion-item {
    position: relative;
    cursor: pointer;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #005dba;
    box-shadow: 0 4px 10px rgba(250, 249, 249, 0.3);
    flex-shrink: 0;
    max-height: 220px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
}
.image-ribbon {
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.image-track {
    display: inline-flex;
    animation: scroll-left 30s linear infinite;
}
.text-menu {
    color: white;
}
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}