* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


body {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: #1f2937;
    line-height: 1.6;
    background: #f5f7fb;
}

a {
    text-decoration: none;
    color: inherit;
}

#logo {
    color: #1d4ed8;
    font-size: 2rem;
    font-weight: 700;
}

#logo span {
    color: #14b8a6;
}

.enabezado_principal {
    background-color: #ffffff;
    padding: 18px 5%;
    border-bottom: 1px solid #dbe3f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
}

.menu_nav ul {
    list-style: none;
    display: flex;
    gap: 22px;
    align-items: center;
}

.menu_nav a {
    font-size: 0.95rem;
    text-transform: lowercase;
    color: #334155;
    transition: color 0.2s ease;
}

.menu_nav a:hover {
    color: #1d4ed8;
}

.baner_notificacion {
    background-color: #f97316;
    color: #ffffff;
    text-align: center;
    padding: 12px 15px;
    border-bottom: 3px solid #67e8f9;
    font-size: 0.95rem;
    font-weight: 600;
}

.hero {
    background: linear-gradient(90deg, #0f172a 0%, #1d4ed8 50%, #14b8a6 100%);
    padding: 90px 5% 80px;
}

.hero_content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    color: #ffffff;
}

.hero_content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 18px;
}

.hero_content p {
    font-size: 1.08rem;
    margin-bottom: 28px;
    color: black;
}

.seccion_cursos {
    background-color: #eef2ff;
    width: 100%;
    min-height: 350px;
    padding: 60px 5% 80px;
}

.seccion_cursos h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #111827;
}

.grid_cursos {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.curso_card {
    background: #ffffff;
    padding: 24px 20px;
    box-shadow: 0 12px 24px rgba(9, 67, 201, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease ;
}
.curso_card:hover{
    transform: translateY(-8px);
    box-shadow: 0 12px rgba(0,0,0,0.15);
}

.curso_card h3 {
    margin-bottom: 12px;
    color: #0f172a;
}

.curso_card p {
    color: #475569;
    margin-bottom: 16px;
}

.precio {
    display: inline-block;
    color: #219150;
    margin-top: 10px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 999px;
}
.btn-principal{
    background-color: #219150;
    border-color: black;
    color: #ffffff;
    padding: 14px 28px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-principal:hover{
    background-color: #9e9c04;
}
.btn-principal:focus{
    background-color: #bb850f;
}


footer {
    background: #1a252f;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    
}

@media (max-width: 600px) {
    .enabezado_principal {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .hero h2{
       font-size: 1.5rem;
    }
    .grid_cursos{
        grid-template-columns: 1fr;
    }
    .menu_nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    
}

