/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
/* BODY */
body{
    background: linear-gradient(135deg, #e1f5fe, #ffffff);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height:100vh;
    display:flex;
    flex-direction:column;
    color:#1a237e;
}

/* Quitar subrayado de enlaces */
a:link,
a:visited {
    text-decoration: none;
}


/* =========================
   HEADER
========================= */
header {
    background: #1e3c72;
    color: white;
    padding: 25px 40px;
    position: relative;
    text-align: center;
}

/* LOGO A LA IZQUIERDA */
header .logo {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

header .logo img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

/* TÍTULO CENTRADO */
header .titulo {
    text-align: center;
}

header h1 {
    font-size: 42px;
    margin: 0;
    font-weight: bold;
}

header h2 {
    font-size: 22px;
    font-weight: normal;
    margin-top: 10px;
}

/* =========================
   NAV DEBAJO DEL HEADER
========================= */
nav {
    background-color: #00438D;
    padding: 15px 0;
    text-align: center;
    width: 100%;
    display: block;
}

nav ul {
    margin: 0;
    padding: 0;
}

nav li {
    display: inline-block;
    margin: 0 20px;
    list-style: none;
}

nav a {
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    color: #FFD700;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 5px;
}

/* =========================
   FORMULARIO
========================= */
form {
    text-align: center;
    margin: 40px auto;
    max-width: 800px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.column {
    flex: 1;
}

.caja {
    display: block;
    margin: 20px 0;
}

.caja label {
    font-size: 16px;
    color: #333;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.caja input {
    width: 100%;
    height: 38px;
    text-align: center;
    border: 1px solid #D5D9D9;
    border-radius: 8px;
    margin-top: 8px;
    font-size: 15px;
    transition: 0.3s;
    padding: 0 10px;
}

.caja input:focus {
    border: 1px solid #00438D;
    outline: none;
    box-shadow: 0 0 5px rgba(0,67,141,0.2);
}

/* Botón */
.submit {
    width: 160px;
    height: 42px;
    font-size: 15px;
    font-weight: bold;
    color: white;
    background-color: #00438D;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 20px;
}

.submit:hover {
    background-color: #002f63;
    transform: scale(1.03);
}

/* =========================
   TABLA
========================= */
.tablita {
    display: inline-block;
    margin: 30px auto;
    text-align: center;
}

.tabla {
    border-collapse: collapse;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

table tr th {
    border: 1px solid #D5D9D9;
    width: 150px;
    height: 45px;
    color: white;
    background-color: #00438D;
    font-size: 15px;
    font-weight: bold;
}

/* Celdas */
td {
    border: 1px solid #D5D9D9;
    width: 150px;
    height: 40px;
    text-align: center;
    background: #fff;
    padding: 10px;
}

/* Zebra effect */
tr:nth-child(even) td {
    background-color: #f3f7fb;
}

/* Hover effect on rows */
tr:hover td {
    background-color: #e8f4fd;
}

/* =========================
   FOOTER
========================= */
.footer {
    margin-top: 50px;
    padding: 30px;
    background: #00438D;
    color: white;
    text-align: center;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}

.footer p {
    margin: 10px 0;
    color: #FFD700;
    font-size: 14px;
    font-weight: bold;
}

/* Redes Sociales */
.social {
    width: 32px;
    height: 32px;
    display: inline-block;
    margin: 0 10px;
    transition: 0.3s;
    background-size: contain;
    background-repeat: no-repeat;
}

.social:hover {
    transform: scale(1.15);
    opacity: 0.8;
}

/* Iconos */
.footer-fb {
    background-image: url('../images/fb.ico');
    background-size: contain;
    background-repeat: no-repeat;
}

.footer-twitter {
    background-image: url('../images/twitter.ico');
    background-size: contain;
    background-repeat: no-repeat;
}

.footer-instagram {
    background-image: url('../images/instagram.ico');
    background-size: contain;
    background-repeat: no-repeat;
}

.footer-linkedin {
    background-image: url('../images/linkedin.ico');
    background-size: contain;
    background-repeat: no-repeat;
}