/*GENERAL*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a73e8;
    --primary-dark: #1557b0;
    --dark-bg: #1e2f3a;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --hero-index: url("../img/banner.png");

}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark-bg);
    overflow-x: hidden;
    width: 100%;
    background-color: var(--white);
    padding-top: 90px;
}

h1 {
    font-size: 54px;
    font-weight: 500;
}

h2 {
    font-size: 36px;
    font-weight: 600;

}

h3 {
    font-size: 24px;
    font-weight: 500;
}

p {
    font-size: 18px;
}

li {
    font-size: 18px;
}

ul {
    padding-left: 30px;
}

section {
    padding: 60px 10%;

}

a {
    text-decoration: none;
}

/*--------- BOTONES -----------*/

.botonHero {
    position: absolute;
    left: 130px;
    bottom: 30px;
    padding: 5px 40px;
    border: 2px solid white;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    background: transparent;
    transition: 0.3s;
}

.botonHero:hover {
    background: white;
    color: var(--primary);
}

.botonInscripcion {
    border: 2px solid white;
    padding: 5px 40px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
}

.botonInscripcion:hover {
    background: white;
    color: var(--primary);
}

.botonBlanco {
    margin-top: 15px;
    padding: 10px 40px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: .3s;
}

.botonBlanco:hover {
    background: var(--primary);
    color: white;
}

/*-------------- LOADER --------------*/
.loader {
    position: fixed;
    inset: 0;
    background: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;

    transition: opacity 0.8s ease, visibility 0.8s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-text span {
    font-size: 50px;
    font-weight: 600;
    color: white;
    display: inline-block;
    animation: bounce 1s infinite;
}

/* Animación en cadena */
.loader-text span:nth-child(1) {
    animation-delay: 0s;
}

.loader-text span:nth-child(2) {
    animation-delay: 0.1s;
}

.loader-text span:nth-child(3) {
    animation-delay: 0.2s;
}

.loader-text span:nth-child(4) {
    animation-delay: 0.3s;
}

.loader-text span:nth-child(5) {
    animation-delay: 0.4s;
}

.loader-text span:nth-child(6) {
    animation-delay: 0.5s;
}

.loader-text span:nth-child(7) {
    animation-delay: 0.6s;
}

.loader-text span:nth-child(8) {
    animation-delay: 0.7s;
}

.loader-text span:nth-child(9) {
    animation-delay: 0.8s;
}

.loader-text span:nth-child(10) {
    animation-delay: 0.9s;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.7;
    }

    50% {
        transform: translateY(-15px);
        opacity: 1;
    }
}

/*---------------- HERO -----------------*/
.hero {
    width: 100%;
    max-width: 100%;
    height: calc(100vh - 70px);
    background-image: url('../img/banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;

}

/*----------------- NAVBAR ------------------*/
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--primary);
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 60px;
    box-sizing: border-box;

    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--primary-dark);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow);
}

.logo img {
    height: 40px;
}

.menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.menu a:hover {
    opacity: 0.5;
}

/* COORGANIZADORES */
.sec1 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sec1 h2 {
    text-align: center;
    color: var(--primary);
    padding-bottom: 40px;
}

.cards {
    display: grid;
    /*flex*/
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    justify-content: center;
    align-items: center;
    /*flex-wrap: wrap;*/
    gap: 30px;
    width: 100%;
    /*max-width: 100px;*/
    /*margin: 0 auto;*/
    padding-bottom: 20px;

}

.card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 25vh;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card img {
    max-width: 180px;
    height: auto;

    opacity: 0.7;
    transition: var(--transition);
}

.card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.oro h3 {
    color: #efb810;
    font-weight: 600;
    text-align: center;
    padding-bottom: 20px;
    padding-top: 20PX;
}

.plata h3 {
    color: #8a9597;
    font-weight: 600;
    text-align: center;
    padding-bottom: 20px;
}

.bronce h3 {
    color: #6c3c14;
    font-weight: 600;
    text-align: center;
    padding-bottom: 20px;
}

/* QUE ES */
.contenedor {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.sec2 h2 {
    color: var(--primary);
}

.sec2 h3 {
    color: var(--primary);
    font-size: 18px;
}

.cont-izquierdo {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cont-izquierdo img {
    width: 400px;
}

.cont-derecho {
    width: 50%;
}

.cont-derecho h3 {
    color: #0f2027;
    font-size: 20px;
    font-weight: bold;
}

/* OBJETIVO */

.sec3 {
    width: 100%;
    background: #d9d9d9;
    /*padding: 86px 20px;*/
    display: flex;
    justify-content: center;
}

.sec3 ul {
    text-align: left;
    font-size: 18px;
}

.sec3 h2 {
    color: var(--primary);
    padding-bottom: 20px;
}

.sec3 p {
    text-align: center;
}

/* TARJETAS */
.sec4 {
    display: flex;
    justify-content: center;
    padding: 80px 0;
    width: 100%;
}

.tarjetas {
    display: flex;
    align-items: center;
}

.tarjeta {
    width: 350px;
    border-radius: 25px;
    padding: 40px;
    color: white;
    box-shadow: 0 15px px rgba(0, 0, 0, .25);
    height: 390px;
}

.dark {
    background-image: url(../img/Recurso\ 6@300x-8.png);
    background-size: cover;
}

.blue {
    background-image: url(../img/Recurso\ 7@300x-8.png);
    transform: translateY(-30px);
    background-size: cover;
}

.content h3,
.content h2,
.content p {
    color: white;
}

/* EJES */
.sec5 {
    width: 100%;
}

.sec5 h2 {
    color: var(--primary);
    padding-bottom: 40px;
}

.eje {
    width: 260px;
    padding: 22px;
    border-radius: 20px;
    text-align: center;
}

.azul {
    background: #1e7dd8;
    color: white;
}

.blanco {
    background: white;
    color: #1e7dd8;
    border: 2px solid #1e7dd8;
}

.line {
    width: 2px;
    height: 40px;
    background: #1e7dd8;
}

/* LINEAS DE INVESTIGACION*/

.sec6 h2 {
    color: var(--primary);
    padding-bottom: 40px;
    text-align: left;
}

.sec6 p,
ul {
    text-align: left;
}

/* PUBLICO OBJETIVO*/

.seccion {

    height: 100%;
    background-image: url("../img/Recurso\ 19.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-end;

    padding: 1.5%;
    padding-left: 2%;
    box-sizing: border-box;
}

.seccion_1 {

    height: 100%;
    background-image: url("../img/Recurso\ 27.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    padding: 9.3%;
    padding-left: 2%;
    box-sizing: border-box;
}

.seccion_2 {
    position: relative;
    max-width: 100%;
    width: 120%;

    height: 100%;
    background-image: url("../img/revista/Recurso\ 6.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: space-around;

    padding: 8.2%;

}

.seccion_2 h3 {
    font-weight: 600;
    padding-bottom: 20px;
}


.seccion_2 .texto {

    margin-top: 70px;
    margin-left: 30px;
    text-align: left;
    color: white;
}

.pie {
    position: absolute;
    top: 480px;
    left: 680px;

}

.pie img {
    width: 400px;
    height: 90px;
}


.texto {
    max-width: 500px;
    padding-top: 40px;
}

.sec7 h2 {
    margin-top: 20px;
    margin-bottom: 15px;
    text-align: left;
    color: white;

}

.texto p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: white;
}

/* FECHAS IMPORTANTES */
.sec8 h2 {
    color: var(--primary);
    padding-bottom: 40px;
}

table {
    border-collapse: collapse;
    width: 100%;
    max-width: 900px;
    background: white;
    margin: auto;
}

td {
    border: 1px solid var(--primary);
    padding: 12px 15px;
    font-size: 16px;
}

td:first-child {
    font-weight: bold;
    color: #333;
    width: 60%;
}

td:last-child {
    text-align: right;
    color: #333;
    width: 40%;
}

tr:nth-child(even) {
    background-color: #f2f6fc;
}

/* BENEFICIOS DE PARTICIPACION */

.sec9 h2 {
    color: var(--primary);
    text-align: center;
    padding-bottom: 40px;
}

.contenedor_1 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 por fila */
    gap: 30px;
    padding: 20px;
    max-width: 100%;
    margin: auto;
}


.tarjeta_1 {
    height: 325px;
    /* MISMO TAMAÑO */
    padding: 30px 25px;
    border-radius: 40px;
    color: white;
    text-align: left;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}


.tarjeta_1:nth-child(1) {
    background: #1976d2;
}

.tarjeta_1:nth-child(2) {
    background: #1ea7c9;
}

.tarjeta_1:nth-child(3) {
    background: #1976d2;
}

.tarjeta_1:nth-child(4) {
    background: #1ea7c9;
}


.tarjeta_1 h3 {
    /*font-size: 20px;*/
    margin-bottom: 15px;
    color: white;
}

.tarjeta_1 ul {
    overflow: hidden;
    color: white;
}

.tarjeta_1 ul li {
    margin-bottom: 8px;
    font-size: 15px;

}

/* BANNER INTERMEDIO*/
.sec10 {
    position: relative;
    width: 100%;
    height: 350px;
    background: url('../img/Recurso\ 8@300x-8.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

/* CAPA AZUL */
.sec10::before {
    content: "";
    position: absolute;
    inset: 0;
    /*background: linear-gradient(90deg, rgba(30, 125, 216, 0.95), rgba(30, 125, 216, 0.7));*/
}

.contenedor_2 {
    position: relative;
    z-index: 2;
    max-width: 100%;
    padding: 20px;
}

.sect10 h2 {
    margin-bottom: 40px;
    color: white;
}

.contenedor_2 p {
    margin-bottom: 25px;
    color: white;
}

.botones {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* CONTADOR */

.countdown {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 80px;
}

.circle {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
}

svg {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

circle {
    fill: none;
    stroke-width: 20;
    stroke: #e5e5e5;
}

.progress {
    stroke: var(--primary);
    stroke-dasharray: 377;
    stroke-dashoffset: 60;
}

.number {
    position: relative;
    text-align: center;
    color: var(--primary);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
}

.number span {
    font-size: 18px;
}

/* FORMA PARTE DE LOS COORGANIZADORES */
.sec11 h2 {
    color: var(--primary);
    padding-bottom: 40px;
    text-align: center;
}

/* PLAN ORGANIZADOR */
.sec12 h2 {
    margin-bottom: 15px;
    font-size: 42px;
    text-align: left;
    color: white;
}

.texto_1 {
    max-width: 500px;
    padding-top: 40px;
    color: white;
    padding-top: 20px;
}

.costo {
    display: flex;
    background-color: white;
    color: var(--primary);
    width: 285px;
    height: 30px;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
}

/* AUSPICIANTES */
.sec13 h2 {
    color: var(--primary);
    text-align: center;
    padding-bottom: 40px;
}


.logo-card {
    width: 150px;

    height: auto;
}

/* FOOTER */
.footer {
    background: #1e2f3a;
    color: white;
    padding: 60px 40px 20px 60px;
    width: 100%;

}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 120px;
}

.footer-col {
    flex: 1;
    text-align: left;
}

.logo {
    width: 120px;
    margin-bottom: 15px;
}

.footer-col p {
    color: #c7d0d6;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
    color: #c7d0d6;
    cursor: pointer;
}

.footer-col h4 {
    margin-bottom: 10px;
    color: #ffff;
}

.footer-line {
    margin-top: 40px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    width: 100%;
}






/* OCULTAR TEXTOS */
#texto2,
#texto4,
#texto6 {
    display: none;
}


.convocatoria {
    display: flex;
    align-items: center;

}

.cont-izquierdo img {
    width: 300px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

/* ANIMACION A X */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* OVERLAY */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* =========================  RESPONSIVO ========================= */

/* =========================
   TABLETS (<= 1024px)
========================= */
@media (max-width: 1024px) {

    section {
        padding: 50px 5%;
    }

    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 30px;
    }

    .contenedor {
        flex-direction: column;
        gap: 30px;
    }

    .cont-izquierdo,
    .cont-derecho {
        width: 100%;
    }

    .cont-izquierdo img {
        width: 100%;
        max-width: 350px;
    }

    .tarjetas {
        flex-direction: column;
        gap: 20px;
    }

    .tarjeta {
        width: 100%;
        max-width: 400px;
    }

    .contenedor_1 {
        grid-template-columns: repeat(2, 1fr);
    }

    .seccion {
        background-image: none;
        background-color: var(--primary);

    }

    .seccion h2 {
        text-align: center;
    }

    .seccion_1 {
        background-image: none;
        background-color: var(--primary);

    }

    .seccion_1 h2 {
        text-align: center;
    }

    .countdown {
        gap: 40px;
    }

    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .fila_pago {
        display: flex;
        flex-direction: column;
    }

    .tabla_pago {
        padding-bottom: 20px;
    }

    .cont-izquierdo img {
        display: none;
    }

    .contenido3 {
        display: flex;
        flex-direction: column;
    }


}


/* =========================
   CELULARES (<= 600px)
========================= */
@media (max-width: 600px) {

    body {
        padding-top: 70px;
    }

    section {
        padding: 40px 5%;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 24px;
        text-align: center;
    }

    p,
    li {
        font-size: 15px;
    }

    /* NAVBAR */
    .navbar {
        padding: 10px 20px;
    }

    .hero {
        background-image: url("../img/citecresponsivo.jpg");
        background-size: 100%;
    }



    .menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--primary);
        flex-direction: column;
        justify-content: center;
        gap: 25px;
        transition: 0.3s;
    }

    .menu.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    /* HERO */
    .hero {
        height: 70vh;
    }

    .botonHero {
        position: static;
        display: block;
        margin: 250px auto;
        text-align: center;
        width: 60%;
    }

    /* CARDS */
    .cards {
        grid-template-columns: 1fr;
    }

    /* TARJETAS PRINCIPALES */
    .tarjeta {
        height: auto;
        padding: 25px;
    }

    .blue {

        transform: translateY(0px);

    }

    /* BENEFICIOS */
    .contenedor_1 {
        grid-template-columns: 1fr;
    }

    /* CONTADOR */
    .countdown {
        flex-direction: row;
        gap: 30px;
    }

    /* SECCIONES CON FONDO */
    .seccion,
    .seccion_1 {
        justify-content: center;
        padding: 40px 10%;
        text-align: center;
    }

    .texto,
    .texto_1 {
        max-width: 100%;
    }

    /* FOOTER */
    .footer {
        padding: 40px 20px;
    }

    .cont-izquierdo img {
        display: none;
    }

    .contenido3 {
        display: flex;
        flex-direction: column;
    }

    .contenido-div {
        display: flex;
        flex-direction: column;
    }

}





/* =========================
   PANTALLAS GRANDES (>= 1400px)
========================= */
@media (min-width: 1400px) {

    section {
        padding: 80px 15%;
    }

    .contenedor {
        max-width: 1400px;
        margin: auto;
    }

    .cards {
        gap: 40px;
    }

    .tarjeta {
        width: 400px;
    }

    .contenedor_1 {
        max-width: 1400px;
        margin: auto;
    }

    .footer-container {
        max-width: 1400px;
        margin: auto;
    }
}