@import 'https://fonts.googleapis.com/css?family=Rajdhani:700';


/*no me acuerdo de que era revisar para despues xd */
.css-typing p {
    border-right: .15em solid white;
    white-space: nowrap;
    overflow: hidden;
}

.css-typing p:nth-child(1) {
    width: 37em;
    -webkit-animation: type 3s steps(40, end), blink .3s step-end infinite alternate;
    animation: type 3s steps(40, end), blink .3s step-end infinite alternate;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}


@keyframes type {
    0% {
        width: 0;
    }

    1% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes type {
    0% {
        width: 0;
    }

    1% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

@-webkit-keyframes blink {
    50% {
        border-color: transparent;
    }
}

/*no me acuerdo de que era revisar para despues xd */


@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    50% {
        border-right: 2px solid transparent;
    }
}

.typewriter {
    font-family: Arial !important;
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
    /* Elimina el margen superior e inferior */
    letter-spacing: 0.1em;
    text-align: justify;
    /* Esto justificará el texto si tiene más de una línea */
    max-width: 100%;
    /* Ajusta el ancho máximo para que se ajuste al tamaño de la pantalla */
}



#text {
    display: inline-block;
    white-space: normal;
    overflow: hidden;
    font-size: 17px;
    color: #000000;
    font-weight: bold;
    /* Añadir esta línea para hacer la letra más gruesa */
    margin-left: -35px;

}


/* Media queries para dispositivos móviles */
@media only screen and (max-width: 600px) {
    .typewriter {
        font-size: 10px !important;
        /* Ajusta el tamaño de fuente para dispositivos móviles */
        width: 15rem !important;
    }

    #text {
        font-size: 8px;
        /* Ajusta el tamaño de fuente para dispositivos móviles */
        margin-left: 0px;

    }
    .home-slide-content h1 {
   margin-left: 9px;
    font-size: 3.1rem;
   
}
}










@keyframes background {
    from {
        background-position: 0 0%;
    }

    to {
        background-position: 0 -200px;
    }
}

/*  h1 {
        
        font-family: "Myriad Pro"!important;
        background: url(https://static.vecteezy.com/system/resources/thumbnails/022/976/140/small/blue-wave-modern-background-free-photo.jpg) repeat;
        background-size: 200px auto;
        -webkit-text-fill-color: transparent;
        -webkit-background-clip: text;
        animation: background 10s infinite linear;
    }*/











.info-boxes-container {
    background: linear-gradient(135deg, #274380 100%, #274380 100%);
    padding: 40px 0;
}

.info-box {
    background-color: rgb(73, 94, 138);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: white;
    display: flex;
    align-items: center;
    padding: 30px;
    margin: 20px auto;
    max-width: 800px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.info-box i {
    font-size: 40px;
    margin-right: 20px;
    color: rgb(255, 255, 255);
}

.info-box-content {
    flex-grow: 1;
}

.info-box h4 {
    font-size: 24px;
    margin: 0;
    display: flex;
    align-items: center;
}

.info-box h4 i {
    margin-left: 10px;
    font-size: 25px;
    color: #f3f8f8;
}

.about-text {
    font-size: 14px;
    /*color: white;*/
    text-align: justify;
    margin: 15px 0;
}

.info-box a {
    color: #06ff06;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.info-box a:hover {
    color: #fff;
    text-decoration: underline;
}

.info-box a i {
    margin-left: 5px;
    font-size: 15px;
}

.signature {
    font-size: 14px;
    font-family: Arial, sans-serif;
    /* Cambia la fuente a Arial */
    font-style: italic;
    /* Hace que el texto sea cursivo */
    color: #ffffff;
    margin-top: 20px;
}













































/* =====================================================
   ESTILOS DE LOS CÍRCULOS EN HOME
   - Escritorio (>1024px): cuadrícula 3 columnas
   - Tablet / Móvil (≤1024px): 1 burbuja con anillo azul,
     texto dentro, swipe horizontal + indicador
   ===================================================== */

.partners-container {
    padding: 10px;
}

/* ================= ESCRITORIO (por defecto) ================= */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
}

.partner {
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.3s;
    width: 100%;
    max-width: 250px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    position: relative;
    text-decoration: none;
    display: block;
}

.partner:hover {
    transform: scale(1.05);
}

.zoom-effect {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    width: 100%;
    height: 100%;
}

.zoom-effect img {
    transition: transform 0.3s ease-in-out;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.zoom-effect:hover {
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.zoom-effect::after {
    content: attr(data-hover-text);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 9px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    white-space: pre-line;
    text-align: center;
    width: 90%;
    font-size: 12px;
    box-sizing: border-box;
}

.zoom-effect:hover::after {
    opacity: 1;
}

.texto-home {
    color: #274380;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.819);
    box-sizing: border-box;
}

.texto-home p {
    margin: 0;
}

.text-center {
    margin: 0;
}

/* =====================================================
   TABLET Y MÓVIL (≤1024px) → 1 BURBUJA CON SWIPE
   ===================================================== */
@media (max-width: 1024px) {

    /* El container sin padding lateral, para que el carrusel use todo el ancho */
    .partners-container .container {
        padding-left: 0;
        padding-right: 0;
        overflow: hidden;
    }

    /* ---- partners-grid ahora es un carrusel horizontal ---- */
    .partners-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 0;
        width: 100%;
        justify-items: unset;
        -webkit-overflow-scrolling: touch;

        /* Ocultar barra de scroll */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .partners-grid::-webkit-scrollbar {
        display: none;
    }

    /* ---- Cada partner = 1 slide del ancho completo ---- */
    .partner {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        aspect-ratio: auto;
        height: auto;

        border: none;
        border-radius: 0;
        overflow: visible;

        scroll-snap-align: center;
        padding: 20px 10px;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .partner:hover {
        transform: none;
    }

    /* ---- La burbuja: anillo azul degradado + imagen ---- */
    .partner .zoom-effect {
        position: relative;
        width: 260px;
        height: 260px;
        max-width: 78vw;
        max-height: 78vw;
        aspect-ratio: 1 / 1;
        border-radius: 50%;

        /* Anillo azul degradado (como en la primera imagen) */
        padding: 5px;
        background: linear-gradient(135deg, #7ac1ff 0%, #2e5bba 50%, #7ac1ff 100%);
        box-shadow: 0 6px 16px rgba(46, 91, 186, 0.35);

        box-sizing: border-box;
        overflow: hidden;
        margin: 0 auto;
    }

    /* La imagen de dentro del anillo */
    .partner .zoom-effect img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        display: block;
    }

    /* ---- Texto de la marca: DENTRO de la burbuja, abajo ---- */
    .texto-home {
        position: relative;
        margin-top: -48px;              /* Lo sube dentro de la burbuja */
        z-index: 3;
        background-color: rgba(255, 255, 255, 0.85);
        color: #274380;
        font-size: 12px;
        font-weight: bold;
        padding: 6px 16px;
        border-radius: 20px;
        width: auto;
        max-width: 75%;
        text-align: center;
        box-sizing: border-box;
    }

    .texto-home p {
        margin: 0;
    }

    /* Texto del hover más pequeño para que quepa bien */
    .zoom-effect::after {
        font-size: 10px;
        padding: 8px;
        width: 80%;
        border-radius: 6px;
    }

    /* ---- Indicador "Desliza" ---- */
    .partners-container .container::after {
        content: "← Desliza para ver más marcas →";
        display: block;
        text-align: center;
        color: #274380;
        font-size: 12px;
        font-weight: 600;
        margin-top: 12px;
        opacity: 0.75;
        animation: swipeHint 2s ease-in-out infinite;
    }
}

/* Animación del indicador */
@keyframes swipeHint {
    0%, 100% { transform: translateX(-6px); }
    50%      { transform: translateX(6px); }
}

/* =====================================================
   MÓVIL (≤768px) — burbuja un poco más pequeña
   ===================================================== */
@media (max-width: 768px) {

    .partner {
        padding: 15px 5px;
    }

    .partner .zoom-effect {
        width: 220px;
        height: 220px;
        max-width: 80vw;
        max-height: 80vw;
    }

    .texto-home {
        font-size: 11px;
        margin-top: -42px;
        padding: 5px 14px;
    }

    .partners-container .container::after {
        font-size: 11px;
        margin-top: 8px;
    }
}

/* =====================================================
   MÓVIL PEQUEÑO (≤480px)
   ===================================================== */
@media (max-width: 480px) {

    .partner .zoom-effect {
        width: 190px;
        height: 190px;
        max-width: 78vw;
        max-height: 78vw;
    }

    .texto-home {
        font-size: 10px;
        margin-top: -38px;
        padding: 4px 12px;
    }
}