/*--------------------------------------------------------------
#Pantalla flotante-Servicios 
--------------------------------------------------------------*/

.bbuttonn {
    position: absolute;
    top: 10px;
    right: 50px;
    background: none;
    border: none;
    font-size: 30px;
}


/*ventana*/

.frame {
    width: 100%;
    height: 100%;
}

.containerr {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modals {
    background: white;
    padding: 25px;
    border-radius: 10px;
    width: 55%;
    max-width: 1200px;
    height: 90%;
    position: relative;
    border-top: 4px solid #ff6302dc;
    border-bottom: 4px solid #ff6302dc;
}


/*Texto*/

h3,
.h3 {
    font-size: calc(1.3rem + 0.6vw);
}

@media (min-width: 1200px) {
    h3,
    .h3 {
        font-size: 1.75rem;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Dispositivos móviles pequeños (hasta 480px) */

@media (max-width: 480px) {
    .bbuttonn {
        top: -5px;
        font-size: 25px;
        padding: 3px 10px;
        margin-right: -50px;
    }
    .modals {
        background: white;
        padding: 25px;
        border-radius: 10px;
        width: 95%;
        max-width: 1200px;
        height: 95%;
        position: relative;
        border-top: 5px solid #ff6302dc;
        border-bottom: 5px solid #ff6302dc;
    }
}


/* Dispositivos móviles medianos y grandes (hasta 768px) */

@media (max-width: 768px) {
    .bbuttonn {
        top: -5px;
        font-size: 28px;
        padding: 4px 12px;
        margin-right: -50px;
    }
    .modals {
        background: white;
        padding: 25px;
        border-radius: 10px;
        width: 95%;
        max-width: 1200px;
        height: 95%;
        position: relative;
        border-top: 5px solid #ff6302dc;
        border-bottom: 5px solid #ff6302dc;
    }
}


/* Tabletas (entre 769px y 992px) */

@media (min-width: 769px) and (max-width: 992px) {
    .modals {
        background: white;
        padding: 25px;
        border-radius: 10px;
        width: 95%;
        max-width: 1200px;
        height: 90%;
        position: relative;
        border-top: 5px solid #ff6302dc;
        border-bottom: 5px solid #ff6302dc;
    }
    .containerr {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }
    .frame {
        width: 100%;
        height: 100%;
    }
    .bbuttonn {
        font-size: 30px;
        padding: 5px 15px;
        top: -5px;
        right: 0px;
    }
}

@media screen and (min-width: 769px) and (max-width: 1366px) {
    .modals {
        background: white;
        padding: 25px;
        border-radius: 10px;
        width: 95%;
        max-width: 1200px;
        height: 90%;
        position: relative;
        border-top: 5px solid #ff6302dc;
        border-bottom: 5px solid #ff6302dc;
    }
}


/*--------------------------------------------------------------
#Carrucel Ahorros
--------------------------------------------------------------*/

.carousel {
    width: 95%;
    max-width: 100%;
    height: 370px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background: #fff;
    position: relative;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-images {
    display: flex;
    transition: transform 0.6s ease-in-out;
    height: 100%;
}

.carousel-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 15px;
    margin-top: 0px;
}


/* Indicadores */

.carousel-indicators {
    position: absolute;
    bottom: 5px;
    /* Ajustar la posición de los indicadores */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.carousel-indicators button {
    width: 8px;
    height: 8px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.carousel-indicators button.active {
    background-color: #007bff;
}


/* Dispositivos móviles grandes y medianos (hasta 768px) */

@media (max-width: 768px) {
    .carousel {
        max-width: 100%;
        height: 220px;
        overflow: hidden;
        /* Para evitar que las imágenes sobrepasen el contenedor */
        position: relative;
    }
    .carousel-images img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        /* Ajusta la imagen sin distorsionar */
    }
    .carousel-images {
        display: flex;
        width: 100%;
        height: 100%;
    }
}


/* Tabletas (hasta 992px) */

@media (max-width: 992px) {
    .carousel {
        max-width: 100%;
        height: 350px;
        overflow: hidden;
        /* Para evitar que las imágenes sobrepasen el contenedor */
        position: relative;
    }
    .carousel-images img {
        width: 100%;
        height: 350px;
        object-fit: cover;
        /* Ajusta la imagen sin distorsionar */
    }
    .carousel-images {
        display: flex;
        width: 100%;
        height: 100%;
    }
}


/* Dispositivos móviles pequeños (hasta 480px) */

@media (max-width: 480px) {
    .carousel {
        max-width: 100%;
        height: 180px;
        overflow: hidden;
        /* Para evitar que las imágenes sobrepasen el contenedor */
        position: relative;
    }
    .carousel-images img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        /* Ajusta la imagen sin distorsionar */
    }
    .carousel-images {
        display: flex;
        width: 100%;
        height: 100%;
    }
}

@media screen and (min-width: 769px) and (max-width: 1366px) {
    .carousel {
        width: 95%;
        max-width: 100%;
        height: 500px;
        overflow: hidden;
        border-radius: 15px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        background: #fff;
        position: relative;
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}


/* Teléfonos en modo horizontal (hasta 768px de ancho y en landscape) */

@media (max-width: 768px) and (orientation: landscape) {
    .carousel {
        max-width: 90%;
        height: 180px;
    }
    .carousel-images img {
        width: 100%;
        height: 180px;
    }
}


/* Tabletas en modo horizontal (hasta 992px de ancho y en landscape) */

@media (max-width: 992px) and (orientation: landscape) {
    .carousel {
        max-width: 90%;
        height: 250px;
    }
    .carousel-images img {
        width: 100%;
        height: 250px;
    }
}


/*--------------------------------------------------------------
#Ser Socio
--------------------------------------------------------------*/

.titulooo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.socio {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 50px;
    color: white;
    background: linear-gradient(rgba(59, 81, 120, 0.767), rgba(40, 58, 90, 0.9)), url("/assets/img/Ser%20Socio/socioss.webp") fixed center center ;
    background-size: cover;
    background-repeat: no-repeat;
    /* Fondo oscuro elegante */
}

.socios {
    width: 40%;
    padding: 50px;
    border: 2px solid white;
    border-radius: 10px;
    /* Fondo semi-transparente */
}

.socios h3 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.socios ul {
    list-style: none;
    padding: 0;
}

.socios li {
    margin: 8px 0;
    padding-left: 20px;
    position: relative;
    
}

.socios li::before {
    content: "✔";
    color: #0b9010;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.image-socio {
    width: 50%;
    max-width: 100%;
    margin-right: 20px;
    margin-left: 20px;
}

.image-socio img {
    width: 100%;
    margin: 30px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}


/* Responsive */

@media (max-width: 900px) {
    .socio {
        display: flex;
        flex-direction: column;
        text-align: center;
        background: linear-gradient(rgba(59, 81, 120, 0.767), rgba(40, 58, 90, 0.9)), url("/assets/img/Ser%20Socio/socioss.webp") fixed center center ;
        background-size: cover;
        background-repeat: no-repeat;
    }
    .socios {
        width: 95%;
        text-align: left;
    }
    .image-socio {
        display: none;
    }
    .bot {
        margin-top: -30px;
    }
    .bot i {
        display: none;
    }
    .socios li::before {
        content: "✔";
        color: #0b9010;
        font-weight: bold;
        position: absolute;
        left: 0;
        margin-left: -10px;
    }
}

@media (max-width: 992px) {
    .socio {
        display: flex;
        flex-direction: column;
        text-align: center;
        background: linear-gradient(rgba(59, 81, 120, 0.767), rgba(40, 58, 90, 0.9)), url("/assets/img/Ser%20Socio/socioss.webp") fixed center center ;
         background-size: cover;
        background-repeat: no-repeat;
    }
    .socios {
        width: 90%;
        text-align: left;
    }
    .image-socio {
        display: none;
    }
    .bot {
        margin-top: -30px;
    }
    .socios li::before {
        content: "✔";
        color: #0b9010;
        font-weight: bold;
        position: absolute;
        left: 0;
    }
}


/*--------------------------------------------------------------
# Pantalla flotante correo-socio
--------------------------------------------------------------*/

.p {
    text-align: center;
    font-size: 20px;
    align-content: center;
    color: #524a4ad8;
    margin-top: 10px;
    font-style: italic;
}

.pa {
    text-align: center;
    font-size: 20px;
    align-content: center;
    color: #000000b4;
    margin-top: 15px;
}

.tiitle {
    text-align: center;
    text-align: center;
    font-size: 30px;
    align-content: center;
    color: #02385c;
}

.bbuuttoonn {
    position: absolute;
    top: 25px;
    right: 20px;
    background: none;
    border: 1px solid #ffffff00;
    font-size: 35px;
    cursor: pointer;
    padding: 3px 8px;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
}


/* Media Queries para dispositivos pequeños */

@media screen and (max-width: 600px) {
    .bbuuttoonn {
        font-size: 30px;
        padding: 5px 10px;
        top: -10px;
        right: 0px;
    }
}

@media screen and (max-width: 400px) {
    .bbuuttoonn {
        font-size: 25px;
        padding: 5px 10px;
        top: 5px;
        right: 0px;
    }
}


/* ventana */

.fraame {
    width: 100%;
    height: 100%;
}

.contaainerr {
    display: none;
    /* 🔹 Ocultar modal al inicio */
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Fondo oscuro */
    z-index: 9999;
}


/* Estilos del modal */

.modaals {
    background: rgba(255, 255, 255, 0.911);
    padding: 20px;
    border-radius: 10px;
    width: 40%;
    max-width: 600px;
    height: 90%;
    max-height: 80%;
    position: relative;
    /* Permitir desplazamiento si hay mucho contenido */
    border-top: 5px solid #50b9f2;
    border-bottom: 5px solid #50b9f2;
}

.contaaiiner {
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 500px;
    min-width: 320px;
    position: relative;
    overflow-y: auto;
    max-height: 300vh;
    border-top: 4px solid #50b9f2;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200vh;
}


/* Formulario */

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


/* Etiquetas */

label {
    font-weight: bold;
    color: #333;
}


/* Campos de entrada */

input,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d4cccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
}

textarea:hover {
    border: 1px solid #50b9f2;
}

input:hover {
    border: 1px solid #50b9f2;
}


/* Ajuste de textarea */

textarea {
    height: 120px;
    resize: none;
}


/* Grid para nombre y teléfono */

.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}


/* Botón de enviar */

.buutton {
    margin-top: 10px;
    background-color: #50b9f2;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    cursor: pointer;
    border-radius: 25px;
    font-size: 16px;
    transition: background 0.3s;
}

.buutton:hover {
    background-color: #3a9ed6;
}


/* Mensaje de éxito */

.success-message {
    display: none;
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid #c3e6cb;
    text-align: center;
}


/* Mensaje de error */

.error-message {
    color: rgb(160, 12, 12);
    font-size: 14px;
    margin-top: 5px;
    display: none;
}


/* Campo de teléfono con error */

.error {
    border: 2px solid rgb(160, 12, 12);
    background: #ffe6e6;
}


/* Responsivo en pantallas pequeñas */

@media screen and (max-width: 1200px) {
    .contaaiiner {
        width: 95%;
        max-width: 95%;
    }
    .input-group {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }
    .modaals {
        width: 80%;
    }
    textarea {
        height: 340px;
        resize: none;
    }
}

@media screen and (max-width: 480px) {
    textarea {
        height: 100px;
        resize: none;
    }
}


/*--------------------------------------------------------------
#Contenido Remesas
--------------------------------------------------------------*/

.coonntaiiner {
    text-align: center;
    width: 100%;
    font-size: 26px;
    font-family: 'Playfair Display', serif;
    color: #0a2239;
    font-weight: 700;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: -20px;
    /* Espacio entre la línea y la lista */
}

.line {
    flex-grow: 1;
    height: 3px;
    background-color: #022b75;
}

.flag {
    width: 40px;
    height: auto;
    margin: 0 10px;
}

.list {
    text-align: center;
    list-style-position: inside;
    padding: 50px;
}

.list li {
    color: rgba(0, 0, 0, 0.808);
    font-size: 23px;
    text-align: center;
    align-content: center;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.image-container {
    max-width: 70%;
    /* Ajusta el tamaño de la imagen */
    margin: 0 auto;
    /* Centrar */
}

.image-container img {
    width: 100%;
    /* Se ajusta al tamaño del contenedor */
    height: auto;
    /* Mantiene la proporción */
    border-radius: 10px;
    /* Opcional: esquinas redondeadas */
}

.direc {
    color: #c0392b;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    align-content: center;
}

.direc:before {
    content: "📍 ";
}


/* Ícono de ubicación antes de los títulos */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.rec {
    text-align: center;
    font-size: 20px;
    align-content: center;
    color: #000000;
    margin-top: 10px;
    font-style: italic;
}

.cob {
    text-align: center;
    text-align: center;
    font-size: 28px;
    align-content: center;
    color: #02385c;
    font-family: 'Times New Roman', Times, serif;
}

.bo {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.caroouusel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: white;
    padding: 20px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
}

.caroouusel-track {
    display: flex;
    width: max-content;
    animation: scroll 20s linear infinite;
}

.caroouusel-track img {
    height: 80px;
    margin: 0 15px;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.caroouusel-track {
    display: flex;
    width: max-content;
}


/* Responsivo */

@media (max-width: 768px) {
    .line {
        height: 2px;
    }
    .flag {
        width: 30px;
    }
    .image-container {
        max-width: 70%;
    }
    .list {
        padding: 10px;
    }
    .list li {
        font-size: 18px;
    }
    .caroouusel-container {
        width: 95%;
        padding: 18px;
    }
    .caroouusel-track img {
        height: 70px;
        margin: 0 12px;
    }
    .divider {
        margin-bottom: -30px;
        /* Espacio entre la línea y la lista */
    }
    .direc {
        font-size: 15px;
    }
    .rec {
        font-size: 15px;
    }
    .cob {
        font-size: 18px;
    }
    .coonntaiiner {
        margin-top: -40px;
        font-size: 20px;
    }
}

@media (max-width: 992px) {
    .cob {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    .rec {
        font-size: 1.2rem;
    }
    .divider {
        margin-bottom: 0px;
        /* Espacio entre la línea y la lista */
    }
    .line {
        height: 3px;
    }
    .flag {
        width: 30px;
    }
    .list {
        padding: 10px;
        max-width: 100%;
    }
    .list li {
        font-size: 22px;
    }
    .direc {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .line {
        height: 1.5px;
    }
    .flag {
        width: 25px;
    }
    .image-container {
        max-width: 95%;
    }
    .list {
        padding: 5px;
        max-width: 100%;
    }
    .list li {
        font-size: 16px;
    }
    .caroouusel-container {
        width: 100%;
        padding: 10px;
    }
    .caroouusel-track img {
        height: 50px;
        margin: 0 5px;
    }
    .divider {
        margin-bottom: -20px;
        /* Espacio entre la línea y la lista */
    }
    .rec {
        font-size: 15px;
    }
    .cob {
        font-size: 18px;
    }
    .coonntaiiner {
        margin-top: -40px;
        font-size: 18px;
        padding: 5px;
    }
}