/* styles.css */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #002855;
    color: white;
    padding: 20px;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* styles.css - Ajuste para imagen hero */

.hero {
    position: relative;
    text-align: center;
    color: white;
    padding: 80px 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

.hero-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    display: block;
    filter: brightness(0.8);
}

.hero h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.hero p {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    max-width: 800px;
}

.hero .btn {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 12px 24px;
    background-color: #0044cc;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.hero .btn:hover {
    background-color: #002855;
}


.responsive-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 30px auto;
    max-height: 500px;
    object-fit: cover;
}

main {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

section {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h2, h3 {
    color: #002855;
}

ul, ol {
    padding-left: 20px;
}

ul li, ol li {
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #002855;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #0044cc;
}

footer {
    text-align: center;
    background-color: #002855;
    color: white;
    padding: 15px;
    margin-top: 40px;
}

/* styles.css - Estilos ajustados para el formulario de contacto */

.contact-form {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    text-align: center;
    color: #002855;
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: bold;
    margin: 10px 0 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

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

.contact-form .btn {
    width: 100%;
    padding: 12px;
    background: #0044cc;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form .btn:hover {
    background: #002855;
}

.contact-form #successMessage {
    text-align: center;
    font-size: 16px;
    color: #28a745;
    margin-top: 15px;
    font-weight: bold;
}