.contacto-section {
    background: #eef0f2;
    padding: 60px 10%;
}

.contacto-section .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.texto-contacto {
    max-width: 50%;
}

.texto-contacto h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.7rem;
    line-height: 1.3;
    color: 010203;
}

.texto-contacto h2 strong {
    font-weight: 600;
    font-style: normal;
    font-size:2.2rem;
}

.texto-contacto span {
    color: #24D024;
}

.texto-contacto p {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.4rem;
    color: #010203;
}

.formulario-container {
    position: relative;
    width: 450px;
    max-width: 90%;
}

.formulario-container form {
    position: relative;
    background: white;
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

/* Triángulo inferior derecho */
.formulario-container form::before {
    content: "";
    position: absolute;
    bottom: 0px;
    right: -30px;
    width: 60px;
    height: 60px;
    background: white;
    clip-path: polygon(0 0, 100% 100%, 0 100%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

/* Imagen de cuadros verdes al fondo */
.formulario-container::after {
    content: "";
    position: absolute;
    bottom: -40px;
    right: -25%;
    width: 150%;
    aspect-ratio: 3.9 / 1;
    background: url(../IMG/cuadros3.png) no-repeat;
    background-size: contain;
    z-index: 1;
}

/* Estilos del formulario */
.formulario-container form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #383c41;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.2rem;
}

.formulario-container input,
.formulario-container select,
.formulario-container textarea {
    width: 90%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #ecedef;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.2rem;
}
.formulario-container input[type="checkbox"] {
    width: auto; /* Evita que tome el ancho completo */
    transform: scale(1.2); /* Aumenta el tamaño para mejor visibilidad */
    cursor: pointer;
}
.formulario-container .form-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.formulario-container .form-group select {
    width: 46.5%;
}

.formulario-container textarea {
    height: 80px;
    resize: none;
}


.formulario-container button {
    border: none;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1.5rem;
    margin: 10px auto;
    display: block;
    background: rgb(129, 223, 55);
    background: linear-gradient(90deg, rgba(129, 223, 55, 1) 0%, rgba(85, 218, 25, 1) 100%);
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 10px;
    width: 350px;
    max-width: 90%;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 8px 10px rgba(255, 255, 255, 0.3),
        /* Resplandor superior */
        inset 0 -5px 10px rgba(0, 0, 0, 0.2);
    /* Sombra inferior */
}

/* Pseudo-elemento para el reflejo */
.formulario-container button::before {
    content: "";
    position: absolute;
    top: -211%;
    left: -50%;
    width: 150%;
    height: 300%;
    background: rgb(255, 255, 255);
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.6) 100%);
    transform: rotate(350deg);
    border-radius: 50%;
    transition: all 0.5s ease-in-out;
    /* Transición suave */
}

.formulario-container button:hover::before {
    top: -190%;
    /* Ajuste en la posición */
    left: 19%;
    transform: rotate(367deg) scale(1.1);
    /* Ligero escalado */
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.2) 100%, rgba(255, 255, 255, 0.6) 0%);
}
/* Móviles */
@media only screen and (max-width: 800px) {
    .contacto-section {
        background: #eef0f2;
        padding: 60px 5px;
    }
    .contacto-section .container {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        flex-direction: column;
        width: 95%;
    }
    .texto-contacto {
        max-width: 95%;
    }
    .formulario-container .form-group {
        flex-direction: column;
    }
    .formulario-container .form-group select {
        width: 100%;
    }
}