*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body{
    background:#f5f7fa;
    color:#333;
}

.container{
    width: 95%;
    margin:0 auto;
}

.header{
    background:white;
    padding:18px 0;
    border-bottom:1px solid #eee;
}

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

.logo{
    font-weight:bold;
    font-size:24px;
    color:#1a202c;
}
.logo span{
    color:#2b6cb0;
}

.nav > a,
.nav > .nav-dropdown > summary{
    text-decoration:none;
    color:#4a5568;
    margin-left:18px;
    font-size:14px;
}

.nav{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:8px 0;
}


.banner{
    background:#f97316;
    color:white;
    text-align:center;
    padding:10px;
    font-size:13px;
    font-weight:600;
}


.hero{
    padding:0px 0;
}

.hero h1{
    font-size:24px;
    color:#2d3748;
    margin-bottom:5px;
}

.hero p{
    font-size:14px;
    color:#718096;
    margin-bottom:10px;
}

.btn{
    font-size:12px;
    padding:4px 8px;
    border:1px solid #cbd5e0;
    background:#f7fafc;
    cursor:pointer;
}


.cursos{
    margin-top:40px;
}

.cursos h2{
    font-size:18px;
    margin-bottom:20px;
    margin-left:40px;
}

.grid-cursos{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap:20px;
    margin-top: 40px;
}

.card{
    background:white;
    border:1px solid #e2e8f0;
    padding:20px;
    border-radius:20px;
}

.card h3{
    font-size:16px;
    margin-bottom:12px;
    color:#2d3748;
}

.card p{
    font-size:13px;
    color:#718096;
    line-height:1.5;
    margin-bottom:20px;
    min-height:40px;
}
.card-2{
    background:white;
    border:1px solid #e2e8f0;
    padding:20px;
    border-radius:20px;
}

.card-2 h3{
    font-size:16px;
    margin-bottom:12px;
    color:#2d3748;
}

.card-2 p{
    font-size:13px;
    color:#718096;
    line-height:1.5;
    margin-bottom:20px;
    min-height:40px;
}

.precio{
    color:#48bb78;
    font-weight:bold;
    font-size:14px;
}

.footer{
    margin-top:80px;
    padding:20px 0;
    font-size:12px;
    color:#718096;
}
.btn-inscribir {
    background-color: #14b959;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;

}

@media (max-width: 768px){
    .container{
        flex-direction:column;
        gap:15px;
    }
    .header-content{
        flex-direction:column;
        gap:15px;
    }
    .nav{
        justify-content:center;
    }
}
/* hero color degradado */
.hero{
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: #ffffff;
    text-align: center;
    padding: 60px 20px;

}
.hero .titulo{
    color: #ffffff;
    margin-bottom: 10px;
}
.hero .subtitulo{
    color: #e0e0e0;
    margin-bottom: 20px;
}
.card-2{
    background:white;
    border:1px solid #e2e8f0;
    padding:20px;
    border-radius:20px;
    position: relative; 
}


.badge {
    position: absolute; 
    top: 12px; 
    right: 12px; 
    background-color: #fe4242;
    color: white; 
    font-size: 12px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
}

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