/* ================================================
   NAVBAR TECH MODERNO - CCIET
   ================================================ */
:root {
    --azul-principal: #00a3d9;
    --azul-secundario: #2563eb;
    --azul-oscuro: #111827;
    --nav-link-color: #1f2937;
    --nav-bg: #ffffff;
    --nav-height: 82px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Inter', 'Open Sans', sans-serif;
}

/* =========================================
   REGLA UNIVERSAL PARA IMÁGENES
   (Previene que se rompan o se desborden)
   ========================================= */
img {
    max-width: 100%;
    height: auto;
    display: block; 
}

/* Ajuste específico para que el logo del formulario no se haga gigante */
.advisory-image img {
    max-width: 300px;
    margin: 0 auto; 
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.top-bar {
    height: 20px;
    background: linear-gradient(90deg, #00a3d9, #2563eb, #111827);
}

.main-nav {
    background: rgba(255, 255, 255, 0.97);
    height: var(--nav-height);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.flex-nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a { display: flex; align-items: center; }
.logo-img {
    max-height: 68px;
    width: auto;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.logo-img:hover { opacity: 0.9; transform: scale(1.02); }

.menu-campus-area { display: flex; align-items: center; }

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 6px;
    align-items: center;
}

.nav-links li { position: relative; }
.nav-links li::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 16px;
}

.nav-links li a {
    padding: 10px 15px;
    font-size: 14px;
    color: var(--nav-link-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: 999px;
    transition: all 0.22s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #0077a8;
    background: rgba(0, 163, 217, 0.10);
}

.arrow-icon {
    font-size: 10px;
    opacity: 0.65;
    transition: transform 0.2s ease;
}
.nav-links li:hover > a .arrow-icon { transform: rotate(180deg); }

.dropdown {
    position: absolute;
    top: calc(100% + 16px);
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 8px;
    min-width: 245px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 300;
}

.nav-links li:hover .dropdown,
.nav-links li:focus-within .dropdown {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.dropdown li { list-style: none; }
.dropdown li::after { display: none; }
.dropdown li a {
    display: block;
    padding: 11px 14px;
    font-size: 13.8px;
    color: #1f2937;
    border-radius: 10px;
    font-weight: 500;
    text-decoration: none;
}

.dropdown li a:hover,
.dropdown li a.active {
    background: rgba(0, 163, 217, 0.10);
    color: #0077a8;
}

.dropdown-sep {
    height: 1px;
    background: rgba(15, 23, 42, 0.08);
    margin: 5px 4px;
}

.nav-divider {
    width: 1px;
    height: 30px;
    background: rgba(15, 23, 42, 0.12);
    margin: 0 12px;
}

.campus-button {
    background: linear-gradient(135deg, #111827, #2563eb);
    color: #fff;
    text-decoration: none;
    padding: 11px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
    transition: all 0.22s ease;
}

.campus-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.35);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 9px;
    border: none;
    background: rgba(0, 163, 217, 0.08);
    border-radius: 10px;
}

.hamburger span {
    display: block;
    width: 23px;
    height: 2px;
    background: #111827;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* =========================================
   HERO MODERNO (IMAGEN DE FONDO + TEXTO ENCIMA)
   ========================================= */
.hero-modern-carousel {
    background: #f0f4f8; 
    padding: 40px 20px 80px 20px;
    min-height: 85vh; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-slider-container {
    width: 100%;
    max-width: 1800px; 
    position: relative;
    height: 700px; 
    border-radius: 30px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    border-radius: 30px; 
    overflow: hidden; 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 5;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; 
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 15, 35, 0.95) 0%, rgba(0, 15, 35, 0.5) 55%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2; 
    width: 55%;
    padding-left: 120px; 
    padding-right: 40px;
}

.hero-content h1 {
    font-size: 64px; 
    font-weight: 800;
    margin: 20px 0 30px 0;
    color: #ffffff; 
    line-height: 1.1;
    letter-spacing: -1.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3); 
}

.hero-content p {
    font-size: 20px; 
    color: #e2e8f0; 
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-tag {
    background: rgba(255, 255, 255, 0.15); 
    backdrop-filter: blur(8px);
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 14px;
    color: #ffffff; 
    letter-spacing: 1px;
    display: inline-block;
    text-transform: uppercase;
}

/* =========================================
   BOTONES DEL HERO BANNER (Diseño Premium)
   ========================================= */
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #0099cc 0%, #005c97 100%); /* Gradiente moderno */
    color: white;
    padding: 16px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 92, 151, 0.35); /* Sombra elegante */
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 92, 151, 0.5);
}

.hero-buttons .btn-secondary {
    border: 2px solid rgba(255, 255, 255, 0.6); 
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px); /* Efecto cristal (Glassmorphism) */
    color: #ffffff; 
    padding: 16px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    transform: translateY(-3px);
}

/* =========================================
   AJUSTE DE LOS BOTONES PARA CELULARES
   ========================================= */
@media (max-width: 990px) {
    .hero-buttons {
        flex-direction: column; 
        gap: 12px;
        width: 100%;
        padding-bottom: 25px; /* <-- ESTO DA EL ESPACIO PARA QUE NO SE CORTE EL BOTÓN */
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%; 
        padding: 15px 20px; /* Un poco más esbeltos para que no ocupen tanta pantalla */
        font-size: 15px;
    }
}

.hero-dots {
    position: absolute;
    left: 25px; 
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.3); 
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 0; 
    z-index: 20;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.hero-dots .dot {
    width: 60px; 
    height: 50px; 
    border: none;
    background: transparent; 
    color: #ffffff; 
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hero-dots .dot:last-child {
    border-bottom: none; 
}

.hero-dots .dot:hover {
    background: rgba(255, 255, 255, 0.15); 
}

.hero-dots .dot.active {
    background: #0099cc; 
    color: white;
    font-weight: bold;
}

/* =========================================
   SECCIÓN: ¿QUÉ ESTUDIAR EN CCIET?
   ========================================= */
.study-options {
    max-width: 1300px;
    margin: 60px auto;
    padding: 0 40px;
}

.section-title {
    color: #007bb5;
    font-size: 28px;
    margin-bottom: 25px;
    font-family: 'Open Sans', 'Segoe UI', sans-serif;
}

.options-grid {
    display: flex;
    height: 450px; 
    border-radius: 8px;
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.option-card {
    flex: 1; 
    position: relative;
    text-decoration: none;
    color: white;
    overflow: hidden;
    border-right: 2px solid #ffffff; 
    cursor: pointer;
}
.option-card:last-child { border-right: none; }

.option-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease; 
}
.option-card:hover img { transform: scale(1.1); }

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    background: linear-gradient(to top, rgba(0,25,40,0.9) 0%, rgba(0,25,40,0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
    transition: background 0.4s ease;
}
.option-card:hover .card-overlay {
    background: linear-gradient(to top, rgba(0,25,40,0.95) 0%, rgba(0,25,40,0.6) 50%, transparent 100%);
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(45px); 
    transition: transform 0.4s ease-out; 
}
.option-card:hover .card-content { transform: translateY(0); }

.card-content h3 {
    font-size: 16px;
    margin: 0 0 15px 0;
    line-height: 1.4;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.badge-green {
    background-color: #00a650; 
    color: white;
    padding: 6px 18px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.btn-outline {
    margin-top: 20px;
    padding: 8px 20px;
    border: 1px solid white; 
    border-radius: 25px;
    color: white;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    opacity: 0; 
    visibility: hidden;
    transition: all 0.4s ease-out;
}
.option-card:hover .btn-outline { opacity: 1; visibility: visible; }
.option-card .btn-outline:hover { background-color: white; color: #001a29; }

/* =========================================
   SECCIÓN: ¿POR QUÉ ESTUDIAR EN CCIET?
   (PC: Lado a Lado / Móvil: Imagen de Fondo)
   ========================================= */
.why-cciet-section {
    background-color: #f4f7fa; 
    padding: 100px 0;
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.why-container { position: relative; z-index: 2; width: 100%; }
.why-left-column { width: 45%; }

.section-title-left { 
    color: #0b4b66; 
    font-size: 28px; 
    margin-bottom: 30px; 
    font-weight: 800; 
    display: block; 
}

.why-card {
    background-color: #ffffff;
    padding: 50px 40px;
    position: relative;
    box-shadow: 18px 18px 0px #0b4b66 !important; 
    border: none; 
    min-height: 380px;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.why-slides-container { position: relative; width: 100%; flex-grow: 1; }

.why-text-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out;
}
.why-text-slide.active { opacity: 1; visibility: visible; position: relative; }

.why-title-green { 
    color: #00a650; 
    font-size: 32px; 
    font-weight: 800; 
    margin: 0 0 20px 0; 
    line-height: 1.15; 
    letter-spacing: -0.5px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.why-title-green i {
    color: #0b4b66; 
    font-size: 26px;
    margin-top: 5px;
}

.why-text-slide p { 
    color: #555555; 
    font-size: 16px; 
    line-height: 1.7; 
    margin-bottom: 40px; 
}

.why-ribbon {
    background-color: #0b4b66;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    padding: 14px 20px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.why-ribbon::after {
    content: ''; display: inline-block; width: 40px; height: 1px; background-color: #ffffff; margin-left: 15px; opacity: 0.5;
}

.why-controls { 
    display: flex; 
    align-items: center; 
    margin-top: 40px; 
    gap: 10px;
}

.why-btn { 
    background: none; border: none; font-size: 18px; color: #0b4b66; cursor: pointer; transition: transform 0.2s; padding: 5px;
}
.why-btn:hover { transform: scale(1.2); }

.why-counter { font-size: 22px; margin: 0 5px; }
#why-current { color: #0b4b66; font-weight: 800; }
.why-total { color: #94a3b8; font-weight: 600; }

.why-right-column {
    position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 48vw; height: 75%; z-index: 1; display: block;
}

.bg-decoration-green-large {
    position: absolute; top: -15px; left: 0; width: 100%; height: 15px; background-color: #00a650; z-index: 3;
}

.why-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.8s ease-in-out; }
.why-img.active { opacity: 1; }

/* =========================================
   MAGIA PARA CELULARES 
   (Orden perfecto: Título -> Imagen Curva -> Tarjeta superpuesta)
   ========================================= */
@media (max-width: 990px) {
    .why-cciet-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 60px 20px;
        background-color: #f4f7fa;
        min-height: auto;
    }

    /* Desempaquetamos las cajas invisibles para reordenar todo */
    .why-container, 
    .why-left-column {
        display: contents;
    }

    /* 1. TÍTULO EN LA PARTE SUPERIOR */
    .section-title-left {
        order: 1;
        display: block !important;
        text-align: center;
        width: 100%;
        margin: 0 0 30px 0;
        font-size: 28px;
        position: relative;
    }

    /* 2. IMAGEN EN EL MEDIO (Con formato igual al Banner principal) */
    .why-right-column {
        order: 2;
        position: relative; /* Regresa al flujo normal de la página */
        top: auto;
        transform: none;
        width: 100%;
        max-width: 600px;
        height: 320px;
        border-radius: 30px; /* Bordes curvos igual que tu banner principal */
        overflow: hidden; /* Evita que las fotos se salgan de las curvas */
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        margin-bottom: -50px; /* ESTO jala la tarjeta blanca hacia arriba para superponerla */
        z-index: 1;
    }

    .why-img {
        object-fit: cover;
    }

    .bg-decoration-green-large { display: none; }

    /* 3. TARJETA BLANCA (Pisa a la imagen) */
    .why-card {
        order: 3;
        width: 100%;
        max-width: 500px;
        position: relative;
        z-index: 10; /* Se asegura de estar al frente */
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 10px 10px 0px #0b4b66 !important; 
        padding: 35px 25px;
        border-radius: 12px;
        min-height: auto;
        margin-top: 0; /* Reseteamos errores de espacios en blanco */
    }

    .why-title-green { font-size: 24px; }

    /* 4. CONTROLES AL FINAL */
    .why-controls {
        order: 4;
        background-color: #ffffff;
        padding: 10px 20px;
        border-radius: 30px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        margin: 30px auto 0 auto;
        width: max-content;
    }
    
    /* Centrar los controles del carrusel de Campus en celulares */
    .campus-controls-wrapper {
        justify-content: center;
        margin-top: 30px;
    }
}

/* =========================================
   SECCIÓN: NUESTRO CAMPUS
   ========================================= */
.campus-section { padding: 80px 0 100px 0; background-color: #ffffff; overflow: hidden; }
.campus-container { max-width: 1300px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 40px; }
.campus-info { width: 35%; padding-right: 20px; }
.campus-title { color: #005c97; font-size: 32px; margin-bottom: 15px; font-weight: 700; }
.campus-desc { color: #444; font-size: 16px; line-height: 1.6; margin-bottom: 30px; }
.btn-green-pill {
    background-color: #00a650; color: #ffffff; text-decoration: none; padding: 12px 25px; border-radius: 30px; font-weight: bold; font-size: 13px; display: inline-block; transition: background-color 0.3s;
}
.btn-green-pill:hover { background-color: #008a45; }

.campus-controls-wrapper { display: flex; align-items: center; margin-top: 50px; gap: 15px; }
.campus-arrow { background: none; border: none; font-size: 20px; color: #333; cursor: pointer; transition: color 0.2s, transform 0.2s; }
.campus-arrow:hover { color: #005c97; transform: scale(1.1); }
.campus-progress-bar { width: 150px; height: 4px; background-color: #e0e0e0; border-radius: 2px; position: relative; overflow: hidden; }
.campus-progress-fill { height: 100%; width: 25%; background-color: #00a650; transition: width 0.3s ease; }

.campus-carousel-wrapper { width: 65%; }
.campus-carousel { display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth; padding-bottom: 20px; scrollbar-width: none; -ms-overflow-style: none; }
.campus-carousel::-webkit-scrollbar { display: none; }

.campus-card { flex: 0 0 auto; width: 280px; height: 420px; border-radius: 12px; overflow: hidden; position: relative; box-shadow: 0 10px 20px rgba(0,0,0,0.1); cursor: pointer; }
.card-vertical-tab {
    position: absolute; left: 0; top: 0; bottom: 0; width: 35px; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; font-size: 13px; letter-spacing: 2px; z-index: 5; writing-mode: vertical-rl; transform: rotate(180deg);
}
.color-purple { background-color: #512da8; } 
.color-blue { background-color: #005c97; }

.campus-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.campus-card:hover img { transform: scale(1.15); }
.campus-card-content {
    position: absolute; bottom: 0; left: 35px; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); padding: 40px 20px 20px 20px; color: white;
}
.campus-card-content h3 { font-size: 18px; margin: 0 0 5px 0; }
.campus-card-content p { font-size: 12px; color: #ddd; margin-bottom: 15px; line-height: 1.4; }
.btn-explore-outline {
    display: inline-block; padding: 6px 15px; border: 1px solid white; border-radius: 20px; color: white; text-decoration: none; font-size: 11px; font-weight: bold; transition: all 0.3s;
}
.campus-card:hover .btn-explore-outline { background-color: white; color: #333; }

/* =========================================
   SECCIÓN: EGRESADOS DE ÉXITO
   ========================================= */
.alumni-section { position: relative; background-color: #f0f4f8; padding: 80px 0; overflow: hidden; }
.alumni-bg-blue { position: absolute; top: 0; left: 0; bottom: 0; width: 42%; background-color: #0073a8; z-index: 1; }
.alumni-container { position: relative; z-index: 2; display: flex; align-items: center; gap: 40px; }
.alumni-info { width: 35%; color: #ffffff; position: relative; padding-right: 20px; }
.quote-bg-icon { position: absolute; top: -60px; right: 20px; font-size: 150px; color: rgba(255, 255, 255, 0.2); z-index: -1; }
.shield-small-icon { font-size: 24px; margin-bottom: 15px; }
.alumni-title { font-size: 32px; font-weight: 700; margin-bottom: 20px; }
.alumni-desc { font-size: 16px; line-height: 1.6; margin-bottom: 40px; }
.alumni-green-line { width: 90%; height: 8px; background-color: #00a650; }

.alumni-carousel-wrapper { width: 65%; position: relative; display: flex; align-items: center; }
.alumni-carousel { display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth; padding: 20px 40px; scrollbar-width: none; width: 100%; }
.alumni-carousel::-webkit-scrollbar { display: none; }

.alumni-arrow {
    background-color: #ffffff; border: none; border-radius: 50%; width: 45px; height: 45px; color: #00a650; font-size: 16px; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.1); display: flex; align-items: center; justify-content: center; position: absolute; z-index: 10; transition: transform 0.2s, color 0.2s;
}
.alumni-arrow:hover { transform: scale(1.1); color: #0073a8; }
.alumni-arrow.left { left: 0; }
.alumni-arrow.right { right: 0; }

.alumni-card { flex: 0 0 300px; background: #ffffff; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.08); display: flex; flex-direction: column; }
.alumni-card-img { position: relative; height: 180px; }
.alumni-card-img img { width: 100%; height: 100%; object-fit: cover; }
.play-overlay {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(255, 255, 255, 0.85); width: 50px; height: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #888; font-size: 18px; cursor: pointer; transition: transform 0.2s, color 0.2s;
}
.alumni-card-img:hover .play-overlay { transform: translate(-50%, -50%) scale(1.1); color: #0073a8; }

.alumni-card-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.alumni-card-content h4 { color: #005c97; font-size: 13px; margin: 0 0 15px 0; line-height: 1.5; letter-spacing: 0.5px; }
.alumni-divider { border: none; border-top: 2px solid #005c97; width: 35px; margin: 0 0 15px 0; }
.alumni-name { font-weight: 700; color: #333; font-size: 14px; margin-bottom: 5px; }
.alumni-career { color: #005c97; font-size: 13px; }

/* =========================================
   PÁGINA: NOSOTROS (Estilos Internos)
   ========================================= */
.nosotros-hero-banner {
    width: 100%;
    background-color: #f0f6fa; 
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1; 
}

.img-fluid-banner {
    width: 100%;
    max-width: 1600px; 
    height: auto; 
    display: block;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05); 
}

.nosotros-main {
    padding: 80px 20px;
}

.nosotros-intro {
    max-width: 900px;
    margin: 0 auto 60px auto;
    text-align: justify;
}

.nosotros-intro p {
    color: #555;
    font-size: 17px;
    line-height: 1.8;
}

.mv-grid {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
}

.mv-card {
    flex: 1;
    background-color: #f9fbfd; 
    padding: 50px 40px;
    border-radius: 8px;
    border-top: 5px solid #00a650; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}

.mv-card:hover {
    transform: translateY(-10px);
}

.mv-icon {
    width: 70px;
    height: 70px;
    background-color: #005c97; 
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    margin: 0 auto 25px auto;
}

.mv-card h3 {
    color: #005c97;
    font-size: 24px;
    margin-bottom: 20px;
}

.mv-card p {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
}

.section-title-center {
    color: #005c97;
    font-size: 28px;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
}

.valores-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.valor-item {
    flex: 1;
    text-align: center;
    padding: 30px 20px;
}

.valor-item i {
    font-size: 40px;
    color: #00a650; 
    margin-bottom: 20px;
}

.valor-item h4 {
    color: #0b4b66;
    font-size: 18px;
    margin-bottom: 15px;
}

.valor-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.comunidad-section {
    background-color: #f0f4f8; 
    padding: 100px 0;
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    margin-top: 60px;
    border-radius: 12px;
    overflow: hidden; 
}

.comunidad-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.comunidad-left-column {
    width: 45%; 
    padding-left: 40px; 
}

.comunidad-card {
    background-color: #ffffff;
    border-radius: 4px;
    padding: 50px;
    position: relative;
    box-shadow: 18px 18px 0px #0b4b66; 
    border: 1px solid #eaeaea;
    min-height: 350px;
    display: flex;
    flex-direction: column;
}

.comunidad-slides-container {
    position: relative;
    width: 100%;
    flex-grow: 1;
}

.comunidad-text-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out;
}

.comunidad-text-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative; 
}

.comunidad-title-green {
    color: #008a45; 
    font-size: 34px;
    font-weight: 800;
    margin: 0 0 20px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.comunidad-text-slide p {
    color: #444;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
    padding-right: 20px;
}

.comunidad-ribbon {
    background-color: #0b4b66;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
}

.comunidad-ribbon::after {
    content: '';
    display: inline-block;
    width: 60px;
    height: 1px;
    background-color: #ffffff;
    margin-left: 15px;
}

.comunidad-controls {
    display: flex;
    align-items: center;
    margin-top: 40px;
}

.comunidad-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: #0b4b66;
    cursor: pointer;
    transition: transform 0.2s;
}

.comunidad-btn:hover {
    transform: scale(1.2);
}

.comunidad-counter {
    font-size: 20px;
    font-weight: bold;
    color: #888;
    margin: 0 20px;
    letter-spacing: 2px;
}

#comunidad-current {
    color: #0b4b66;
}

.comunidad-right-column {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 48%; 
    height: 80%;
    z-index: 1;
}

.comunidad-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.comunidad-img.active {
    opacity: 1;
}

/* =========================================
   SECCIÓN: FORMULARIO DE ASESORÍA
   ========================================= */
.advisory-section {
    display: flex;
    align-items: center; 
    max-width: 1200px; 
    margin: 80px auto; 
    padding: 0 20px;
    gap: 50px; 
}

.advisory-image {
    width: 40%; 
    height: 400px; 
    background-size: contain; 
    background-position: center;
    background-repeat: no-repeat;
}

.advisory-form-wrapper {
    width: 60%; 
    background-color: #ffffff;
    padding: 50px 60px;
    border-radius: 20px; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.08); 
    border: 1px solid #f0f0f0; 
}

.advisory-header {
    text-align: center;
    margin-bottom: 40px;
}

.advisory-header h3 {
    color: #0099cc; 
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 5px 0;
    letter-spacing: 1px;
}

.advisory-header h2 {
    color: #111827; 
    font-size: 26px;
    font-weight: 800;
    margin: 0;
}

.advisory-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.advisory-group {
    display: flex;
    flex-direction: column;
}

.advisory-group label {
    font-size: 11px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 8px;
}

.advisory-group input {
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px; 
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.3s ease;
}

.advisory-group input::placeholder {
    color: #9ca3af;
}

.advisory-group input:focus {
    border-color: #0099cc;
}

.advisory-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.advisory-check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 11px;
    color: #555555;
    line-height: 1.5;
    cursor: pointer;
}

.advisory-check-item input[type="checkbox"] {
    margin-top: 2px;
    cursor: pointer;
}

.advisory-check-item a {
    color: #005c97;
    text-decoration: underline;
    font-weight: 600;
}

.btn-submit-green {
    width: 100%;
    background-color: #008a45; 
    color: white;
    border: none;
    padding: 16px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.btn-submit-green:hover {
    background-color: #006b35; 
}

@media (max-width: 990px) {
    .advisory-section {
        flex-direction: column;
        gap: 30px;
        margin: 50px auto;
    }
    .advisory-image {
        width: 100%;
        height: 250px; 
    }
    .advisory-form-wrapper {
        width: 100%;
        padding: 40px 25px;
    }
}

@media (max-width: 600px) {
    .advisory-grid {
        grid-template-columns: 1fr; 
    }
}

/* =========================================
   FOOTER PROFESIONAL
   ========================================= */
.footer-professional {
    background-color: #0b1f40; 
    color: #e2e8f0;
    position: relative;
    font-family: 'Open Sans', sans-serif;
    margin-top: 60px; 
}

.footer-top {
    padding: 70px 20px 50px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.2fr; 
    gap: 40px;
    align-items: start;
}

.footer-logo-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    max-width: 180px; 
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #cbd5e1;
}

.footer-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact-list i {
    color: #e58d2c; 
    font-size: 18px;
    margin-top: 3px;
}

.footer-contact-list small {
    color: #94a3b8;
    font-size: 12px;
    display: block;
    margin-top: 5px;
    font-style: italic;
}

.footer-map-col {
    width: 100%;
}

.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3); 
    border: 2px solid rgba(255, 255, 255, 0.05); 
}

.map-wrapper iframe {
    display: block; 
}

.footer-bottom {
    background-color: #e58d2c; 
    padding: 15px 20px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #0b1f40; 
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 990px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr; 
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr; 
        gap: 50px;
        text-align: center;
    }

    .footer-logo-col {
        align-items: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact-list li {
        justify-content: center;
        text-align: left; 
    }
}

.hero-content.static-content {
    padding-left: 60px; 
}

@media (max-width: 990px) {
    .hero-content.static-content {
        padding-left: 30px;
    }
    
    .hero-content.static-content h1 {
        font-size: 48px; 
    }
}

/* =========================================
   PÁGINA: CARRERAS
   ========================================= */
.carreras-hero {
    position: relative;
    background-image: url('/CentroCCIET/assets/img/banner-carreras.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 160px 20px 140px 20px; 
    text-align: center;
    color: white;
    z-index: 1; 
}

.carreras-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 31, 64, 0.85) 0%, rgba(0, 92, 151, 0.8) 100%);
    z-index: -1; 
}

.carreras-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.carreras-hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.carreras-hero-content p {
    font-size: 18px;
    color: #e2e8f0;
    line-height: 1.6;
}

.carreras-main {
    padding: 60px 20px 100px 20px;
}

.carreras-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #e2e8f0;
    color: #0f172a;
}

.filter-btn.active {
    background-color: #0077a8; 
    color: white;
    border-color: #0077a8;
}

.carreras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.carrera-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid #f1f5f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.carrera-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.carrera-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.carrera-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carrera-card:hover .carrera-img-wrapper img {
    transform: scale(1.08); 
}

.carrera-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.bg-blue { background-color: #0077a8; }
.bg-purple { background-color: #512da8; }
.bg-green { background-color: #00a650; }

.carrera-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}

.carrera-content h3 {
    font-size: 22px;
    color: #0f172a;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.carrera-content p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 25px;
}

.carrera-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
}

.carrera-info-list li {
    font-size: 13px;
    color: #475569;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.carrera-info-list i {
    color: #0077a8;
    width: 16px; 
}

.btn-outline-blue {
    margin-top: auto; 
    display: inline-block;
    text-align: center;
    width: 100%;
    padding: 14px;
    border: 2px solid #0077a8;
    color: #0077a8;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-blue:hover {
    background-color: #0077a8;
    color: white;
}

.beneficios-section {
    margin-top: -65px; 
    padding-bottom: 80px;
    position: relative;
    z-index: 10;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.beneficio-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 35px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); 
    border: 1px solid #f1f5f9; 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.beneficio-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.beneficio-icon {
    font-size: 28px;
    color: #00a650; 
    margin-bottom: 20px;
}

.beneficio-card h3 {
    font-size: 15px;
    font-weight: 800;
    color: #111827; 
    margin: 0 0 15px 0;
    line-height: 1.4;
    text-transform: uppercase;
}

.beneficio-card p {
    font-size: 14px;
    color: #64748b; 
    line-height: 1.6;
    margin: 0;
}

@media (min-width: 1024px) {
    .beneficios-grid {
        grid-template-columns: repeat(4, 1fr); 
    }
}

/* =========================================
   BOTONES SOCIALES FLOTANTES Y BURBUJA
   ========================================= */
.floating-social-buttons {
    position: fixed;
    bottom: 30px; 
    right: 30px;  
    display: flex;
    flex-direction: column; 
    align-items: flex-end; 
    z-index: 9999; 
}

.floating-message {
    background-color: #ffffff;
    color: #0b1f40; 
    padding: 12px 35px 12px 18px; 
    border-radius: 12px;
    font-size: 13px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    margin-bottom: 15px; 
    position: relative;
    border: 1px solid #e2e8f0;
    animation: bounceMessage 2.5s infinite;
    text-align: center;
}

.floating-message::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 22px; 
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}

.floating-message span {
    line-height: 1.4;
    display: block;
}

.floating-message strong {
    color: #00a650; 
    font-size: 14px;
}

.close-msg {
    position: absolute;
    top: 8px;
    right: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #94a3b8;
}

.close-msg:hover {
    color: #ef4444; 
}

.floating-icons-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff !important; 
    font-size: 26px;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.float-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.whatsapp { background-color: #25D366; }
.tiktok { background-color: #000000; }
.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

@keyframes bounceMessage {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

@media (max-width: 768px) {
    .floating-social-buttons { bottom: 20px; right: 20px; }
    .float-btn { width: 50px; height: 50px; font-size: 22px; }
}

/* =========================================
   PÁGINA: CONTACTO
   ========================================= */
.contacto-hero {
    background: linear-gradient(135deg, #0b1f40 0%, #0077a8 100%);
    padding: 100px 20px;
    text-align: center;
    color: white;
}

.contacto-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.contacto-hero-content h1 {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 20px;
}

.contacto-hero-content p {
    font-size: 18px;
    color: #e2e8f0;
    line-height: 1.6;
}

.contacto-info-cards {
    margin-top: -40px; 
    position: relative;
    z-index: 10;
    margin-bottom: 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.c-card {
    background-color: #ffffff;
    padding: 40px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    border-bottom: 4px solid #00a650;
    transition: transform 0.3s ease;
}

.c-card:hover {
    transform: translateY(-8px);
}

.c-icon {
    width: 60px;
    height: 60px;
    background-color: #f0f6fa;
    color: #0077a8;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin: 0 auto 20px auto;
}

.c-card h3 {
    font-size: 18px;
    color: #0f172a;
    margin-bottom: 15px;
    font-weight: 700;
}

.c-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.contacto-form-section {
    margin-bottom: 100px;
}

.contacto-form-wrapper {
    display: flex;
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
}

.form-text-side {
    width: 45%;
    background-color: #f8fafc;
    padding: 60px 50px;
}

.tag-blue {
    background-color: #e0f2fe;
    color: #0284c7;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.form-text-side h2 {
    font-size: 32px;
    color: #0f172a;
    margin: 20px 0;
    font-weight: 800;
}

.form-text-side p {
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-item i {
    color: #00a650;
    font-size: 18px;
}

.feature-item span {
    color: #334155;
    font-size: 14px;
    font-weight: 600;
}

.form-input-side {
    width: 55%;
    padding: 60px 50px;
}

.modern-contact-form .input-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.modern-contact-form label {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.modern-contact-form input,
.modern-contact-form select,
.modern-contact-form textarea {
    padding: 14px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    color: #334155;
    background-color: #ffffff;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease;
}

.modern-contact-form input:focus,
.modern-contact-form select:focus,
.modern-contact-form textarea:focus {
    border-color: #0077a8;
}

@media (max-width: 990px) {
    .contacto-form-wrapper {
        flex-direction: column;
    }
    .form-text-side, .form-input-side {
        width: 100%;
        padding: 40px 25px;
    }
}

/* =========================================================================
   RESPONSIVIDAD GLOBAL PARA CELULARES Y TABLETS
   ========================================================================= */
@media (max-width: 990px) {
    .hero-slider-container {
        height: 600px; 
        border-radius: 20px;
    }
    
    .hero-content {
        width: 100%; 
        padding: 0 30px;
        text-align: center; 
    }

    .hero-content h1 {
        font-size: 38px; 
        margin: 15px 0;
    }

    .hero-content p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column; 
        gap: 15px;
    }

    .hero-buttons a {
        width: 100%; 
    }

    .hero-dots {
        left: 50%;
        top: auto;
        bottom: 20px;
        transform: translateX(-50%);
        flex-direction: row; 
        border-radius: 30px;
    }

    .hero-dots .dot {
        width: 45px;
        height: 45px;
        border-bottom: none;
        border-right: 1px solid rgba(255,255,255,0.1);
    }
    .hero-dots .dot:last-child { border-right: none; }

    .options-grid {
        flex-direction: column; 
        height: auto;
    }
    
    .option-card {
        height: 280px; 
        border-right: none;
        border-bottom: 2px solid #ffffff;
    }

    .why-cciet-section {
        padding: 50px 0;
    }
    
    .why-container {
        display: flex;
        flex-direction: column;
    }
    
    .why-left-column {
        width: 100%;
        padding: 0 20px;
    }
    
    .why-card {
        padding: 30px 20px;
        min-height: auto;
    }
    
    .why-title-green { font-size: 26px; }
    
    .why-right-column {
        position: relative;
        width: 100%;
        height: 300px;
        transform: none;
        top: 0;
        margin-top: 40px;
    }

    .campus-container, 
    .alumni-container {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
    }
    
    .campus-info, 
    .campus-carousel-wrapper,
    .alumni-info,
    .alumni-carousel-wrapper {
        width: 100%;
        padding: 0;
        text-align: center;
    }

    .alumni-bg-blue {
        width: 100%;
        height: 50%; 
    }

    .alumni-arrow {
        display: none; 
    }

    .mv-grid, 
    .valores-grid {
        flex-direction: column; 
        gap: 20px;
    }

    .comunidad-section {
        padding: 50px 0;
    }

    .comunidad-left-column {
        width: 100%;
        padding: 0 20px;
    }

    .comunidad-title-green { font-size: 26px; }

    .comunidad-right-column {
        position: relative;
        width: 100%;
        height: 300px;
        transform: none;
        top: 0;
        margin-top: 40px;
    }

    .contacto-hero-content h1, 
    .carreras-hero-content h1 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 32px; }
    .hero-slider-container { height: 550px; }
    .section-title, .section-title-left, .section-title-center { font-size: 24px; }
}

/* =========================================
   RESPONSIVIDAD: MENÚ DE NAVEGACIÓN (CELULARES)
   ========================================= */
@media (max-width: 990px) {
    /* BOTÓN HAMBURGUESA Y "X" EN LA ESQUINA */
    .hamburger {
        display: flex; 
        z-index: 1001; /* Asegura que siempre esté por encima */
        margin-left: auto; /* Empuja el botón a la esquina derecha */
        margin-right: 5px;
        background: transparent; 
        border: 2px solid #e2e8f0;
        padding: 10px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .hamburger.active {
        border-color: #0b4b66; /* Cambia a azul al abrirse */
    }

    .hamburger span {
        background: #0b4b66; /* Color profesional */
    }

    /* CONTENEDOR PRINCIPAL DEL MENÚ */
    .nav-links {
        position: fixed; 
        top: 0; 
        left: -100%; 
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        height: 100vh; 
        padding: 100px 30px 40px 30px; /* Espacio arriba para no chocar con la X */
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
        align-items: flex-start; /* Texto alineado a la izquierda (Más elegante) */
        gap: 5px;
        overflow-y: auto; 
        z-index: 1000;
    }

    .nav-links.active {
        left: 0; 
    }

    .nav-links li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #f1f5f9; /* Línea separadora sutil */
    }

    .nav-links li a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 18px;
        padding: 18px 10px;
        color: #0f172a;
        font-weight: 700;
        width: 100%;
        background: none;
    }

    /* COMPORTAMIENTO DEL ACORDEÓN (No flotante, empuja el texto) */
    .nav-links .dropdown {
        position: static; 
        display: none; /* Totalmente oculto por defecto */
        opacity: 1;
        pointer-events: auto;
        transform: none;
        box-shadow: none;
        border: none;
        background: #f8fafc; /* Fondo gris claro para los submenús */
        border-radius: 8px;
        padding: 5px 0;
        margin-bottom: 15px;
    }

    .nav-links li.open-accordion .dropdown {
        display: block; /* Se muestra y empuja lo de abajo */
    }

    .nav-links li.open-accordion > a {
        color: #0077a8; /* Se pinta de azul al estar abierto */
    }

    .dropdown li {
        border-bottom: none;
    }

    .dropdown li a {
        font-size: 15px;
        padding: 12px 20px;
        color: #475569;
        font-weight: 600;
    }

    .nav-divider { display: none; }
    /* Animación fluida de la "X" */
    .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
/* =========================================================================
   BARRA INFERIOR MÓVIL (TIPO APP PROFESIONAL)
   ========================================================================= */
.mobile-action-bar {
    display: none; /* Se oculta en computadoras */
}

@media (max-width: 768px) {
    /* Agregamos un margen al final de la página para que la barra no tape el texto del footer */
    body {
        padding-bottom: 70px; 
    }

    /* Ocultamos las burbujas grandes de PC para no saturar la pantalla del celular */
    .floating-social-buttons {
        display: none !important; 
    }

    /* La caja de la barra */
    .mobile-action-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.15); /* Sombra hacia arriba */
        z-index: 9999;
        padding: 10px 15px;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    /* Formato general para los enlaces de la barra */
    .mobile-action-bar a {
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        font-weight: 700;
        transition: all 0.3s ease;
    }

    /* 1. Botón de subir (Gris sutil) */
    .action-top {
        width: 45px;
        height: 45px;
        background-color: #f1f5f9;
        color: #64748b;
        font-size: 18px;
    }

    /* 2. Botón principal de Inscripción (Largo y Azul institucional) */
    .action-btn {
        flex-grow: 1; /* Ocupa todo el espacio sobrante */
        height: 45px;
        background-color: #005c97; 
        color: #ffffff;
        font-size: 14px;
        letter-spacing: 0.5px;
    }

    /* 3. Botón de WhatsApp (Verde oficial) */
    .action-wa {
        width: 45px;
        height: 45px;
        background-color: #25D366;
        color: #ffffff;
        font-size: 24px;
    }

    /* Efectos al presionar */
    .mobile-action-bar a:active {
        transform: scale(0.95);
    }
}

/* =========================================================
   CORRECCIÓN: FLECHAS DE EGRESADOS Y CAMPUS EN CELULAR
   ========================================================= */
@media (max-width: 990px) {
    /* Forzamos que las flechas aparezcan en celular */
    .alumni-arrow {
        display: flex !important; 
        width: 40px;
        height: 40px;
        z-index: 20;
    }
    
    /* Acomodamos las flechas a los costados */
    .alumni-arrow.left { left: 0px; }
    .alumni-arrow.right { right: 0px; }
    
    /* Le damos aire a las tarjetas para que no choquen con las flechas */
    .alumni-carousel {
        padding: 20px 10px; 
    }
}

/* =========================================
   MAGIA PARA CELULARES: SECCIÓN COMUNIDAD (Nosotros)
   (Orden perfecto: Título -> Imagen Curva -> Tarjeta superpuesta)
   ========================================= */
@media (max-width: 990px) {
    .comunidad-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 60px 20px;
        background-color: #f4f7fa;
        min-height: auto;
        margin-top: 40px;
    }

    /* Desempaquetamos las cajas invisibles */
    .comunidad-container, 
    .comunidad-left-column {
        display: contents;
    }

    /* 1. TÍTULO EN LA PARTE SUPERIOR */
    .comunidad-section .section-title-left {
        order: 1;
        display: block !important;
        text-align: center;
        width: 100%;
        margin: 0 0 30px 0;
        font-size: 28px;
        position: relative;
    }

    /* 2. IMAGEN EN EL MEDIO (Con bordes curvos y sombra) */
    .comunidad-right-column {
        order: 2;
        position: relative; 
        top: auto;
        right: auto;
        transform: none;
        width: 100%;
        max-width: 600px;
        height: 320px;
        border-radius: 30px; 
        overflow: hidden; 
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        margin-bottom: -50px; /* Jala la tarjeta blanca hacia arriba para superponerla */
        z-index: 1;
    }

    .comunidad-img {
        object-fit: cover;
    }

    .comunidad-section .bg-decoration-green-large { 
        display: none; 
    }

    /* 3. TARJETA BLANCA (Pisa a la imagen) */
    .comunidad-card {
        order: 3;
        width: 100%;
        max-width: 500px;
        position: relative;
        z-index: 10; 
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 10px 10px 0px #0b4b66 !important; 
        padding: 35px 25px;
        border-radius: 12px;
        min-height: auto;
        margin-top: 0; 
    }

    .comunidad-title-green { font-size: 24px; }

    /* 4. CONTROLES AL FINAL */
    .comunidad-controls {
        order: 4;
        background-color: #ffffff;
        padding: 10px 20px;
        border-radius: 30px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        margin: 30px auto 0 auto;
        width: max-content;
        display: flex;
    }
}
/* =========================================
   CORRECCIÓN: BOTONES Y TEXTOS VISIBLES EN CELULARES
   ========================================= */
@media (max-width: 990px) {
    /* 1. Hacemos la tarjeta más alta para que quepa la info y el botón */
    .options-grid .option-card {
        height: 380px !important; 
    }

    /* 2. Forzamos a que el contenido esté en su lugar siempre, sin esperar al dedo/mouse */
    .option-card .card-content {
        transform: translateY(0) !important;
    }

    /* 3. Mostramos el botón de "Más Información" permanentemente */
    .option-card .btn-outline {
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* 4. Mostramos el texto descriptivo permanentemente */
    .option-card .card-info-text {
        opacity: 1 !important;
        display: block !important;
    }

    /* 5. Aplicamos el fondo oscuro permanente para que resalten las letras blancas */
    .option-card .card-overlay {
        background: linear-gradient(to top, rgba(0,25,40,0.95) 0%, rgba(0,25,40,0.6) 60%, transparent 100%) !important;
    }
}

/* =========================================
   SECCIÓN REQUISITOS (En página de Carreras)
   ========================================= */
.requisitos-section {
    margin-top: 40px;
    margin-bottom: 100px;
}

.requisitos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.req-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

.req-card:hover {
    transform: translateY(-8px);
}

/* Diferenciamos los bordes superiores de las tarjetas */
.req-card.carreras-req { border-top: 6px solid #005c97; }
.req-card.cursos-req { border-top: 6px solid #00a650; }

.req-icon-wrapper {
    text-align: center;
    margin-bottom: 30px;
}

.req-icon-wrapper i { font-size: 45px; }
.carreras-req .req-icon-wrapper i { color: #005c97; }
.cursos-req .req-icon-wrapper i { color: #00a650; }

.req-title {
    font-size: 24px;
    font-weight: 800;
    margin-top: 15px;
}

.carreras-req .req-title { color: #0b4b66; }
.cursos-req .req-title { color: #008a45; }

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

.req-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 500;
}

.req-list li i {
    margin-top: 4px;
    font-size: 18px;
}

/* Colores cruzados para los checks de la lista */
.carreras-req .req-list li i { color: #00a650; }
.cursos-req .req-list li i { color: #0b4b66; }

/* =========================================
   CONTROL DEL BOTÓN "CAMPUS VIRTUAL"
   ========================================= */

/* 1. Ocultar el botón móvil cuando estamos en Computadora */
@media (min-width: 991px) {
    .mobile-campus-item {
        display: none !important;
    }
}

/* 2. Reglas para Celulares */
@media (max-width: 990px) {
    /* Le damos el diseño azul Premium al botón que está ADENTRO del menú */
    .mobile-campus-item {
        display: block !important;
        margin-top: 30px;
        border-bottom: none !important;
        width: 100%;
        padding: 0 10px;
    }

    .btn-campus-mobile {
        background-color: #005c97 !important; 
        color: #ffffff !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center;
        border-radius: 8px;
        padding: 15px !important;
        font-weight: 700;
        font-size: 16px !important;
        box-shadow: 0 6px 15px rgba(0, 92, 151, 0.3);
        transition: transform 0.2s ease;
    }

    .btn-campus-mobile:active {
        transform: scale(0.95);
    }

    /* Esconder el botón principal de Campus y la línea divisoria en celulares */
    .ocultar-en-celular {
        display: none !important;
    }
}