/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}


.policy-link {
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.workshop-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.workshop-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.workshop-modal-content {
    background: linear-gradient(135deg, #000a2e 0%, #000a2e 100%);
    padding: 25px;
    border: 1px solid #888;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-family: Arial, sans-serif;
    overflow-y: auto;
    position: relative;
    margin: 20px;
}

.workshop-list {
    line-height: 1.8;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    max-height: 60vh;
    overflow-y: auto;
    margin: 15px 0;
}

/* Add responsive adjustments */
@media screen and (max-width: 768px) {
    .workshop-modal-content {
        width: 95%;
        padding: 20px;
        margin: 10px;
    }
    
    .workshop-list {
        padding: 15px;
        line-height: 1.6;
    }
}

.workshop-modal h2 {
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
    font-size: 24px;
}

.workshop-modal-close {
    color: #fff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.workshop-modal-close:hover {
    color: #a65aff;
}

.modal-warning {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
}

.modal-subtitle {
    color: #00ffee;
    margin-bottom: 15px;
    font-size: 20px;
}

.workshop-list {
    line-height: 1.6;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.workshop-list strong {
    color: #fff;
}

.workshop-list span {
    color: #00ffee;
}

/* Menú fijo */
.fixed-menu {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background-image: url('../img/fondo_menu.jpg');
    background-size: cover;
    background-position: top center;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    /* Separa el logo y los botones */
    align-items: center;
    padding: 0 20px;
    /* Margen lateral */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* Sombra suave */
}

/* Logo a la izquierda */
.logo-container {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.logo-container .logo {
    height: 40px;
    /* Original height reduced by 20% */
    width: auto;
    transform-origin: left center;
}

@media screen and (max-width: 768px) {
    .logo-container {
        margin-left: 10px;
    }

    .logo-container .logo {
        height: 32px;
    }
}

/* Botones a la derecha */
.menu-buttons {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    /* Espacio entre botones */
}

.menu-buttons li {
    margin: 0;
}

.menu-buttons li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    /* Transición suave */
    position: relative;
    /* Para el subrayado */
}

/* Subrayado al hacer hover (excluye el botón con clase .inscribete) */
.menu-buttons li a:not(.inscribete):hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    /* Posición del subrayado */
    width: 100%;
    height: 2px;
    background-color: #01b497;
    /* Color del subrayado */
}

/* Subrayado para el botón activo (excluye el botón con clase .inscribete) */
.menu-buttons li a:not(.inscribete).active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    /* Posición del subrayado */
    width: 100%;
    height: 2px;
    background-color: #01b497;
    /* Color del subrayado */
}

/* Estilo específico para el botón ¡Inscríbete AHORA! */
.menu-buttons li a.inscribete {
    background: -webkit-linear-gradient(135deg, #8DD0B9, #0C80C3);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(135deg, #8DD0B9, #0C80C3);
    border-radius: 25px;
    margin-right: 40px;
    /* Mismo margen que el logo */
}

.menu-buttons li a.inscribete:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 35, 126, 0.4);
    background: linear-gradient(135deg, #0C80C3, #8DD0B9);
    color: white;
}

/* Estilos para la sección de inicio */
#inicio {
    background-image: url('../img/fondo_inicio.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    width: 100vw;
    height: calc(100vw * (1580 / 1920));
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
}

@media screen and (max-width: 768px) {
    #inicio {
        background-image: url('../img/fondo_inicio_resp.jpg');
        height: calc(100vw * (1600 / 1024));
    }
}

/* Contenedor de la cuadrícula */
.inicio-grid {
    display: grid;
    grid-template-columns: repeat(100, 1%);
    /* 100 columnas de 1% cada una */
    grid-template-rows: repeat(100, 1%);
    /* 100 filas de 1% cada una */
    width: 100%;
    height: 100%;
    position: relative;
}

/* Estilos para cada elemento de inicio */
.inicio-item {
    position: relative;
    text-align: center;
}

/* Posicionar la imagen 1 y su botón */
#inicio-1 {
    grid-column: 30 / 48;
    /* Horizontal */
    grid-row: 31 / 70;
    /* Vertical */
}

@media screen and (max-width: 768px) {
    #inicio-1 {
        grid-column: 13 / 47;
        /* Horizontal */
        grid-row: 32 / 70;
        /* Vertical */
    }
}
/* Posicionar la imagen 2 y su botón */
#inicio-2 {
    grid-column: 54 / 72;
    /* Horizontal */
    grid-row: 31 / 70;
    /* Vertical */
}

@media screen and (max-width: 768px) {
    #inicio-2 {
        grid-column: 55 / 89;
        /* Horizontal */
        grid-row: 32 / 70;
        /* Vertical */
    }
}

/* Posicionar la imagen 3 y contador*/
#inicio-3 {
    grid-column: 1 / 100;
    /* Horizontal */
    grid-row: 63 / 100;
    /* Vertical */
}
@media screen and (max-width: 768px) {
    #inicio-3 {
    grid-column: 1 / 100;
    /* Horizontal */
    grid-row: 65 / 100;
    /* Vertical */
    }
}

/* Estilos para las imágenes */
.inicio-img {
    width: 100%;
    /* Ajusta el tamaño de la imagen al contenedor */
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 0;
}

/* ? ----- Cuenta Regresiva ----- */
#cuenta {
    display: flex;
    justify-content: center;
    color: black;
    width: 100%;
    margin-top: 0%;
    /* Eliminado margin-left: center (no válido) */
}

.simply-section {
    position: relative;
    background: transparent;
    width: 140px;
    height: 140px;
    margin: 0 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column; /* Añadido para alinear elementos verticalmente */
}

.simply-section::before {
    content: "";
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    padding: 3px;
    border-radius: inherit;
    background: linear-gradient(135deg, #0C80C3, #8DD0B9);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    pointer-events: none;
}

.simply-amount {
    display: block;
    font-size: 58px;
    font-weight: 700;
    color: #00176b;
    text-align: center; /* Centrado horizontal añadido */
    width: 100%; /* Asegura que ocupe todo el ancho del contenedor */
}

.simply-word {
    font-weight: 100;
    font-size: 14px;
    color: #00176b;
    text-align: center; /* Centrado horizontal añadido */
    display: block; /* Convertir a elemento de bloque */
    width: 100%; /* Asegura alineación consistente */
}
@media screen and (max-width: 768px) {
.simply-section {
    width: 80px;
    height: 80px;
    margin: 5px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column; /* Añadido para alinear elementos verticalmente */
}
    
    .simply-amount {

        font-size: 26px;
    }
    
    .simply-word {
        font-weight: 100;
        font-size: 11px;
        color: #7959e2;
        text-align: center; /* Centrado horizontal añadido */
        display: block; /* Convertir a elemento de bloque */
        width: 100%; /* Asegura alineación consistente */
    }
}
/* ? ---------------------------- */    

/* Estilos para la sección de speakers */
#speakers {
    background-image: url('../img/fondo_speakers1.jpg');
    background-size: 100% auto;
    /* Evita recorte lateral y conserva proporción */
    background-position: top center;
    /* Centra la imagen */
    background-repeat: no-repeat;
    /* Evita que la imagen se repita */
    color: white;
    text-align: center;
    width: 100vw;
    /* Ancho igual al 100% del viewport */
    height: calc(100vw * (1590 / 1920));
    /* Altura proporcional a la imagen */
    min-height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
}
@media screen and (max-width: 768px) {
    #speakers {
        background-image: url('../img/fondo_speakers_resp1.jpg');
        height: calc(100vw * (1600 / 1024));
}
}


/* Contenedor de la cuadrícula */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(100, 1%);
    /* 100 columnas de 1% cada una */
    grid-template-rows: repeat(100, 1%);
    /* 100 filas de 1% cada una */
    width: 100%;
    height: 100%;
    position: relative;
}

    
/* Estilos para cada elemento de speakers */
.speakers-item {
    position: relative;
    text-align: center;
}

/* Posicionar la imagen 1 y su botón */
#speakers-1 {
    grid-column: 19 / 50;
    /* Horizontal: del 31% al 50% */
    grid-row: 15 / 30;
    /* Vertical: del 15% al 30% */
}

@media screen and (max-width: 768px) {
    #speakers-1 {
        grid-column: 5 / 50; /* Increased width by 25% */
        grid-row: 2 / 34; /* Increased height by 25% */
    }
}

/* Posicionar la imagen 2 y su botón */
#speakers-2 {
    grid-column: 55 / 86;
    /* Horizontal: del 55% al 86% */
    grid-row: 15 / 30;
    /* Vertical: del 15% al 30% */
}

@media screen and (max-width: 768px) {
    #speakers-2 {
        grid-column: 45 / 100; /* Increased width by 25% */
        grid-row: 2 / 34; /* Increased height by 25% */
    }
}

/* Posicionar la imagen 3 y contador*/
#speakers-3 {
    grid-column: 23 / 50;
    /* Horizontal: del 31% al 50% */
    grid-row: 47 / 81;
    /* Vertical: del 81% al 71% */
}

@media screen and (max-width: 768px) {
    #speakers-3 {
        grid-column: 20 / 48; /* Increased width by 25% */
        grid-row: 42 / 61; /* Increased height by 25% */
    }
}

/* Posicionar la imagen 4 y contador*/
#speakers-4 {
    grid-column: 47 / 80;
    /* Horizontal: del 31% al 50% */
    grid-row: 47 / 81;
    /* Vertical: del 81% al 71% */
}

@media screen and (max-width: 768px) {
    #speakers-4 {
        grid-column: 41 / 100; /* Increased width by 25% */
        grid-row: 42 / 81; /* Increased height by 25% */
    }
}

#speakers-5 {
    grid-column: 18 / 45;
    /* Horizontal: del 31% al 50% */
    grid-row: 55 / 81;
    /* Vertical: del 81% al 71% */
}
@media screen and (max-width: 768px) {
#speakers-5 {
    grid-column: 1 / 48; /* Increased width by 25% */
    grid-row: 54 / 100; /* Increased height by 25% */
}
}

/* Posicionar la imagen 6 y contador*/
#speakers-6 {
    grid-column: 53 / 80;
    /* Horizontal: del 31% al 50% */
    grid-row: 55 / 81;
    /* Vertical: del 81% al 71% */
}

@media screen and (max-width: 768px) {
    #speakers-6 {
        grid-column: 60 / 100; /* Increased width by 25% */
        grid-row: 64 / 81; /* Increased height by 25% */
    }
}

#speakers-7 {
    grid-column: 40 / 60;
    /* Horizontal: del 31% al 50% */
    grid-row: 92 / 100;
    /* Vertical: del 81% al 71% */
}

@media screen and (max-width: 768px) {
    #speakers-7 {
        grid-column: 15 / 90; /* Increased width by 25% */
        grid-row: 92 / 100; /* Increased height by 25% */
        font-size: 9px;
    }
}

/* Estilos para las imágenes */
.speakers-img {
    width: 100%;
    /* Ajusta el tamaño de la imagen al contenedor */
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 0;
}

/* Estilos para la sección de workshops */
#workshops {
    background-image: url('../img/fondo_workshops.jpg');
    background-size: contain;
    /* Asegura que la imagen se vea completa */
    background-position: top center;
    /* Centra la imagen */
    background-repeat: no-repeat;
    /* Evita que la imagen se repita */
    color: white;
    text-align: center;
    width: 100vw;
    /* Ancho igual al 100% del viewport */
    height: calc(100vw * (2419 / 1920));
    /* Altura proporcional a la imagen */
    min-height: 100vh;
    /* Asegura que el contenedor tenga al menos el alto del viewport */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
}

@media screen and (max-width: 768px) {
    #workshops {
        background-image: url('../img/fondo_workshops_resp.jpg');
        height: calc(100vw * (2645 / 1024));
    }
}

/* Contenedor de la cuadrícula */
.workshops-grid {
    display: grid;
    grid-template-columns: repeat(100, 1%);
    /* 100 columnas de 1% cada una */
    grid-template-rows: repeat(100, 1%);
    /* 100 filas de 1% cada una */
    width: 100%;
    height: 100%;
    position: relative;
}

/* Estilos para cada elemento de workshops */
.workshops-item {
    position: relative;
    text-align: center;
}

/* Posicionar la imagen 1 y su botón */
#workshops-1 {
    grid-column: 18 / 35;
    /* Horizontal */
    grid-row: 13 / 23;
    /* Vertical: */
}
@media screen and (max-width: 768px) {
    #workshops-1 {
        grid-column: 3 / 41; /* Reduced horizontal width */
        grid-row: 15 / 22;
    }
}

/* Posicionar la imagen 2 y su botón */
#workshops-2 {
    grid-column: 42 / 59;
    /* Horizontal:  */
    grid-row: 13 / 26;
    /* Vertical: */
}
@media screen and (max-width: 768px) {
    #workshops-2 {
        grid-column: 52 / 95; /* Reduced horizontal width */
        grid-row: 15 / 22;
    }
}

/* Posicionar la imagen 3 y contador*/
#workshops-3 {
    grid-column: 66 / 85;
    /* Horizontal: */
    grid-row: 13 / 23;
    /* Vertical: */
}
@media screen and (max-width: 768px) {
    #workshops-3 {
        grid-column: 3 / 41; /* Reduced horizontal width */
        grid-row: 32/ 43;
    }
}

#workshops-4 {
    grid-column: 18 / 35;
    /* Horizontal */
    grid-row: 33 / 43;
    /* Vertical: */
}
@media screen and (max-width: 768px) {
    #workshops-4 {
        grid-column: 52 / 95; /* Reduced horizontal width */
        grid-row: 32 / 43;
    }
}

/* Posicionar la imagen 2 y su botón */
#workshops-5 {
    grid-column: 42 / 59;
    /* Horizontal:  */
    grid-row: 33 / 43;
    /* Vertical: */
}
@media screen and (max-width: 768px) {
    #workshops-5 {
        grid-column: 3 / 41; /* Reduced horizontal width */
        grid-row: 49 / 53;
    }
}

/* Posicionar la imagen 3 y contador*/
#workshops-6 {
    grid-column: 66 / 85;
    /* Horizontal: */
    grid-row: 33 / 43;
    /* Vertical: */
}

@media screen and (max-width: 768px) {
    #workshops-6 {
        grid-column: 52 / 95; /* Reduced horizontal width */
        grid-row:49 / 53;
    }
}

#workshops-7 {
    grid-column: 18 / 35;
    /* Horizontal */
    grid-row: 54 / 63;
    /* Vertical: */
}

@media screen and (max-width: 768px) {
    #workshops-7 {
        grid-column: 3 / 41; /* Reduced horizontal width */
        grid-row: 66 / 73;
    }
}

/* Posicionar la imagen 2 y su botón */
#workshops-8 {
    grid-column: 42 / 59;
    /* Horizontal:  */
    grid-row: 54 / 63;
    /* Vertical: */
}

@media screen and (max-width: 768px) {
    #workshops-8 {
        grid-column: 52 / 95; /* Reduced horizontal width */
        grid-row: 66 / 73;
    }
}

/* Posicionar la imagen 3 y contador*/
#workshops-9 {
    grid-column: 66 / 85;
    /* Horizontal: */
    grid-row: 54 / 63;
    /* Vertical: */
}

@media screen and (max-width: 768px) {
    #workshops-9 {
        grid-column: 3 / 41; /* Reduced horizontal width */
        grid-row: 83 / 93;
    }
}

/* Posicionar la imagen 2 y su botón */
#workshops-10 {
    grid-column: 42 / 59;
    /* Horizontal:  */
    grid-row: 74 / 83;
    /* Vertical: */
}

@media screen and (max-width: 768px) {
    #workshops-10 {
        grid-column: 52 / 95; /* Reduced horizontal width */
        grid-row: 83 / 98;
    }
}

/* Estilos para las imágenes */
.workshops-img {
    width: 100%;
    /* Ajusta el tamaño de la imagen al contenedor */
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 0;
}

.workshop-image-container {
    position: relative;
    width: 300px;
    height: 300px;
}

@media screen and (max-width: 768px) {
    .workshop-image-container {
        width: 170px;
        height: 170px;
    }
}
.workshop-img,
.workshop-img-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
    /* Transición suave */
}

.workshop-img-hover {
    opacity: 0;
    /* Inicialmente oculta */
}

.workshop-image-container:hover .workshop-img {
    opacity: 0;
    /* Oculta la imagen normal al hacer hover */
}

.workshop-image-container:hover .workshop-img-hover {
    opacity: 1;
    /* Muestra la imagen de hover */
}

/* Estilos para los botones */
.profile-btn {
    margin-top: -10px;
    /* Espacio entre la imagen y el botón */
    background: -webkit-linear-gradient(135deg, #8DD0B9, #0C80C3);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(135deg, #8DD0B9, #0C80C3);
    color: #000a2e;
    border: none;
    padding: 10px 30px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 20px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.profile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 35, 126, 0.4);
    background: linear-gradient(135deg, #0C80C3, #8DD0B9);
    color: white;
}

@media screen and (max-width: 768px) {
    .profile-btn {
        padding: 6px 10px;
        font-size: 8px;
    }
}


.profile-btn2 {
    margin-top: 10px;
    /* Espacio entre la imagen y el botón */
    position: relative;
    background: transparent;
    color: #fff;
    /* Texto naranja */
    border: none;
    text-decoration: none;
    padding: 7px 40px;
    font-size: 16px;
    /* Tamaño de texto aumentado */
    cursor: pointer;
    border-radius: 25px;
    font-weight: bold;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.profile-btn2::before {
    content: "";
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    padding: 2px;
    border-radius: inherit;
    background: linear-gradient(135deg, #0C80C3, #8DD0B9);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    pointer-events: none;
}

.profile-btn2:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 35, 126, 0.4);
    background: linear-gradient(135deg, #0C80C3, #8DD0B9);
    color: white;
}

/* Estilos específicos para el enlace dentro del botón profile-btn2 */
.profile-btn2 a {
    color: inherit;
    font-size: inherit;
    text-decoration: none;
}

.profile-btn2:hover a {
    color: inherit;
}

.profile-btn3 {
    margin-top: -10px;
    /* Espacio entre la imagen y el botón */
    background-color: #4dd196;
    color: #fff;
    border: none;
    padding: 10px 30px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.profile-btn3:hover {
    background-color: #a65aff;
    color: #fff;
}

.section {
    padding: 0;
}

.section {
    padding: 0;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.popup-content {
    position: relative;
    background-color: white;
    border-radius: 10px;
    text-align: center;
    max-width: 70%;
    max-height: 70vh;
    overflow: hidden;
}

.popup-content img {
    max-width: 100%;
    max-height: 70vh;
    height: auto;
    display: block;
}

.popup-content .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    /* Reduced from 30px */
    cursor: pointer;
    color: #fff;
    background-color: hsla(233, 100%, 68%, 0.5);
    width: 24px;
    /* Reduced from 40px */
    height: 24px;
    /* Reduced from 40px */
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-content button {
    position: absolute;
    bottom: 60px;
    left: 10%;
    background: transparent;
    color: #fff;
    border: none;
    padding: 10px 10px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 25px;
    font-weight: bold;
    width: 35%;
    max-width: 400px;
    transition: color 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
    z-index: 1;
}

.popup-content button::before {
    content: "";
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    padding: 2px;
    border-radius: inherit;
    background: linear-gradient(135deg, #0C80C3, #8DD0B9);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    pointer-events: none;
}

.popup-content button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 35, 126, 0.4);
    background: linear-gradient(135deg, #8DD0B9, #0C80C3);
    color: white;
}

@media screen and (max-width: 768px) {
    .popup-content button {
        bottom: 37%;
         left: 20%;
        width: 60%;
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* Estilos para la sección de agenda */
#agenda {
    background-image: url('../img/fondo_agenda.jpg');
    background-size: cover;
    /* Changed from contain to cover */
    background-position: top center;
    /* Changed to top center */
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    width: 100vw;
    height: 100vh;
    /* Changed to use viewport height instead of calculation */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
}

@media screen and (max-width: 768px) {
    #agenda {
        background-image: url('../img/fondo_agenda_resp.jpg');
        height: calc(100vw * (1100 / 1024));
    }
}

/* Contenedor de la cuadrícula */
.agenda-grid {
    display: grid;
    grid-template-columns: repeat(100, 1%);
    grid-template-rows: repeat(100, 1%);
    width: 100%;
    height: 100%;
    position: relative;
    margin: 0;
    /* Added to ensure no margins */
    padding: 0;
    /* Added to ensure no padding */
}


/* Estilos para cada elemento de inicio */
.agenda-item {
    position: relative;
    text-align: center;
}

/* Posicionar la imagen 1 y su botón */
#agenda-1 {
    grid-column: 1 / 100;
    /* Horizontal: del 31% al 50% */
    grid-row: 11 / 30;
    /* Vertical: del 15% al 30% */
}

@media screen and (max-width: 768px) {
    #agenda-1 {
        grid-column: 1 / 100;
        /* Horizontal: del 31% al 50% */
        grid-row: 15 / 30;
        /* Vertical: del 15% al 30% */
    }
}

.agenda-img {
    width: 100%;
    /* Ajusta el tamaño de la imagen al contenedor */
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 0;
}

/* Estilos para la sección de inscribete */
#inscribete {
    background-image: url('../img/fondo_inscribete.jpg');
    background-size: contain;
    /* Asegura que la imagen se vea completa */
    background-position: top center;
    /* Centra la imagen */
    background-repeat: no-repeat;
    /* Evita que la imagen se repita */
    color: white;
    text-align: center;
    width: 100vw;
    /* Ancho igual al 100% del viewport */
    height: calc(100vw * (2176 / 1920));
    /* Altura proporcional a la imagen */
    min-height: 100vh;
    /* Asegura que el contenedor tenga al menos el alto del viewport */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
}

@media screen and (max-width: 768px) {
    #inscribete {
        background-image: url('../img/fondo_inscribete_resp.jpg');
        height: calc(100vw * (3800 / 1024));
        padding: 0 12px 20px;
    }
}


/* Contenedor de la cuadrícula */
.inscribete-grid {
    display: grid;
    grid-template-columns: repeat(100, 1%);
    /* 100 columnas de 1% cada una */
    grid-template-rows: repeat(100, 1%);
    /* 100 filas de 1% cada una */
    width: 100%;
    height: 100%;
    position: relative;
}

/* Estilos para cada elemento de inscribete */
.inscribete-item {
    position: relative;
    text-align: center;
}

/* Posicionar la imagen 1 y su botón */
#inscribete-1 {
    grid-column: 22 / 52;
    /* Horizontal: del 31% al 50% */
    grid-row: 86 / 91;
    /* Vertical: del 15% al 30% */
}

@media screen and (max-width: 768px) {
    #inscribete-1 {
        grid-column: 3 / 50;
        grid-row: 94 / 94;
    }
    
    #inscribete-1 img {
        max-width: 100%;
        height: auto;
    }
}

#inscribete-2 {
    grid-column: 22 / 52;
    /* Horizontal */
    grid-row: 88 / 89;
    /* Vertical */
}

@media screen and (max-width: 768px) {
    #inscribete-2 {
        grid-column: 3 / 50;
        grid-row: 95 / 95;
    }
    
    #inscribete-2 img {
        max-width: 100%;
        height: auto;
    }
}

#inscribete-3 {
    grid-column: 22 / 52;
    /* Horizontal: del 31% al 50% */
    grid-row: 90 / 91;
    /* Vertical: del 15% al 30% */
}

@media screen and (max-width: 768px) {
    #inscribete-3 {
        grid-column: 3 / 50;
        grid-row: 96 / 96;
    }
    
    #inscribete-3 img {
        max-width: 100%;
        height: auto;
    }
}

#inscribete-4 {
    grid-column: 49/ 80;
    /* Horizontal: del 31% al 50% */
    grid-row: 87 / 92;
    /* Vertical: del 15% al 30% */
}

@media screen and (max-width: 768px) {
    #inscribete-4 {
        grid-column: 50 / 95;
        grid-row: 94 / 94;
    }
    
    #inscribete-4 img {
        max-width: 100%;
        height: auto;
    }
}

/* Estilos para las imágenes */
.inscribete-img {
    width: 100%;
    /* Ajusta el tamaño de la imagen al contenedor */
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 0;

}

.inscribete2-img {
    width: 100%;
    /* Ajusta el tamaño de la imagen al contenedor */
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 0;
    cursor: pointer;

}

.form-container {
    grid-column: 20 / 80;
    grid-row: 16 / 63;
    position: relative;
    width: 100%;
    height: fit-content;
    align-self: start;
    padding: 26px 28px 24px;
    background: transparent;
    border-radius: 26px;
    box-shadow: none;
}

.form-container::before {
    content: "";
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    padding: 2px;
    border-radius: inherit;
    background: linear-gradient(135deg, #01b497, #f5ad1a);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    pointer-events: none;
}

.form-row {
    display: flex;
    gap: 32px;
    margin-bottom: 14px;
}

.form-container h2 {
    text-align: center;
    margin: 0 0 20px;
    padding: 0;
    color: #031c73;
    font-size: clamp(20px, 3.2vw, 56px);
    font-weight: bold;
    line-height: 1.08;
}


.form-group {
    flex: 1;
}

.form-group label {
    text-align: left;
    font-size: 16px;
    display: block;
    margin-bottom: 8px;
    color: #000;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    height: 35px;
    padding: 10px 16px;
    border: 0;
    border-radius: 999px;
    font-size: 16px;
    background: #fff;
    color: #1a1a1a;
    box-sizing: border-box;
}

.form-group input::placeholder {
    color: #9ca3af;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath fill='%23aab1ba' d='M7 9.2L0.6 1.3A1 1 0 0 1 1.4 0h11.2a1 1 0 0 1 0.8 1.6L7 9.2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px 10px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px 0 6px;
    padding: 0;
}

.checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #01b497;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    font-size: 16px;
    color: #000;
}

.checkbox-group .policy-link {
    color: inherit;
    text-decoration: underline;
}

.submit-btn {
    display: block;
    background: #0b0a6f;
    color: white;
    height: 46px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    width: 100%;
    margin: 8px 0 0;
    line-height: 1;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(11, 10, 111, 0.25);
    opacity: 0.95;
}

@media screen and (max-width: 768px) {
    .form-container {
        grid-column: 5 / 95;
        grid-row: 14 / 90;
        height: fit-content;
        align-self: start;
        padding: 16px 12px;
        margin: 0;
        border-radius: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 10px;
    }

    .form-container h2 {
        margin: 0 0 14px;
        font-size: 20px;
    }

    .form-group {
        width: 100%;
    }

    .form-group label {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .form-group input,
    .form-group select {
        height: 26px;
        padding: 5px 10px;
        font-size: 11px;
    }

    .checkbox-group {
        margin: 6px 0 2px;
        gap: 8px;
    }

    .submit-btn {
        height: 32px;
        font-size: 13px;
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .fixed-menu {
        flex-direction: column;
        padding: 10px;
    }

    .menu-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-top: 10px;
    }

    .menu-buttons li {
        width: 100%;
        text-align: center;
    }

    .inscribete {
        display: block;
        margin: 10px 0;
    }

    .section {
        padding: 120px 15px 30px;
    }
}

@media screen and (max-width: 480px) {
    .logo {
        height: 30px;
    }

    .popup-content {
        max-width: 95%;
        margin: 10px;
    }


    input[type="text"],
    input[type="number"],
    input[type="email"],
    select {
        padding: 8px;
    }

    .submit-btn {
        width: 100%;
    }
}

/* Workshop hover effect */
.workshop-image-container {
    position: relative;
    overflow: hidden;
}

.workshop-img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.workshop-image-container:hover .workshop-img-hover {
    opacity: 1;
}

/* Countdown styles */

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1002;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Update existing media query */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .fixed-menu {
        height: auto;
        padding: 15px;
    }

    .menu-buttons {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.9);
        padding: 20px 0;
        text-align: center;
    }

    .menu-buttons.active {
        display: flex;
    }

    .menu-buttons li {
        margin: 10px 0;
    }

    .menu-buttons li a {
        padding: 10px 20px;
        display: block;
    }

    .menu-buttons li a.inscribete {
        margin: 10px 20px;
    }

    /* Hamburger menu animation */
    .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(7px, -7px);
    }
    .imagen {
    width: 100%;
    margin: auto;
    grid-column: 1 / 100;
        grid-row: 1 / 100;
}
}
