:root {
    --main-color: #002B82;
    --main-1-color: #0050B3;
    --main-2-color: #55E696;
    --main-3-color: #250864;
    --main-4-color: #AAA439;
    --main-5-color: #00F6FF;
    --main-6-color: #3A86FF;
    --main-7-color: #FFB100;
}
.fondo-mod{
    background-color: #0050B3;
    color: #55E696;
    font-weight: bold;
    margin-left: 3rem;
    padding: 10px 10px;
    border-radius: 10px 0 0 10px;
    min-width: 120px;
}

.fondo-fecha{
    background-color: #55E696;
    color: #FFFFFF;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 0 10px 10px 0;
    min-width: 300px;
}

.textCuota{
    color: #55E696; 
    font-size: 25px; 
    font-weight: bold;
    text-align: right;
}

.fechaModulo{
    color: #FFB100 !important; 
    display: inline-block; 
    margin-left: 93px;
}
.div-costo{
    border: 2px solid #002B82; 
    border-radius: 15px; 
    flex-direction: column; 
    align-items: center; 
    min-width: 180px;

}

.card-cuota{
    background-color: #0050B3;
    padding: 20px 10px;
    border-radius: 20px;
    font-family: 'Oswald';
    font-size: 25px;
    text-align: center;
    max-width: 265px;
}

.boton-pagar {
    background-color: #7df59e; /* Verde claro/menta */
    color: #2656b8; /* Texto azul igual al fondo */
    text-decoration: none;
    font-weight: 800;
    font-size: 20px;
    padding: 6px 40px;
    border-radius: 15px; /* Forma de píldora */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 30px; /* Espacio entre el texto y la flecha */
    transition: background-color 0.2s ease-in-out;
    cursor: pointer;
    border: none;
}

header {
    background-image: url('img/fondo.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center right;
}


a:active,
a:active *,
button:active {
    outline: none !important;
    -moz-outline-style: none !important;
}

a:focus,
a:focus *,
button:focus {
    outline: none !important;
    -moz-outline-style: none !important;
}

html {
    overflow-x: hidden;
}

strong {
    font-weight: 600;
}

body {
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 17px;
    color: #464A53;
    margin: 0;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

ul {
    margin: 0;
    padding: 0;
}

#contact li {
    list-style: none;
}

#mainmenu {
    background-color: var(--main-color) !important;
    padding: 0px 15px;
    transition: all 0.3s ease;
}

#mainmenu ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
}

#mainmenu ul li {
    padding: 20px 0;
}

#mainmenu ul li a {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 30px;
    color: #f9f9fb;
}

.ExtraBold {
    font-weight: bolder;
}


.fecha-diplomado {
    border: 2px solid #0050B3;
    /* Borde de 2px color azul */
    padding: 8px 15px;
    /* Espacio interno */
    border-radius: 5px;
    /* Opcional: redondea un poco las esquinas */
    display: inline-block;
    /* Ajusta el borde al tamaño del texto */
    color: #0050B3;
    /* Aplica el mismo color al texto si lo deseas */
    font-size: 30px;
    max-width: 500px;
    margin-left: 10px;
}

/* Nota inferior */
.nota-convenio {
    text-align: right;
    font-size: 16px;
    color: #1B1B1B;
    /*margin-right: 100px;*/
}

.container-prueba {
    margin-left: 5%;
}

.div-recort {
    background-color: #FFFFFF;
    clip-path: polygon(0% 100%, 10% 0%, 100% 0%, 100% 100%);
}

.container-cuotas {
    display: flex;
    align-items: center;
    gap: 30px;
    /* Separa todos los bloques por 30px exactos */
}

/* Contenedor que alinea todo a la derecha con espacio entre elementos*/
.contenedor-principal-cuotas {
    display: flex;
    justify-content: flex-end;
    /* Alinea al final (derecha) */
    align-items: center;
    gap: 50px;
    /* Espacio de 50px entre los bloques */
    font-family: sans-serif;
}

/* AQUÍ ESTÁ LA CORRECCIÓN DEL COLOR VERDE*/
.titulo-cuota-verde {
    color: #55E696;
    /* Color verde solicitado */
    font-size: 30px;
    font-weight: bold;
    line-height: 1.1;
    text-align: right;
    /* Alineación del texto a la derecha */
}


#module_2.open,
#module_4.open,
#module_6.open {
    background-color: #E7FEFF;
}

header {
    background-image: base('./assets/img/header-bg.webp');
    background-size: cover;
    background-position: bottom;
    color: #AAA439;
    font-family: "Montserrat", sans-serif;
}

header .container-fluid,
header .row {
    height: 100%;
}

header .girl {
    background-image: url('./img/header-girl.webp');
    background-size: auto 530px;
    background-repeat: no-repeat;
    background-position: left bottom;
    display: flex;
    align-items: end;
    justify-content: flex-end;
}

header .info {
    font-size: 20px;
    padding: 50px;
}

header .info strong {
    font-weight: 600;
}

header .info .subtitle {
    font-family: "Parkinsans", sans-serif;
    font-size: 24px;
}

header .info .title {
    font-size: 52px;
    color: #250864;
}

header .info .real-title {
    font-size: 30px;
}

header .info .line {
    border-top: 3px solid #55E696;
    height: 2px;
    margin: 25px 0;
    width: 70%;
}

header .info table td {
    border: 2px solid white;
    padding: 10px;
}

header .price {
    font-size: 22px;
    color: white;
    margin-bottom: 30px;
    margin-right: -12px;
    padding: 15px 30px;
    border-radius: 20px 0 0 20px;
    font-weight: 600;
    text-align: right;
}

header .small {
    font-weight: 100;
    font-size: 75%;
}

footer {
    background-color: #2D3247;
    padding: 50px 0;
    margin-top: 150px;
    color: white;
}

footer .title {
    font-weight: 600;
    font-size: 20px;
}

footer .color-blue,
footer i {
    color: #3A86FF;
}

footer #contact li {
    padding: 8px 0;
}

footer #contact li i {
    margin-right: 10px;
}

footer #logo {
    width: 100px;
}

.btn-main {
    background-color: var(--main-color);
    padding: 10px 32px;
    text-align: center;
    color: #2D3247;
    border-radius: 8px;
    display: inline-block;
    text-decoration: none;
}

.btn-register label {
    border: 1px solid gray !important;
    padding: 10px 40px;
    border-radius: 10px;
    margin-top: 12px;
    font-weight: 500;
    cursor: pointer;
    margin-left: -30px;
}

.btn-register input[type="radio"] {
    margin-top: 30px;
    margin-left: -10px;
}

.color-white {
    color: #002B82 !important;
}

.color-main {
    color: var(--main-5-color) !important;
}

.bg-main-2 {
    background-color: var(--main-2-color) !important;
}

.modules {
    padding-top: 30px;
}

.modules .title {
    font-weight: 800;
    color: #747374;
    margin-bottom: 0px;
    border-bottom: 2px solid;
    padding-bottom: 16px;
    cursor: pointer;
}

.modules .title span {
    color: var(--main-6-color);
}

.modules .title i {
    float: right;
    font-size: 21px;
    margin-top: 0px;
    color: var(--main-6-color);
}

.modules.open .title i {
    color: gray;
}

.modules .price,
.modules .hours,
.modules .date {
    background-color: var(--main-5-color);
    border-radius: 9px;
    display: inline-block;
    padding: 4px 9px;
    margin-bottom: 10px;
    margin-top: 10px;
    margin-right: 2px;
    text-align: center;
    width: 200px;
}

.modules .price>strong {
    display: block;
}

.modules .topic {
    font-weight: 800;
    color: #000;
    margin: 5px 0;
}

.modules .list-topic>li {
    list-style: disc;
    margin-left: 35px;
}

.modules .list-topic>li::marker {
    color: var(--main-color);
    font-size: 1.2em;
}

.modules .list-topic>li li {
    list-style: square;
    margin-left: 35px;
}

.modules .list-topic>li li::marker {
    color: var(--main-5-color);
    font-size: 1.2em;
}

.modules .content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.modules.open .content {
    max-height: 1150px;
    padding-bottom: 30px;
}

.section {
    margin: 50px 0;
    padding: 0px 0;
}

.section .img-section {
    width: 90%;
    max-width: 100%;
    margin: 0 0;
    /* display: block; */
}

.section .title-section {
    color: #250864;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 15px;
    margin-top: 15px;
    padding: 0 0px;
}

.section .subtitle-section {
    color: #250864;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 10px;
    margin-top: 15px;
}

.section .text-section {
    line-height: 25px;
    text-align: justify;
    padding: 0 0px;

}

.section#mode {
    background-color: var(--main-1-color);
    margin: 100px 0 100px;
    padding: 30px 0;
    color: white;
    font-size: 16px;
    position: relative;
    box-shadow: 0px 5px 6px #00000029;
}

.section#mode .text {
    font-size: 28px;
}
.section#mode .textRegister {
    font-size: 70px;
}

.section#mode .img-section {
    top: -37px;
    width: 280px;
    position: absolute;
    margin: 0 0 0 140px;
}

.selectedRadio {
    background-color: #C7C4F5;
    color: #000;
}
#mainmenu.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

  }

@media (max-width: 1518px) {
    .div-recort {
        flex-direction: column !important;
        align-items: flex-center !important;
        gap: 1rem !important;
        }
        .textCuota{
           
            text-align: center;
        }
}

@media (max-width: 1399px) {
    .section#mode .img-section {
        margin-top: 38px;
        width: 210px;
    }
}

@media (max-width: 991px) {
    #mode .img-section {
        display: none;
    }

    #purposes .img-section,
    #registrations .img-section {
        display: none;
    }

    .section {
        margin: 20px 0;
        padding: 20px 0;
    }

    .section#mode .img-section {
        display: none;
    }
    .btcenter{
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    header {
        margin-bottom: 50px;
    }

    header .girl {
        background-image: none;
        justify-content: center;
    }

    header .price {
        margin-bottom: 30px;
        border-radius: 20px;
        text-align: center;
    }

    .modules .price>strong {
        display: inline;
        font-weight: lighter;
    }

    #mainmenu ul li {
        padding: 15px 0;
    }

    #mainmenu ul li a {
        font-size: 14px;
        padding: 10px 14px;
    }

    #mainmenu ul {
        justify-content: center;
    }

    #mode .img-section {
        display: none;
    }

    #purposes .img-section,
    #registrations .img-section {
        display: none;
    }

    .section {
        margin: 20px 0;
        padding: 20px 0;
    }

    .section#mode .img-section {
        display: none;
    }

    footer {
        margin-top: 30px;
    }
}

@media (max-width: 500px) {
    .fondo-mod{
        margin-left: 0rem;
        min-width: 100px!important;
        font-size: 14px !important;
        padding: 10px 10px;
    }
    .fondo-fecha{
        font-size: 14px !important;
        min-width: 230px !important;
        padding: 10px 10px;
    }
    #mainmenu ul li a {
        font-size: 10px;
    }
    .section#mode .textRegister {
        font-size: 60px;
    }
    .fecha-diplomado {
        border: 2px solid #0050B3;
        padding: 8px 15px;
        border-radius: 5px;
        display: inline-block;
        color: #0050B3;
        font-size: 23px;
        max-width: 500px;
        margin-left: 10px;
    }
}

.line-separator {
    width: 100%;
    height: 1px;
    background-color: #dadada;
    /* El color de la línea fina gris */
    margin-bottom: 45px;
    /* Espacio debajo de la línea */
}