@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
 :root {
            --primary: #001233;
            --secondary: #ffc107;
            --accent: #0466c8;
            --light: #f8f9fa;
            --dark: #212529;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1px 40px;
    background-color: #001233;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    height: 60px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ffb800;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ffbc00;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Estilos para el menú desplegable */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #001233;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-top: 3px solid #ffb800;
}

.dropdown-content li {
    margin: 0;
    padding: 0;
}

.dropdown-content li a {
    display: block;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    text-transform: none;
    transition: background-color 0.3s ease;
}

.dropdown-content li a:hover {
    background-color: #ffb800;
    color: #001233;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

/* Estilos para el menú hamburguesa */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    height: 20px;
    width: 25px;
    cursor: pointer;
    margin-left: auto;
}

.menu-toggle .bar {
    background-color: white;
    height: 3px;
    width: 100%;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav ul {
        display: none;
        flex-direction: column;
        align-items: center;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #001233;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 100;
        height: calc(100vh - 60px);
        overflow-y: auto;
    }

    nav ul li {
        margin: 10px 0;
    }

    nav ul li a {
        font-size: 18px;
    }

    .menu-close {
        display: block;
    }
}

@media (min-width: 769px) {
    nav ul {
        display: flex;
    }
}
  /* Estilos para el menú desplegable */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none; /* Ocultar por defecto */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #001233;
    min-width: 200px; /* Ajusta el ancho según sea necesario */
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-top: 3px solid #ffb800;
}

.dropdown-content li {
    margin: 0;
    padding: 0;
}

.dropdown-content li a {
    display: block;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    text-transform: none;
    transition: background-color 0.3s ease;
}

.dropdown-content li a:hover {
    background-color: #ffb800;
    color: #001233;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer; /* Añadir cursor de puntero */
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}
/* Estilos para el mega menú */
.mega-dropdown {
    position: relative;
}

.mega-menu {
    display: none;
    position: absolute;
    left: 0;
    width: 300px; /* Ancho ajustable */
    background-color: #001233;
    padding: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
}

.mega-menu > li {
    margin-bottom: 10px;
}

/* Estilos para el submenú de carreras */
.sub-dropdown {
    position: relative;
}

.sub-dropdown-content {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    width: 250px;
    background-color: #001233;
    border-left: 3px solid #ffb800;
    padding: 10px;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.2);
}

.sub-dropdown:hover .sub-dropdown-content {
    display: block;
}

.sub-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Flecha para submenú */
.sub-dropdown .dropdown-arrow {
    font-size: 10px;
    margin-left: 10px;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.sub-dropdown:hover .dropdown-arrow {
    transform: rotate(90deg);
}

/* Estilos para móviles */
@media (max-width: 768px) {
    .mega-menu {
        width: 100%;
        position: static;
    }
    
    .sub-dropdown-content {
        position: static;
        width: 100%;
        border-left: none;
        border-top: 3px solid #ffb800;
        padding-left: 20px;
    }
}

/* Ajustes para dispositivos móviles */
@media (max-width: 768px) {
    .dropdown-content {
        width: 100%; /* Ajusta el ancho para que se adapte a la pantalla */
        left: 0;
        right: 0;
    }
}

        
        /* Hero con animación de partículas */
        .hero {
            height: 100vh;
            background: linear-gradient(135deg, var(--primary) 0%, #002855 100%);
            color: white;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .hero-content {
            z-index: 2;
            max-width: 800px;
            padding: 0 20px;
        }
        
        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 20px;
            color: var(--secondary);
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }
        
        .hero p {
            font-size: 1.2rem;
            margin-bottom: 30px;
            opacity: 0.9;
        }
        
        .btn {
            display: inline-block;
            background: var(--secondary);
            color: var(--primary);
            padding: 12px 30px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
        }
        
        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
        }
        
        .particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }
        
        /* Sección de características con hover effects */
        .features {
            padding: 100px 50px;
            background-color: var(--light);
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 60px;
            position: relative;
        }
        
        .section-title h2 {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 15px;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            width: 80px;
            height: 4px;
            background: var(--secondary);
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
        }
        
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .feature-card {
            background: white;
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            text-align: center;
        }
        
        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }
        
        .feature-icon {
            font-size: 3rem;
            color: var(--accent);
            margin-bottom: 20px;
        }
        
        .feature-card h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--primary);
        }
        
        /* Carrusel de convenios */
        .partners {
            padding: 80px 0;
            background: white;
            overflow: hidden;
        }
        
        .partners-slider {
            display: flex;
            animation: slide 20s linear infinite;
            width: calc(250px * 10);
        }
        
        .partner-logo {
            margin: 0 30px;
            filter: grayscale(100%);
            opacity: 0.7;
            transition: all 0.3s ease;
            width: 180px;
        }
        
        .partner-logo:hover {
            filter: grayscale(0%);
            opacity: 1;
        }
        
        @keyframes slide {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(calc(-250px * 5));
            }
        }
        
        /* Sección de misión y visión con efecto parallax */
        .mission-vision {
            display: grid;
            grid-template-columns: 1fr 1fr;
            min-height: 600px;
        }
        
        .mission, .vision {
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 60px;
            color: white;
            overflow: hidden;
        }
        
        .mission {
            background: linear-gradient(rgba(0, 18, 51, 0.8), rgba(0, 18, 51, 0.8)), url('img/2.jpg') no-repeat center/cover fixed;
        }
        
        .vision {
            background: linear-gradient(rgba(4, 102, 200, 0.8), rgba(4, 102, 200, 0.8)), url('img/3.webp') no-repeat center/cover fixed;
        }
        
        .mission h2, .vision h2 {
            font-size: 2rem;
            margin-bottom: 25px;
            position: relative;
            color: var(--secondary);
        }
        
        .mission h2::after, .vision h2::after {
            content: '';
            position: absolute;
            width: 50px;
            height: 3px;
            background: var(--secondary);
            bottom: -10px;
            left: 0;
        }
        
        /* Sección de líder tecnológico */
        /* Sección de líder tecnológico */
.tech-leader {
    background: linear-gradient(135deg, #001233 0%, #0466c8 100%);
    color: white;
    padding: 70px 20px;
    position: relative;
    overflow: hidden;
}

.tech-leader::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/tech-bg.png') no-repeat;
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.tech-leader-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.tech-leader-content {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.tech-leader h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #ffc107;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.tech-leader .subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.tech-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tech-feature {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tech-feature:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.tech-icon {
    font-size: 2.5rem;
    color: #ffc107;
    margin-bottom: 20px;
}

.tech-feature h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.tech-image-container {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    position: relative;
}

.tech-main-image {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    transition: all 0.5s ease;
}

.floating-3d {
    animation: floating3d 8s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes floating3d {
    0%, 100% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg);
        box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    }
    25% {
        transform: translateY(-20px) rotateX(5deg) rotateY(5deg);
    }
    50% {
        transform: translateY(0) rotateX(0deg) rotateY(10deg);
        box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    }
    75% {
        transform: translateY(-15px) rotateX(-5deg) rotateY(5deg);
    }
}

/* Sección de Misión y Visión moderna */
.modern-mission-vision {
    padding: 80px 20px;
    background: #f8f9fa;
}

.mission-vision-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.mv-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.mv-image {
    height: 250px;
    overflow: hidden;
}

.hover-zoom {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mv-card:hover .hover-zoom {
    transform: scale(1.1);
}

.mv-content {
    padding: 30px;
}

.mv-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #001233;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mv-content h2 i {
    color: #ffc107;
}

.mv-content p {
    margin-bottom: 25px;
    line-height: 1.8;
}

.mv-highlight {
    background: rgba(0, 18, 51, 0.05);
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 0 8px 8px 0;
    display: flex;
    gap: 10px;
}

.mv-highlight i {
    color: #ffc107;
    font-size: 1.5rem;
}

.mv-highlight p {
    margin: 0;
    font-style: italic;
    color: #001233;
}

/* Estilos específicos para cada tarjeta */
.mission-card .mv-image {
    background: linear-gradient(rgba(0, 18, 51, 0.2), rgba(0, 18, 51, 0.2));
}

.vision-card .mv-image {
    background: linear-gradient(rgba(4, 102, 200, 0.2), rgba(4, 102, 200, 0.2));
}

/* Responsive */
@media (max-width: 768px) {
    .tech-leader-container {
        flex-direction: column;
    }
    
    .tech-leader h2 {
        font-size: 2rem;
    }
    
    .mission-vision-container {
        grid-template-columns: 1fr;
    }
    
    .mv-image {
        height: 200px;
    }
}
        
        /* Footer moderno */
       /* Footer */
footer {
    background-color: #001233;
    color: white;
    padding: 70px 80px 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
}

.footer-logo img {
    height: 200px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

.footer-info, .footer-contact {
    flex: 1;
    padding-left: 30px;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact a {
    color: #4caf50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}


        /* Efectos de animación */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }
        
        .animate-on-scroll.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Responsive design */
        @media (max-width: 992px) {
            .mission-vision {
                grid-template-columns: 1fr;
            }
            
            .hero h1 {
                font-size: 2.8rem;
            }
        }
        
        @media (max-width: 768px) {
            header {
                padding: 15px 20px;
                flex-direction: column;
            }
            
            nav ul {
                margin-top: 15px;
            }
            
            nav ul li {
                margin-left: 15px;
                margin-right: 15px;
            }
            
            .hero h1 {
                font-size: 2.2rem;
            }
            
            .features, .leader {
                padding: 70px 20px;
            }
            
            .mission, .vision {
                padding: 40px 20px;
            }
        }
        
        @media (max-width: 576px) {
            .hero h1 {
                font-size: 1.8rem;
            }
            
            .hero p {
                font-size: 1rem;
            }
            
            .btn {
                padding: 10px 20px;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
            
            footer {
                padding: 50px 20px 20px;
                grid-template-columns: 1fr;
            }
        }
        