@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    background: url('/Imagenes/Contacto.jpg') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh; /* Añadido para ocupar toda la altura de la pantalla */
}


.text-container {
    max-width: 800px;
    padding: 0 20px;
    text-align: center;
    margin: 0 auto;
}

.text-container p {
    font-size: 1.4rem;
    line-height: 1.6; /* Añadido para mejorar la legibilidad */
}

span {
    font-weight: 600;
}

.form-container {
    max-width: 800px;
    padding: 20px;
    background: rgba(14, 14, 14, 0.8); /* Ajuste de opacidad para mayor legibilidad */
    backdrop-filter: blur(5px);
    border-radius: 8px; /* Aumento del radio de borde para un aspecto más suave */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

h2 {
    margin-bottom: 1.5rem;
    font-size: 2.5rem; /* Aumento del tamaño de fuente para destacar el título */
}

form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Aumento del espacio entre elementos del formulario */
}

label {
    font-weight: bold;
}

input, textarea, select {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    background: rgba(255, 255, 255, 0.95); /* Ajuste de opacidad para mejor contraste */
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1); /* Suavizado de sombra */
    transition: background 0.3s, box-shadow 0.3s;
}

input:hover, textarea:hover, select:hover {
    background: rgb(255, 255, 255);
}

input:focus, textarea:focus, select:focus {
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.2); /* Mejora de sombra al enfocar */
}

textarea {
    resize: vertical;
    min-height: 120px;
}

button {
    grid-column: span 2;
    padding: 0.75rem;
    border: none;
    background: #05a1e4;
    color: white;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

button:hover {
    background: #0f82d5;
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

/* Popup CSS */
.popup {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}

.popup-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    text-align: center;
    animation: slideIn 0.3s ease-in-out;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.popup-close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.popup-close:hover,
.popup-close:focus {
    color: black;
}

.popup-body {
    margin-bottom: 10px;
}

.checkmark {
    display: inline-block;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #05a1e4;
    position: relative;
    margin: 20px auto;
}

.checkmark-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fa-check-circle {
    font-size: 50px;
    margin-top: 15px;
}

.checkmark-stem {
    position: absolute;
    width: 4px;
    height: 20px;
    background-color: #05a1e4;
    transform: rotate(45deg);
    top: 40%;
    left: 35%;
}

.checkmark-kick {
    position: absolute;
    width: 4px;
    height: 10px;
    background-color: #05a1e4;
    transform: rotate(-45deg);
    top: 50%;
    left: 45%;
}

.popup-button {
    background-color: #05a1e4;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.35s ease-out;
}

.Titulo_confirmar {
    font-size: 25px;
    color: #000000;
}

.Titulo_descripcion {
    font-size: 20px;
    color: #000000;
}

.popup-button:hover {
    background-color: #0f82d5;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Media Queries */
@media (max-width: 992px) {
    .text-container {
        padding: 0 15px;
    }

    .form-container {
        padding: 15px;
    }

    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .text-container {
        padding: 0 10px;
    }

    .form-container {
        padding: 15px;
    }

    h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .text-container {
        padding: 0 10px;
    }

    .form-container {
        padding: 15px;
    }

    h2 {
        font-size: 1.5rem;
    }

    .form-group {
        width: 100%;
    }

    input, textarea, select {
        font-size: 0.9rem;
    }

    textarea {
        min-height: 100px;
    }
}
