.contact-form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    padding: 20px;
    max-width: 800px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form {
    width: 100%;
    max-width: 600px;
}

.contact-form h2 {
    text-align: center;
    font-size: 1.8em;
    color: #243d5f;
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #243d5f;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.contact-form textarea {
    height: 120px;
    resize: none;
}

.contact-form button {
    width: 100%;
    padding: 10px;
    background-color: #1e385b;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #162b45;
}

/* Estilo para el checkbox y el texto */
.contact-form .form-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-form .form-checkbox input {
    margin-right: 10px;
    flex-shrink: 0;
}

.contact-form .form-checkbox label {
    margin: 0;
    word-wrap: break-word;
    font-size: 0.9em;
    color: #243d5f;
}

.contact-form .form-checkbox a {
    color: #1e385b;
    text-decoration: underline;
}

.contact-form .form-checkbox a:hover {
    color: #162b45;
}

/* Media queries para móviles */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 15px;
    }

    .contact-form h2 {
        font-size: 1.5em;
    }

    .contact-form button {
        font-size: 1em;
    }

    .contact-form textarea {
        height: 100px;
    }
}
