*{
    margin: 0;
    padding: 0;
}

body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333333;
    line-height: 1.6;
}

/* Encabezado */
.encabezado-principal{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#logo{
    color: rgba(47, 79, 79, 0.692);
}

.menu-nav ul{
    list-style: none;
    display: flex;
    gap: 25px;
}

.menu-nav ul li a{
    text-decoration: none;
    color: #333333;
    font-weight: bold;
}

/* Banner de oferta */
.banner-oferta{
    padding: 10px 15px;
    border-bottom: 3px solid orange;
    font-weight: bold;
    font-size: 0.9rem;
    background-color: orange;
    color: white;
    text-align: center;
}

/* Hero */
.hero{
    background: linear-gradient(to bottom, #1e3c72, #2a5298);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.hero h2{
    font-size: 2rem;
    margin-bottom: 10px;
}

.hero .Subtitulo{
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero button,
.hero a.boton{
    background-color: #28a745;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

/* Sección de cursos */
.seccion-cursos{
    padding: 40px 30px;
    text-align: center;
}

.seccion-cursos h2{
    margin-bottom: 30px;
}

.seccion-cursos > div{
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.seccion-cursos article{
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: 280px;
    text-align: left;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

seccion-cursos article h3{
    margin-bottom: 10px;
}

seccion-cursos article p{
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.precio{
    color: #28a745;
    font-weight: bold;
}

/* Footer */
footer{
    background-color: #1a1a1a;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 0.85rem;
}