:root {
    --background-color: #ffffff;
    --text-color: #333;
    --navbar-bg-color: #ffffff;
    --link-hover-color: linear-gradient(90deg, #00c6ff, #0072ff);
    --hamburger-line-color: #333;
    --menu-background-color: rgba(255, 255, 255, 0.95);
    --box-shadow-menu: rgba(0, 0, 0, 0.2);
}

body {
    margin: 0;
    font-family: 'Public Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
}

.image-content h2 {
    font-size: 1.5rem;
}

.learn-more {
    font-size: 1.3rem;
    color: #0073e6;
    text-decoration: none;
}

@media (max-width: 900px) {
    .image-content h2 {
        font-size: 1.1rem;
    }
    .learn-more {
        font-size: 0.9rem;
    }
    .logo img {
        height: 60%;
    }
}

@media (min-width: 901px) and (max-width: 1200px) {
    .image-content h2 {
        font-size: 1.3rem;
    }
    .learn-more {
        font-size: 1rem;
    }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--navbar-bg-color);
    padding: 15px 5%;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    margin: 0;
    align-items: center;
}

.nav-links li {
    padding: 0;
}

.nav-links li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease, color 0.3s ease;
}

.nav-links li a:hover:not(.currentPage) {
    color: #fff;
    background: var(--link-hover-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: scale(1.2);
}

.nav-links li a.currentPage {
    color: #37AFE1;
    display: inline-block;
    pointer-events: auto; /* Asegura que sigue siendo clickeable */
}


.login-icon {
    height: 35px;
    width: auto;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    align-items: center;
}

.line {
    height: 3px;
    width: 25px;
    background-color: var(--hamburger-line-color);
    margin: 3px 0;
}

.close-button {
    display: none;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.close-icon {
    height: 25px;
    width: auto;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        top: 0;
        right: -100%;
        background-color: var(--menu-background-color);
        width: 60%;
        height: 100%;
        padding: 1rem;
        box-shadow: -2px 0 5px var(--box-shadow-menu);
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        padding-top: 5rem;
        display: flex;
        right: 0;
    }

    .nav-links li {
        padding: 0.5rem 0;
        text-align: left;
    }

    .hamburger {
        display: flex;
    }

    .close-button {
        display: flex;
    }
}

.hidden {
    display: none;
}

.scroll-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-section.visible {
    opacity: 1;
    transform: translateY(0);
}
