@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);
    }
}

/* Perfil Section - Estilos mejorados */
.perfil {
    padding: 50px 20px;
    background-color: var(--white);
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: -10px;
    left: 25%;
}

.bolivia-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    padding-bottom: 15px;
}

.red-line {
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 2px;
    background-color: var(--red-line);
}

/* Estilos para la tarjeta de presentación */
/* Perfil Section - Estilos mejorados */
.section-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 70%; /* Línea más larga (antes 50%) */
    height: 3px;
    background-color: var(--secondary-color);
    bottom: -10px;
    left: 15%; /* Ajuste para centrar la línea más larga */
}

.bolivia-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    padding-bottom: 15px;
    text-align: center; /* Texto centrado */
}

/* Título centrado */
.centered-title {
    text-align: center;
    padding: 15px 20px;
}

/* Estilos para la tarjeta de presentación */
.card-presentacion {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Sombra más pronunciada */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.card-presentacion:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); /* Sombra más intensa al hover */
}

.card-presentacion h3 {
    background-color: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Asegura que el texto y los enlaces estén en columna */
.card-content {
    display: flex;
    flex-direction: column;
    padding: 25px;
    gap: 20px;
}

/* Tarjetas de plataformas en fila o columna según pantalla */
.enlaces-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Estilos de tarjetas (como ya los tenías o adaptados) */
.social-card {
    flex: 1 1 250px;
    max-width: 300px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.social-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.classroom {
    border-left: 6px solid #34a853;
}

.classroom .social-icon {
    color: #34a853;
}

.meet {
    border-left: 6px solid #00897b;
}

.meet .social-icon {
    color: #00897b;
}

.zoom {
    border-left: 6px solid #2d8cff;
}

.zoom .social-icon {
    color: #2d8cff;
}

.social-card h3 {
    margin: 10px 0 5px;
    font-size: 20px;
    color: #333;
}

.social-card p {
    margin: 0 0 10px;
    color: #666;
}

.social-link {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: #333;
}


/* Animación de flotación para la imagen */
.floating-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    animation: float 4s ease-in-out infinite;
    transform: translateY(0);
    transition: all 0.3s ease;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: translateY(-15px);
        box-shadow: 0 25px 35px rgba(0, 0, 0, 0.3);
    }
}
.social-card {
    background-color: #f9f9f9;
    border-left: 6px solid #4285F4; /* azul Google */
    padding: 20px 25px;
    max-width: 400px;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(204, 3, 3, 0.1);
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
  }
  
  .social-icon {
    font-size: 48px;
    color: #4285F4; /* azul Google */
    margin-bottom: 15px;
  }
  
  .social-card h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: #ffffff;
  }
  
  .social-card p {
    font-size: 1rem;
    color: #5f6368;
    margin-bottom: 15px;
  }
  
  .social-link {
    display: inline-block;
    background-color: #4285F4;
    color: white;
    padding: 10px 22px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(66, 133, 244, 0.5);
    transition: background-color 0.3s ease;
  }
  
  .social-link:hover {
    background-color: #3367D6;
  }
  
/* Efecto hover adicional para la imagen */
.floating-image:hover {
    animation-play-state: paused;
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.25);
}

/* 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;
}

/* 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%;
    }
}