/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #ff7eb3, #ffa751); /* Gradiente más vivo */
    color: #fff;
}

a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: transform 0.3s, color 0.3s;
}

a:hover {
    color: #fdfd96; /* Amarillo en hover */
    transform: translateY(-5px);
}

/* Header Styles */
header {
    text-align: center;
    margin: 20px 0;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2em;
    color: #f4f4f4;
}

/* Form Styles */
.contact-form {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
}

.contact-form form {
    background: #fff;
    color: #333;
    padding: 20px;
    border-radius: 10px;
    width: 90%; /* Ajuste al 90% del ancho */
    max-width: 600px; /* Máximo ancho del formulario */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    margin: 0 auto; /* Centrar el formulario */
}

.contact-form input, .contact-form textarea {
    width: 100%; /* Ajuste completo al ancho del formulario */
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1em;
    box-sizing: border-box; /* Evitar que padding afecte el ancho */
}

.contact-form button {
    background: #ff7eb3;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%; /* Botón al 100% del ancho */
    max-width: 200px; /* Máximo tamaño del botón */
    margin: 0 auto; /* Centrar el botón */
    display: block;
}

.contact-form button:hover {
    background: #ffa751;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #00334D, #0E2A47);
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 80%;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left img {
    width: 150px;
    margin-bottom: 10px;
}

.footer-left p {
    font-size: 0.9em;
    line-height: 1.6;
    color: #ccc;
}

.footer-center ul, .footer-right ul {
    list-style: none;
    padding: 0;
}

.footer-center li, .footer-right li {
    margin-bottom: 10px;
}

.footer-right .social-icons a img {
    width: 30px;
    margin: 0 10px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s, filter 0.3s;
}

.footer-right .social-icons a img:hover {
    transform: translateY(-5px) scale(1.2);
    filter: brightness(1);
}

.footer-bottom {
    border-top: 1px solid #1f4e63;
    margin-top: 20px;
    padding-top: 10px;
    font-size: 0.8em;
    color: #fff;
    text-align: center;
    width: 100%;
}

.footer-center nav ul {
    display: flex;
    flex-direction: column;
}

.footer-center nav ul li {
    margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-form form {
        padding: 10px;
    }
}
