﻿
/* estilos del banner*/
.banner-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    font-size:16px;
}

.banner-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: calc(100% * 4); /* Cambia el número de banners aquí */
}

.banner-track-celular {
    display: none;
    transition: transform 0.5s ease-in-out;
    width: calc(100% * 4);
}

.banner-slide {
    width: 100%;
    position: relative;
}

.banner-image {
    width: 100%;
    height: auto;
    max-height: 490px;
}

.banner-caption {
    position: absolute;
    bottom: 8%;
    left: 30%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    padding: 20px;
    border-radius: 5px;
}

.banner-caption-one {
    position: absolute;
    bottom: 8%;
    left: 20%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    padding: 20px;
    border-radius: 5px;
}

.banner-btn, .banner-btn-tercero {
    display: inline-block;
    margin: 10px;
    padding: 10px 35px;
    background-color: #ff9900;
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

.banner-btn-tercero {
    background-color: #407C2D;
}

    .banner-btn:hover, .banner-btn-tercero:hover {
        background-color: #cc7a00;
    }

.banner-caption-primero {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.banner-btn-primero {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    background-color: #ff9900;
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

    .banner-btn:hover {
        background-color: #cc7a00;
    }



.banner-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}

    .banner-control.prev-banner {
        left: 10px;
    }

    .banner-control.next-banner {
        right: 10px;
    }

    .banner-control.mobile {
        display: none;
    }


@media (max-width: 768px) {

    .banner-track{
        display:none;
    }

    .banner-track-celular{
        display:flex;
    }
    .banner-caption{
        bottom: 5%; /* Move captions slightly up for smaller screens */
        padding: 5px;
        font-size: 14px; /* Smaller font */
    }

    .banner-caption-one {
        bottom: 8%; 
        left:30%;
        padding: 5px; /* Reduce padding */
        font-size: 14px; /* Smaller font */
    }

    .banner-btn, .banner-btn-tercero, .banner-btn-primero {
        padding: 8px 15px; /* Adjust button size */
        font-size: 14px; /* Smaller font */
    }

    .banner-control {
        font-size: 20px; /* Smaller control buttons */
        padding: 8px;
    }
        .banner-control:not(.mobile) {
            display: none;
        }

        .banner-control.mobile {
            display: block;
        }
}

@media (max-width: 480px) {
    .banner-track {
        display: none;
    }

    .banner-track-celular {
        display: flex;
    }

    .banner-caption {
        left: 50%;
        bottom: 10%; /* Move captions slightly up for smaller screens */
        padding: 5px;
        font-size: 14px; /* Smaller font */
    }

    .banner-caption-one {
        bottom: 8%;
        left: 50%;
        padding: 5px; /* Reduce padding */
        font-size: 14px; /* Smaller font */
    }

    .banner-btn, .banner-btn-tercero, .banner-btn-primero {
        padding: 10px 20px; /* Smaller button size */
        font-size: 14px; /* Smaller font */
    }

    .banner-control {
        font-size: 18px; /* Smaller control buttons */
        padding: 6px;
    }

        .banner-control:not(.mobile) {
            display: none;
        }

        .banner-control.mobile {
            display: block;
        }
}

@media (max-width: 320px) {
    .banner-btn, .banner-btn-tercero, .banner-btn-primero {
        padding: 10px 20px; /* Smaller button size */
        font-size: 10px; /* Smaller font */
    }
    }

    /*primera informacion */
    .info-container {
        display: flex;
        justify-content: space-around;
        align-items: center;
        background-color: rgba(64, 124, 45, 0.1);
        width: 100%;
        height: auto;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .info-item {
        text-align: center;
        flex: 0.5;
        border-right: 2px solid rgba(64, 124, 45, 1);
    }

    .info-item-right {
        text-align: center;
        flex: 0.5;
    }

    .info-item-left {
        text-align: center;
        flex: 0.5;
        border-right: 2px solid rgba(64, 124, 45, 1);
    }

    .info-item h2 {
        font-weight: bold;
        font-family: 'Montserrat', sans-serif;
        color: #407C2D;
        font-size: 24px;
        margin: 0;
    }

    .info-item p {
        color: #407C2D;
        font-size: 16px;
        margin: 0 0;
    }

    .info-item-left h2 {
        font-weight: bold;
        font-family: 'Montserrat', sans-serif;
        color: #407C2D;
        font-size: 24px;
        margin: 0;
    }

    .info-item-left p {
        color: #407C2D;
        font-size: 16px;
        margin: 0 0;
    }

    .info-item-right h2 {
        font-weight: bold;
        font-family: 'Montserrat', sans-serif;
        color: #407C2D;
        font-size: 24px;
        margin: 0;
    }

    .info-item-right p {
        color: #407C2D;
        font-size: 16px;
        margin: 0 0;
    }
    /* Diseño para pantallas más pequeñas */
    @media (max-width: 768px) {
        .info-container {
            flex-direction: column; /* Cambia la dirección a columna para pantallas pequeñas */
            padding: 20px 0;
        }

        .info-item, .info-item-left, .info-item-right {
            border-right: none; /* Elimina las líneas divisorias en pantallas pequeñas */
            border-bottom: 2px solid rgba(64, 124, 45, 1); /* Añade divisores entre los elementos */
            flex: 1;
            padding: 15px;
        }

        .info-item-right {
            border-bottom: none; /* Elimina el borde del último elemento */
        }

            .info-item h2, .info-item-left h2, .info-item-right h2 {
                font-size: 20px; /* Ajusta el tamaño de la fuente */
            }

            .info-item p, .info-item-left p, .info-item-right p {
                font-size: 14px; /* Ajusta el tamaño de la fuente */
            }
    }

    /* Diseño para pantallas más pequeñas (móviles) */
    @media (max-width: 480px) {
        .info-container {
            padding: 10px 0;
        }

        .info-item, .info-item-left, .info-item-right {
            padding: 10px;
        }

            .info-item h2, .info-item-left h2, .info-item-right h2 {
                font-size: 18px; /* Reduce aún más el tamaño de la fuente para móviles */
            }

            .info-item p, .info-item-left p, .info-item-right p {
                font-size: 12px; /* Ajuste de fuente más pequeño para pantallas móviles */
            }
    }
    /* segundo parrafo  */
    .info-section {
        text-align: center;
        margin-top: 0px;
        font-family: 'Montserrat', sans-serif;
        width: 100%;
        height: 100%;
        background-color: #FBFBFB;
        padding-top: 15px;
        padding-bottom: 15px;
    }

        .info-section h2 {
            color: #407C2D;
            font-size: 28px;
            margin-bottom: 30px;
        }

        .info-section .highlight {
            color: #FF8C00;
        }

    .info-cards {
        display: flex;
        justify-content: center; /* Center the columns horizontally */
        gap: 40px; /* Space between the two columns */
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }

    .left-card, .right-card {
        display: flex;
        flex-direction: column; /* Ensure vertical stacking */
        gap: 40px; /* Space between the cards within each column */
        flex: 1; /* Ensure both columns take equal width */
    }

    .left-card {
        align-items: flex-end;
    }

    .info-card {
        background-color: rgba(64, 124, 45, 0.1);
        padding: 20px;
        border-radius: 10px;
        width: 380px;
        text-align: center;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        height: 114px;
        max-height: 114px;
    }

.info-card-responsive {
    display:none;
    background-color: rgba(64, 124, 45, 0.1);
    padding: 20px;
    border-radius: 10px;
    width: 380px;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 90px;
    max-height: 114px;
}

.info-card h3 {
    color: #407C2D;
    font-size: 20px;
    margin-bottom: 10px;
}

.info-card-responsive h3 {
    color: #407C2D;
    font-size: 20px;
    margin-bottom: 10px;
}

.info-card p {
    color: #333;
    font-size: 17px;
}

.info-card-responsive p {
    color: #333;
    font-size: 17px;
}

.info-card:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}
/* Diseño responsivo para pantallas más pequeñas */
@media (max-width: 768px) {
    .info-section h2 {
            font-size: 20px;
        }

        .highlight {
            font-size: 20px;
        }

        .info-cards {
            flex-direction: column; /* Cambia a una sola columna en pantallas pequeñas */
            gap: 20px; /* Reduce el espacio entre las tarjetas en pantallas pequeñas */
        }


    .left-card, .right-card {
        align-items: center; /* Alinea el contenido al centro en pantallas pequeñas */
        gap: 20px;
    }

    .info-section{
        padding:0PX;
    }
    }

    @media (max-width: 480px) {


        .info-card {
            display: none;
            width: 80%; /* Tarjetas ocupan el ancho completo en pantallas pequeñas */
            text-align: center; /* Centrar el texto en pantallas pequeñas */
        }


        .info-card-responsive {
            width: 80%; /* Tarjetas ocupan el ancho completo en pantallas pequeñas */
            text-align: center; /* Centrar el texto en pantallas pequeñas */
            display: block;
            align-content: center;
            align-items: center;
        }
        .info-section h2 {
            font-size: 20px; /* Ajuste del tamaño del título en pantallas móviles */
        }

        .highlight {
            font-size: 20px;
        }

        .info-card{
            display:none;
        }

        .info-card-responsive h3 {
            font-size: 18px; /* Ajusta el tamaño de los subtítulos */
        }

        .info-card-responsive p {
            font-size: 14px; /* Ajusta el tamaño del texto */
        }
    }

    /* Contenedor de testimonio */
    .testimonial-carousel {
        position: relative;
        overflow: hidden;
        width: 80%;
        margin: 50px auto;
    }

    .testimonial-track {
        display: flex;
        transition: transform 0.5s ease;
        width: 100%;
    }

    .testimonial-slide {
        min-width: 100%;
        box-sizing: border-box;
        padding: 30px;
        display: flex;
        align-items: center;
        background-color: #FF8800;
        border-radius: 20px;
        color: white;
    }

    .testimonial-image {
        margin-left: 80px;
        width: 35%;
        height: 80%;
        border-radius: 50%;
        margin-right: 40px;
        border: 3px solid white;
    }

    .testimonial-content {
        width: 80%;
        margin-right: 80px;
        /*max-width: 600px;*/ /* Limita el ancho máximo del contenedor principal */
    }

    .testimonial-type {
        font-weight: bold;
        color: white;
        font-size: 1em;
        margin-bottom: 5px;
        font-family: 'Montserrat', sans-serif;
  
    }

    .testimonial-name {
        font-size: 30px;
        font-weight: bold;
        margin-bottom: 10px;
        margin-top: 10px;
        color: white;
        font-family: 'Montserrat', sans-serif;
    }

    .testimonial-text {
        width: 100%;
        font-size: 17px;
        color: white;
        line-height: 1.5;
        font-family: 'Montserrat', sans-serif;
        text-align: justify;
        word-wrap: break-word; /* Fuerza el salto de línea al llegar al límite */
        overflow-wrap: break-word;
    }

    .prev, .next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(255, 255, 255, 0.5);
        color: white;
        border: none;
        padding: 10px;
        cursor: pointer;
        font-size: 1.5em;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }

        .prev:hover, .next:hover {
            background-color: rgba(255, 255, 255, 0.8);
        }

.testimonial-name .display-span {
    display: inline; /* El guion se muestra en línea */
}

.titulo-tesimonio {
    display: none;
}

.titulo-tesimonio-web {
    text-align: center; /* Centra el texto horizontalmente */
    margin: 0 auto; /* Asegura el centrado completo si es un bloque */
    font-family: 'Montserrat', sans-serif; /* Aplica el mismo estilo de fuente */
    color: #407C2D; /* Mantén el mismo color que el resto de los títulos */
    font-size: 28px;
    display:block;
}

.testimonial-name .compania {
    display: inline; /* Mantiene en la misma línea por defecto */
}


@media (max-width: 768px) {
    .testimonial-slide {
            flex-direction: column; /* Stack items vertically on small screens */
            align-items: center; /* Center align items */
        }

    .testimonio-contenedor {
        display: none !important;
    }

    .testimonial-name {
        font-size: 20px;
    }

        .testimonial-text {
            font-size: 14px;
        }

        .testimonial-image {
            /*width: 50%; /* Adjust image size for smaller screens */
            margin-bottom: 20px; /* Space between image and content */
            margin-left: 40px;
        }

        .testimonial-content {
            width: 100%; /* Make content area full width */
            text-align: center; /* Center the text */
            margin-right: 10px;
        }

        .prev, .next {
            font-size: 1.2em; /* Smaller buttons */
            padding: 8px; /* Adjust padding */
        }

        .testimonial-name .display-span {
            display: none; /* Oculta el span */
        }

        .testimonial-name::after {
            content: "\A"; /* Inserta un salto de línea */
            white-space: pre; /* Respeta el salto de línea */
        }


    .testimonial-carousel {
        margin: 25px auto;
    }
    }

    @media (max-width: 480px) {

        .titulo-tesimonio {
            display: block;
            font-family: 'Montserrat', sans-serif;
            text-align: center;
            color: #407C2D;
            font-size: 20px;
            font-weight: bold;
        }

        .testimonial-type {
            display: none;
        }


        .display-span{
            display:none;
        }
        .testimonial-image {
            width: 100px; /* Slightly increase image size for mobile */
            height: 100px;
            margin-left: 40px;
        }

        .testimonial-name .display-span {
            display: none; /* Oculta el span */
        }

        .testimonial-name::after {
            content: "\A"; /* Inserta un salto de línea */
            white-space: pre; /* Respeta el salto de línea */
        }
        .testimonial-name {
            font-size: 17px;
        }

        .testimonial-text {
            font-size: 12px;
        }

        .testimonial-content {
            width: 100%; /* Make content area full width */
            text-align: center; /* Center the text */
            margin-right: 10px;
        }

        .prev, .next {
            font-size: 1em; /* Smaller buttons */
            padding: 6px; /* Smaller padding */
        }

        .testimonial-name .compania {
            display: block; /* Salto de línea cuando la pantalla es pequeña */
            margin-top: 5px; /* Opcional: espacio entre las líneas */
        }
    }
    /* seccion de garantia */
    /*----------------*/
.container-prestamo-titulo {
    display: flex;
    flex-direction: column; /* Asegura que los elementos estén en columna */
    align-items: center; /* Centra los hijos horizontalmente */
    justify-content: center; /* Centra los hijos verticalmente */
    margin:0;
    margin-top:20px;
}


    .container-prestamo {
        display: flex;
        justify-content: space-between;
        width: 100%;
        background-color: #FBFBFB;
        margin: 20px auto;
        margin-bottom: 60px;
        padding: 60px auto;
    }

    .card-prestamo-left {
        display: block;
        padding-left: 0px;
        text-align: center;
        flex: 1;
        margin-left: 120px;
        margin-right: 0px
    }

    .card-prestamo-right {
        padding-right: 0px;
        text-align: center;
        flex: 1;
        margin-left: 0px;
        margin-right: 120px
    }

    .card-prestamo-right-res {
        display: none;
        padding-right: 0px;
        text-align: center;
        flex: 1;
        margin-left: 0px;
        margin-right: 120px
    }

    .prestamo-left-icon {
        margin-top: 40px;
    }

    .prestamo-right-icon {
        margin-bottom: 40px;
    }

    .icon-prestamo img {
        width: 40%;
        height: 40%;
        margin-bottom: 5px;
        margin-top: 10px;
    }

    .card-prestamo-left h2 {
        font-family: 'Montserrat', sans-serif;
        color: #407C2D;
        margin-bottom: 5px;
    }

    .card-prestamo-right, .card-prestamo-right-res h2 {
        font-family: 'Montserrat', sans-serif;
        color: #407C2D;
        margin-bottom: 5px;
    }

    .card-prestamo-left p {
        font-family: 'Montserrat', sans-serif;
        margin-bottom: 24px;
        color: #000000;
    }

    .card-prestamo-right, .card-prestamo-right-res p {
        font-family: 'Montserrat', sans-serif;
        margin-bottom: 24px;
        color: #000000;
    }

    .btn-prestamo {
        font-family: 'Montserrat', sans-serif;
        background-color: #ff9800;
        color: white;
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
        transition: background-color 0.3s ease;
        margin-bottom: 10px;
        margin-top: 10px;
        text-decoration: none;
    }

        .btn-prestamo:hover {
            background-color: #e68a00;
        }

.parrafo-prestamo{
    display:block;
}

.titulo-servicios {
    text-align: center; /* Centra el texto horizontalmente */
    margin: 0 auto; /* Asegura el centrado completo si es un bloque */
    font-family: 'Montserrat', sans-serif; /* Aplica el mismo estilo de fuente */
    color: #407C2D; /* Mantén el mismo color que el resto de los títulos */
    font-size: 28px;
}

@media (max-width: 768px) {
    .card-prestamo-left {
            display: none; /* Oculto en pantallas pequeñas */
        }

        .card-prestamo-right-res {
            display: block; /* Visible en pantallas pequeñas */
        }

        .container-prestamo {
            flex-direction: column;
            align-items: center; /* Alinea los elementos al centro */
        }

        .prestamo-left-icon {
            margin-top: 15px;
        }

        .prestamo-right-icon {
            margin-bottom: 0px;
        }


        .card-prestamo-left, .card-prestamo-right, .card-prestamo-right-res {
            margin-left: 20px; /* Elimina márgenes laterales */
            margin-right: 20px;
            margin-bottom: 20px; /* Añade espacio entre las tarjetas */
        }

        .icon-prestamo img {
            width: 60%; /* Aumenta el tamaño de las imágenes en móviles para mejor visualización */
            height: 60%;
        }

        .btn-prestamo {
            font-size: 14px; /* Ajusta el tamaño del botón para pantallas pequeñas */
            padding: 8px 16px;
        }

        .card-prestamo-left h2, .card-prestamo-right h2, .card-prestamo-right-res h2 {
            font-size: 24px; /* Ajusta el tamaño del título para pantallas pequeñas */
        }

        .card-prestamo-left p, .card-prestamo-right p, .card-prestamo-right-res p {
            font-size: 16px; /* Ajusta el tamaño del texto */
        }



    .icon-prestamo img {
        width: 25%;
        height: 25%;
    }

    .titulo-prestamo-right{
        margin-bottom:20px;
        margin-top:0px;
    }

    .titulo-prestamo-left{
        margin-top:0px;
    }
    }

    @media (max-width: 480px) {

        .parrafo-prestamo {
            display: none;
        }

        .card-prestamo-left {
            display: none; /* Oculto en pantallas pequeñas */
        }

        .card-prestamo-right-res {
            display: block; /* Visible en pantallas pequeñas */
        }

        .icon-prestamo img {
            width: 60%; /* Aumenta el tamaño en pantallas extra pequeñas */
            height: 60%;
        }

        .card-prestamo-left h2, .card-prestamo-right h2 {
            font-size: 20px; /* Reduce aún más el tamaño del título para pantallas muy pequeñas */
        }

        .card-prestamo-right-res h2{
            margin-bottom:20px;
            font-size: 20px;
        }

        .card-prestamo-left p, .card-prestamo-right p, .card-prestamo-right-res p {
            font-size: 14px; /* Reduce el tamaño del texto */
        }

        .btn-prestamo {
            font-size: 14px; /* Ajusta el tamaño del botón */
            padding: 8px 14px;
        }

        .titulo-prestamo-left#titulo-invertir {
            max-width: 90%; /* Ajustar el ancho máximo según lo necesites */
            margin: 0 auto;
            margin-bottom:18px;
            white-space: normal; /* Asegurar que el texto se ajuste correctamente */
        }

        .centrado-titulado-formulario {
            text-align: center !important;
        }
    }

    /* sector de contacto*/

    .contact-section-formulario {
        position: relative;
        width: 100%;
        height: auto;
        background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),url('../img/oficina-formulario.jfif');
        background-size: 100% auto;
        background-position: center top;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    .contenedor-imagen-formulario {
        flex: 1;
        display: flex;
        justify-content: center; /* Centrar la imagen horizontalmente */
        align-items: center;
        text-align: center;
    }

    .persona-formulario {
        max-width: 60%; /* Limita el ancho máximo de la imagen */
        height: auto;
    }

    .contact-form-formulario {
        padding: 30px;
        color: white;
        flex: 1;
    }

        .contact-form-formulario p {
            font-size: 16px;
            font-family: 'Montserrat', sans-serif;
        }

    .placeholder-input-option {
        color: #B0B0B0;
    }

    select:invalid {
        color: #B0B0B0;
    }

    select option {
        color: black;
    }

    .contact-form-formulario h2 {
        color: white;
        margin-bottom: 20px;
        font-size: 20px;
        font-family: 'Montserrat', sans-serif;
        text-align: start;
    }


    .contact-form-formulario input,
    .contact-form-formulario textarea {
        font-family: 'Montserrat', sans-serif;
        width: 70%;
        padding: 10px;
        padding-left: 20px;
        padding-right: 20px;
        margin-bottom: 15px;
        border: none;
        border-radius: 20px;
        font-size: 16px;
        text-align: start;
    }

    .contact-form-formulario textarea {
        height: 100px;
        resize: none;
    }

    .contact-form-formulario button {
        background-color: rgba(255, 153, 0, 1);
        color: white;
        width: 75%;
        border: none;
        padding: 10px 20px;
        border-radius: 20px;
        cursor: pointer;
        font-size: 16px;
        transition: background-color 0.3s ease;
    }

        .contact-form-formulario button:hover {
            background-color: #e68a00;
        }

    .privacy-formulario {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
        font-size: 16px;
        font-family: 'Montserrat', sans-serif;
    }

        .privacy-formulario input {
            margin: 5px;
            margin-right: 10px;
            width: auto;
        }

    .linea-politicas {
        color: white;
    }

    .privacy-formulario a {
        color: #ff9800;
        text-decoration: none;
    }

        .privacy-formulario a:hover {
            text-decoration: underline;
        }

.display-mensaje {
    display: block;
}

    @media (max-width: 768px) {
        .contact-section-formulario {
            flex-direction: column;
            align-items: center;
            background-size: cover; /* Ajusta el tamaño de la imagen de fondo en móviles */
            padding: 30px auto;
        }

        .contenedor-imagen-formulario {
            display: none;
        }

        .contact-form-formulario {
            width: 70%;
            text-align: center;
        }

        .persona-formulario {
            max-width: 70%; /* Ajusta el tamaño de la imagen en móviles */
            height: auto;
        }

        .contact-form-formulario input,
        .contact-form-formulario textarea {
            width: 90%; /* Aumenta el ancho de los inputs en móviles */
        }

        .contact-form-formulario button {
            width: 90%; /* Aumenta el ancho del botón */
            font-size: 14px; /* Ajusta el tamaño del texto del botón */
            padding: 10px;
        }

        .contact-form-formulario h2 {
            font-size: 24px; /* Ajusta el tamaño del título en móviles */
        }

        .contact-form-formulario p {
            font-size: 14px; /* Ajusta el tamaño del texto en móviles */
        }


        .privacy-formulario label {
            align-items: center;
            margin-bottom: 20px;
            font-size: 12px;
            font-family: 'Montserrat', sans-serif;
        }

        .privacy-formulario input {
            width: auto;
            margin-right: 0px;
        }

    }

    /* Contenedor del select */
    .custom-select {
        position: relative;
        width: 76%; /* Asegúrate de que coincide con el tamaño de tu select */
        margin-bottom: 15px;
    }

        /* Eliminar la flecha nativa */
        .custom-select select {
            appearance: none;
            -webkit-appearance: none; /* Para navegadores webkit */
            -moz-appearance: none; /* Para Firefox */
            background-color: white;
            color: black;
            width: 100%;
            padding: 10px 40px 10px 20px;
            border: none;
            border-radius: 20px;
            font-size: 16px;
            font-family: 'Montserrat', sans-serif;
        }

        /* Flecha personalizada */
        .custom-select::after {
            content: '▼'; /* Usa el carácter de flecha hacia abajo */
            font-size: 12px;
            color: #B0B0B0;
            position: absolute;
            right: 15px;
            top: 40%;
            transform: translateY(-50%);
            pointer-events: none; /* Asegura que el clic no afecte la flecha */
        }

    /* Placeholder y opción seleccionada */
    .placeholder-input-option {
        color: #B0B0B0;
    }

    select:invalid {
        color: #B0B0B0;
    }

    select option {
        color: black;
    }

    /* Estilos del formulario */
    .contact-form-formulario h2 {
        color: white;
        margin-bottom: 20px;
        font-size: 20px;
        font-family: 'Montserrat', sans-serif;
        text-align: start;
    }

    .contact-form-formulario input,
    .contact-form-formulario textarea {
        font-family: 'Montserrat', sans-serif;
        width: 70%;
        padding: 10px;
        padding-left: 20px;
        padding-right: 20px;
        margin-bottom: 15px;
        border: none;
        border-radius: 20px;
        font-size: 16px;
        text-align: start;
    }

    .contact-form-formulario option,
    .contact-form-formulario select {
        padding-left: 10px;
        padding-right: 20px;
        margin-bottom: 15px;
        border: none;
        border-radius: 20px;
        font-size: 16px;
        text-align: start;
        font-family: 'Montserrat', sans-serif;
    }

    .contact-form-formulario textarea {
        height: 100px;
        resize: none;
    }

    .contact-form-formulario button {
        background-color: rgba(255, 153, 0, 1);
        color: white;
        width: 75%;
        border: none;
        padding: 10px 20px;
        border-radius: 20px;
        cursor: pointer;
        font-size: 16px;
        transition: background-color 0.3s ease;
    }

        .contact-form-formulario button:hover {
            background-color: #e68a00;
        }




    @media (max-width: 720px) {
        .persona-formulario {
            max-width: 90%; /* Aumenta el tamaño de la imagen en pantallas extra pequeñas */
        }

        .contact-form-formulario input,
        .contact-form-formulario textarea {
            width: 95%; /* Ancho máximo en pantallas pequeñas */
            font-size: 14px; /* Ajusta el tamaño de los inputs */
        }

        .contact-form-formulario option,
        .contact-form-formulario select {
            width: 100%;
            font-size: 14px;
        }

        .custom-select {
            width: 110%;
        }


        .contact-form-formulario h2 {
            font-size: 20px; /* Ajuste adicional para el título */
        }

        .contact-form-formulario button {
            font-size: 12px; /* Tamaño del botón en pantallas pequeñas */
            padding: 8px;
        }

        .contact-form-formulario p {
            font-size: 12px; /* Ajuste del tamaño del texto */
        }

        .privacy-formulario label {
            margin-bottom: 0px;
        }

        .display-mensaje {
            display: !important none;
        }

        .custom-select::after {
            top: 30%;

        }
    }

    /* estilos de modal */
    /* Estilos para el modal */
    .modal {
        display: none; /* Oculto por defecto */
        position: fixed;
        z-index: 1;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
    }

    .modal-content {
        background-color: #fff;
        margin: 5% auto;
        padding: 20px;
        border-radius: 8px;
        width: 80%;
        max-height: 80vh; /* Limita la altura máxima del contenido del modal */
        overflow-y: auto;
        font-family: 'Montserrat', sans-serif;
    }

    .close {
        color: #aaa;
        float: right;
        font-size: 24px;
        font-weight: bold;
        cursor: pointer;
    }

        .close:hover,
        .close:focus {
            color: #000;
            text-decoration: none;
        }

    .parrafo-modal {
        margin-top: 0px;
    }

    .parrafo-margen-final {
        margin-bottom: 0px;
    }

    .listado-privacy {
        margin-bottom: 16px;
    }

.form-control.is-invalid {
    border: 1px solid red !important;
    color: red !important;
}

    .form-control.is-invalid::placeholder {
        color: red !important;
    }

.text-danger {
    display: none;
}
}
