* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
/*Hero Section */

.hero-section {
    background: linear-gradient(135deg, #001b7a 0%, #0052cc 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}
.hero-section h1 {
    font-weight: 800;
    font-size: 4rem;
}
.hero-section h2 {
    font-weight: 400;
    font-size: 2rem;
}
.badges {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.badges .badge {
    background-color: white;
    color: #001b7a;
    padding: 15px 10px;
    border-radius: 10px;
}
.item-badge {
    font-weight: bolder;
}
/*Fin*/
/*Sections*/
.container {
    padding: 60px 20px;
}
.container-objetivos{
    padding: 60px 20px;
    margin: 0 66px;
    color: #555;
}
.grid-objetivos {
    display: grid;  
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    align-items: center;
    gap: 10px;
    padding: 10px;
}
.objetivos-list {
    list-style: none;
    background-color: #e8f4f8;
    border-left: 4px solid #2a7fa6;
    padding: 20px;
    border-radius: 10px;
}
.objetivos-list li {
    padding-bottom: 4px ;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    padding-left: 25px;
    line-height: 1.8;
}

.objetivos-list li::before {
    content: "✓";
    position:absolute;
    left: 0;
    top: 0;
    color: #2a7fa6;
    font-weight: bold;
    font-size: 1.2em;
}


.texto-principal {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    padding: 20px;
    color: #555;
    box-shadow: 0 40px 30px rgba(26, 95, 122, 0.1);
    line-height: 1.8;
    border-radius: 10px;
}
.sub-tittle {
    font-size: 2rem;
    color: #001b7a;
    font-weight: 700;
    margin: 50px 0 30px;
    padding-bottom: 15px;
    border-bottom: 4px solid #001b7a;
    display: inline-block;
}

.container-metodologia {
    color: #555;
}
.cards-flex{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows:200px;
    gap: 10px;
}
.cards{
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
}
.mini-contenedor {
    background-color: #e8f4f8;
    padding: 25px;
    margin-top: 30px;
    border-left: 4px solid #001b7a;
    border-radius: 10px;
}
/*acordeon de plan de estudios*/
details{
    border-radius: 10px;
    padding: 10px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.06);
    transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}
.contenedor-estudios details summary {
    min-height: 56px;
    padding: 8px 10px;
    line-height: 1.4;
    cursor: pointer;
    font-weight: 600;
    color: #0f172a;
    list-style: none;
    position: relative;
    padding-right: 36px;
}
.contenedor-estudios details summary::-webkit-details-marker {
    display: none;
}
.contenedor-estudios details summary::after {
    content: ">";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #001b7a;
    transition: transform 180ms ease;
}
.contenedor-estudios details[open] summary::after {
    transform: translateY(-50%) rotate(90deg);
}
.contenedor-estudios details:hover {
    border-color: #c7d2fe;
    box-shadow: 0 16px 28px rgba(0, 27, 122, 0.12);
    transform: translateY(-2px);
}
.contenedor-estudios details[open] {
    border-color: #a5b4fc;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
}
.contenedor-estudios {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    align-items: start;
}
.detail-body {
    padding: 25px;
    border-top: 1px solid #e0e0e0;
    color: #334155;
}
.contenedor-estudios details[open] .detail-body {
    animation: accordion-open 200ms ease;
}
@keyframes accordion-open {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.acordeon-hero summary {
    color: #001b7a;
    font-size: 0.8rem;
    font-weight: 700;
}
/*section-certificacion*/
.contenedor-certificacion {
    padding: 60px 20px;
    background-color: white;
}
.card-certificacion {
    color: #555;
    line-height: 1.8;
    background-color: rgb(77, 249, 86, 0.3);
    padding: 25px;
    border-radius: 10px;
    font-weight: 600;
    border-left: 4px solid rgba(29, 222, 40);
}


/*MODO RESPONSIVO*/

/* general adjustments */
@media (max-width: 992px) {
    .container-objetivos {
        margin: 0 20px;
    }
    .sub-tittle {
        font-size: 1.6rem;
        margin: 40px 0 25px;
    }
    .hero-section h1 {
        font-size: 3rem;
    }
    .hero-section h2 {
        font-size: 1.6rem;
    }
}

@media (max-width:768px){
    .hero-section {
        padding: 60px 15px;
    }
    .hero-section h1 {
        font-size: 2.4rem;
    }
    .hero-section h2 {
        font-size: 1.4rem;
    }

    .badges {
        gap: 10px;
    }

    .container, .container-objetivos, .container-metodologia, .contenedor-certificacion {
        padding: 40px 15px;
        margin: 0;
    }

    .grid-objetivos {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px;
    }

    .cards-flex {
        grid-template-columns: 1fr;
    }

    .contenedor-estudios {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (max-width:480px) {
    .hero-section {
        padding: 50px 10px;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section h2 {
        font-size: 1.2rem;
    }
    .sub-tittle {
        font-size: 1.4rem;
    }
    .cards {
        padding: 20px;
    }
    .objetivos-list {
        padding: 15px;
    }
    .mini-contenedor {
        padding: 20px;
    }
    details {
        padding: 8px;
    }
    .card-certificacion {
        padding: 20px;
    }
}
