/* Estilos generales */
    @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    :root {
        --primary-color: #001233;
        --secondary-color: #ffc107;
        --text-color: #333333;
        --light-bg: #f9f9f9;
        --white: #ffffff;
        --success: #28a745;
        --red-line: #e63946;
    }

    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;
    }
/* 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;
    }
}

    @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;
        }
    }

    /* Hero Section */
    .hero {
        position: relative;
        height: 300px;
        background: linear-gradient(135deg, var(--primary-color) 0%, #002855 100%);
        overflow: hidden;
    }

    .particles {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .hero-content {
        position: relative;
        z-index: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        text-align: center;
    }

    .hero-content h1 {
        color: var(--secondary-color);
        font-size: 2.5rem;
        font-weight: 700;
        animation: fadeInDown 1s ease-in-out;
    }

    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Estilos para la sección de redes sociales */
    .atom-box {
        padding: 50px 20px;
        background-color: var(--light-bg);
    }

    .contact-section {
        max-width: 1200px;
        margin: 0 auto;
        position: relative;
    }

    .contact-section h2 {
        text-align: center;
        color: var(--primary-color);
        font-size: 2.2rem;
        margin-bottom: 15px;
        position: relative;
    }

    .contact-section h2::after {
        content: '';
        position: absolute;
        width: 80px;
        height: 3px;
        background-color: var(--secondary-color);
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-section p {
        text-align: center;
        color: #666;
        max-width: 700px;
        margin: 0 auto 30px;
    }

    .social-media-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin: 30px 0;
    }

    .social-card {
        background: white;
        border-radius: 10px;
        padding: 25px;
        text-align: center;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
        overflow: hidden;
        border-top: 4px solid transparent;
    }

    .social-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

    .social-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
    }

    .social-card.facebook {
        border-top-color: #3b5998;
    }

    .social-card.whatsapp {
        border-top-color: #25D366;
    }

    .social-card.instagram {
        border-top-color: #E1306C;
    }

    .social-card.youtube {
        border-top-color: #FF0000;
    }

    .social-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 15px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        color: white;
    }

    .social-card.facebook .social-icon {
        background: #3b5998;
    }

    .social-card.whatsapp .social-icon {
        background: #25D366;
    }

    .social-card.instagram .social-icon {
        background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    }

    .social-card.youtube .social-icon {
        background: #FF0000;
    }

    .social-card h3 {
        margin-bottom: 10px;
        color: #333;
    }

    .social-card p {
        color: #666;
        margin-bottom: 15px;
    }

    .social-link {
        display: inline-block;
        padding: 8px 15px;
        background: #f5f5f5;
        border-radius: 5px;
        text-decoration: none;
        color: #333;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .social-card.facebook .social-link:hover {
        background: #3b5998;
        color: white;
    }

    .social-card.whatsapp .social-link:hover {
        background: #25D366;
        color: white;
    }

    .social-card.instagram .social-link:hover {
        background: #E1306C;
        color: white;
    }

    .social-card.youtube .social-link:hover {
        background: #FF0000;
        color: white;
    }


    /* Estilos para TikTok */
.social-card.tiktok {
    border-top-color: #000000;
}

.social-card.tiktok .social-icon {
    background: #000000;
    position: relative;
}

.social-card.tiktok .social-icon::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    background: #25F4EE;
    right: 5px;
    top: 5px;
    border-radius: 50%;
}

.social-card.tiktok .social-icon::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    background: #FE2C55;
    right: 11px;
    top: 11px;
    border-radius: 50%;
}

.social-card.tiktok .social-link:hover {
    background: #000000;
    color: white;
}

/* Estilos para Telegram */
.social-card.telegram {
    border-top-color: #0088cc;
}

.social-card.telegram .social-icon {
    background: #0088cc;
}

.social-card.telegram .social-link:hover {
    background: #0088cc;
    color: white;
}

    /* Estilos para la sección de información de contacto */
    .contact-info-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin: 30px 0;
    }

    .contact-card {
        background: white;
        border-radius: 10px;
        padding: 25px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
    }

    .contact-card:hover {
        transform: translateY(-5px);
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        background: #001233;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        margin-bottom: 15px;
    }

    .contact-card h3 {
        margin-bottom: 10px;
        color: #333;
    }

    .contact-card p {
        color: #666;
        line-height: 1.6;
    }

    .contact-card a {
        color: #001233;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .contact-card a:hover {
        color: #ffb800;
        text-decoration: underline;
    }

    .contact-title {
        margin-top: 50px;
    }

    /* Estilos para la sección de ubicación mejorada */
    .location-container {
        max-width: 1200px;
        margin: 40px auto;
        padding: 20px;
    }

    .location-title {
        text-align: center;
        color: #001233;
        margin-bottom: 20px;
        font-size: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .location-title i {
        color: #ffb800;
    }

    .map-toggle {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-bottom: 20px;
    }

    .map-btn {
        padding: 8px 15px;
        border: none;
        border-radius: 5px;
        background: #e0e0e0;
        color: #333;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 500;
    }

    .map-btn.active {
        background: #001233;
        color: white;
    }

    .map-btn:hover:not(.active) {
        background: #d0d0d0;
    }

    .map-wrapper {
        position: relative;
        padding-bottom: 56.25%; /* Aspect ratio 16:9 */
        height: 0;
        overflow: hidden;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        margin-bottom: 20px;
    }

    .map-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

    .location-actions {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 20px;
    }

    .action-btn {
        padding: 10px 20px;
        background: #001233;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        transition: all 0.3s ease;
        font-weight: 500;
    }

    .action-btn:hover {
        background: #002855;
        transform: translateY(-2px);
    }

    .voice-btn {
        background: #ffb800;
        color: #001233;
    }

    .voice-btn:hover {
        background: #ffc107;
    }

    /* Footer moderno */
    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;
    }

    /* Responsive */
    @media (max-width: 768px) {
        header {
            padding: 15px 20px;
            flex-direction: column;
        }

        nav ul {
            margin-top: 15px;
        }

        .footer-content {
            flex-direction: column;
        }

        .footer-info, .footer-contact {
            padding-left: 0;
            margin-top: 30px;
        }

        .footer-bottom {
            flex-direction: column;
            gap: 15px;
        }

        .section-header h2 {
            font-size: 2rem;
        }
        
        .card-content {
            flex-direction: column;
        }
        
        .card-content .texto,
        .card-content .imagen {
            min-width: 100%;
        }

        .location-actions {
            flex-direction: column;
            align-items: center;
        }

        .action-btn {
            width: 100%;
            max-width: 300px;
            justify-content: center;
        }

        .hero-content h1 {
            font-size: 2rem;
            padding: 0 20px;
        }
    }