@import url('montserrat_font.css');

/* Montserrat Thin (100) */
.montserrat-thin {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 100 !important;
    font-style: normal !important;
}
.montserrat-thin-italic {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 100 !important;
    font-style: italic !important;
}

/* Montserrat ExtraLight (200) */
.montserrat-extralight {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 200 !important;
    font-style: normal !important;
}
.montserrat-extralight-italic {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 200 !important;
    font-style: italic !important;
}

/* Montserrat Light (300) */
.montserrat-light {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 300 !important;
    font-style: normal !important;
}
.montserrat-light-italic {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 300 !important;
    font-style: italic !important;
}

/* Montserrat Regular (400) */
.montserrat-regular {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
}
.montserrat-italic {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 400 !important;
    font-style: italic !important;
}

/* Montserrat Medium (500) */
.montserrat-medium {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500 !important;
    font-style: normal !important;
}
.montserrat-medium-italic {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500 !important;
    font-style: italic !important;
}

/* Montserrat SemiBold (600) */
.montserrat-semibold {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    font-style: normal !important;
}
.montserrat-semibold-italic {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    font-style: italic !important;
}

/* Montserrat Bold (700) */
.montserrat-bold {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-style: normal !important;
}
.montserrat-bold-italic {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
}

/* Montserrat ExtraBold (800) */
.montserrat-extrabold {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-style: normal !important;
}
.montserrat-extrabold-italic {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-style: italic !important;
}

/* Montserrat Black (900) */
.montserrat-black {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 900 !important;
    font-style: normal !important;
}
.montserrat-black-italic {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 900 !important;
    font-style: italic !important;
}

.text-justify {
    text-align: justify !important;
    word-spacing: normal !important;
    text-justify: inter-word !important;
    text-align-last: left !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
}

/* Clase específica para contenido justificado en espacios reducidos */
.text-justify-narrow {
    text-align: justify !important;
    word-spacing: -0.05em !important;
    text-justify: inter-word !important;
    text-align-last: left !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    background: #fff;
    overflow-x: hidden;
}
:root {
    --primary-color: #FFCE02;
}

.bg-general-primary {
    background-color: var(--primary-color) !important;
}

.app-root-container {
    height: 100vh;
}

.color-general-primary {
    color: var(--primary-color) !important;
}

.btn-rounded {
    border-radius: 50% !important;
}
/* 60 */
.margin-top-global-60 {
    margin-top: 60px !important;
}

.margin-bottom-global-60 {
    margin-bottom: 60px !important;
}

.margin-y-global-60 {
    margin-top: 60px !important;
    margin-bottom: 60px !important;
}
/* 70 */
.margin-top-global-70 {
    margin-top: 70px !important;
}

.margin-bottom-global-70 {
    margin-bottom: 70px !important;
}

.margin-y-global-70 {
    margin-top: 70px !important;
    margin-bottom: 70px !important;
}
/* 80 */
.margin-top-global-80 {
    margin-top: 80px !important;
}

.margin-bottom-global-80 {
    margin-bottom: 80px !important;
}

.margin-y-global-80 {
    margin-top: 80px !important;
    margin-bottom: 80px !important;
}

/* 100 */
.margin-top-global-100 {
    margin-top: 100px !important;
}

.margin-bottom-global-100 {
    margin-bottom: 100px !important;
}

.margin-y-global-100 {
    margin-top: 100px !important;
    margin-bottom: 100px !important;
}

/* 120 */
.margin-top-global-120 {
    margin-top: 120px !important;
}

.margin-bottom-global-120 {
    margin-bottom: 120px !important;
}

.margin-y-global-120 {
    margin-top: 120px !important;
    margin-bottom: 120px !important;
}

#background-login {
    background-image: url('/images/principal/Logos_fondo_amarillo_Mesa_de_trabajo_1-01.png')
}

[data-kt-app-sidebar-fixed=true] .app-wrapper {
    margin-top: 60px;
}

[data-kt-app-sidebar-fixed=true][data-kt-app-header-fixed=true]:not([data-kt-app-sidebar-push-header=true]) .app-sidebar {
    top: 60px;
}

.my-highlight-personalized {
    background-color: #fdcd00 !important;
    border-radius: 15% !important;
    color: #fff !important;
}
.custom-calendar {
    width: 100% !important;
    height: 100% !important;
    display: flex;
    flex-direction: column;
}

.custom-calendar .vc-pane {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.custom-calendar .vc-pane-container {
    height: 100% !important;
}

.custom-calendar .vc-pane-layout {
    height: 100%;
}

.custom-calendar .vc-weeks {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.vc-container {
    height: 100%;
}

/* START: NAVBAR */
.container-navbar {
    width: 95%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-navbar {
    background: #fff;
    color: #222;
    padding: 10px 0;
    border-bottom: 1px solid #e1e1e1;
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
}
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo-navbar {
    height: 60px;
}
.nav-links a {
    color: #222;
    background: transparent;
    margin: 0 10px;
    padding: 8px 16px;
    border-radius: 24px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    border: none;
    display: inline-block;
    transition: all 0.5s;
}
.nav-links a:hover {
    background: #222;
    color: #fff;
    border-radius: 12px;
}
/* END: NAVBAR */

/* START: HERO SECTION */
.hero {
    position: relative;
    height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    background: #fff;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    left: -25%;
    top: 80%;
    transform: translateY(-50%);
    width: 1250px;
    height: 1250px;
    background: rgba(255, 230, 0, 0.85);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}
.hero-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    min-height: 380px;
    z-index: 1;
}
.hero-content > div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1.1;
    padding: 48px 0 48px 0;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url('/images/principal/B-1600_x_900_px.png');
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-text {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 48px 0;
    max-width: 60%;
}
.hero-text h1 {
    font-size: 2.5em;
    margin: 0.67em 0;
    font-weight: 700;
    color: #111;
}
.hero-text h2 {
    font-size: 20px;
    margin: 0.67em 0 0.2em 0;
    font-weight: 600;
    color: #111;
}
.hero-text p {
    font-size: 1.1em;
    margin: 0.5em 0 1.5em;
    color: #333;
}
/* START: HERO SECTION */

/** START: TOPBAR */
.container-topbar {
    width: 95%;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 12px !important;
}
.topbar {
    background: #2f2d2d;
    color: #fff;
    font-size: 0.95em;
    padding: 6px 0;
    height: 50px;
}
.topbar-left {
    display: flex;
    align-items: center;
}
.topbar-link {
    color: #fff;
    text-decoration: none;
    margin-right: 18px;
    font-weight: 500;
    transition: color 0.2s;
    cursor: pointer;
}
.topbar-link:hover {
    color: var(--primary-color);
}
.topbar-social {
    color: #fff;
    margin-left: 10px;
    font-size: 1.1em;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}
.topbar-social:hover {
    color: var(--primary-color);
}
/** END: TOPBAR */

.hero-content > div:first-child h2 {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 0 0.5em 0;
    color: #222;
    margin-bottom: 1.5rem;
}
.hero-content > div:first-child h1 {
    font-size: 2.8em;
    font-weight: 800;
    margin: 0 0 0.5em 0;
    color: #111;
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero-content > div:first-child p {
    font-size: 20px;
    color: #222;
    margin-bottom: 1.5em;
    max-width: 90%;
}

.btn-general {
    font-size: 20px;
    padding: 14px 36px;
    border-radius: 15px;
    background: #111;
    color: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: background 0.2s, color 0.2s;
    min-width: 125px;
    text-decoration: none;
    cursor: pointer;
    /* montserrat-black */
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 900 !important;
    font-style: normal !important;
}

.btn-general-white {
    background-color: #fff !important;
    color: #000 !important;
}

.btn-general-secondary {
    font-size: 20px;
    padding: 14px 36px;
    border-radius: 15px;
    background: var(--primary-color);
    color: #000;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: background 0.2s, color 0.2s;
    min-width: 200px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 900 !important;
    font-style: normal !important;
}

.btn-general-sm {
    min-width: 100px;
    padding: 10px 20px;
    font-size: 14px !important;
}

.btn-general:hover {
    background: var(--primary-color);
    color: #222;
}

.btn-general-white-hover:hover {
    background: #fff !important;
    color: #222 !important;
}

.btn-general-yellow-hover:hover {
    background: var(--primary-color) !important;
    color: #222 !important;
}

.btn-general-secondary:hover {
    background: #000;
    color: #fff;
}
.hero-content > div:last-child {
    display: flex;
    align-items: flex-start;
    flex: 1;
    min-width: 320px;
    padding: 0 0 0 8rem;
}
.hero-img {
    width: 340px;
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    object-fit: cover;
}
.intro {
    background: #fff;
    text-align: center;
    padding: 0px 0 20px 0;
    width: 75%;
    margin: auto;
}
.intro h2 {
    font-size: 2em;
    margin: 0.5em 0;
}
.publico {
    width: 75%;
    margin: -18px auto;
    position: relative; /* Asegura contexto para posicionamiento absoluto */
    background: #fff;
}
.publico-imgs {
    position: relative; /* Permite posicionar la imagen absolutamente */
    display: flex;
    align-items: flex-end; /* Posiciona la imagen al fondo del div */
    justify-content: center; /* Centra horizontalmente */
    height: 400px;
    width: 100%;
}
.publico-imgs img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1; /* Menor que .publico-cards */
    width: 80%;
    max-width: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    pointer-events: none; /* Opcional: evita interacción */
}
.publico-cards {
    position: relative;
    z-index: 2; /* Asegura que esté encima de la imagen */
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 7rem;
}
.card-publico {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    width: 30%;
}
.card-publico .card-illustration {
    width: 80%;
    aspect-ratio: 1/1; /* Mantiene proporción cuadrada */
    height: auto;
    border-radius: 50%;
    object-fit: cover; /* Rellena el círculo */
}
.card-publico img[alt="Alumnos"] {
    object-position: calc(100% + 20px) center; /* Mueve 20px a la derecha */
}
.card-publico h3 {
    margin: 0.5em 0;
    font-size: 1.1em;
}

.title-card-publico {
    width: 65%;
    max-width: max-content;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    background: #000;
    padding: 10px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: bolder;
}

.programas {
    background: #fff;
    text-align: center;
}
.programas-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}
.programas-cards .card-program {
    width: 50%;
    min-height: 350px;
    padding: 3rem;
    background-repeat: no-repeat;
    background-size: cover;
    font-size: 20px;
    position: relative;
}
.card-program img {
    position: absolute;
    top: 5%;
    right: -5%;
    width: 230px;
    height: 100px;
    object-fit: cover;
}
.card-program .content-card-program {
    width: 68%;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Previene espacios excesivos en texto justificado */
    word-spacing: normal;
    text-justify: inter-word;
    hyphens: none;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    font-size: 18px !important;
}

.card-program.yellow {
    background-image: url(/images/frame_1000002375.png);
}
.card-program.purple {
    background-image: url(/images/frame_1000002377.png);
}
.aliados {
    background: var(--primary-color);
    padding: 40px 0;
    text-align: center;
    display: flex;
    padding: 4rem 10rem;
    align-items: center;
}
.aliados-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
}
.aliados-logos img {
    height: 40px;
    background: #fff;
    border-radius: 8px;
    padding: 6px 12px;
}
.reconocimiento {
    background: #fff;
    /* padding: 40px 15rem 40px 10rem; */
}
.reconocimiento-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    height: 500px;
}
.reconocimiento-flex img {
    width: 55%;
    border-radius: 12px;
}
footer {
    background: var(--primary-color);
    padding: 2rem 10rem;
}
.footer-flex {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.text-reconocimiento {
    width: 45%;
    text-align: left;
}
footer h4 {
    margin: 0 0 8px 0;
}
footer a {
    color: #222;
    text-decoration: underline;
    font-size: 0.95em;
}

footer img {
    width: 200px;
}

@media only screen and (max-width: 900px) {
    .hero,
    .hero-content {
        flex-direction: column;
        min-height: fit-content;
        padding: 0;
    }
    .hero::before {
        top: 0;
        transform: translateX(-50%);
        height: auto;
        aspect-ratio: 1 / 1;
        border-radius: inherit;
        background: var(--primary-color);
        opacity: 0.5;
    }

    .hero-content > div:first-child,
    .hero-content > div:last-child {
        padding: 24px 0 0 0;
    }
    .hero-img {
        width: 100%;
        max-width: 320px;
        margin: 0 auto 24px auto;
        display: block;
    }
}

@media only screen and (max-width: 768px) {
    .content-logo-profe-max {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-content > div:first-child h2 {
        font-size: 16px;
    }

    .hero-content > div:first-child p {
        font-size: 16px;
    }

    .hero-content {
        align-items: flex-start;
        padding: 0 5rem;
    }

    .hero-bg {
        background-position: center;
    }

    .logo-profe-max {
        height: 150px !important;
        width: 300px !important;
    }

    .publico {
        width: 90% !important;
    }

    .publico-cards {
        flex-direction: column;
        align-items: center;
    }

    .card-publico {
        width: 90%;
        margin-bottom: 20px;
    }

    footer {
        padding: 3rem 0rem;
    }

    .publico-imgs {
        height: 200px;
    }

    .programas-cards {
        flex-direction: column;
        align-items: center;
    }

    .card-program {
        width: 90% !important;
        min-height: unset !important;
        margin-bottom: 20px !important;
    }


    .aliados {
        flex-direction: column;
        padding: 3rem;
    }

    .reconocimiento {
        padding: 2rem 1rem 0 1rem;
    }

    .reconocimiento-flex {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        height: auto;
    }

    .text-reconocimiento {
        width: 100%;
        text-align: center;
    }

    .reconocimiento-flex img {
        width: 100%;
    }
}

@media only screen and (max-width: 600px) {

    .hero-bg {
        background: url('/images/principal/B-600_x_800_px.png');
    }

    #form-login-container {
        height: 100vh;
        align-items: normal;
    }

    #background-login {
        display: none !important;
    }

    .publico-imgs img {
        width: 100% !important;
    }

    .hero-content {
        align-items: center;
        padding: 0;
    }

    .hero {
        height: calc(100vh - 100px);
    }

    .footer-flex {
        flex-direction: column;
        gap: 30px;
    }
}
