/* ===================================
    iMet
====================================== */

/* font */
@font-face {
    font-family: 'cerebri-sans-regular';
    src: url('fonts/CerebriSans-Regular.woff2') format('woff2'),
        url('fonts/CerebriSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal; 
} 
@font-face {
    font-family: 'cerebri-sans-medium';
    src: url('fonts/CerebriSans-Medium.woff2') format('woff2'),
        url('fonts/CerebriSans-Medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'cerebri-sans-semibold';
    src: url('fonts/CerebriSans-SemiBold.woff2') format('woff2'),
        url('fonts/CerebriSans-SemiBold.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'cerebri-sans-bold';
    src: url('fonts/CerebriSans-Bold.woff2') format('woff2'),
        url('fonts/CerebriSans-Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'cerebri-sans-light';
    src: url('fonts/CerebriSans-Light.woff2') format('woff2'),
        url('fonts/CerebriSans-Light.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
/* variable */
:root {      
    --alt-font: 'cerebri-sans-regular';
    --primary-font:  'cerebri-sans-regular';
    --base-color: #00c08b;
    --dark-gray:#201747;
    --very-light-gray:#eceff1;
    --yellow: #ecab23;
    --medium-gray: #7c898d;
    --solitude-blue: #f4f7f9;
} 
/* reset */
body {
    font-size: 18px;
    line-height: 30px;
}
/* font weight */
.fw-400 {
    font-family: 'cerebri-sans-regular' !important; 
    font-weight: normal !important;
}
.fw-300 {
    font-family: 'cerebri-sans-light' !important;
    font-weight: normal !important;
}
.fw-500 {
    font-family: 'cerebri-sans-medium' !important;
    font-weight: normal !important;
}
.fw-600 {
    font-family: 'cerebri-sans-semibold' !important;
    font-weight: normal !important;
}
.fw-700 {
    font-family: 'cerebri-sans-bold' !important;
    font-weight: normal !important;
} 
/* custom cursor */
.custom-cursor .circle-cursor-inner {
    background-color: var(--yellow);
}
.custom-cursor .circle-cursor-inner.cursor-link-hover {
    background-color: var(--yellow);
}
.custom-cursor .circle-cursor-outer {
    border: 1px solid var(--yellow);
}
/* heading */
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: 25px;
}
h1 {
    line-height: 4.375rem;
}
h2 {
    line-height: 3.438rem;
}
h3 {
    line-height: 3rem;
}
h4 {
    line-height: 2.6rem;
}
h5 {
    line-height: 2rem;
}
h6 {
    line-height: 1.75rem;
}
/* header */
.navbar .navbar-nav .nav-link {
    font-size: 18px;
    font-family: 'cerebri-sans-medium' !important;
}
.navbar .navbar-nav .dropdown .dropdown-menu a {
    font-size: 16px;
    line-height: 28px;
    font-family: 'cerebri-sans-regular' !important; 
}
header .btn.btn-small {
    font-size: 14px
}
header .btn.btn-small i {
    top:-2px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu {
    width: 300px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
    border-bottom: 1px solid var(--very-light-gray);
    padding: 20px 30px;
    font-size: 17px;
    color: var(--dark-gray) !important; 
    font-family: 'cerebri-sans-medium' !important;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a:hover{
    background-color: var(--very-light-gray);
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a img {
    width: 40px;
    margin-right: 10px;
}
/* btn */
.btn-link i {
    top:0px;
}
.btn.btn-hover-animation-switch .btn-icon {
    margin-left: 6px;
}
.btn {
    font-family: 'cerebri-sans-medium'; 
    font-weight: normal !important;
    text-transform: none;
    letter-spacing: normal;
}
.btn-yellow {
    background-color: var(--yellow) !important;
    color: var(--dark-gray) !important; 
}
.btn.btn-box-shadow.btn-yellow:hover {
    background-color: var(--yellow) !important;
    color: var(--dark-gray) !important;
}
.btn.btn-box-shadow.btn-yellow:active {
     border-color: var(--yellow) !important;
}
.btn.btn-extra-large {
    font-size: 17px;
}
.btn.btn-large {
    font-size: 16px;
}
.btn.btn-medium {
    font-size: 15px;
}
.btn.with-rounded.btn-large > span {
    line-height: 34px;
}
.btn.with-rounded.btn-medium > span {
    line-height: 30px;
}
/* text color */
.text-emerald-green {
    color: #62cd54;
}
/* bg color */
.bg-orient-blue {
    background-color: #1F6668; 
}
/* bg gradient color */
.bg-gradient-green-yellow-color { 
    background: rgb(236,171,35); 
    background: linear-gradient(306deg, rgba(236,171,35,1) 0%, rgba(0,83,61,1) 85%);
}
.bg-gradient-gray-light-dark-transparent {
    background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(32, 35, 41, 1)), to(transparent));
    background-image: linear-gradient(to top, rgba(32, 35, 41, 1) 10%, transparent 50%);
}
/* homepage */
.contact-form-style-01 .btn.btn-large { 
    padding: 13px 40px;
}
.terms-condition .box:before {
    top: 7px;
}
.terms-condition .box:after {
    top: 11px;
}
.contact-form-style-01 {
    margin-top: -100px;
}
/* page title */
.page-title-extra-small h1 {
    font-size: 18px;
    line-height: 22px;
}
.page-title-extra-small h2 {
    font-size: 4rem;
    line-height: 3.8rem;
}
/* team style */
.team-style-01 figure figcaption .social-icon a {
    margin: 0 5px;
}
/* text shadow */
.text-shadow-medium { 
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}
/* border color */
.border-color-yellow {
    border-color: var(--yellow) !important;
}
.pagination-style-01 .page-item.active .page-link,
.pagination-style-01 .page-item .page-link:hover {
    background: var(--dark-gray);
    color: var(--white);
}
.pagination-style-01 .page-item:first-child .page-link,
.pagination-style-01 .page-item:last-child .page-link {
    background: transparent;
    box-shadow: none !important;
}
.pagination-style-01 .page-item:first-child .page-link,
.pagination-style-01 .page-item:last-child .page-link {
    background: transparent;
    box-shadow: none !important;
}
.pagination-style-01 .page-item:first-child .page-link:hover,
.pagination-style-01 .page-item:last-child .page-link:hover {
    color: var(--dark-gray);
}
/* progress bar style 03 */
.progress-bar-style-03 .progress .progress-bar-title, 
.progress-bar-style-03 .progress .progress-bar-percent {
    bottom: 10px;
}
.progress-bar-style-03 .progress {
    height: 6px;
}
/* tooltip */ 
.tooltip-inner {
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.16);
    color: var(--medium-gray);
    padding: 22px 35px;
    max-width: 260px;
    font-size: 16px;
    line-height: 26px;
    text-transform: none;
    font-weight: 400;
}
.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow:before, .bs-tooltip-bottom .tooltip-arrow:before {
    border-bottom-color: var(--white) !important;
    border-width: 0 1.7em 1.7em !important; 
}

.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before, .bs-tooltip-top .tooltip-arrow:before {
    border-top-color: var(--white) !important;
    border-width: 1.7em 1.7em 0 !important; 
}
.bs-tooltip-auto[data-popper-placement^=bottom] {
    margin-top: 15px !important;
}
.bs-tooltip-auto[data-popper-placement^=top] {
    margin-bottom: 15px !important;
}
.tooltip {
    opacity: 1 !important;
}
.tooltip .tooltip-arrow {
    width: 3.5em;
    height: 1.2em;
}
.bs-tooltip-start.tooltip .tooltip-arrow {
    width: 1.2em;
    height: 3.2em;
    margin-top: -18px;
}
.bs-tooltip-auto[data-popper-placement^=left] {
    margin-right: 15px;
}
.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow:before, .bs-tooltip-start .tooltip-arrow:before {
    border-width: 1em 0 1em 1em !important;
    border-left-color: var(--white) !important;
}
.bs-tooltip-end.tooltip .tooltip-arrow {
    width: 1.2em;
    height: 3.2em;
    margin-top: -18px;
}
.bs-tooltip-auto[data-popper-placement^=right] {
    margin-left: 15px !important;
}
.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow:before, .bs-tooltip-end .tooltip-arrow:before {
    border-width: 1.7rem 1.7rem 1.7rem 0 !important;
    border-right-color: var(--white) !important;
}
.tooltip-title {
    font-weight: 600;
    display: block;
    font-size: 18px;
    margin-bottom: 7px;
    color: var(--dark-gray);
    letter-spacing: -0.5px;
}
/* top right bottom left */
.left-35px {
    left: 35px;
}
.bottom-35px {
    bottom: 35px;
}
.pato-0 {
    padding-top: 0px!important;
}
/* footer */
footer .footer-logo img {
    max-height: 36px;
}
.footer-dark p, .footer-dark .widget-text {
    color: var(--white);
    opacity: 0.4;
}
.footer-dark .elements-social .light li a {
    opacity: 1;
}
.footer-dark p a, .footer-dark p a:hover {
    color: var(--white);
}
.footer-dark ul li a, .footer-dark .widget-link {
    color: var(--white);
    opacity: 0.4;
}
.footer-dark ul li a:hover, .footer-dark .widget-link:hover, .footer-dark a:hover {
    opacity: 1;
    color: var(--white);
}
footer ul li {
    margin-bottom: 0;
}
.footer-dark .newsletter-style-02 input::placeholder {
    color: var(--white);
}
.footer-dark .newsletter-style-02 input::-webkit-input-placeholder {
    color: var(--white) !important;
    text-overflow: ellipsis;
    opacity: 0.4;
}
.footer-dark .newsletter-style-02 input::-moz-placeholder {
    color: var(--white) !important;
    text-overflow: ellipsis;
    opacity: 0.4;
}
.footer-dark .newsletter-style-02 input:-ms-input-placeholder {
    color: var(--white) !important;
    text-overflow: ellipsis;
    opacity: 0.4;
}
.is-touchable .cursor-page-inner {
    display: none !important;
}
/* media query responsive */
@media (max-width: 1300px) {
    .sticky-wrap.shadow-in {
        left: 18px;
    }
}
@media (max-width: 1250px) {
    .sticky-wrap.shadow-in {
        left: 2px;
    }
}
@media (max-width: 1199px) {
    header .btn.btn-rounded.btn-small {
        padding: 9px 18px;
    }
}
@media (max-width: 991px) {
    .contact-form-style-01 {
        margin-top: 0;
    }
    .tab-style-08 ul .nav-item .nav-link {
        padding: 18px 20px;
    }
    .elements-social .large-icon li {
        margin: 0 5px;
    }
    .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
        padding-left: 0px;
        padding-right: 0px;
    }
    .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a:hover{
        background-color: transparent;
    }
}
@media (max-width: 767px) { 
    .process-step-style-03 .progress-step-separator {
        display: block;
    }
}
@media (max-width: 575px) { 
    .process-step-style-03 .progress-step-separator {
        display: none;
    }
}

/* 
  Contenedor principal del video. Se posiciona de forma absoluta 
  para llenar la sección del banner.
*/
.video-background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* 
      z-index: 0 asegura que el video esté detrás del contenido del banner
      pero por encima de la imagen de fondo de la sección.
    */
    z-index: 0; 
}

/* 
  Estilos para la etiqueta <video>. Esto asegura que el video cubra 
  todo el espacio disponible sin distorsionarse, similar a 'background-size: cover'.
*/
.video-background-container video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* 
  Capa de superposición oscura. El video puede tener colores muy brillantes 
  que dificulten la lectura del texto. Esta capa soluciona eso.
  El z-index: 1 la coloca encima del video pero debajo del contenido del banner.
*/
.section-dark .video-background-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Ajusta la opacidad (0.5 = 50%) si es necesario */
    z-index: 1;
}

/* 
  Asegura que el contenido del banner (texto, botones) se muestre 
  por encima de la capa de superposición del video.
*/
.section-dark .container {
    position: relative;
    z-index: 2;
}

.footer-social-icons a {
  color: rgba(255, 255, 255, 0.6) !important; /* Color sutil, ligeramente transparente */
  font-size: 20px; /* Tamaño del ícono */
  transition: all 0.3s ease-in-out;
}

.footer-social-icons a:hover {
  color: var(--white) !important; /* Color blanco brillante al pasar el mouse */
  transform: translateY(-3px); /* Efecto de elevación sutil */
}

/* =================================================== */
/*    ESTILOS ACTUALIZADOS PARA EDUCACIÓN CONTINUA    */
/* =================================================== */

.filter-box {
    /* La sombra y el borde redondeado se aplicarán a los elementos internos */
}

/* El encabezado del filtro (verde) */
.filter-box .filter-header {
    background-color: var(--base-color); /* Usando tu variable de color base */
    color: white;
    font-family: 'cerebri-sans-semibold', sans-serif; /* Usando tu fuente semibold */
    font-size: 22px;
    padding: 18px 25px;
    border-radius: 25px; /* Bordes redondeados como en la imagen */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 192, 139, 0.2); /* Sombra sutil del color base */
}

/* El icono de sliders dentro del encabezado */
.filter-box .filter-header i {
    font-size: 20px;
}

/* La lista de opciones de filtro */
.filter-box .filter-options {
    list-style: none;
    padding: 20px 25px;
    margin: 0;
    background-color: var(--very-light-gray); /* Usando tu gris claro de fondo */
    /* Posicionamiento para que quede "debajo" del header */
    margin-top: -15px;
    padding-top: 30px; 
    border-radius: 0 0 15px 15px; /* Redondear solo las esquinas inferiores */
}

/* Cada elemento de la lista */
.filter-box .filter-options li {
    padding: 10px 0;
    border-bottom: 1px solid #dde2e5; /* Línea separadora sutil */
}

/* El último elemento no necesita línea separadora */
.filter-box .filter-options li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Los enlaces dentro de las opciones */
.filter-box .filter-options a {
    text-decoration: none;
    color: var(--dark-gray); /* Usando tu color de texto principal */
    font-family: 'cerebri-sans-medium', sans-serif; /* Usando tu fuente medium */
    font-size: 18px;
    display: block;
    transition: all 0.2s ease-in-out;
}

/* Efecto al pasar el mouse sobre una opción */
.filter-box .filter-options a:hover {
    color: var(--base-color); /* El texto se vuelve del color base */
    transform: translateX(5px); /* Pequeño desplazamiento a la derecha */
}

/* ¡IMPORTANTE! Estilo para la opción seleccionada/activa */
.filter-box .filter-options li.active a {
    color: var(--dark-gray); /* Mantenemos el color oscuro para legibilidad */
    font-family: 'cerebri-sans-bold', sans-serif; /* Lo hacemos más grueso (bold) */
}

/* =================================================== */
/*    ESTILOS PARA TARJETA DE CURSO - DISEÑO POR DEFECTO */
/* =================================================== */

.course-card-promo {
    background-image: linear-gradient(145deg, #4b2382 0%, #2a0a59 100%);
    border-radius: 20px;
    padding: 30px;
    color: #ffffff;
    font-family: 'cerebri-sans-medium', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 550px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card-promo:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(42, 10, 89, 0.4);
}

/* Robot decorativo de fondo */
.course-card-promo::after {
    content: '';
    position: absolute;
    top: 60px;
    right: -50px;
    width: 300px;
    height: 300px;
    background-image: url('../img/robot-bg-element.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.course-card-promo .card-content {
    position: relative;
    z-index: 2; /* Para que el contenido esté sobre el robot */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-card-promo .program-name {
    color: #90f1d5; /* Verde menta claro */
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    display: block;
}

.course-card-promo .course-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 30px;
}

.course-card-promo .course-details {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 25px;
    color: #1e293b; /* Texto oscuro */
    margin-bottom: 20px;
}

.course-card-promo .detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    font-weight: 600;
}

.course-card-promo .detail-item:not(:last-child) {
    margin-bottom: 18px;
}

.course-card-promo .detail-item i {
    font-size: 24px;
    color: #4b2382; /* Iconos en color morado */
    width: 30px;
    text-align: center;
}

.course-card-promo .instructor-box {
    background-color: #90f1d5; /* Verde menta claro */
    border-radius: 15px;
    padding: 15px 20px;
    color: #1e293b;
    margin-bottom: 25px;
    text-align: center;
}

.course-card-promo .instructor-box .impartido-por {
    display: block;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
}

.course-card-promo .instructor-box .instructor-name {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.course-card-promo .course-objective {
    font-size: 16px;
    line-height: 1.5;
    color: #e2e8f0;
    margin-top: auto; /* Empuja este elemento y el botón hacia abajo */
}

.btn-inscribirse {
    display: inline-block;
    width: 100%;
    padding: 12px 24px;
    margin-top: 20px;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.btn-inscribirse:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: #ffffff;
    text-decoration: none;
}

.btn-inscribirse:hover:before {
    left: 100%;
}

.btn-inscribirse:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
}

.btn-inscribirse i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-inscribirse:hover i {
    transform: translateX(4px);
}

/* ========================================================== */
/*    ¡NUEVO! ESTILOS PARA TARJETAS CON IMAGEN DE FONDO     */
/* ========================================================== */

/* Estos estilos se aplican SÓLO a las tarjetas que tienen una imagen */
.course-card-promo.has-bg-image {
    color: #ffffff; /* El color de texto principal será blanco */
}

/* Ocultar el robot decorativo cuando hay una imagen de fondo real */
.course-card-promo.has-bg-image::after {
    opacity: 0;
    display: none;
}

/* Asegurar que todo el texto sea blanco y legible con una sombra */
.course-card-promo.has-bg-image .program-name,
.course-card-promo.has-bg-image .course-title,
.course-card-promo.has-bg-image .detail-item span,
.course-card-promo.has-bg-image .impartido-por,
.course-card-promo.has-bg-image .instructor-name,
.course-card-promo.has-bg-image .course-objective {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Hacer transparentes las cajas interiores para que se vea el fondo */
.course-card-promo.has-bg-image .course-details,
.course-card-promo.has-bg-image .instructor-box {
    background-color: rgba(0, 0, 0, 0.3); /* Fondo oscuro semitransparente */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Borde sutil tipo "glass" */
    -webkit-backdrop-filter: blur(8px); /* Efecto "frosted glass" para navegadores WebKit */
    backdrop-filter: blur(8px); /* Efecto "frosted glass" estándar */
}

/* Cambiar el color de los iconos a blanco */
.course-card-promo.has-bg-image .detail-item i {
    color: #ffffff;
}

/* Estilo del botón de inscripción para que resalte sobre la imagen */
.course-card-promo.has-bg-image .btn-inscribirse {
    background: var(--yellow); /* Usamos tu variable --yellow */
    color: var(--dark-gray); /* Texto oscuro para buen contraste */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.course-card-promo.has-bg-image .btn-inscribirse:hover {
    background: #ffcf40; /* Un amarillo un poco más claro al pasar el mouse */
    color: var(--dark-gray);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.course-card-promo .detail-item.cupo-limitado-item span {
    font-family: 'cerebri-sans-bold', sans-serif;
    color: #e67e22; /* Naranja/Dorado del botón para consistencia */
}

.course-card-promo .detail-item.cupo-limitado-item i {
    color: #e67e22; /* Naranja/Dorado del botón para consistencia */
}

/* Estilo para tarjetas con imagen de fondo */
.course-card-promo.has-bg-image .detail-item.cupo-limitado-item span,
.course-card-promo.has-bg-image .detail-item.cupo-limitado-item i {
    color: var(--yellow); /* Amarillo resalta bien sobre fondos oscuros */
}


/* Responsive */
@media (max-width: 768px) {
    .btn-inscribirse {
        padding: 10px 20px;
        font-size: 13px;
    }
}