@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Playfair+Display:wght@700&display=swap');
@font-face {
    font-family: 'Coolvetica';
    src: url('../fonts/Coolvetica\ Rg.otf') format('otf');
    font-weight: normal;
    font-style: normal;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: sans-serif; 
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.hero-section {
    height: 100vh;
    background-image: url('../assets/background-images.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    padding: 20px 5%;
    box-sizing: border-box;
}

.main-nav {
    width: 100%;
    padding: 20px 0;
    text-align: center;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-flex;
    gap: 40px;
}

.main-nav a {
    text-decoration: none;
    font-family: 'Coolvetica', sans-serif;
    color: #8F92A2;
    font-size: 15px;
    letter-spacing: 5px;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #ffffff;
}

.main-nav a.masterclass-link {
    color: #FFD700;
    font-weight: bold; 
}


.main-nav a.masterclass-link:hover {
    color: #FFEC8B;
}

.hero-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

.left-column, .right-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-medium {
    max-width: 1000px;
    height: auto;
    border-radius: 10px;
}

.image-large {
    max-width: 1000px;
    height: auto;
    border-radius: 10px;
}

.scroll-icon {
    margin-top: 30px;
}

.mouse {
    width: 25px;
    height: 45px;
    border: 2px solid #8F92A2;
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 5px;
    height: 5px;
    background-color: #8F92A2;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-animation 1.5s infinite;
}

@keyframes scroll-animation {
    0% {
        top: 10px;
        opacity: 1;
    }
    100% {
        top: 25px;
        opacity: 0;
    }
}

.bio-section {
    background-color: #131826;
    padding: 80px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

.bio-content {
    display: flex;
    align-items: center;
    width: 100%;
}

.bio-left-column {
    flex: 1;
}

.bio-right-column {
    flex: 1.2;
}

.bio-left-column img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.bio-text {
    color: #A9B1C3;
    line-height: 1.7;
    font-size: 16px;
}

.hidden-text {
    display: none;
}

.read-more-link {
    display: inline-block;
    margin-top: 20px;
    color: #EAEAEA;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 3px;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s;
}

.read-more-link:hover {
    color: #8F92A2;
}

.video-button {
    background-color: #2A64F5;
    border: none;
    border-radius: 10px;
    color: #ffffff;
    padding: 15px 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
    display: inline-block;
}

.video-button:hover {
    background-color: #5887ff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(42, 100, 245, 0.4);
}

.bio-title-image {
    width: 100%;
    max-width: 450px;
    margin-bottom: 30px;
    display: block;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    position: relative;
    background-color: #000;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 900px;
}

.close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    color: #fff;
    background-color: #63748D;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}

.close-btn:hover {
    background-color: #8F92A2;
}

#popup-video {
    width: 100%;
    height: auto;
}

.popup-overlay.show {
    display: flex;
}

.agenda-section {
    background-color: #131826;
    padding: 100px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    box-sizing: border-box;
}

.agenda-content {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 40px;
}

.agenda-left-column {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.agenda-title-image {
    width: 100%;
    max-width: 300px;
}

.agenda-right-column {
    flex: 2;
}

.cards-container {
    display: flex;
    gap: 30px;
}

.event-card {
    background-color: #E9E9E9;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    text-align: center;
    flex: 1;
    max-width: 750px;
    height: 500px;
}

.event-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-body h3 {
    font-family: 'Coolvetica', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #131826;
    margin: 0;
    text-transform: uppercase;
}

.card-body h4 {
    font-family: 'Coolvetica', sans-serif;
    font-size: 23px;
    font-weight: 700;
    color: #636363;
    margin: 5px 0 0 0;
    text-transform: uppercase;
}

.card-body .event-date {
    font-family: 'Coolvetica', sans-serif;
    font-size: 16px;
    color: #555;
    margin: 15px 0 0 0;
    text-transform: uppercase;
    flex-grow: 1;
}

.card-button {
    background-color: #2A64F5;
    border-radius: 8px;
    color: #ffffff;
    padding: 12px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.card-button:hover {
    background-color: #5887ff;
}

.noticias-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #B8B8B8 100%);
    box-sizing: border-box;
}

.section-title-image {
    display: block;
    margin: 0 auto 60px auto;
    max-width: 400px;
}

.glide {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-card {
    display: flex;
    position: relative;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: scale(1.03);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0d2f66;
    opacity: 0.85;
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.card-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.news-read-more {
    background-color: #2A64F5;
    color: #FFFFFF;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
    transition: background-color 0.3s ease;
}

.news-read-more:hover {
    background-color: #5887ff; 
}

.glide__arrow {
    background-color: #FFFFFF;
    color: #131826;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.glide__arrow:hover {
    background-color: #EAEAEA;
}

.glide__arrow--left {
    left: -25px;
}

.glide__arrow--right {
    right: -25px;
}

.site-footer {
    background-color: #131826;
    padding: 60px 5%;
}

.site-footer img {
    display: block;
    margin: 0 auto;
    max-width: 150px;
    height: auto;
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .image-medium, .image-large {
        max-width: 60%;
    }

    .bio-content {
        flex-direction: column;
        text-align: center;
    }
    .bio-right-column {
        align-items: center;
    }

    .agenda-content {
        flex-direction: column;
    }
    .agenda-title-image {
        margin-bottom: 40px;
    }
    .cards-container {
        flex-direction: column;
        align-items: center;
    }
    .event-card {
        max-width: 400px;
        width: 100%;
    }
	.main-nav a {
        font-size: 10px !important;
        letter-spacing: 3px !important;
	}
}

@media (max-width: 576px) {
    .main-nav ul {
        gap: 20px;
    }
    .main-nav a {
        font-size: 13px;
        letter-spacing: 3px;
    }

    .image-medium, .image-large {
        max-width: 100%;
    }

    .bio-title-image {
        max-width: 90%;
    }
    .section-title-image {
        max-width: 90%;
    }

    .glide__arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .glide__arrow--left {
        left: 5px;
    }
    .glide__arrow--right {
        right: 5px;
    }
}