/* ==================== VARIABLES ==================== */
:root {
    --dark-bg: #0a0e27;
    --darker-bg: #050815;
    --blue-primary: #00a8ff;
    --blue-secondary: #0077c2;
    --blue-light: #4fc3f7;
    --text-light: #e8eaf6;
    --text-gray: #b0bec5;
    --accent: #00e5ff;
}

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

/* ==================== BODY ==================== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==================== PAGES CONTAINER ==================== */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* ==================== CONTAINERS ==================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ==================== SECTION TITLES ==================== */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--blue-light);
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-gray);
}

/* ==================== CTA BUTTON ==================== */
.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-secondary));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 168, 255, 0.3);
    cursor: pointer;
    border: none;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 168, 255, 0.5);
}

/* ==================== WHY US SECTION ==================== */
.why-us {
    padding: 100px 5%;
    background: var(--dark-bg);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-item {
    text-align: center;
    padding: 2rem;
}

.why-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--blue-primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.why-item h3 {  
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.why-item p {
    color: var(--text-gray);
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
    padding: 80px 5%;
    background: var(--darker-bg);
}

.team-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.team-member {
    position: relative;
    text-align: center;
    max-width: 350px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 168, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
}

.team-member:hover {
    border-color: var(--blue-primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 168, 255, 0.2);
}

.member-photo {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 168, 255, 0.15), rgba(0, 229, 255, 0.1));
    backdrop-filter: blur(20px);
    border: 3px solid transparent;
    background-clip: padding-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 168, 255, 0.25);
}

.member-photo::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--blue-primary), var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

.team-member:hover .member-photo {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 168, 255, 0.4);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#Nestor {
    height: 105%;
}


.member-name {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.member-role {
    font-size: 1rem;
    color: var(--blue-light);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.member-description {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-top: 1rem;
}

/* ==================== ALIANZAS ============================*/
        /* Partners Section */
        .partners-section {
            padding: 8rem 2rem 4rem;
        }

        .section-header {
            text-align: center;
            margin-bottom: 4rem;
            padding: 0 2rem;
        }

        .section-header h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, var(--blue-light), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .section-header p {
            font-size: 1.1rem;
            color: var(--text-gray);
            max-width: 600px;
            margin: 0 auto;
        }

        .slider-container {
            margin-bottom: 3rem;
        }

        .category-title {
            text-align: center;
            font-size: 1.5rem;
            color: var(--blue-light);
            margin-bottom: 2rem;
            font-weight: 600;
        }

        .slider-wrapper {
            overflow: hidden;
            padding: 2rem 0;
            position: relative;
        }

        .slider-wrapper::before,
        .slider-wrapper::after {
            content: '';
            position: absolute;
            top: 0;
            width: 200px;
            height: 100%;
            z-index: 2;
            pointer-events: none;
        }

        .slider-wrapper::before {
            left: 0;
            background: linear-gradient(to right, var(--dark-bg), transparent);
        }

        .slider-wrapper::after {
            right: 0;
            background: linear-gradient(to left, var(--dark-bg), transparent);
        }

        .slider-track {
            display: flex;
            gap: 4rem;
            animation: scroll 30s linear infinite;
            width: fit-content;
        }

        .slider-track:hover {
            animation-play-state: paused;
        }

        .slider-track.fast {
            animation: scroll 25s linear infinite;
        }

        @keyframes scroll {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
            }
        }

        .partner-item {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 200px;
            height: 120px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
            padding: 2rem;
            transition: all 0.3s ease;
            border: 2px solid transparent;
            flex-shrink: 0;
        }

        .partner-item:hover {
            transform: scale(1.05);
            border-color: var(--blue-primary);
            box-shadow: 0 10px 30px rgba(0, 168, 255, 0.3);
            background: rgba(255, 255, 255, 0.1);
        }

        .partner-logo {
            max-width: 140px;
            max-height: 60px;
            width: auto;
            height: auto;
            filter: brightness(0) invert(1);
            opacity: 0.8;
            transition: all 0.3s ease;
        }

        .partner-item:hover .partner-logo {
            filter: none;
            opacity: 1;
        }

        /* Footer */
        footer {
            background: var(--darker-bg);
            padding: 2rem 5%;
            text-align: center;
            border-top: 1px solid rgba(0, 168, 255, 0.1);
        }

        footer p {
            color: var(--text-gray);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .section-header h2 {
                font-size: 2rem;
            }

            .category-title {
                font-size: 1.2rem;
            }

            .slider-track {
                gap: 2rem;
            }

            .partner-item {
                min-width: 150px;
                height: 100px;
                padding: 1.5rem;
            }

            .partner-logo {
                max-width: 100px;
                max-height: 50px;
            }
        }

/* ==================== CONTACT SECTION ==================== */
.contact {
    padding: 100px 5%;
    background: var(--darker-bg);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.contact-item-icon {
    font-size: 2rem;
    color: var(--blue-primary);
}

.contact-item a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--blue-primary);
}

.contact-item p {
    color: var(--text-gray);
}

/* ==================== FOOTER ==================== */
footer {
    background: var(--darker-bg);
    padding: 2rem 5%;
    text-align: center;
    border-top: 1px solid rgba(0, 168, 255, 0.1);
}

footer p {
    color: var(--text-gray);
}