@charset "utf-8";
/* CSS Document */

/* ------------------------------------------------------------------------- */
/* --- ESTILOS EXTRAÍDOS DE index.html --- */
/* ------------------------------------------------------------------------- */

/* Paleta y Variables Raíz Globales */
:root {
    /* Aumentado a 10rem para un padding superior e inferior aún mayor */
    --section-vertical-padding: 10rem;
    --orange-gradient: linear-gradient(135deg, #ff7011 0%, #e65c00 100%);
    /* Adjusted for more noticeable transition */
    --dark-gradient: linear-gradient(160deg, #1a202c 0%, #313b44 100%);
}

/* Estilos Base y Tipografía */
body {
    font-family: 'Inter', sans-serif;
    background-color: #F8F9FA;
    /* Light neutral background */
    color: #4A5568;
    /* Dark gray for general text */
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', sans-serif;
    color: #313b44;
    /* Dark blue-gray for headings */
}

.text-shadow-custom {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* ------------------------------------------------------------------------- */
/* HERO SECTION: Fondo de Video y Título Animado (index.html) */
/* ------------------------------------------------------------------------- */

/* New styles for hero heading to use a gradient outline */
.hero-heading-gradient {
    -webkit-text-stroke: 2px transparent;
    /* Set a transparent stroke initially */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, #ff7011, #e65c00);
    background-clip: text;
    text-fill-color: transparent;
    color: white;
    /* Fallback for browsers that don't support the above properties */
}

/* Animation for the hero title gradient effect */
.hero-title-gradient {
    background-image: linear-gradient(90deg, #ffffff, #ff7011, #ffffff, #ff7011);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Se ha cambiado la dirección de la animación para que sea "ida y vuelta" */
    animation: hero-title-gradient 3s linear infinite alternate;
}

@keyframes hero-title-gradient {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: 0 0;
    }
}

.hero-section {
    position: relative;
    height: 100vh;
    /* Full viewport height */
    overflow: hidden;
    /* Hide overflow from video */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    min-height: 80vh; /* Ajuste para todas las secciones hero */
}

.hero-video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    /* Send video to background */
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
    background-position: center center;
}

.hero-section .position-absolute {
    z-index: 0;
    /* Ensure overlay is above video but below content */
}

.hero-section .container {
    z-index: 1;
    /* Ensure content is above overlay */
}

/* Custom class for more rounded hero card */
.hero-card-rounded {
    border-radius: 1.5rem !important;
    /* Significantly more rounded corners */
}

@media (max-width: 767.98px) {
    .hero-card-rounded {
        padding: 1.5rem !important;
        /* Slightly less padding on small screens */
    }
}

/* Narrower hero content container */
.hero-content-narrow {
    max-width: 900px;
    /* Adjust this value as needed for desired width */
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    /* Adjust for larger screens if needed */
    .hero-content-narrow {
        max-width: 768px;
        /* Similar to Tailwind's max-w-3xl */
    }
}

/* ------------------------------------------------------------------------- */
/* SECCIONES GENERALES Y EFECTOS VISUALES (index.html) */
/* ------------------------------------------------------------------------- */

/* Efecto Parallax para secciones con imagen de fondo */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

/* Sección de Impacto (Microcredenciales) - RUTA CORREGIDA */
.parallax-impact {
    background-image: url('../assets/images/microcrendenciales_2.jpg');
}

/* Sección de Soluciones (Integral) - RUTA CORREGIDA */
.parallax-solutions {
    background-image: url('../assets/images/solucion_integral.jpg');
}

/* Animación de fade-in y slide-up para secciones */
.animated-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animated-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animación de pulso para el icono de impacto */
.pulse-icon {
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Custom hover effects */
.hover-scale-effect {
    transition: transform 0.3s ease-in-out;
}

.hover-scale-effect:hover {
    transform: scale(1.05);
}

.hover-bounce-effect {
    transition: transform 0.3s ease-in-out;
}

.hover-bounce-effect:hover {
    transform: translateY(-5px);
}

/* Custom color classes */
.text-dark-contrast {
    color: #313b44 !important;
}

.bg-dark-contrast {
    background-color: #313b44 !important;
}

/* Badge de Certificación Oficial (Común a todas las certificaciones) */
.official-badge-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.official-badge {
    display: flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e2e8f0 100%);
    border: 4px solid #005a70;
    color: #005a70;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.official-badge .bi-patch-check-fill {
    margin-right: 0.5rem;
    font-size: 1.25rem;
    color: #ffc107;
}

/* Estilos para las tarjetas de certificaciones / habilidades (Common Card Styles) */
.cert-card, .skill-card {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white; /* Agregado para que resalte sobre el fondo */
}

.cert-card:hover, .skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Estilos para la sección de audiencia (Common Audience Card Styles) */
.audience-card {
    border-radius: 1rem;
    background-color: white;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* ------------------------------------------------------------------------- */
/* NAVBAR Y MENÚS (index.html) */
/* ------------------------------------------------------------------------- */

.navbar-custom-bg {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Custom navbar styles for a more modern look */
.navbar-nav .nav-item .nav-link {
    font-size: 0.8rem;
    /* Smaller font size for a sleek look */
    font-weight: 600;
    /* Slightly bolder font for legibility */
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    transition: color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.navbar-nav .nav-item .nav-link:hover {
    color: #ff7011 !important;
    /* Changed to orange color on hover */
    transform: translateY(-2px);
}

.navbar-nav .nav-item .nav-link:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* MegaMenu General */
@media only screen and (min-width: 992px) {
    .dropdown-menu {
        /* Ajusta el ancho del megamenú para que no se salga de la pantalla */
        width: 80vw;
        /* Puedes ajustar este valor según sea necesario */
        max-width: 1200px;
        /* Un ancho máximo para pantallas muy grandes */
        /* Removed left: auto !important; to center the menu */
        right: auto;
        left: 50%;
        transform: translateX(-50%) !important;
        margin-left: 0;
        /* Asegura que no haya márgenes inesperados */
        margin-right: 0;
        padding: 1rem 1.75rem !important;
    }
}

.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-list li a {
    font-size: 0.80rem;
    /* Smaller font size for the list items */
    font-weight: 500;
    color: #4A5568;
    /* Color de texto para los enlaces */
    padding: 0.4rem 0;
    /* Padding vertical para los enlaces */
    display: block;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.mega-menu-list li a:hover {
    color: #ff7011;
    /* Color al pasar el mouse */
}

.mega-menu-title {
    font-size: 0.9rem;
    /* Adjusted for smaller size */
    font-weight: 600;
    color: #313b44;
    margin-bottom: 1rem;
}

@media only screen and (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: flex;
    }

    .dropdown-menu.show {
        display: flex;
    }
}

/* Color de fondo al hacer hover en secciones del MegaMenú */
/* Nota: Se usan las variables de Bootstrap para los colores de fondo */
.dropdown-menu .col-sm-6:nth-child(1) a:hover .d-flex {
    background-color: var(--bs-warning-bg-subtle);
}

.dropdown-menu .col-sm-6:nth-child(2) a:hover .d-flex {
    background-color: var(--bs-danger-bg-subtle);
}

.dropdown-menu .col-sm-6:nth-child(3) a:hover .d-flex {
    background-color: var(--bs-success-bg-subtle);
}

.dropdown-menu .col-sm-6:nth-child(4) a:hover .d-flex {
    background-color: var(--bs-secondary-bg-subtle);
}

.dropdown-menu .col-sm-6:nth-child(5) a:hover .d-flex {
    background-color: var(--bs-body-tertiary);
}

.dropdown-menu .col-sm-6:nth-child(6) a:hover .d-flex {
    background-color: var(--bs-info-bg-subtle);
}

/* Elimina el subrayado de los enlaces dentro del megamenú */
.dropdown-menu a {
    text-decoration: none !important;
}

/* Asegura que los títulos no tengan subrayado */
.dropdown-menu h5 {
    text-decoration: none !important;
}

/* Estilos específicos para el MegaMenu de Soluciones */
.navbar-nav .soluciones-menu .dropdown-menu {
    width: auto !important;
    max-width: 720px !important;
    min-width: 600px;
    padding: 1rem 1.75rem !important;
}

.navbar-nav .soluciones-menu .dropdown-menu .row {
    flex-wrap: nowrap;
}

.navbar-nav .soluciones-menu .mega-menu-title {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.navbar-nav .soluciones-menu .mega-menu-list li a {
    font-size: 0.80rem;
    padding: 0.45rem 0;
}

/* Fix para centrar el mega-menu para Certificaciones */
.navbar-nav .mega-menu .dropdown-menu {
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    /* Ensure it's below the navbar link */
    left: auto !important;
    transform: none !important;
    right: -100px;
    /* Adjust this value to align it with the navbar item */
}


/* ------------------------------------------------------------------------- */
/* INTRO SECTION: Fondo Animado y Video (index.html) */
/* ------------------------------------------------------------------------- */

/* New liquid gradient animation for the Intro section */
#intro {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #0f161c, #313b44, #0f161c);
    background-size: 400% 400%;
    animation: liquid-gradient-intro 12s ease infinite;
    color: white;
    padding-top: var(--section-vertical-padding) !important;
    padding-bottom: var(--section-vertical-padding) !important;
    overflow: hidden;
}

#intro h2,
#intro p {
    color: white !important;
}

@keyframes liquid-gradient-intro {
    0% {
        background-position: 100% 50%;
    }

    50% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

/* Floating shapes animation and styling */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    /* Very subtle white shapes */
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    filter: blur(50px);
    animation: float-animation linear infinite;
    opacity: 0;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 5%;
    animation-duration: 25s;
    animation-delay: 2s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 40%;
    animation-duration: 18s;
    animation-delay: 5s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 80%;
    left: 80%;
    animation-duration: 30s;
    animation-delay: 1s;
}

@keyframes float-animation {
    0% {
        transform: translate(0, 0) scale(0.8);
        opacity: 0;
    }

    25% {
        opacity: 0.1;
    }

    75% {
        opacity: 0.1;
    }

    100% {
        transform: translate(50px, -50px) scale(1.2);
        opacity: 0;
    }
}

.intro-video {
    border-radius: 1rem;
    /* Esquinas redondeadas para el video */
    overflow: hidden;
    /* Asegura que el video respete el border-radius */
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
    /* Sombra para el video */
}

/* ------------------------------------------------------------------------- */
/* HABILIDADES SECTION: Flip Cards (index.html) */
/* ------------------------------------------------------------------------- */

.flip-card {
    background-color: transparent;
    perspective: 1000px;
    /* Equivalent to h-64 */
    min-height: 256px;
}

@media (min-width: 768px) {
    .flip-card {
        /* Equivalent to md:h-72 */
        min-height: 288px;
    }
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    /* Now correctly inherits from flip-card */
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
}

/* Hover effect for flip card */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    border-radius: 0.75rem;
}

.flip-card-front {
    background-color: white;
    color: #1A202C;
}

.flip-card-back {
    background-image: var(--dark-gradient);
    /* Use the new dark gradient */
    color: white;
    transform: rotateY(180deg);
}

.flip-card-back h3 {
    color: white;
}

/* Adjusted padding and width for better text alignment in flipped card */
.flip-card-back p {
    max-width: 90%;
    /* Adjust as needed */
    line-height: 1.6;
    /* Slightly smaller font for better fit */
    font-size: 0.9rem;
}

/* Custom gradient for Habilidades icons */
#habilidades-grid .flip-card-front .text-primary {
    /* Larger icons for more impact */
    font-size: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Match width and height to font-size for circular appearance */
    width: 5rem;
    height: 5rem;
    color: #ff7011;
}

/* ------------------------------------------------------------------------- */
/* MICROCREDENCIALES SECTION: Logos y Características (index.html) */
/* ------------------------------------------------------------------------- */

.partner-logos-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: 4rem; 
    padding: 2rem 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    background-color: white;
}

.partner-logos-slider {
    display: flex;
    animation: scroll 40s linear infinite;
    /* Ensures logos stay in one line */
    white-space: nowrap;
}

.partner-logos-slider img {
    height: 60px;
    margin: 0 40px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    /* Prevent images from shrinking */
    flex-shrink: 0;
    width: auto;
}

.partner-logos-slider img:hover {
    filter: grayscale(0%);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* AJUSTE DE PROPORCIONES DE LOGOS (para el slider de bachillerato) */
.partner-logos-slider img[alt="Microsoft"],
.partner-logos-slider img[alt="Cisco"],
.partner-logos-slider img[alt="IT Specialist"],
.partner-logos-slider img[alt="Project Management Institute"] {
     /* Mantienen la altura base */
     height: 60px;
     width: 140px; /* Ancho fijo para control */
}

.partner-logos-slider img[alt="Adobe"] {
     height: 60px;
     width: 130px;
}

.partner-logos-slider img[alt="Autodesk"] {
    /* Se establece un ancho para controlar el SVG gigante */
    width: 180px; 
    height: 45px; /* Altura ajustada para que no parezca demasiado alto/grande */
}

.partner-logos-slider img[alt="Intuit"] {
    /* Se establece un ancho para controlar el SVG gigante */
    width: 100px; 
    height: 35px; /* Altura ajustada */
}

.partner-logos-slider img[alt="Meta"] {
    height: 35px; /* Más pequeño para que no domine */
}

.partner-logos-slider img[alt="Unity"] {
    height: 45px; /* Un poco más pequeño */
}

.partner-logos-slider img[alt="Python"] {
     height: 45px; /* Reducido para que sea consistente */
}

.partner-logos-slider img[alt="Apple"] {
     height: 65px; /* Más grande para que se vea mejor */
}

/* ------------------------------------------------------------------------- */
/* METODOLOGÍA SECTION: Cards y Círculos de Iconos (index.html) */
/* ------------------------------------------------------------------------- */

/* New gradient for the methodology card icons */
#metodologia .card-body .icon-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Adjusted for a smaller circle */
    width: 4rem;
    /* Adjusted for a smaller circle */
    height: 4rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7011 0%, #e65c00 100%);
    /* Make the icons white for better contrast */
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#metodologia .card-body .icon-circle i {
    /* Adjusted for a smaller icon */
    font-size: 2rem;
}

/* ------------------------------------------------------------------------- */
/* SOLUCIONES ESPECIALIZADAS SECTION: Carrusel de Cards (index.html) */
/* ------------------------------------------------------------------------- */

/* Estilos para las flechas y dots del carrusel de soluciones especializadas */
#soluciones-especializadas .carousel-control-prev,
#soluciones-especializadas .carousel-control-next {
    /* Elimina las flechas */
    display: none;
}

#soluciones-especializadas .carousel-indicators {
    bottom: -50px;
}

#soluciones-especializadas .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #313b44;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

#soluciones-especializadas .carousel-indicators .active {
    opacity: 1;
    background-color: #ff7011;
}

/* ------------------------------------------------------------------------- */
/* CONTACTO SECTION: Fondo Gradiente Animado (index.html) */
/* ------------------------------------------------------------------------- */

/* Contacto section liquid gradient background animation */
#contacto {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #313b44, #0f161c, #ff7011);
    background-size: 400% 400%;
    /* Adjusted speed */
    animation: liquid-gradient-contacto 10s ease infinite;
    overflow: hidden;
    padding-top: var(--section-vertical-padding) !important;
    padding-bottom: var(--section-vertical-padding) !important;
}

@keyframes liquid-gradient-contacto {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


/* ------------------------------------------------------------------------- */
/* CUSTOM BOOTSTRAP OVERRIDES (Botones y Colores de Tema) (index.html) */
/* ------------------------------------------------------------------------- */

/* Custom Bootstrap overrides for orange theme */
.btn-primary {
    background-image: var(--orange-gradient);
    border: none;
    background-size: 200% 100%;
    background-position: 0% 50%;
    transition: background-position 0.4s ease, transform 0.3s ease-in-out;
    color: white !important;
}

.btn-primary:hover {
    background-position: 100% 50%;
    /* A slight lift on hover */
    transform: translateY(-2px);
}

.text-primary {
    color: #ff7011 !important;
}

.bg-primary {
    background-color: #ff7011 !important;
}

/* White/Dark Button Style */
.btn-light-custom {
    background-color: white;
    border-color: white;
    color: #313b44 !important;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn-light-custom:hover {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    color: #ff7011 !important;
}


/* ------------------------------------------------------------------------- */
/* --- ESTILOS EXTRAÍDOS DE adobe-certified-professional.html --- */
/* ------------------------------------------------------------------------- */

/* Variables de Color Específicas de Adobe */
:root {
    --adobe-red: #fa0201;
    --adobe-dark-red: #d40100;
    --adobe-gray: #4A5568;
}

/* Clases de utilidad de color de Adobe */
.bg-adobe-red {
    background-color: var(--adobe-red) !important;
}

.text-adobe-red {
    color: var(--adobe-red) !important;
}

/* Botones con estilo Adobe */
.btn-adobe-red {
    background-color: var(--adobe-red);
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-adobe-red:hover {
    background-color: var(--adobe-dark-red);
    color: white !important; /* Asegura que el texto permanezca blanco */
}

.btn-etc-gray {
    background-color: var(--adobe-gray);
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-etc-gray:hover {
    background-color: #313b44;
}

/* Hero Section personalizada para Adobe - RUTA CORREGIDA */
.hero-section-adobe {
    background-image: url('../assets/images/adobe-certified-pro-banner.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-section-adobe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Overlay oscuro */
}

/* Estilos comunes a todas las páginas de certificación */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding-top: 5rem;
}

.adobe-hero-logo {
    width: 180px;
    height: auto;
    margin-top: 3rem;
}

.hero-heading-adobe {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 10;
}

/* Estilos para las tarjetas de certificaciones (Certificaciones Disponibles) */
.cert-card .cert-icon {
    font-size: 3rem;
    color: var(--adobe-red);
    margin-bottom: 0.5rem;
}

/* Estilos para las credenciales especializadas */
.specialty-card {
    border: 2px solid var(--adobe-red);
    border-radius: 1rem;
    background-color: white;
    padding: 2rem;
    box-shadow: 0 8px 16px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.specialty-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.2), 0 6px 8px -3px rgba(0, 0, 0, 0.1);
}

.specialty-icon-group {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.specialty-icon {
    width: 60px;
    height: auto;
    margin: 0 10px;
}

.specialty-plus {
    font-size: 2rem;
    color: var(--adobe-red);
}

/* Estilos para la sección de audiencia (Audiencia - Certificaciones) */
.audience-card .bi {
    color: var(--adobe-red);
}

/* ------------------------------------------------------------------------- */
/* --- ESTILOS EXTRAÍDOS DE app-development-with-apple-swift.html --- */
/* ------------------------------------------------------------------------- */

/* Variables de Color Específicas de Apple Swift */
:root {
    --app-swift-orange: #f69a48;
    --app-swift-dark-orange: #d18239;
    --app-swift-gray: #4A5568;
    --app-swift-gradient: linear-gradient(135deg, #f69a48 0%, #e86d26 100%);
}

/* Clases de utilidad de color Swift */
.bg-app-swift-orange {
    background-color: var(--app-swift-orange) !important;
}

.text-app-swift-orange {
    color: var(--app-swift-orange) !important;
}

/* Botones con estilo Swift */
.btn-app-swift-orange {
    background-image: var(--app-swift-gradient);
    border: none;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-app-swift-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: white !important;
}

/* Hero Section personalizada para Swift - RUTA CORREGIDA */
.hero-section-app-swift {
    background-image: url('../assets/images/swift-banner.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-section-app-swift::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* Overlay oscuro */
}

.app-swift-hero-logo {
    width: 180px;
    height: auto;
    margin-top: 3rem;
}

.hero-heading-app-swift {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 10;
}

/* Estilos para las tarjetas de habilidades (Skills) */
.skill-card .skill-icon {
    font-size: 3rem;
    color: var(--app-swift-orange);
    margin-bottom: 0.5rem;
}

.skill-card .skill-icon-text {
    color: var(--app-swift-orange) !important;
    font-weight: bold;
}

.certification-icon {
    width: 100px;
    /* Ajusta el tamaño de los logos */
    height: auto;
    margin-bottom: 1rem;
}

/* Estilos para la sección de audiencia (Audiencia - Swift) */
.audience-card .bi {
    color: var(--app-swift-orange);
}

/* ------------------------------------------------------------------------- */
/* --- ESTILOS EXTRAÍDOS DE autodesk-certified-user.html --- */
/* ------------------------------------------------------------------------- */

/* Variables de Color Específicas de Autodesk */
:root {
    --autodesk-black: #292929;
    --autodesk-gray: #4A5568;
}

/* Clases de utilidad de color de Autodesk */
.bg-autodesk-black {
    background-color: var(--autodesk-black) !important;
}

.text-autodesk-black {
    color: var(--autodesk-black) !important;
}

/* Botones con estilo Autodesk */
.btn-autodesk-black {
    background-color: var(--autodesk-black);
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-autodesk-black:hover {
    background-color: #000000;
    color: white !important;
}

/* Hero Section personalizada para Autodesk - RUTA CORREGIDA */
.hero-section-autodesk {
    background-image: url('../assets/images/autodesk-certified-user-banner.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-section-autodesk::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* Overlay oscuro */
}

.autodesk-hero-logo {
    width: 180px;
    height: auto;
    margin-top: 3rem;
}

.hero-heading-autodesk {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 10;
}

/* Estilos para las tarjetas de certificaciones (Certificaciones Disponibles) */
/* Nota: Se reutilizan las clases .cert-card y .skill-card con nuevas variables de color */
.cert-card .cert-icon-img {
    filter: grayscale(100%); /* Aplicar si las imágenes son de color */
}

.cert-card .text-autodesk-black {
    color: var(--autodesk-black) !important;
}

/* Estilos para la sección de audiencia (Audiencia - Autodesk) */
.audience-card .bi {
    color: var(--autodesk-black);
}

/* ------------------------------------------------------------------------- */
/* --- ESTILOS EXTRAÍDOS DE bachillerato-etc-academy.html --- */
/* ------------------------------------------------------------------------- */

/* Colores ETC ACADEMY (Bachillerato) */
:root {
    --eta-dark-blue: #1A2B42;   /* Azul Profundo para fondo y headings (Similar al gris oscuro) */
    --eta-accent-blue: #006BE9; /* Azul Brillante para acentos */
    --eta-accent-orange: #ff7011; /* Naranja ETC para destacar */
    --eta-light-gray: #f4f6f9;  /* Fondo suave */
    --eta-heading: #1A202C;     /* Texto de encabezado oscuro */
}

h1, h2, h3, h4, h5, h6 {
    color: var(--eta-heading);
    font-weight: 700;
}

/* Ajuste de logo para el color distintivo en Navbar */
.navbar-brand img.logo-academy {
    content: url('../assets/logos/etc_iberoamerica_logo.svg'); 
    width: 150px;
}

/* Uso de colores de ETC Academy */
.text-eta-blue {
     color: var(--eta-accent-blue) !important;
}

.bg-eta-blue {
     background-color: var(--eta-accent-blue) !important;
}

/* Estilos de Botones de ETC Academy */
.btn-eta {
    background-image: var(--orange-gradient);
    border: none;
    background-size: 200% 100%;
    background-position: 0% 50%;
    transition: background-position 0.4s ease, transform 0.3s ease-in-out;
    color: white !important;
    font-weight: 700;
    padding: 0.8rem 2.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-eta:hover {
    background-position: 100% 50%;
    transform: translateY(-3px) scale(1.02); 
    color: white;
}

.btn-eta-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    font-weight: 700;
    padding: 0.8rem 2.5rem;
    transition: all 0.3s ease;
}

.btn-eta-outline:hover {
    background-color: white;
    color: var(--eta-dark-blue);
    border-color: white;
    transform: translateY(-3px) scale(1.02); 
}

/* SECCIÓN HERO ETC ACADEMY */
#hero-etc {
    position: relative;
    padding-top: calc(8rem + 56px);
    padding-bottom: 8rem;
    color: white;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--eta-dark-blue);
}

/* Animación de fondo para el HERO (puntos flotantes sutiles) */
#hero-etc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    animation: backgroundPan 60s linear infinite;
}

@keyframes backgroundPan {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.hero-title-eta {
    font-size: clamp(2.5rem, 6vw, 4rem); 
    color: white;
    font-weight: 800;
}

.hero-subtitle-eta {
     font-size: clamp(1.2rem, 3vw, 1.8rem); 
     font-weight: 300;
     margin-top: -1rem;
     color: var(--eta-accent-orange); 
}

/* SECCIÓN DE DATOS Y MARCOS DE REFERENCIA */
#marcos-internacionales {
    background-color: white;
    padding-top: var(--section-vertical-padding);
    padding-bottom: var(--section-vertical-padding);
}

.logo-internacional {
    height: 50px; 
    margin: 1rem 1.5rem; 
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    opacity: 0.7;
}

.logo-internacional:hover {
     filter: grayscale(0%);
     opacity: 1;
}

.stat-card {
    background-color: var(--eta-light-gray);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-left: 5px solid var(--eta-accent-orange);
}

.stat-card:hover {
    border-left: 5px solid var(--eta-accent-blue);
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

/* AJUSTE TAMAÑO DEL VIDEO EN LA SECCIÓN MARCOS INTERNACIONALES */
#marcos-internacionales .video-container {
     /* Max width/height to make it slightly larger but still contained */
    max-width: 500px;
    margin: 0 auto;
}

#marcos-internacionales video {
    max-height: 400px; /* Aumentado de 350px a 400px */
    width: 100%;
    height: auto;
}

/* SECCIÓN DE 7 ÁREAS DE ESPECIALIDAD (GRID) */
#especialidades-eta {
    background-color: var(--eta-light-gray);
    padding-top: var(--section-vertical-padding);
    padding-bottom: var(--section-vertical-padding);
}

.area-card {
    border-radius: 1.5rem;
    min-height: 280px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    background-color: white;
    overflow: hidden;
    position: relative;
}

.area-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    border-color: var(--eta-accent-blue);
}

.area-icon-container {
    font-size: 3.5rem;
    color: var(--eta-accent-blue);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.area-card:hover .area-icon-container {
     color: var(--eta-accent-orange);
}

/* Estilos de fondo animado para Áreas de Especialidad */
.area-card::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: rgba(0, 107, 233, 0.1); /* Azul sutil */
    transition: all 0.5s ease;
    transform: scale(0);
}

.area-card:hover::before {
    transform: scale(1);
    background-color: rgba(255, 112, 17, 0.1); /* Naranja sutil al pasar el mouse */
}

.area-card .card-body {
    position: relative;
    z-index: 1; 
}

.area-title {
    color: var(--eta-dark-blue);
    font-weight: 600;
}

/* Sección de Propuesta de Valor (Parallax) - RUTA CORREGIDA */
#valor-etc {
    background-image: linear-gradient(rgba(26, 43, 66, 0.9), rgba(26, 43, 66, 0.9)), url('../assets/images/university_entrance_bg.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: var(--section-vertical-padding);
    padding-bottom: var(--section-vertical-padding);
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    position: relative; /* Necesario para la animación de fondo */
    overflow: hidden;
}

/* Animación de fondo para la sección de valor (Birretes) */
.graduation-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.graduation-shapes .shape {
    position: absolute;
    opacity: 0;
    font-size: 2.5rem; /* Aumentado el tamaño */
    color: var(--eta-accent-blue);
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.3); /* Menos glow */
    animation: fallAndFade 20s linear infinite; /* Animación más lenta */
}

@keyframes fallAndFade {
    0% { transform: translate(0, -10vh) rotate(0deg); opacity: 0; }
    5% { opacity: 0.6; }
    95% { opacity: 0.6; }
    100% { transform: translate(0, 100vh) rotate(360deg); opacity: 0; }
}

/* Slider de Logos (tomado de secundaria-smartc3-academy.html) */
/* Nota: Se reutiliza .partner-logos-container y se redefine la imagen en la sección anterior para consistencia */
.partner-logos-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: 4rem; 
    padding: 2rem 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    background-color: white;
}

.partner-logos-slider {
    display: flex;
    animation: scroll 40s linear infinite;
    white-space: nowrap; 
}

/* --- GRADIENT ANIMATION CTA (CORREGIDO PREDOMINIO OSCURO) --- */
#cta-academy {
    position: relative;
    overflow: hidden;
    z-index: 1;
    padding: var(--section-vertical-padding) 0 !important;
}

#cta-academy .gradient-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Degradado de Azul Oscuro (Gris Oscuro) a Naranja, forzando la oscuridad en los extremos */
    background: linear-gradient(135deg, 
        #000000 0%, /* Inicia en negro total */
        var(--eta-dark-blue) 25%, 
        var(--eta-accent-orange) 50%, /* El destello de naranja */
        var(--eta-dark-blue) 75%,
        #000000 100% /* Termina en negro total */
    );
    background-size: 400% 400%;
    animation: liquid-gradient-cta 15s ease infinite alternate; /* Animación de ida y vuelta */
    z-index: 0;
    opacity: 1;
}

@keyframes liquid-gradient-cta {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

#cta-academy .container {
    position: relative;
    z-index: 1;
}

/* ------------------------------------------------------------------------- */
/* --- ESTILOS EXTRAÍDOS DE ccs-generative-ai-foundations.html (Compartidos) --- */
/* ------------------------------------------------------------------------- */

/* Variables de Color Comunes (CCS General y AI) */
:root {
    --ccs-blue: #357078;
    --ccs-dark-blue: #2a5a61;
    --ccs-gray: #4A5568;
}

/* Clases de utilidad de color CCS */
.bg-ccs-blue {
    background-color: var(--ccs-blue) !important;
}

.text-ccs-blue {
    color: var(--ccs-blue) !important;
}

/* Botones con estilo CCS */
.btn-ccs-blue {
    background-color: var(--ccs-blue);
    border: none;
    color: white;
    transition: background-color 0.3s ease;
}

.btn-ccs-blue:hover {
    background-color: var(--ccs-dark-blue);
    color: white !important;
}

/* Hero Section personalizada para CCS (usando IA como base) - RUTA CORREGIDA */
.hero-section-genai {
    background-image: url('../assets/images/gai-banner.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-section-genai::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Overlay oscuro */
}

.genai-hero-logo {
    width: 180px;
    height: auto;
    margin-top: 3rem;
}

.hero-heading-genai {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 10;
}

/* Estilos para las tarjetas de habilidades (Skills) */
.skill-card .skill-icon {
    color: var(--ccs-blue);
}

/* Estilos para la sección de audiencia */
.audience-card .bi {
    color: var(--ccs-blue);
}

/* ------------------------------------------------------------------------- */
/* --- ESTILOS EXTRAÍDOS DE ccs-professional-communication.html --- */
/* ------------------------------------------------------------------------- */

/* Hero Section personalizada para CCS-PC - RUTA CORREGIDA */
.hero-section-ccs {
    /* RUTA CORREGIDA: Asumo una imagen de fondo genérica para soft skills */
    background-image: url('../assets/images/soft-skills-banner.jpg'); 
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-section-ccs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Overlay oscuro */
}

.ccs-hero-logo {
    width: 180px;
    height: auto;
    margin-top: 3rem;
}

.hero-heading-ccs {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 10;
}

/* ------------------------------------------------------------------------- */
/* --- ESTILOS EXTRAÍDOS DE cisco-certified-support-technician.html --- */
/* ------------------------------------------------------------------------- */

/* Variables de Color Específicas de Cisco */
:root {
    --cisco-blue: #1693cf;
    --cisco-dark-blue: #0e6c99;
}

/* Clases de utilidad de color de Cisco */
.bg-cisco-blue {
    background-color: var(--cisco-blue) !important;
}

.text-cisco-blue {
    color: var(--cisco-blue) !important;
}

/* Botones con estilo Cisco */
.btn-cisco-blue {
    background-color: var(--cisco-blue);
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-cisco-blue:hover {
    background-color: var(--cisco-dark-blue);
    color: white !important;
}

/* Hero Section personalizada para Cisco - RUTA CORREGIDA */
.hero-section-cisco {
    background-image: url('../assets/images/cisco-cst-banner.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-section-cisco::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Overlay oscuro */
}

.cisco-hero-logo {
    width: 180px;
    height: auto;
    margin-top: 3rem;
}

.hero-heading-cisco {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 10;
}

/* Estilos para tarjetas de beneficios/componentes */
.benefit-card {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    min-height: 250px;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.component-card {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    min-height: 250px;
}

.component-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Estilos específicos para Acordeón (CCST) */
.accordion-button {
    font-weight: bold;
    color: white;
    background-color: #4A5568;
}

.accordion-button:not(.collapsed) {
    color: white;
    background-color: var(--cisco-blue);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.accordion-item {
    border: 1px solid #e2e8f0;
}

/* Estilos para la sección de audiencia */
.audience-card .bi {
    color: var(--cisco-blue);
}

/* ------------------------------------------------------------------------- */
/* --- ESTILOS EXTRAÍDOS DE dyned-neo-english-learning-and-certification.html --- */
/* ------------------------------------------------------------------------- */

/* Variables de Color Específicas de DynED Neo */
:root {
    --light-blue: #2abff8; /* DynED Neo primary blue */
    --neo-dark-gradient: linear-gradient(160deg, #1b0042 0%, #30176b 100%); /* Deep Blue/Purple */
    --neo-light-gradient: linear-gradient(135deg, #4d7cff 0%, #2abff8 100%); /* Bright Blue */
    --dark-blue: #313b44;
}

/* Hero Section - DynED Neo - RUTA CORREGIDA */
#hero-neo {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../assets/images/neo_images/neo_background.jpg'); 
    background-size: cover;
    background-position: center;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-title-neo {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.text-neo-primary {
    color: var(--light-blue) !important;
}

.bg-neo-dark {
    background-image: var(--neo-dark-gradient);
    color: white;
}

.bg-neo-dark h2, .bg-neo-dark h3 {
    color: white;
}

.bg-neo-dark .card-body i {
    color: var(--light-blue);
}

/* Styling for the 5-Step Method */
.step-circle {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    border: 4px solid var(--light-blue);
    color: var(--light-blue);
    background-color: #fff;
    transition: all 0.3s ease;
}

.step-card:hover .step-circle {
    background-color: var(--light-blue);
    color: white;
    transform: scale(1.1);
}

/* Parallax Section Styling - RUTA CORREGIDA */
#parallax-cert {
    background-image: url('../assets/images/neo_images/neo_background.jpg'); 
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

#parallax-cert .overlay {
     background-color: rgba(42, 191, 248, 0.3); /* Semi-transparent Neo Blue overlay */
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
}

/* Custom Image Shapes */
.image-shape-circle {
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    width: 300px;
    height: 300px;
    object-fit: cover;
}

.image-shape-irregular {
    border-radius: 50% 30% 60% 40% / 60% 40% 60% 40%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    width: 400px;
    height: 300px;
    object-fit: cover;
}

/* New style for the measurement section */
.measurement-card {
    background-color: #30176b; /* Dark purple/blue matching neo-dark-gradient */
    color: white;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.measurement-card h3 {
    color: white;
}

.image-vertical {
    max-width: 100%;
    height: auto;
    max-height: 450px; /* Limit vertical image height */
    object-fit: contain;
    border-radius: 0.75rem;
}

.image-horizontal {
    max-width: 100%;
    height: auto;
    max-height: 450px; /* Limit horizontal image height */
    object-fit: contain;
    border-radius: 0.75rem;
}

/* ------------------------------------------------------------------------- */
/* --- ESTILOS EXTRAÍDOS DE esb-entrepreneurship-and-small-business-certification.html --- */
/* ------------------------------------------------------------------------- */

/* Variables de Color Específicas de ESB */
:root {
    --esb-yellow: #fbca30;
    --esb-dark-yellow: #d6ac29;
    --esb-gray: #4A5568;
    --esb-gradient: linear-gradient(135deg, #fbca30 0%, #d6ac29 100%);
}

/* Clases de utilidad de color ESB */
.bg-esb-yellow {
    background-color: var(--esb-yellow) !important;
}

.text-esb-yellow {
    color: var(--esb-yellow) !important;
}

/* Botones con estilo ESB */
.btn-esb-yellow {
    background-color: var(--esb-yellow);
    border: none;
    color: #313b44;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-esb-yellow:hover {
    background-color: var(--esb-dark-yellow);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    color: #313b44 !important;
}

/* Hero Section personalizada para ESB - RUTA CORREGIDA */
.hero-section-esb {
    background-image: url('../assets/images/esb-banner.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-section-esb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Overlay oscuro */
}

.esb-hero-logo {
    width: 180px;
    height: auto;
    margin-top: 3rem;
}

.hero-heading-esb {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 10;
}

/* Estilos para las tarjetas de habilidades (Skills) */
/* Reutilizando .skill-card */
.skill-card .skill-icon {
    color: var(--esb-yellow);
}

/* Estilos para la sección de audiencia */
.audience-card .bi {
    color: var(--esb-yellow);
}

/* ------------------------------------------------------------------------- */
/* --- ESTILOS EXTRAÍDOS DE ic3-digital-literacy.html --- */
/* ------------------------------------------------------------------------- */

/* Variables de Color Específicas de IC³ */
:root {
    --ic3-green: #008f39; 
    --ic3-dark-green: #006626;
    --ic3-gray: #4A5568;
}

/* Clases de utilidad de color IC³ */
.bg-ic3-green {
    background-color: var(--ic3-green) !important;
}

.text-ic3-green {
    color: var(--ic3-green) !important;
}

/* Botones con estilo IC³ */
.btn-ic3-green {
    background-color: var(--ic3-green);
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-ic3-green:hover {
    background-color: var(--ic3-dark-green);
    color: white !important;
}

/* Hero Section personalizada para IC³ - RUTA CORREGIDA */
.hero-section-ic3 {
    background-image: url('../assets/images/ic3.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-section-ic3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Overlay oscuro */
}

.ic3-hero-logo {
    width: 180px;
    height: auto;
    margin-top: 3rem;
}

.hero-heading-ic3 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 10;
}

/* Estilos para las tarjetas de componentes (Sección de Componentes) */
/* Reutiliza .component-card de cisco-certified-support-technician.html */
.component-card.active {
    border-color: var(--ic3-green);
    background-color: #e6f7ee;
}

/* Tabs de componentes */
.nav-pills .nav-link {
    background-color: #e9ecef;
    color: #495057;
}

.nav-pills .nav-link.active {
    background-color: var(--ic3-green);
    color: white;
}

/* Estilos para la sección de audiencia */
.audience-card .bi {
    color: var(--ic3-green);
}

/* ------------------------------------------------------------------------- */
/* --- ESTILOS EXTRAÍDOS DE its-information-technology-specialist.html --- */
/* ------------------------------------------------------------------------- */

/* Variables de Color Específicas de ITS */
:root {
    --its-blue: #1a2f52;
    --its-dark-blue: #0f1c30;
    --its-gray: #4A5568;
}

/* Clases de utilidad de color ITS */
.bg-its-blue {
    background-color: var(--its-blue) !important;
}

.text-its-blue {
    color: var(--its-blue) !important;
}

/* Botones con estilo ITS */
.btn-its-blue {
    background-color: var(--its-blue);
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-its-blue:hover {
    background-color: var(--its-dark-blue);
    color: white !important;
}

/* Hero Section personalizada para ITS - RUTA CORREGIDA */
.hero-section-its {
    background-image: url('../assets/images/its-banner.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-section-its::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Overlay oscuro */
}

.its-hero-logo {
    width: 180px;
    height: auto;
    margin-top: 3rem;
}

.hero-heading-its {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 10;
}

/* Estilos para las tarjetas de certificaciones (Certificaciones Disponibles) */
/* Reutiliza .cert-card */
.cert-card .cert-icon {
    color: var(--its-blue);
}

/* Estilos para la sección de audiencia */
.audience-card .bi {
    color: var(--its-blue);
}

/* ------------------------------------------------------------------------- */
/* --- ESTILOS EXTRAÍDOS DE intuit-certifications.html --- */
/* ------------------------------------------------------------------------- */

/* Variables de Color Específicas de Intuit */
:root {
    --intuit-blue: #3f81c0;
    --intuit-dark-blue: #32679e;
    --intuit-gray: #4A5568;
}

/* Clases de utilidad de color Intuit */
.bg-intuit-blue {
    background-color: var(--intuit-blue) !important;
}

.text-intuit-blue {
    color: var(--intuit-blue) !important;
}

/* Botones con estilo Intuit */
.btn-intuit-blue {
    background-color: var(--intuit-blue);
    border: none;
    color: white;
    transition: background-color 0.3s ease;
}

.btn-intuit-blue:hover {
    background-color: var(--intuit-dark-blue);
    color: white !important;
}

/* Hero Section personalizada para Intuit - RUTA CORREGIDA */
.hero-section-intuit {
    background-image: url('../assets/images/intuit-banner.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-section-intuit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Overlay oscuro */
}

.intuit-hero-logo {
    width: 180px;
    height: auto;
    margin-top: 3rem;
}

.hero-heading-intuit {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 10;
}

/* Estilos para las tarjetas de certificaciones */
/* Reutiliza .cert-card */
.cert-card .cert-icon {
    color: var(--intuit-blue);
}

/* Estilos para la sección de audiencia */
.audience-card .bi {
    color: var(--intuit-blue);
}

/* ------------------------------------------------------------------------- */
/* --- ESTILOS EXTRAÍDOS DE matematicas-marshall-cavendish-education.html --- */
/* ------------------------------------------------------------------------- */

/* Marshall Cavendish Specific Styles */
#hero-marshall {
    background: linear-gradient(rgba(49, 59, 68, 0.8), rgba(49, 59, 68, 0.8)), url('../assets/images/marshall_cavendish_banner.jpg'); 
    background-size: cover; 
    background-position: center; 
}

.icon-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: var(--orange-gradient);
    color: white; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Custom Shapes for Images */
.image-shape-blob {
    /* Simula una forma irregular tipo "blob" con border-radius complejos */
    border-radius: 40% 60% 70% 30% / 50% 50% 50% 50%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    overflow: hidden;
}

.image-shape-wave {
    /* Simula una forma más fluida o en onda */
    border-radius: 50% 50% 5% 95% / 20% 80% 20% 80%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    overflow: hidden;
}

/* ESTILO CORREGIDO: Imagen rectangular con esquinas redondeadas para la gráfica */
.image-shape-graph {
    border-radius: 1rem; /* Esquinas redondeadas */
    box-shadow: 0 10px 20px rgba(0,0,0,0.15); /* Sombra suave */
    overflow: hidden;
}

.image-responsive {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Video Embed Styling (16:9 aspect ratio) */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Nueva sección del marco teórico */
#marco-teorico {
    background-color: var(--dark-blue);
    color: white;
    padding-top: var(--section-vertical-padding) !important;
    padding-bottom: var(--section-vertical-padding) !important;
}

#marco-teorico h2, #marco-teorico h3 {
    color: white;
}

.marco-item {
    position: relative;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease;
}

.marco-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.marco-icon {
    font-size: 2.5rem;
    color: #ff7011; /* Naranja de acento */
}

/* Estilo específico para el logo SVG */
.marshall-logo-svg {
    height: 40px; /* Ajusta el tamaño según sea necesario */
    width: auto;
    margin-bottom: 1.5rem; /* Espacio entre el logo y el título */
    fill: white; /* Color blanco para el logo en el fondo oscuro */
}

/* ------------------------------------------------------------------------- */
/* --- ESTILOS EXTRAÍDOS DE meta-certified-digital-marketing-associate.html --- */
/* ------------------------------------------------------------------------- */

/* Variables de Color Específicas de Meta */
:root {
    --meta-blue: #3767b0;
    --meta-dark-blue: #2a528e;
    --meta-gray: #4A5568;
}

/* Clases de utilidad de color Meta */
.bg-meta-blue {
    background-color: var(--meta-blue) !important;
}

.text-meta-blue {
    color: var(--meta-blue) !important;
}

/* Botones con estilo Meta */
.btn-meta-blue {
    background-color: var(--meta-blue);
    border: none;
    color: white;
    transition: background-color 0.3s ease;
}

.btn-meta-blue:hover {
    background-color: var(--meta-dark-blue);
    color: white !important;
}

/* Hero Section personalizada para Meta - RUTA CORREGIDA */
.hero-section-meta {
    background-image: url('../assets/images/meta-banner.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-section-meta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Overlay oscuro */
}

.meta-hero-logo {
    width: 180px;
    height: auto;
    margin-top: 3rem;
}

.hero-heading-meta {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 10;
}

/* Estilos para las tarjetas de certificaciones */
/* Reutiliza .cert-card */
.cert-card .cert-icon {
    color: var(--meta-blue);
}

/* Estilos para la sección de audiencia */
.audience-card .bi {
    color: var(--meta-blue);
}

/* ------------------------------------------------------------------------- */
/* --- ESTILOS EXTRAÍDOS DE microsoft-certified-educator.html --- */
/* ------------------------------------------------------------------------- */

/* Variables de Color Específicas de MCE */
:root {
    --mce-blue: #422680;
    --mce-gray: #4A5568;
}

/* Clases de utilidad de color MCE */
.bg-mce-blue {
    background-color: var(--mce-blue) !important;
}

.text-mce-blue {
    color: var(--mce-blue) !important;
}

/* Botones con estilo MCE */
.btn-mce-blue {
    background-color: var(--mce-blue);
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-mce-blue:hover {
    background-color: #2e1b5c;
    color: white !important;
}

/* Hero Section personalizada para MCE - RUTA CORREGIDA */
.hero-section-mce {
    background-image: url('../assets/images/mce.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-section-mce::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Overlay oscuro */
}

.mce-hero-logo {
    width: 180px;
    height: auto;
    margin-top: 3rem;
}

.hero-heading-mce {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 10;
}

/* Estilos para tarjetas de beneficios */
.benefit-card {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    min-height: 250px;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Estilos para la sección de audiencia */
.audience-card .bi {
    color: var(--mce-blue);
}

/* ------------------------------------------------------------------------- */
/* --- ESTILOS EXTRAÍDOS DE microsoft-certified-fundamentals.html --- */
/* ------------------------------------------------------------------------- */

/* Variables de Color Específicas de Microsoft Fundamentals */
:root {
    --mcf-blue: #1079b1;
    --mcf-dark-blue: #0b5d84;
    --mcf-gray: #4A5568;
}

/* Clases de utilidad de color MCF */
.bg-mcf-blue {
    background-color: var(--mcf-blue) !important;
}

.text-mcf-blue {
    color: var(--mcf-blue) !important;
}

/* Botones con estilo MCF */
.btn-mcf-blue {
    background-color: var(--mcf-blue);
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-mcf-blue:hover {
    background-color: var(--mcf-dark-blue);
    color: white !important;
}

/* Hero Section personalizada para MCF - RUTA CORREGIDA */
.hero-section-mcf {
    background-image: url('../assets/images/mcf-banner.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-section-mcf::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Overlay oscuro */
}

.mcf-hero-logo {
    width: 180px;
    height: auto;
    margin-top: 3rem;
}

.hero-heading-mcf {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 10;
}

/* Estilos para las tarjetas de certificaciones */
/* Reutiliza .cert-card */
.cert-card .cert-icon {
    font-size: 3rem;
    color: var(--mcf-blue);
    margin-bottom: 0.5rem;
}

/* Estilos para la sección de audiencia */
.audience-card .bi {
    color: var(--mcf-blue);
}

/* ------------------------------------------------------------------------- */
/* --- ESTILOS EXTRAÍDOS DE microsoft-office-specialist.html --- */
/* ------------------------------------------------------------------------- */

/* Variables de Color Específicas de MOS */
:root {
    --mos-blue: #273580;
    --mos-gray: #4A5568;
}

/* Clases de utilidad de color MOS */
.bg-mos-blue {
    background-color: var(--mos-blue) !important;
}

.text-mos-blue {
    color: var(--mos-blue) !important;
}

/* Botones con estilo MOS */
.btn-mos-blue {
    background-color: var(--mos-blue);
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-mos-blue:hover {
    background-color: #1a2456;
    color: white !important;
}

/* Hero Section personalizada para MOS - RUTA CORREGIDA */
.hero-section-mos {
    background-image: url('../assets/images/mos.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-section-mos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Overlay oscuro */
}

.mos-hero-logo {
    width: 180px;
    height: auto;
    margin-top: 3rem;
}

.hero-heading-mos {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 10;
}

/* Logo flotante (efecto de fondo en Hero) */
.floating-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: auto;
    opacity: 0.1;
    z-index: 0;
}

/* Estilos para las tarjetas de componentes (MOS) */
/* Reutiliza .component-card */
.component-card.active {
    border-color: var(--mos-blue);
    background-color: #e6f0ff;
}

/* Tabs de componentes */
.nav-pills .nav-link {
    background-color: #e9ecef;
    color: #495057;
}

.nav-pills .nav-link.active {
    background-color: var(--mos-blue);
    color: white;
}

/* Estilos para la sección de audiencia */
.audience-card .bi {
    color: var(--mos-blue);
}

/* ------------------------------------------------------------------------- */
/* --- ESTILOS EXTRAÍDOS DE pmi-project-management-ready.html --- */
/* ------------------------------------------------------------------------- */

/* Variables de Color Específicas de PMI */
:root {
    --pmi-purple: #504c98;
    --pmi-dark-purple: #3f3c7e;
    --pmi-gray: #4A5568; 
}

/* Clases de utilidad de color PMI */
.bg-pmi-purple {
    background-color: var(--pmi-purple) !important;
}
.text-pmi-purple {
    color: var(--pmi-purple) !important;
}

/* Botones con estilo PMI */
.btn-pmi-purple {
    background-color: var(--pmi-purple);
    border: none;
    color: white;
    transition: background-color 0.3s ease;
}
.btn-pmi-purple:hover {
    background-color: var(--pmi-dark-purple);
    color: white !important;
}

/* El .btn-etc-gray se define aquí, aunque ya se usó antes, para garantizar el color de acento. */
.btn-etc-gray {
    background-color: var(--pmi-gray);
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}
.btn-etc-gray:hover {
    background-color: #313b44;
}

/* Sección Hero personalizada */
.hero-section-pmi {
    /* RUTA CORREGIDA a ../assets/images/pmi-banner.jpg, en caso de que la URL en el HTML fuera relativa a la carpeta de la página */
    background-image: url('../assets/images/pmi-banner.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero-section-pmi::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Overlay oscuro */
}

/* Elementos dentro del Hero */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding-top: 5rem;
}
.pmi-hero-logo {
    width: 180px;
    height: auto;
    margin-top: 3rem;
}
.hero-heading-pmi {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 10;
}

/* Estilos para las tarjetas de objetivos */
.objective-card {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.objective-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.objective-icon {
    font-size: 3rem;
    color: var(--pmi-purple);
    margin-bottom: 0.5rem;
}

/* Estilos para la sección de audiencia (Reutiliza .audience-card) */
.audience-card .bi {
    color: var(--pmi-purple);
}

/* Estilos para la sección de CTA (Llamada a la acción) */
.cta-section {
    background-color: var(--pmi-gray);
    color: white;
}

/* ------------------------------------------------------------------------- */
/* --- ESTILOS EXTRAÍDOS DE preescolar-tbox.html --- */
/* ------------------------------------------------------------------------- */

/* Variables de Color Específicas de TBox Junior */
:root {
    /* Colores Vivos TBox Junior (Preescolar) */
    --tbox-blue: #00B8E2;    /* Cian/Azul brillante del logo */
    --tbox-green: #28a745;   /* Verde base (mantenido) */
    --tbox-logo-green: #7CB90A; /* Verde vibrante del logo (para acentos y botones) */
    --tbox-red: #dc3545;     /* Rojo divertido (mantenido) */
    --tbox-magenta: #C8006E; /* Magenta del logo (para acentos) */
    --tbox-soft-bg: #fffbe6; /* Fondo suave para secciones */
    --tbox-heading: #313b44; /* Dark gray for headings */
}

/* Ajuste de encabezados específico para TBox Junior (incluye peso 700) */
h1, h2, h3, h4, h5, h6 {
    color: var(--tbox-heading);
    font-weight: 700;
}

/* Ajuste de la transición de animación para TBox */
.animated-section {
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* 1. Hero Section (Video de Fondo + Gradiente) */
#hero-tbox {
    /* Mantenemos el degradado original, pero lo usamos como color de fallback */
    background: linear-gradient(135deg, rgba(0, 184, 226, 0.7) 0%, rgba(23, 162, 184, 0.7) 100%);
    padding-top: calc(8rem + 56px);
    padding-bottom: 8rem;
    color: white;
    position: relative;
    overflow: hidden;
}
        
/* Nuevo Overlay Oscuro para el Video de Fondo */
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Oscurece el video: negro semi-transparente */
    background-color: rgba(0, 0, 0, 0.25); 
    z-index: -1; 
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2; /* Detrás del overlay y del contenido */
}

.hero-video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Contenedor del contenido del Hero (título, párrafo, botón) */
.hero-content-box {
    background-color: rgba(0, 184, 226, 0.3); /* Azul tbox-blue con transparencia */
    padding: 2rem;
    border-radius: 1.5rem; /* Esquinas redondeadas */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-title-primary {
    font-size: 3.5rem;
    color: var(--tbox-logo-green);
    text-shadow: 3px 3px 0px rgba(0,0,0,0.2);
    font-weight: 800;
}
.hero-subtitle {
     font-size: 2rem;
     font-weight: 300;
     margin-top: -1rem;
}
/* Call to Action Button */
.btn-tbox {
    background-color: var(--tbox-logo-green);
    color: white;
    border: none;
    font-weight: 700;
    padding: 0.8rem 2.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.btn-tbox:hover {
    background-color: #6a9e08;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    color: white;
}

/* Hero Image/Avatar Styles (Recuperados) */
.fun-image-container {
    position: relative;
    margin: 2rem auto;
    width: 300px; /* Tamaño base */
    height: 300px;
}
.fun-image-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border: 8px solid white; /* Borde blanco para resaltar */
    /* Placeholder Color para mantener el estilo original */
    background-color: var(--tbox-blue); 
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
.fun-image-circle img {
     width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-overlay-shape {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    animation: bounce 4s infinite ease-in-out;
}
.shape-1 {
    background-color: var(--tbox-magenta);
    top: 0;
    left: 70%;
    transform: rotate(-10deg);
    animation-delay: 0s;
}
.shape-2 {
    background-color: var(--tbox-red);
    bottom: 10%;
    left: -10%;
    transform: rotate(20deg) scale(0.9);
    animation-delay: 2s;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
    100% { transform: translateY(0) scale(1); }
}

/* 2. Metodología Section (Fondo Animado) */
#metodologia-tbox {
    background-color: var(--tbox-soft-bg);
    padding-top: var(--section-vertical-padding);
    padding-bottom: var(--section-vertical-padding);
    position: relative;
    overflow: hidden;
}

.background-animation-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* No bloquear clicks */
    opacity: 0.3; /* Transparencia para que no opaque el contenido */
}

.floating-shape {
    position: absolute;
    color: white;
    font-size: 3rem;
    opacity: 0.6;
    animation: float 25s infinite linear; /* Cambio: animación lineal y más larga */
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

/* Aumenté la cantidad de formas flotantes y ajusté la duración/tamaño */
.shape-1-meth { top: 10%; left: 5%; font-size: 3.5rem; color: var(--tbox-blue); animation-delay: 0s; }
.shape-2-meth { top: 70%; left: 90%; font-size: 2.8rem; color: var(--tbox-magenta); animation-delay: 5s; animation-duration: 22s; }
.shape-3-meth { top: 40%; left: 30%; font-size: 4.5rem; color: var(--tbox-logo-green); animation-delay: 10s; animation-duration: 28s; }
.shape-4-meth { bottom: 5%; right: 40%; font-size: 3rem; color: var(--tbox-red); animation-delay: 15s; animation-duration: 30s; }
.shape-5-meth { top: 25%; right: 15%; font-size: 4rem; color: var(--tbox-blue); animation-delay: 8s; }
.shape-6-meth { bottom: 20%; left: 10%; font-size: 2.5rem; color: var(--tbox-logo-green); animation-delay: 2s; animation-duration: 20s; }
.shape-7-meth { top: 5%; right: 50%; font-size: 3.8rem; color: var(--tbox-magenta); animation-delay: 12s; animation-duration: 27s; }
.shape-8-meth { bottom: 30%; right: 10%; font-size: 4.2rem; color: var(--tbox-red); animation-delay: 7s; animation-duration: 23s; }

@keyframes float {
    0% { transform: translateY(0) translateX(0) scale(1); opacity: 0.6; }
    25% { transform: translateY(-30px) translateX(15px) scale(0.95); opacity: 0.55; } /* Más movimiento vertical */
    50% { transform: translateY(0) translateX(0) scale(1.05); opacity: 0.65; }
    75% { transform: translateY(30px) translateX(-15px) scale(0.9); opacity: 0.5; } /* Más movimiento vertical */
    100% { transform: translateY(0) translateX(0) scale(1); opacity: 0.6; }
}

/* Cajas de Pasos (4 pasos: Investiga, Explora, Construye, Aplica) */
.step-card {
    border-radius: 1.5rem;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: none;
    padding: 2rem;
    text-align: center;
    position: relative; /* Asegurar que las tarjetas estén sobre la animación */
    z-index: 10;
}
.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}
.step-icon {
    font-size: 3.5rem;
    color: white;
    width: 6rem;
    height: 6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
    border: 5px solid rgba(255, 255, 255, 0.5);
}
.step-card:hover .step-icon {
    transform: scale(1.05) rotate(-5deg);
}
.step-card-1 .step-icon { background-color: var(--tbox-red); }
.step-card-2 .step-icon { background-color: var(--tbox-logo-green); }
.step-card-3 .step-icon { background-color: var(--tbox-green); }
.step-card-4 .step-icon { background-color: var(--tbox-blue); }

/* Sección de Herramientas (Iconos y Fichas) */
#herramientas {
    padding-top: var(--section-vertical-padding);
    padding-bottom: var(--section-vertical-padding);
}
.tool-card {
    background-color: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 5px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-height: 200px;
}
.tool-card:hover {
    border-color: var(--tbox-blue);
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.tool-icon {
    font-size: 3rem;
    color: var(--tbox-blue);
}
.tool-title {
    color: var(--tbox-heading);
    font-weight: 600;
}
.tool-text {
    font-size: 0.9rem;
    color: #6c757d;
}
.color-primary-icon { color: var(--tbox-blue); }
.color-secondary-icon { color: var(--tbox-green); }
.color-tertiary-icon { color: var(--tbox-red); }
.color-quaternary-icon { color: var(--tbox-magenta); }


/* Sección de Niveles Educativos (Bloques de colores y Avatares) */
#niveles {
    background-color: var(--tbox-blue);
    padding-top: var(--section-vertical-padding);
    padding-bottom: var(--section-vertical-padding);
    color: white;
}
.level-block {
    border-radius: 1.5rem;
    padding: 2rem;
    color: white;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
    border: 3px solid white;
}
.level-block:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}
.level-block h4 {
    color: white;
    font-size: 2rem;
    font-weight: 800;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.level-block p {
    font-weight: 300;
    margin-bottom: 0;
}

/* Estilos de Avatar para Niveles */
.avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
}

/* Ajuste de colores para los bloques de nivel usando la paleta del logo */
.bg-level-4 { background-color: var(--tbox-logo-green); } /* Pasitos (Verde Logo) */
.bg-level-1 { background-color: #f7a300; } /* Paso A (Naranja/Amarillo original, mantenido por contraste) */
.bg-level-2 { background-color: var(--tbox-magenta); } /* Paso B (Magenta Logo) */
.bg-level-3 { background-color: var(--tbox-red); } /* Paso C (Rojo, mantenido) */

/* Footer Customization */
footer a {
    color: var(--tbox-logo-green) !important;
    transition: color 0.2s ease-in-out;
}
footer a:hover {
    color: white !important;
}

/* Call to Action Final */
#cta-tbox {
    background: linear-gradient(90deg, var(--tbox-logo-green), var(--tbox-blue));
    padding-top: var(--section-vertical-padding);
    padding-bottom: var(--section-vertical-padding);
    color: white;
}

/* Estilos Video Embed y Catálogo de Videos */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 1.5rem; /* Esquinas redondeadas */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    border: 5px solid var(--tbox-logo-green);
    background-color: black;
}

.video-container:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    transform: scale(1.01);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

#video-catalog {
    background-color: #f3f7fe;
    padding-top: var(--section-vertical-padding);
    padding-bottom: var(--section-vertical-padding);
}

.carousel-item-video {
    padding: 0 10%; /* Espacio para que el carrusel se vea mejor */
}

/* Estilo para los botones de control del carrusel */
.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: var(--tbox-blue);
    border-radius: 50%;
    padding: 1.5rem;
}
.carousel-control-prev, .carousel-control-next {
    width: 5%;
}

/* AUMENTAR TAMAÑO DEL CONTENEDOR DE VIDEO EN LA SECCIÓN FUNDAMENTOS */
/* La sección #fundamentos tiene una clase personalizada para el contenedor de video que se usa en el paso 2: */
#fundamentos .fun-image-container {
    /* Anteriormente: max-width: 550px; Ahora: max-width: 700px; */
    max-width: 700px; 
    width: 100%; /* Asegura que utilice el ancho máximo disponible */
}














