/* ================== Estilos Generales y Variables de Color ================== */
:root {
    --primary-color: #0d47a1; /* Azul oscuro profesional */
    --secondary-color: #1565c0; /* Azul más claro */
    --accent-color: #ffab40; /* Naranja/ámbar para acentos y botones */
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --white-color: #ffffff;
    --font-family: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    background-color: var(--white-color);
    color: var(--text-color);
    line-height: 1.7;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-weight: 700;
    color: var(--primary-color);
}

/* ================== Encabezado y Navegación ================== */
header {
    background-color: var(--white-color);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- ESTA ES LA SECCIÓN MODIFICADA --- */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 65px; /* <-- TAMAÑO AUMENTADO */
}
/* --- FIN DE LA SECCIÓN MODIFICADA --- */


header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

header nav li {
    margin-left: 30px;
}

header nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s;
}

header nav a:hover {
    color: var(--accent-color);
}

.nav-button {
    background-color: var(--accent-color);
    color: var(--white-color);
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}
.nav-button:hover {
    background-color: #ff9100;
    color: var(--white-color);
}

/* ================== Sección Hero ================== */
.hero {
    background: linear-gradient(rgba(13, 71, 161, 0.85), rgba(13, 71, 161, 0.85)), url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?q=80&w=2070&auto=format=fit=crop') no-repeat center center/cover;
    color: var(--white-color);
    text-align: center;
    padding: 120px 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.2em;
    color: var(--white-color);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 40px;
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--white-color);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s, transform 0.3s;
    display: inline-block;
}

.cta-button:hover {
    background-color: #ff9100;
    transform: translateY(-3px);
}

/* ================== Sección de Beneficios ================== */
.benefits {
    background-color: var(--light-gray);
    padding: 60px 0;
}
.benefits .container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    gap: 30px;
    flex-wrap: wrap;
}
.benefit-item {
    flex: 1;
    min-width: 280px;
}
.benefit-item i {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.benefit-item h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
}

/* ================== Sección de Programas ================== */
.program-section {
    padding: 80px 0;
}
.program-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
}
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.program-card {
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.program-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.program-info {
    padding: 25px;
}
.program-info h3 {
    margin-top: 0;
}
.program-info a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
}

/* ================== Sección Sobre Nosotros ================== */
.about-us {
    background-color: var(--light-gray);
    padding: 80px 0;
}
.about-us .container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}
.about-content, .about-image {
    flex: 1;
}
.about-image img {
    width: 100%;
    border-radius: 8px;
}
.about-content h2 {
    font-size: 2.5em;
}

/* ================== Sección de Verificación ================== */
.verification-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
}
.verification-section h2 {
    color: var(--white-color);
    font-size: 2.5em;
}
#verification-form {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
#certificate-id {
    width: 70%;
    padding: 15px;
    font-size: 1em;
    border: none;
    border-radius: 5px 0 0 5px;
}
#verification-form button {
    padding: 15px 25px;
    font-size: 1em;
    background-color: var(--accent-color);
    color: var(--white-color);
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}
#verification-form button:hover {
    background-color: #ff9100;
}
.error-message {
    margin-top: 15px;
    font-weight: bold;
    min-height: 22px;
}

/* ================== Contacto y Pie de Página ================== */
.contact-section {
    padding: 80px 0;
    text-align: center;
}
.contact-section h2 {
    font-size: 2.5em;
}

footer {
    background-color: #222222;
    color: #cccccc;
    text-align: center;
    padding: 30px 0;
}
footer a {
    color: var(--white-color);
    text-decoration: none;
}