/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ffd700;
    --secondary-color: #ffed4e;
    --accent-color: #ffc107;
    --text-dark: #1a1a1a;
    --text-light: #4a4a4a;
    --bg-light: #000000;
    --bg-white: #1a1a1a;
    --bg-card: #0f0f0f;
    --border-color: rgba(255, 215, 0, 0.3);
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(255, 215, 0, 0.3);
    --shadow-neon: 0 0 15px rgba(255, 215, 0, 0.4);
    --transition: all 0.3s ease;
}

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

/* Header */
.header {
    background: #000000;
    color: white;
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

/* Línea amarilla brillante en el borde inferior */
.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ffd700;
    box-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
    width: 100%;
}

.logo-container {
    flex: 0 0 auto;
    justify-self: start;
}

.nav-menu {
    flex: 0 0 auto;
    justify-self: end;
}

/* Patrón de fondo tecnológico - oculto para estilo más limpio */
.header-bg-pattern {
    display: none;
}

.logo-container {
    display: flex;
    align-items: center;
    position: relative;
}

.logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6)) drop-shadow(0 0 25px rgba(255, 193, 7, 0.4));
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.logo-ring {
    display: none;
}

.logo-wrapper:hover .logo {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8)) drop-shadow(0 0 35px rgba(255, 193, 7, 0.6));
}

.site-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.3;
    letter-spacing: 2px;
    position: relative;
    text-align: center;
    grid-column: 2;
    text-transform: uppercase;
}

.title-text {
    color: #ffd700;
    text-shadow: 
        0 0 10px #ffd700,
        0 0 20px #ffd700,
        0 0 30px #ffd700,
        0 0 40px #ffd700;
    transition: var(--transition);
    animation: neon-pulse 2s ease-in-out infinite alternate;
}

@keyframes neon-pulse {
    from {
        text-shadow: 
            0 0 10px #ffd700,
            0 0 20px #ffd700,
            0 0 30px #ffd700,
            0 0 40px #ffd700;
    }
    to {
        text-shadow: 
            0 0 15px #ffd700,
            0 0 25px #ffd700,
            0 0 35px #ffd700,
            0 0 50px #ffd700,
            0 0 60px #ffd700;
    }
}

.title-text.highlight {
    color: #ffed4e;
    text-shadow: 
        0 0 10px #ffed4e,
        0 0 20px #ffed4e,
        0 0 30px #ffed4e,
        0 0 40px #ffed4e;
}

/* Navegación */
.nav-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 8px;
    cursor: pointer;
    padding: 0.6rem;
    gap: 5px;
    z-index: 1000;
    position: relative;
    transition: var(--transition);
    justify-content: center;
    align-items: center;
    min-width: 44px;
    min-height: 44px;
}

.nav-toggle:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    transition: var(--transition);
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
    display: block;
}

.nav-toggle:hover span {
    background: linear-gradient(90deg, #ffed4e, #ffd700);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.9);
    transform: scale(1.1);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.3rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.6rem 1rem;
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    white-space: nowrap;
    min-width: fit-content;
}

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.nav-icon svg {
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.nav-text {
    display: inline-block;
}

.nav-link:hover {
    border-color: rgba(255, 215, 0, 0.9);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6), 0 0 25px rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.15);
    transform: translateY(-2px);
    color: #ffed4e;
}

.nav-link:hover .nav-icon svg {
    stroke: #ffed4e;
    filter: drop-shadow(0 0 5px rgba(255, 237, 78, 0.8));
}

.nav-link.active {
    border-color: #ffd700;
    box-shadow: 
        0 0 15px rgba(255, 215, 0, 0.9),
        0 0 25px rgba(255, 215, 0, 0.7),
        0 0 35px rgba(255, 215, 0, 0.4),
        inset 0 0 10px rgba(255, 215, 0, 0.2);
    background: rgba(255, 215, 0, 0.2);
    color: #ffed4e;
}

.nav-link.active .nav-icon svg {
    stroke: #ffed4e;
    filter: drop-shadow(0 0 8px rgba(255, 237, 78, 1));
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
}

.view-section {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Video de Presentación */
.video-presentation {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.presentation-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-controls {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 10;
}

.mute-button {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    font-size: 1.5rem;
    padding: 0;
}

.mute-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
}

.mute-icon {
    display: block;
    line-height: 1;
    font-size: 1.5rem;
}

.mute-button.muted .mute-icon {
    font-size: 1.5rem;
}

/* Carrusel de Objetivos ODS */
.ods-carousel-section {
    background: var(--bg-light);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.ods-carousel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ffd700;
    box-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700;
}

.ods-carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.ods-title {
    font-size: 2.5rem;
    color: #ffd700;
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 
        0 0 10px #ffd700,
        0 0 20px #ffd700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.ods-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    box-shadow: 0 0 10px #ffd700;
}

.ods-carousel-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 2rem 0;
}

.ods-carousel-track {
    display: flex;
    gap: 2rem;
    width: fit-content;
    animation: scroll-ods 40s linear infinite;
}

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

/* Pausar animación al hacer hover */
.ods-carousel-wrapper:hover .ods-carousel-track {
    animation-play-state: paused;
}

/* Carrusel de Logos */
.logos-carousel-section {
    background: var(--bg-light);
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.logos-carousel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ffd700;
    box-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700;
}

.logos-carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.logos-title {
    font-size: 2rem;
    color: #ffd700;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 
        0 0 10px #ffd700,
        0 0 20px #ffd700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.logos-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    border-radius: 2px;
    box-shadow: 0 0 10px #ffd700;
}

.logos-carousel-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 1.5rem 0;
}

.logos-carousel-track {
    display: flex;
    gap: 3rem;
    width: fit-content;
    animation: scroll-logos 30s linear infinite;
    align-items: center;
}

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

/* Pausar animación al hacer hover */
.logos-carousel-wrapper:hover .logos-carousel-track {
    animation-play-state: paused;
}

.logos-carousel-slide {
    min-width: 180px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 2px solid rgba(255, 215, 0, 0.2);
    box-shadow: 
        0 3px 15px rgba(0, 0, 0, 0.3),
        0 0 10px rgba(255, 215, 0, 0.2);
    transition: var(--transition);
    flex-shrink: 0;
}

.logos-carousel-slide:hover {
    transform: scale(1.1);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(255, 215, 0, 0.4);
}

.logos-carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1);
    transition: var(--transition);
}

.logos-carousel-slide:hover img {
    filter: brightness(1.1) contrast(1.2);
}

/* Responsive para carrusel de logos */
@media (max-width: 768px) {
    .logos-carousel-section {
        padding: 2rem 1rem;
    }

    .logos-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .logos-carousel-slide {
        min-width: 140px;
        height: 90px;
        padding: 0.75rem;
    }

    .logos-carousel-track {
        gap: 2rem;
    }
}

/* Sección Métricas de Registros */
.metricas-section {
    background: var(--bg-light);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.metricas-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ffd700;
    box-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700;
}

.metricas-container {
    max-width: 1400px;
    margin: 0 auto;
}

.metricas-title {
    font-size: 2.5rem;
    color: #ffd700;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 
        0 0 10px #ffd700,
        0 0 20px #ffd700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.metricas-line {
    width: 200px;
    height: 3px;
    margin: 0 auto 3rem;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    box-shadow: 0 0 10px #ffd700;
    border-radius: 2px;
}

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

.metrica-card {
    background: var(--bg-card);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow), var(--shadow-neon);
    position: relative;
    overflow: hidden;
}

.metrica-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(255, 215, 0, 0.1),
        transparent
    );
    transition: left 0.5s ease;
}

.metrica-card:hover::before {
    left: 100%;
}

.metrica-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 215, 0, 0.7);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 215, 0, 0.6);
}

.metrica-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: #ffd700;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
    animation: icon-pulse 2s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metrica-icon svg {
    width: 100%;
    height: 100%;
    stroke: #ffd700;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes icon-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.8));
        transform: scale(1.05);
    }
}

.metrica-carrera {
    color: #ffd700;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    font-weight: 600;
}

.metrica-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffed4e;
    margin-bottom: 0.5rem;
    text-shadow: 
        0 0 10px #ffed4e,
        0 0 20px #ffed4e,
        0 0 30px #ffed4e;
    line-height: 1;
    font-family: 'Arial', sans-serif;
}

.metrica-label {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.carousel-slide {
    min-width: 280px;
    height: 350px;
    scroll-snap-align: center;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid rgba(255, 215, 0, 0.4);
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 215, 0, 0.4);
    transition: var(--transition);
    background: var(--bg-card);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide:hover {
    transform: scale(1.05);
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 215, 0, 0.6);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Botones y dots eliminados - carrusel completamente automático */


/* Hero Section (Inicio) */
.hero-section {
    position: relative;
    min-height: 80vh;
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(245, 245, 245, 0.95)),
                url('../img/bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #1a1a1a;
    padding: 4rem 2rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 255, 255, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.5);
    animation: none;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: #ffed4e;
    text-shadow: 0 0 10px rgba(255, 237, 78, 0.5);
}

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

.carrera-card {
    background: var(--bg-card);
    color: var(--text-dark);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: var(--shadow), var(--shadow-neon);
    transition: var(--transition);
    text-align: center;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.carrera-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 215, 0, 0.7);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(255, 215, 0, 0.6);
}

.carrera-card:visited,
.carrera-card:link {
    color: var(--text-dark);
    text-decoration: none;
}

.carrera-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.carrera-icon svg {
    width: 100%;
    height: 100%;
    fill: #ffd700;
    transition: var(--transition);
}

.carrera-card:hover .carrera-icon svg {
    fill: #ffed4e;
    filter: drop-shadow(0 0 15px rgba(255, 237, 78, 0.8));
}

.carrera-card h3 {
    color: #ffd700;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.carrera-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Section Container */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem;
    background: var(--bg-light);
}

.section-container + .section-container {
    padding-top: 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: #ffd700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
    text-shadow: 
        0 0 10px #ffd700,
        0 0 20px #ffd700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    border-radius: 2px;
    box-shadow: 0 0 10px #ffd700;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.content-card {
    background: var(--bg-card);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    overflow: visible;
    box-shadow: var(--shadow), var(--shadow-neon);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.content-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.7);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(255, 215, 0, 0.6);
}

.content-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
    flex-shrink: 0;
}

.content-card h3 {
    color: #ffd700;
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.content-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
    flex: 1;
    overflow: visible;
    word-wrap: break-word;
}

/* Carreras Detalle */
.carreras-detalle {
    margin-top: 4rem;
}

.subsection-title {
    font-size: 2rem;
    color: #ffd700;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.carreras-list {
    display: grid;
    gap: 1.5rem;
}

.carrera-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: var(--shadow), var(--shadow-neon);
    border-left: 4px solid #ffd700;
    transition: var(--transition);
}

.carrera-item:hover {
    transform: translateX(10px);
    border-color: rgba(255, 215, 0, 0.7);
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 215, 0, 0.5);
}

.carrera-item h4 {
    color: #ffd700;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.carrera-item p {
    color: var(--text-light);
}

/* Formulario de Registro */
.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.registro-form {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: var(--shadow), var(--shadow-neon);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffd700;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 
        0 0 0 3px rgba(255, 215, 0, 0.2),
        0 0 15px rgba(255, 215, 0, 0.3);
    background: rgba(255, 255, 255, 1);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #ffd700 0%, #ffc107 100%);
    color: white;
    border: 2px solid #ffd700;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(255, 215, 0, 0.6);
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: rgba(0, 200, 100, 0.2);
    color: #00ff88;
    border: 2px solid rgba(0, 200, 100, 0.5);
    display: block;
    box-shadow: 0 0 15px rgba(0, 200, 100, 0.3);
}

.form-message.error {
    background: rgba(255, 50, 50, 0.2);
    color: #ff6666;
    border: 2px solid rgba(255, 50, 50, 0.5);
    display: block;
    box-shadow: 0 0 15px rgba(255, 50, 50, 0.3);
}

/* Galería - Carrusel Coverflow */
.coverflow-carousel-container {
    margin: 3rem 0;
    position: relative;
    padding: 3rem 0;
    perspective: 1200px;
}

.coverflow-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6rem;
}

.coverflow-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
    position: relative;
    cursor: grab;
}

.coverflow-carousel:active {
    cursor: grabbing;
}

.coverflow-slide {
    position: absolute;
    width: 400px;
    height: 500px;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
    opacity: 0.4;
    pointer-events: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.coverflow-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.coverflow-slide.active {
    opacity: 1;
    transform: translateX(0) translateZ(0) scale(1);
    z-index: 10;
    pointer-events: all;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 215, 0, 0.3);
}

.coverflow-slide.prev {
    opacity: 0.6;
    transform: translateX(-200px) translateZ(-100px) scale(0.85) rotateY(15deg);
    z-index: 5;
}

.coverflow-slide.next {
    opacity: 0.6;
    transform: translateX(200px) translateZ(-100px) scale(0.85) rotateY(-15deg);
    z-index: 5;
}

.coverflow-slide.far-prev {
    opacity: 0.2;
    transform: translateX(-400px) translateZ(-200px) scale(0.7) rotateY(25deg);
    z-index: 1;
}

.coverflow-slide.far-next {
    opacity: 0.2;
    transform: translateX(400px) translateZ(-200px) scale(0.7) rotateY(-25deg);
    z-index: 1;
}

.coverflow-slide:hover img {
    transform: scale(1.05);
}

.coverflow-pagination {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.coverflow-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.3);
    border: 2px solid rgba(255, 215, 0, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.coverflow-bullet:hover {
    background: rgba(255, 215, 0, 0.6);
    transform: scale(1.2);
}

.coverflow-bullet.active {
    background: #ffd700;
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    transform: scale(1.3);
}

.coverflow-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid rgba(255, 215, 0, 0.3);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all 0.3s ease;
    color: #ffd700;
}

.coverflow-button:hover {
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 215, 0, 0.6);
    background: #ffd700;
    color: #000000;
    border-color: #ffd700;
}

.coverflow-button:active {
    transform: translateY(-50%) scale(1.05);
}

.coverflow-button svg {
    width: 28px;
    height: 28px;
    stroke-width: 3;
}

.coverflow-button-prev {
    left: 20px;
}

.coverflow-button-next {
    right: 20px;
}

/* Galería - Carrusel de Tarjetas Estilo DevFlash */
.card-carousel-container {
    margin: 3rem 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 4rem;
}

.card-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 600px;
    perspective: 1000px;
}

.card-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.card-carousel-card {
    position: absolute;
    width: 100%;
    height: 550px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    opacity: 0;
    transform: translateX(0) scale(0.8) rotateY(20deg);
    pointer-events: none;
}

.card-carousel-card.active {
    opacity: 1;
    transform: translateX(0) scale(1) rotateY(0deg);
    z-index: 3;
    pointer-events: all;
}

.card-carousel-card.prev {
    opacity: 0.6;
    transform: translateX(-100px) scale(0.85) rotateY(15deg);
    z-index: 2;
    pointer-events: none;
}

.card-carousel-card.next {
    opacity: 0.6;
    transform: translateX(100px) scale(0.85) rotateY(-15deg);
    z-index: 2;
    pointer-events: none;
}

.card-image-stack {
    position: relative;
    width: 100%;
    height: 75%;
    padding: 1.5rem;
}

.card-image-main {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-image-bg {
    position: absolute;
    width: 90%;
    height: 90%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    filter: grayscale(100%) brightness(0.7);
    opacity: 0.6;
}

.card-image-bg:nth-of-type(1) {
    top: 5%;
    left: 5%;
    z-index: 1;
    transform: translate(-10px, -10px);
}

.card-image-bg:nth-of-type(2) {
    top: 2.5%;
    left: 2.5%;
    z-index: 2;
    transform: translate(-5px, -5px);
}

.card-info {
    padding: 1.5rem;
    text-align: center;
    height: 25%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #e91e63;
    margin: 0 0 0.5rem 0;
}

.card-subtitle {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 1rem 0;
}

.card-lines {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.card-lines::before,
.card-lines::after {
    content: '';
    width: 40px;
    height: 3px;
    background: #e91e63;
    border-radius: 2px;
}

.carousel-nav-btn {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid rgba(255, 215, 0, 0.3);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all 0.3s ease;
    color: #ffd700;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-nav-btn:hover {
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 215, 0, 0.6);
    background: #ffd700;
    color: #000000;
    border-color: #ffd700;
}

.carousel-nav-btn:active {
    transform: translateY(-50%) scale(1.05);
}

.carousel-nav-btn svg {
    width: 28px;
    height: 28px;
    stroke-width: 3;
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.card-carousel-card:hover {
    transform: translateX(0) scale(1.05) rotateY(0deg) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.carousel-item {
    flex: 0 0 300px;
    width: 100%;
    height: 300px;
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 215, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    background: var(--bg-card);
}

.carousel-item:hover {
    border-color: rgba(255, 215, 0, 0.9);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 215, 0, 0.8);
    transform: translateY(-5px) scale(1.05);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.3s ease;
    filter: brightness(0.85);
    display: block;
}

.carousel-item:hover img {
    transform: scale(1.15);
    filter: brightness(1);
}

/* Animación del carrusel 1 */
#carousel1 {
    animation: scroll-vertical 50s linear infinite;
}

/* Animación del carrusel 2 (dirección opuesta) */
#carousel2 {
    animation: scroll-vertical-reverse 55s linear infinite;
}

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

@keyframes scroll-vertical-reverse {
    0% {
        transform: translateY(-50%);
    }
    100% {
        transform: translateY(0);
    }
}

/* Pausar animación al hacer hover */
.gallery-carousel-simple:hover .carousel-track {
    animation-play-state: paused;
}


/* Modal de Imagen */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.image-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 215, 0, 0.5);
    border: 2px solid rgba(255, 215, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 215, 0, 0.8);
    border: 2px solid rgba(255, 215, 0, 1);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    z-index: 10001;
}

.modal-close:hover {
    background: rgba(255, 215, 0, 1);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
    transform: scale(1.1) rotate(90deg);
}

.modal-close svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 215, 0, 0.8);
    border: 2px solid rgba(255, 215, 0, 1);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    z-index: 10001;
}

.modal-nav:hover {
    background: rgba(255, 215, 0, 1);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.modal-nav svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.modal-nav-prev {
    left: -70px;
}

.modal-nav-next {
    right: -70px;
}

@media (max-width: 990px) {
    .coverflow-carousel-wrapper {
        padding: 0 4rem;
    }
    
    .coverflow-slide {
        width: 350px;
        height: 450px;
    }
    
    .coverflow-slide.prev {
        transform: translateX(-150px) translateZ(-80px) scale(0.8) rotateY(15deg);
    }
    
    .coverflow-slide.next {
        transform: translateX(150px) translateZ(-80px) scale(0.8) rotateY(-15deg);
    }
    
    .coverflow-button-prev {
        left: 30% !important;
        transform: translateX(-30%) translateY(-50%) !important;
    }
    
    .coverflow-button-next {
        left: 70% !important;
        transform: translateX(-70%) translateY(-50%) !important;
    }
}

@media (max-width: 768px) {
    .coverflow-carousel-container {
        padding: 2rem 0;
    }
    
    .coverflow-carousel-wrapper {
        padding: 0 3rem;
    }
    
    .coverflow-carousel {
        height: 400px;
    }
    
    .coverflow-slide {
        width: 300px;
        height: 400px;
    }
    
    .coverflow-slide.prev {
        transform: translateX(-120px) translateZ(-60px) scale(0.75) rotateY(15deg);
    }
    
    .coverflow-slide.next {
        transform: translateX(120px) translateZ(-60px) scale(0.75) rotateY(-15deg);
    }
    
    .coverflow-button {
        width: 50px;
        height: 50px;
    }
    
    .coverflow-button svg {
        width: 24px;
        height: 24px;
    }
    
    .coverflow-button-prev {
        left: 10px !important;
        transform: translateY(-50%) !important;
    }
    
    .coverflow-button-next {
        right: 10px !important;
        transform: translateY(-50%) !important;
    }
    
    .card-carousel-container {
        padding: 1rem 2rem;
    }
    
    .card-carousel-wrapper {
        max-width: 100%;
        height: 500px;
    }
    
    .card-carousel-card {
        height: 450px;
    }
    
    .card-image-stack {
        height: 70%;
    }
    
    .card-info {
        height: 30%;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .carousel-nav-btn {
        width: 50px;
        height: 50px;
    }
    
    .carousel-nav-btn svg {
        width: 24px;
        height: 24px;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .modal-nav {
        width: 40px;
        height: 40px;
    }
    
    .modal-nav svg {
        width: 20px;
        height: 20px;
    }
    
    .modal-nav-prev {
        left: 10px;
    }
    
    .modal-nav-next {
        right: 10px;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
    
    .modal-image {
        max-height: 85vh;
    }
}

@media (max-width: 450px) {
    .coverflow-carousel-wrapper {
        padding: 0 2rem;
    }
    
    .coverflow-carousel {
        height: 350px;
    }
    
    .coverflow-slide {
        width: 250px;
        height: 350px;
    }
    
    .coverflow-slide.prev {
        transform: translateX(-100px) translateZ(-50px) scale(0.7) rotateY(15deg);
    }
    
    .coverflow-slide.next {
        transform: translateX(100px) translateZ(-50px) scale(0.7) rotateY(-15deg);
    }
    
    .coverflow-button {
        width: 45px;
        height: 45px;
    }
    
    .coverflow-button svg {
        width: 20px;
        height: 20px;
    }
    
    .coverflow-button-prev {
        left: 20% !important;
        transform: translateX(-20%) translateY(-50%) !important;
    }
    
    .coverflow-button-next {
        left: 80% !important;
        transform: translateX(-80%) translateY(-50%) !important;
    }
    
    .card-carousel-container {
        padding: 1rem 1rem;
    }
    
    .card-carousel-card {
        height: 400px;
    }
    
    .card-carousel-wrapper {
        height: 450px;
    }
    
    .card-image-stack {
        height: 65%;
        padding: 1rem;
    }
    
    .card-info {
        height: 35%;
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
    
    .card-subtitle {
        font-size: 0.8rem;
    }
    
    .carousel-nav-btn {
        width: 45px;
        height: 45px;
    }
    
    .carousel-nav-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* Noticias - Carrusel de Imágenes Horizontal Infinito */
.noticias-images-carousel {
    margin: 3rem 0;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.noticias-images-track {
    display: flex;
    gap: 1.5rem;
    animation: scroll-noticias 40s linear infinite;
    will-change: transform;
    width: fit-content;
}

.noticias-images-carousel:hover .noticias-images-track {
    animation-play-state: paused;
}

.noticia-image-item {
    flex: 0 0 400px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.2);
    border: 2px solid rgba(255, 215, 0, 0.3);
    background: var(--bg-card);
}

.noticia-image-item:hover {
    transform: scale(1.05);
    border-color: rgba(255, 215, 0, 0.7);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 215, 0, 0.5);
    z-index: 10;
}

.noticia-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.noticia-image-item:hover img {
    transform: scale(1.1);
}

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

/* Relaciones Internacionales */
.relaciones-content {
    max-width: 900px;
    margin: 2rem auto 0;
}

.relaciones-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* Video del Convenio en Tarjetas */
.convenio-cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
    align-items: start;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.convenio-video-card {
    background: var(--bg-card);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 215, 0, 0.2);
    transition: var(--transition);
}

.convenio-video-card:hover {
    border-color: rgba(255, 215, 0, 0.7);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.3);
    transform: translateY(-3px);
}

.convenio-video-container {
    width: 100%;
    background: #000;
    position: relative;
    padding: 0;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.convenio-video {
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: block;
    object-fit: contain;
    background: #000;
}

.convenio-info-card {
    background: var(--bg-card);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 215, 0, 0.2);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.convenio-info-card:hover {
    border-color: rgba(255, 215, 0, 0.7);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.3);
    transform: translateY(-3px);
}

.convenio-info-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
}

.convenio-globe-icon {
    width: 45px;
    height: 45px;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.3));
}

.convenio-globe-icon svg {
    width: 100%;
    height: 100%;
}

.convenio-info-title {
    flex: 1;
}

.convenio-title-top {
    color: white;
    font-size: 1rem;
    font-weight: 400;
    margin: 0 0 0.3rem 0;
}

.convenio-title-main {
    color: #ffd700;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
    line-height: 1.2;
}

.convenio-info-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.convenio-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.convenio-stats {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    padding: 0.8rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 8px;
    border-left: 3px solid #ffd700;
}

.convenio-university {
    color: #ffd700;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
    text-align: right;
    margin-top: auto;
}

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

.convenio-card {
    background: var(--bg-card);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow), var(--shadow-neon);
    transition: var(--transition);
}

.convenio-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.7);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(255, 215, 0, 0.6);
}

.convenio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
}

.convenio-card h3 {
    color: #ffd700;
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.convenio-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.beneficios-list {
    background: var(--bg-card);
    border: 2px solid rgba(255, 215, 0, 0.3);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow), var(--shadow-neon);
    margin-top: 2rem;
}

.beneficios-list h3 {
    color: #ffd700;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.beneficios-list ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.beneficios-list li {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-left: 4px solid #ffd700;
    color: var(--text-dark);
    transition: var(--transition);
}

.beneficios-list li:hover {
    transform: translateX(5px);
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.beneficios-list li::before {
    content: '✓ ';
    color: #ffd700;
    font-weight: bold;
    margin-right: 0.5rem;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

/* Footer Principal */
.main-footer {
    background: #0f0f14;
    color: white;
    padding: 1.5rem 2rem 0.6rem;
    margin-top: 4rem;
    position: relative;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.8rem;
    position: relative;
    padding-bottom: 0.4rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #ffd700;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #ffd700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.footer-contact {
    margin-top: 0.5rem;
    font-weight: 600;
    color: white;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.contact-icon {
    font-size: 1.2rem;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-contact-item a:hover {
    color: #ffd700;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.social-icon:hover {
    background: rgba(255, 215, 0, 0.3);
    border-color: #ffd700;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.footer-copyright {
    text-align: right;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
}

.footer-copyright p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: nowrap;
        gap: 1rem;
        padding: 0 1rem;
        justify-content: space-between;
    }

    .logo-container {
        flex-shrink: 0;
    }

    .nav-menu {
        position: relative;
        flex-shrink: 0;
    }

    .nav-toggle {
        display: flex;
        order: 2;
    }

    .nav-list {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #0a1929 0%, #1a4d7a 100%);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 1.5rem 1rem;
        gap: 0.8rem;
        display: none;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7), 0 0 50px rgba(255, 215, 0, 0.4);
        border-top: 2px solid rgba(255, 215, 0, 0.5);
        border-bottom: 2px solid rgba(255, 215, 0, 0.3);
        z-index: 999;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-list.active {
        display: flex;
    }

    .nav-link {
        display: flex;
        padding: 0.8rem 1rem;
        border: 2px solid rgba(255, 215, 0, 0.5);
        border-radius: 6px;
        margin-bottom: 0.3rem;
        justify-content: flex-start;
        background: rgba(0, 0, 0, 0.4);
    }

    .nav-link.active {
        border-color: #ffd700;
        box-shadow: 
            0 0 15px rgba(255, 215, 0, 0.9),
            0 0 25px rgba(255, 215, 0, 0.7);
        background: rgba(255, 215, 0, 0.2);
        color: #ffed4e;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .carreras-grid {
        grid-template-columns: 1fr;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .content-card {
        overflow: visible;
        min-height: auto;
    }
    
    .content-card p {
        padding: 0 1rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .content-card h3 {
        padding: 1.2rem 1rem 0.5rem;
        font-size: 1.3rem;
    }
    
    .metricas-section {
        padding: 2rem 0;
    }
    
    .metricas-container {
        padding: 0;
    }
    
    .noticias-images-carousel {
        margin: 2rem 0;
        padding: 0;
        overflow: visible;
    }
    
    .noticias-images-track {
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .noticia-image-item {
        flex: 0 0 calc(100vw - 1rem);
        height: 70vh;
        max-height: 600px;
        border-radius: 15px;
        margin: 0 0.5rem;
    }
    
    .convenio-cards-container {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        margin: 1.5rem 0;
        padding: 0 1rem;
    }
    
    .convenio-video {
        min-height: 250px;
        max-height: 300px;
    }
    
    .convenio-info-card {
        padding: 1.2rem;
    }
    
    .convenio-info-header {
        flex-direction: column;
        gap: 0.8rem;
        margin-bottom: 1rem;
        padding-bottom: 0.8rem;
    }
    
    .convenio-globe-icon {
        width: 40px;
        height: 40px;
    }
    
    .convenio-title-main {
        font-size: 1.5rem;
    }
    
    .convenio-description {
        font-size: 0.9rem;
    }
    
    .convenio-stats {
        font-size: 0.85rem;
        padding: 0.7rem;
    }
    
    .convenio-university {
        font-size: 1rem;
        text-align: left;
    }
    
    .convenios-grid {
        grid-template-columns: 1fr;
    }

    .section-container {
        padding: 2rem 1rem;
    }

    .registro-form {
        padding: 1.5rem;
    }

    .beneficios-list ul {
        grid-template-columns: 1fr;
    }

    /* Carrusel ODS Responsive */
    .carousel-slide {
        min-width: 250px;
        height: 300px;
    }

    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .ods-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        flex-wrap: nowrap;
        gap: 0.8rem;
        padding: 0 0.8rem;
        justify-content: space-between;
    }

    .logo {
        width: 100px;
        height: 100px;
    }

    .nav-toggle {
        padding: 0.5rem;
        min-width: 40px;
        min-height: 40px;
    }

    .nav-toggle span {
        width: 24px;
        height: 2.5px;
    }

    .nav-list {
        top: 70px;
        padding: 1rem 0.8rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Carrusel ODS Mobile */
    .carousel-slide {
        min-width: 200px;
        height: 250px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .ods-title {
        font-size: 1.5rem;
    }

    .carousel-wrapper {
        gap: 0.5rem;
    }

    /* Métricas Responsive */
    .metricas-title {
        font-size: 1.8rem;
    }

    .metricas-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .metrica-number {
        font-size: 2.5rem;
    }

    .metrica-icon {
        font-size: 3rem;
    }

    /* Footer Responsive */
    .footer-logo-section {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-logo-text {
        font-size: 1.4rem;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-copyright {
        text-align: center;
    }
    
    /* Noticias Mobile Pequeño */
    .metricas-section {
        padding: 1.5rem 0;
    }
    
    .noticias-images-carousel {
        margin: 1.5rem 0;
        padding: 0;
    }
    
    .noticias-images-track {
        gap: 0.8rem;
        padding: 0;
    }
    
    .noticia-image-item {
        flex: 0 0 100vw;
        height: 65vh;
        max-height: 500px;
        border-radius: 0;
        margin: 0;
        border-left: none;
        border-right: none;
    }
}

/* Estilos para Misión, Filosofía y Visión */
.mision-filosofia-vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin: 2rem 0;
    padding: 1rem 0;
}

.mision-filosofia-vision-card {
    background: transparent;
    border: none;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
}

.mision-filosofia-vision-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
    color: #ffd700;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: visible;
}

.mision-filosofia-vision-icon svg {
    width: 100%;
    height: 100%;
    stroke: #ffd700;
    fill: none;
    stroke-width: 2;
    overflow: visible;
}

.mision-filosofia-vision-title {
    color: #ffd700;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 
        0 0 10px #ffd700,
        0 0 20px #ffd700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mision-filosofia-vision-text {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.8;
    text-align: justify;
    margin: 0;
}

/* Responsive para Misión, Filosofía y Visión */
@media (max-width: 1024px) {
    .mision-filosofia-vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .mision-filosofia-vision-card {
        padding: 1.5rem;
    }
    
    .mision-filosofia-vision-icon {
        width: 80px;
        height: 80px;
    }
    
    .mision-filosofia-vision-title {
        font-size: 1.5rem;
    }
    
    .mision-filosofia-vision-text {
        font-size: 0.95rem;
    }
}

/* Estilos para Estructura de Presentación de Proyectos */
.estructura-proyectos-section {
    margin: 2rem 0;
    padding: 2rem 0;
}

.estructura-proyectos-title {
    color: #ffffff;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.estructura-proyectos-subtitle {
    color: #ffffff;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.estructura-proyectos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.estructura-proyectos-card {
    background: var(--bg-card);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow), var(--shadow-neon);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    overflow: visible;
}

.estructura-proyectos-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.7);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(255, 215, 0, 0.6);
}

.estructura-proyectos-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    color: #ffd700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: visible;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
}

.estructura-proyectos-icon svg {
    width: 100%;
    height: 100%;
    stroke: #ffd700;
    fill: none;
    stroke-width: 2;
    overflow: visible;
}

.estructura-proyectos-card-title {
    color: #ffd700;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

/* Responsive para Estructura de Proyectos */
@media (max-width: 1024px) {
    .estructura-proyectos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .estructura-proyectos-title {
        font-size: 2rem;
    }
    
    .estructura-proyectos-subtitle {
        font-size: 1rem;
    }
    
    .estructura-proyectos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .estructura-proyectos-card {
        min-height: 200px;
        padding: 2rem 1rem;
    }
    
    .estructura-proyectos-icon {
        width: 70px;
        height: 70px;
    }
    
    .estructura-proyectos-card-title {
        font-size: 1rem;
    }
}

/* Estilos para Modal de Documentos de Google Drive */
.document-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.document-modal.active {
    opacity: 1;
    visibility: visible;
}

.document-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.document-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 85vh;
    max-height: 900px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 3px solid rgba(255, 215, 0, 0.5);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(255, 215, 0, 0.5);
    display: flex;
    flex-direction: column;
    z-index: 10000;
    overflow: hidden;
}

.document-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    background: rgba(0, 0, 0, 0.5);
}

.document-modal-title {
    color: #ffd700;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 
        0 0 10px #ffd700,
        0 0 20px #ffd700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.document-modal-close {
    background: rgba(255, 215, 0, 0.8);
    border: 2px solid rgba(255, 215, 0, 1);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    padding: 0;
}

.document-modal-close:hover {
    background: rgba(255, 215, 0, 1);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
    transform: scale(1.1) rotate(90deg);
}

.document-modal-close svg {
    width: 24px;
    height: 24px;
    stroke: #000000;
    stroke-width: 3;
}

.document-modal-body {
    flex: 1;
    padding: 1.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.document-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
    background: white;
}

/* Responsive para Modal de Documentos */
@media (max-width: 768px) {
    .document-modal-content {
        width: 95%;
        height: 90vh;
    }
    
    .document-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .document-modal-title {
        font-size: 1.2rem;
    }
    
    .document-modal-close {
        width: 40px;
        height: 40px;
    }
    
    .document-modal-close svg {
        width: 20px;
        height: 20px;
    }
    
    .document-modal-body {
        padding: 1rem;
    }
}

/* Cursor pointer para las tarjetas clickeables */
.estructura-proyectos-card {
    cursor: pointer;
}
