:root {
    --primary: #0a3b8b;
}

.icon-white {
    filter: brightness(0) invert(1);
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.icon-normal {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.icon-svg-blue {
    color: var(--primary);
    vertical-align: middle;
    margin-right: 10px;
}

.icon-white-sm {
    filter: brightness(0) invert(1);
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.custom-input {
    background-color: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
}
.custom-input:focus {
    background-color: #ffffff !important;
    border-color: #1a2f4a !important;
    box-shadow: 0 0 0 3px rgba(26, 47, 74, 0.1) !important;
    outline: none !important;
}
.custom-input::placeholder {
    color: #adb5bd !important;
}
#submitBtn:hover {
    background-color: #0d1f35 !important;
    border-color: #0d1f35 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 47, 74, 0.3);
}
.hover-opacity-100:hover {
    opacity: 1 !important;
    color: #ffffff !important;
    text-decoration: underline !important;
}
.social-icons-clean li a {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    text-align: center;
    transition: all 0.3s ease;
}
.social-icons-clean li a:hover {
    background-color: #ffffff !important;
    color: #1a2f4a !important;
    transform: translateY(-3px);
}
html.sticky-header-active #header .header-body {
    padding-bottom: 20px !important;
    padding-top: 20px;
}

/* Contenedor del carrusel con overflow oculto */
.allies-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    /* Degradados laterales para efecto fade en los bordes */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* Track que contiene los logos y se anima */
.allies-marquee-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: scroll-allies 25s linear infinite;
}

/* Pausar al pasar el mouse */
.allies-marquee:hover .allies-marquee-track {
    animation-play-state: paused;
}

/* AnimaciÃ³n de desplazamiento */
@keyframes scroll-allies {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 1.5rem)); /* -50% porque duplicamos los logos */
    }
}

/* Cada item del carrusel */
.ally-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;  /* Aumentado de 180px */
    height: 120px; /* Aumentado de 100px */
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px; /* M¨¢s padding para dar espacio */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

/* Logo con efecto grayscale */
.ally-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
}
.ally-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.ally-item a .ally-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Efecto hover en el item */
.ally-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(26, 47, 74, 0.15);
}

/* Logo a color al hacer hover */
.ally-item:hover .ally-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Responsive: en mÃ³viles, logos mÃ¡s pequeÃ±os */
@media (max-width: 768px) {
    .ally-item {
        width: 140px;
        height: 80px;
        padding: 10px;
    }
    .allies-marquee-track {
        gap: 1.5rem;
    }
}