@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@200;300;500;700&family=Lato:wght@100;300;400&family=Open+Sans:wght@300;400;500;600&family=Poppins:wght@200;300;400;500&family=Roboto:wght@100;300;400;500&family=Rubik:wght@300;400;500&display=swap');

:root {
    --primary-blue: rgba(61, 122, 125);
    --dark-blue: rgba(5, 72, 97);
    --light-blue: rgba(5, 26, 56);
    --accent-blue: rgba(133, 173, 153);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto';
    color: #fff;
    background: var(--dark-blue);
    overflow-x: hidden;
}

/* Para navegadores basados en WebKit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 8px;              /* Ancho del scroll vertical */
    height: 8px;             /* Alto del scroll horizontal */
}

::-webkit-scrollbar-track {
    background: #14141493;
    backdrop-filter: blur(20px);
}

::-webkit-scrollbar-thumb {
    background: rgba(61, 122, 125);     /* Color del scroll */
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(46, 91, 94);
}

/* Navbar */
.navbar {
    backdrop-filter: blur(0px);
    padding: 1rem 0;
    transition: all 0.3s;
}

.navbar.scrolled {
    background-color: #14141493;
    backdrop-filter: blur(50px);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff !important;
    width: 60px;
}

.nav-link {
    color: #fff !important;
    margin: 0 1rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-collapse {
    background-color: #141414;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    transition: all 0.3s ease;
}

.navbar-collapse .bi-x-circle-fill {
    color: #D91616;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    font-size: 2rem;
}

.navbar-collapse.collapsing {
    height: 100dvh !important;
    opacity: 0 !important;
    transition: all 0.2s ease;
}

.navbar-collapse .navbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 30px;
    height: 100%;
}

.navbar-collapse .navbar-nav .nav-item a {
    font-size: 1.6rem;
}

.navbar-collapse.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn_menu {
    color: #ffffffc7;
    font-size: 1.7rem;
    border: none !important;
    transition: all 0.3s ease;
}

.btn_menu:hover {
    color: #fff;
}

.btn-register {
    background-color: #D91616;
    color: #fff;
    padding: 0.4rem 1.5rem;
    border-radius: 99px;
    border: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.6rem;
    transition: all 0.3s;
}

.btn-register:hover {
    background: #D91616;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.btn-register .recording-dot {
    color: #fff;
}

/* Hero Section */
.hero {
    background: #14141421;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 110px;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    filter: blur(5px);
    z-index: -2;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            var(--light-blue) 100%);
    z-index: 0;
}


.hero-content {
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-size: 2.7rem;
    font-weight: 700;
    margin-bottom: 3rem;
    margin-top: 1.5rem;
    line-height: 1.2;
}

.hero-title {
    font-size: 1.6rem;
    margin-bottom: 3rem;
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.hero-date {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.btn-primary-hero {
    background: var(--primary-blue);
    border: solid 2px var(--primary-blue) !important;
    color: #fff;
    padding: 0.8rem 3rem;
    border-radius: 99px;
    border: none;
    font-size: 1rem;
    width: 100%;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary-hero:hover {
    background: var(--accent-blue);
    border: solid 2px var(--accent-blue) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(97, 97, 97, 0.5);
}

.btn-secondary-hero {
    background: transparent;
    color: #fff;
    padding: 0.7rem 3rem;
    border-radius: 99px;
    border: 2px solid #fff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    transition: all 0.3s;
}

.btn-secondary-hero:hover {
    border: 2px solid #D91616;
    background: #D91616;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(97, 97, 97, 0.5);
}

.btn-secondary-hero:hover .recording-dot {
    color: #fff;
}

/* Stats Section */
.stats-section {
    background: var(--primary-blue);
    padding: 3rem 0;
}

.stat-box {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Opportunities Section */
.opportunities {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--light-blue) 0%, var(--dark-blue) 100%);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

.section-list {
    list-style: none;
}

.section-list li {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.opportunity-card {
    background: linear-gradient(to bottom, #ffffff38 85%, #ffffff1a 100%);
    border-radius: 20px;
    padding: 1rem;
    transition: all 0.3s;
    height: 100%;
    text-align: center;
    backdrop-filter: blur(10px);
}

.opportunity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(150, 150, 150, 0.5);
    border-color: var(--primary-blue);
}

.opportunity-icon {
    color: #fff;
    margin-bottom: 1.5rem;
    text-align: center;
}

.open {
    width: 200px;
    height: 150px;
}

.humanet {
    width: 230px;
    height: 150px;
}

.optimizacion {
    font-size: 100px;
    height: 150px;
}

.opportunity-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.opportunity-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-weight: 300;
    font-size: 1rem;
}

/* Speakers Section */
.speakers {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--dark-blue) 0%, var(--light-blue) 100%);
}

.speaker-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.speaker-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.speaker-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--primary-blue);
    object-fit: cover;
}

.speaker-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.speaker-title {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

/* Events Schedule */
.events-schedule {
    padding: 6rem 0;
    background: var(--dark-blue);
}

.event-card {
    background: linear-gradient(180deg, #ffffff38 0%, #ffffff38 100%);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 2rem;
    align-items: stretch;
    flex-direction: column;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(165, 165, 165, 0.3);
}

.event-image-wrapper {
    flex-shrink: 0;
    /* evita que se encoja */
    height: auto;
    /* la altura se adapta al padre */
}

.event-image {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}

.event-content {
    flex: 1;
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
}

.event-date {
    font-size: 20px;
    color: rgb(255 255 255 / 91%);
    font-weight: 500;
}

.event-date i {
    color: var(--accent-blue);
}

.event-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.event-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.b-e {
    border-right: solid 1px rgba(255, 255, 255, 0.7);
    ;
}

/* Gallery */
.gallery {
    background: linear-gradient(180deg, var(--dark-blue) 0%, var(--light-blue) 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .overlay {
    opacity: 1;
    cursor: pointer;
}

.gallery-item .overlay i {
    font-size: 2.5rem;
    color: #fff;
}

/* Pricing */
.pricing {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--light-blue) 0%, var(--dark-blue) 100%);
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.pricing-card.featured {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--primary-blue);
}

.pricing-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
}

.pricing-features li i {
    color: var(--primary-blue);
    margin-right: 0.5rem;
}

.pricing-card.featured .pricing-features li i {
    color: #fff;
}

/* Footer */
.footer {
    background-color: var(--light-blue);
    padding: 1rem 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--primary-blue);
}

.countdown {
    display: flex;
    gap: 10px;
    font-family: Arial, sans-serif;
    font-size: 24px;
    margin-bottom: 50px;
}

.countdown div {
    text-align: center;
    border: solid 1px #fff;
    border-radius: 16px;
    width: 100%;
    padding: 10px;
    background-color: #ffffff17;
    backdrop-filter: blur(10px);
}

.countdown span {
    font-weight: bold;
    display: block;
    font-size: 2.8rem;
}

.countdown small {
    font-weight: 300;
    display: block;
    font-size: 0.8rem;
}

.icon_gmp {
    text-align: center;
    position: relative;
    height: 200px;
    margin-bottom: 50px;
}

.icon_gmp img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    animation: girar 10s linear infinite;
}

.tags_foro {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.tags_foro span {
    background-color: #ffffff27;
    padding: 0.3rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.8rem;
}

.presentador_avatar {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
}

.presentador_avatar img {
    width: 50px;
    border-radius: 99px;
}

.presentador_avatar p {
    font-size: 1rem;
    margin: 0;
}

.presentador_avatar span {
    font-size: 0.8rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

/* Lightbox estilos */
#lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity .3s ease;
    z-index: 9999;
}

#lightbox.show {
    opacity: 1;
}

#lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,.5);
}

#close {
    position: absolute;
    top: 20px; right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 10000;
}

.backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-blue);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(97, 97, 97, 0.5);
    transition: all 0.3s;
}

.recording-dot {
    color: red;
    font-size: 1.2rem;
    display: inline-block;
    opacity: 0.7;
    animation: pulse 1s infinite;
    vertical-align: middle;
}

.bi-record-fill::before {
    vertical-align: middle;
}

.subtitle {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 6px;
}

/* Animations */

@keyframes girar {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2); /* crece */
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

@media (min-width: 576px) {
    .hero-content {
        text-align: center;
    }

    .hero h1 {
        font-size: 4.2rem !important;
    }

    .btn-primary-hero {
        padding: 1rem 3rem;
        font-size: 1rem;
        width: auto;
    }

    .btn-secondary-hero {
        padding: 0.7rem 3rem;
        font-size: 1rem;
        width: auto;
    }

    .hero-title {
        font-size: 2.3rem;
        margin-bottom: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .tags_foro {
        flex-direction: row;
        gap: 10px;
        flex-wrap: wrap;
    }

    .tags_foro span {
        background-color: #ffffff27;
        padding: 0.3rem 1.5rem;
        border-radius: 25px;
        font-weight: 500;
        font-size: 0.8rem;
    }

    .icon_gmp {
        height: 300px;
    }

    .icon_gmp img {
        width: 300px;
        height: 300px;
    }

    .opportunity-card {
        background: linear-gradient(to bottom, #ffffff38 85%, #ffffff1a 100%);
        border-radius: 20px;
        padding: 1rem;
        transition: all 0.3s;
        height: 100%;
        text-align: start;
        backdrop-filter: blur(10px);
    }

    .humanet {
        width: 280px;
    }

    .event-card {
        padding: 2rem;
    }

}

@media (min-width: 768px) {}

@media (min-width: 992px) {

    .navbar-collapse {
        background-color: transparent !important;
        position: relative !important;
        height: auto !important;
        top: auto;
        width: auto;
    }
    
    .navbar-collapse .bi-x-circle-fill {
        display: none;
    }

    .navbar-collapse .navbar-nav {
        flex-direction: row;
        gap: 0px;
    }


    .navbar-collapse .navbar-nav .nav-item a {
        font-size: 1rem;
    }

    .btn-register {
        font-size: 1rem;
    }

    .hero {
        padding-top: 0px !important;
    }

    .hero-content {
        text-align: start;
    }

    .hero h1 {
        margin-bottom: 2.2rem;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 3rem;
    }

    .countdown {
        margin-bottom: 0px;
    }

    .humanet {
        width: 220px;
    }

    .event-card {
        flex-direction: row;
    }

    .event-image {
        width: 400px;
        object-fit: contain;
    }

}

@media (min-width: 1200px) {

}

@media (min-width: 1400px) {
    
}


@media (max-width: 576px) {
    .countdown{
        display: grid;
    }
}