/* ===== HEADER FIJO Y ESTILO GENERAL ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;  
    overflow-y: hidden;    /* evita scroll horizontal no deseado */
}

/* Opcional pero muy recomendado */
body {
    min-height: 100vh;     /* por si acaso */
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.site-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ===== LOGO ===== */
.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

/* ===== MENÚ PRINCIPAL ===== */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: #003087; /* Azul oscuro del sitio */
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
}

.subtitle {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
    font-style: italic;
}

/* Subrayado verde al hover */
.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: #00A88E; /* Verde característico */
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: #00A88E;
}

.main-nav a:hover::after {
    width: 100%;
}

/* ===== BOTÓN BOLETÍN ===== */
.btn-boletin {
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid #003087;
    border-radius: 30px;
    color: #003087;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-boletin:hover {
    background-color: #003087;
    color: white;
    border-color: #003087;
}

/* ===== ICONOS SOCIALES ===== */
.social-icons {
    display: flex;
    gap: 15px;
    margin-left: 20px;
}

.social-icons a {
    color: #003087;
    font-size: 18px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #00A88E;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .site-header .container {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .main-nav {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }
    .main-nav ul {
        justify-content: center;
    }
    .header-right {
        margin-left: auto;
    }
}

@media (max-width: 576px) {
    .main-nav ul {
        gap: 15px;
        font-size: 13px;
    }
    .btn-boletin {
        padding: 6px 15px;
        font-size: 13px;
    }
    .social-icons a {
        font-size: 16px;
    }
}


/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('../img/fondo-hero.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
    flex-direction: column;
    justify-content: center;
    gap: 5%;
}

.hero-section-main{
    display: flex;
    align-items: center;
    flex-direction: column;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0, 168, 142, 0.8), rgba(0, 48, 135, 0.7));
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    color: white;
}

/* ===== LOGO PROGRAMA ===== */
.program-logo {
    text-align: center;
    flex: 0 0 25%;
}

.program-logo img {
    height: 250px;
}

.imagencita {
    height: 100px !important;
}

.program-logo h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.hero-section h1 {
    font-size: 50px;
}

.white {
    z-index: 999;
    color: white;
    
}

.highlight {
    color: #00E6C3;
    font-weight: 800;
}

/* ===== CONTENIDO PRINCIPAL ===== */
.hero-content {
    flex: 0 0 60%;
    max-width: 80vw;
}

.hero-content h1 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn-register {
    display: inline-block;
    background-color: #00E6C3;
    color: #003087;
    font-weight: 700;
    font-size: 18px;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 230, 195, 0.3);
}

.btn-register:hover {
    background-color: white;
    color: #003087;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ===== FLECHAS DE NAVEGACIÓN ===== */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    background: white;
    color: #003087;
}

.nav-arrow.left { left: 20px; }
.nav-arrow.right { right: 20px; }


.title-div {
    display: flex;
    flex-direction: row;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
        
    }
    .program-logo, .hero-content {
        flex: none;
        max-width: 50%;
    }
    .program-logo {
        margin-bottom: 30px;
    }
    .hero-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }
    .btn-register {
        padding: 12px 30px;
        font-size: 16px;
    }
}


