/* Estilos generales */
body {
    font-family: Arial, sans-serif;
}

/* Barra superior */
.top-bar {
    background-color: #f5b443;
    font-weight: bold;
}

/* Logo */
.logo {
    max-width: 350px;
    margin-top:15px;
}

/* Navegación */
.navbar {
    background-color: #000 !important;
}
@media (max-width: 767px) {
    .navbar-nav .nav-item .nav-link {
        white-space: normal; /* Permite que el texto se ajuste en varias líneas */
    }
    .dropdown-menu .dropdown-item {
        white-space: normal; /* Permite que el texto se ajuste en varias líneas */
        word-wrap: break-word; /* Permite que las palabras largas se dividan y ajusten */
    }
}
.highlight {
    color: #f5b443; /* Cambia este color al que desees */
    font-weight: bold; /* Opcional: para resaltar más */
}


.navbar-nav {
    margin: 0 auto;
}

.nav-link {
    color: #fff !important;
}

.nav-link:hover {
    color: rgb(245, 180, 67) !important;
}
.icon {
    max-width: 20px;
}
@media (min-width: 992px) {
    .carousel-control-prev-icon {
        filter: invert(1);
    }
    .carousel-control-next-icon {
        filter: invert(1);
    }
}
.carousel-indicators  {
    margin-bottom: 5px;
}
.carousel-indicators button {
    filter: invert(1);
}

/*Slide Video*/
.slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.video-container {
    position: relative;
    width: 100%;
    height: 40vh;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-video {
    width: 100vw;
    height: 70vh;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

.slider-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 16px rgba(0,0,0,0.7);
    z-index: 2;
    width: 90vw;
    max-width: 900px;
}

.slider-title {
    font-size: 2.5rem;
    font-weight: bold;
}

.slider-subtitle {
    font-size: 1.25rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .video-container, .slider-video {
        height: 45vh;
        min-height: 180px;
    }
    .slider-title {
        font-size: 1.3rem;
    }
    .slider-subtitle {
        font-size: 1rem;
    }
}

/* Hero section */
.hero-section {
    background-color: #f8f9fa;
}

.certificaciones img {
    max-width: 100px;
    margin: 10px;
}

/* Llamado a la acción */
.cta-section {
    background-color: #f5b443;
}

.btn-warning {
    background-color: #f5b443 !important;
    border-color: #f5b443 !important;
    color: #000 !important; /* Texto negro para mejor contraste */
}

.cta-section-1 {
    background: black;
    color:white;
}
.agenda-section {
    min-height: 660px;
}

/* Carrusel de logos */
.logos-carousel {
    display: flex;
    justify-content: space-around;
    align-items: center;
    overflow: hidden;
}

.logos-carousel img {
    max-width: 150px;
    margin: 0 20px;
}

/* Footer */
.footer {
    background-color: #000;
}

.social-links a {
    font-size: 1.5rem;
}

.partners img {
    max-width: 100%;
    filter: grayscale(100%);
}
.directora {
    margin-top:20px;
}
.custom-dropdown {
    background-color: #343a40; /* Fondo oscuro */
}
.custom-dropdown .dropdown-item {
    color: #fff; /* Texto blanco */
}
.custom-dropdown .dropdown-item:hover {
    background-color: #495057; /* Fondo más oscuro al pasar el ratón */
}
.yellow {
    color: #f5b443;
}
.copy {
    font-size: 1rem;
    vertical-align: text-top;
}
.pago {
    height: 40px;
}  
.btn-flotante {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #f5b443; /* Color amarillo */
    color: #000; /* Color negro para la flecha */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    z-index: 1000;
}

.btn-flotante:hover {
    background-color: #f5b443; /* Color amarillo más oscuro al pasar el ratón */
}

.btn-flotante i {
    font-size: 24px;
}
.cta-section {
    background-color: #fff; /* Fondo blanco */
    padding: 3rem 0;
}

.divider {
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    background-color: rgba(224, 168, 0, 0.85); /* Capa amarilla con opacidad */
    color: #000; /* Texto negro */
    padding: 2rem;
    text-align: left; /* Alineación del texto a la izquierda */
    min-height: 250px; /* Altura mínima */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Asegura que los botones estén al final */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border-radius: 5px;
}

.divider h2 {
    font-size: 1.8rem; /* Tamaño grande para los titulares */
    margin: 0;
    font-weight: bold;
    color: #fff; /* Cambia el color del título inferior a blanco */
}

.divider .subtitle {
    font-size: 1rem; /* Tamaño más pequeño para el texto superior */
    margin-bottom: 0.5rem;
    font-weight: normal;
    color: #fff; /* Cambia el color del texto superior a blanco */
}

.divider-link {
    text-decoration: none; /* Elimina el subrayado de los enlaces */
    color: inherit; /* Hereda el color del contenedor */
}

.divider:hover {
    transform: scale(1.005); /* Efecto de zoom al pasar el ratón */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Sombra al pasar el ratón */
}

@media (max-width: 768px) {
    .divider {
        min-height: 400px; /* Aumenta la altura mínima en teléfonos */
    }

    .divider h2 {
        margin-bottom: 1.5rem; /* Añade un margen inferior al título grande */
    }
}

.buttons {
    margin-top: 1rem;
}

.buttons .btn {
    width: 100%; /* Los botones ocupan todo el ancho en pantallas pequeñas */
}

@media (min-width: 768px) {
    .buttons .btn {
        width: auto; /* Los botones vuelven a su tamaño normal en pantallas medianas y grandes */
    }
}

.btn-black {
    background-color: #000;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    margin-right: 0.5rem;
    display: inline-block;
}

.btn-black:hover {
    background-color: #fff;
}

.btn-whatsapp {
    background-color: #25d366; /* Color de WhatsApp */
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0;
    text-decoration: none;
    font-size: 1rem;
    display: inline-block;
}

.btn-whatsapp i {
    margin-right: 0.5rem;
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
}
.highlight-bg {
    background-color: #f5b443; /* Color amarillo */
    padding: 0.3rem 0.3rem; /* Aumenta el espacio alrededor del texto */
    line-height: 1; /* Mantiene el interlineado intacto */
    display: inline-block; /* Asegura que el fondo solo afecte al texto */
}
/* Ajuste del interlineado para elementos destacados en dispositivos móviles */
@media (max-width: 768px) {
    .highlight-bg {
        line-height: 1.5; /* Ajusta el interlineado para que sea más uniforme */
        display: inline-block; /* Asegura que el texto se comporte correctamente en varias líneas */
    }
}
.highlight-bg-red {
    background-color: #f86945; /* Color amarillo */
    padding: 0.3rem 0.3rem; /* Aumenta el espacio alrededor del texto */
    line-height: 1; /* Mantiene el interlineado intacto */
    display: inline-block; /* Asegura que el fondo solo afecte al texto */
}
.highlight-bg-tq {
    background-color: #01c0bd; /* Color amarillo */
    padding: 0.3rem 0.3rem; /* Aumenta el espacio alrededor del texto */
    line-height: 1; /* Mantiene el interlineado intacto */
    display: inline-block; /* Asegura que el fondo solo afecte al texto */
}
.unit-list {
    background-color: #f8f9fa; /* Fondo claro */
    padding: 1.5rem;
    border-radius: 8px; /* Bordes redondeados */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Sombra ligera */
    margin-top: 1.5rem;
    text-align: left; /* Alineación a la izquierda */
}

.unit-list p {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333; /* Color del texto */
}

.unit-list ul {
    list-style-type: none; /* Elimina los puntos de la lista */
    padding: 0;
    margin: 0;
}

.unit-list li {
    margin-bottom: 1rem;
    line-height: 1.6; /* Espaciado entre líneas */
    color: #555; /* Color del texto */
}

.unit-list li b {
    color: #f5b443; /* Color amarillo para destacar los nombres */
}
.team-section {
    background-color: #f8f9fa; /* Fondo claro */
    padding: 3rem 0;
}

.team-photo {
    width: 150px; /* Tamaño de la imagen */
    height: 150px; /* Tamaño de la imagen */
    border-radius: 50%; /* Hace la imagen circular */
    object-fit: cover; /* Asegura que la imagen se ajuste al contenedor */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Sombra ligera */
}

.team-section h5 {
    font-size: 1.2rem;
    margin-top: 0.5rem;
    color: #333; /* Color del texto */
}

.team-section p {
    font-size: 0.9rem;
    color: #555; /* Color del texto */
    margin: 0;
}

/* Asegura que el contenedor padre sea relativo */
#equipo {
    position: relative; /* Necesario para posicionar el desplegable */
}

/* Estilo para el ícono de triángulo */
.toggle-icon {
    font-size: 1.2rem;
    color: #333;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: transform 0.3s ease;
}

.toggle-icon.active {
    transform: rotate(180deg); /* Gira el ícono cuando está activo */
}

/* Pestaña flotante */
.floating-tab {
    position: absolute; /* Posiciona el desplegable relativo al contenedor padre */
    top: 100%; /* Aparece justo debajo del triángulo */
    left: 50%; /* Centra el desplegable respecto al triángulo */
    transform: translateX(-50%); /* Ajusta la posición horizontal */
    background-color: #f5b443; /* Fondo amarillo */
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Sombra ligera */
    z-index: 10;
    width: 350px; /* Ancho fijo */
    display: none; /* Oculto por defecto */
}

.floating-tab .list-group-item {
    font-size: 0.9rem;
    color: #333;
    border: none;
    padding: 0.5rem 1rem;
    background-color: #fff; /* Fondo blanco para los ítems */
    border-radius: 5px;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.floating-tab .list-group-item:last-child {
    margin-bottom: 0;
}

/* Estilos para la sección de Nosotros */
/* Sección de la galería */
/* Sección de la galería */
.gallery-section {
    padding: 3rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Columnas responsivas */
    gap: 15px; /* Espaciado entre imágenes */
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px; /* Bordes redondeados */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Sombra ligera */
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen se ajuste al contenedor */
    display: block; /* Asegura que las imágenes sean visibles */
}

.card-img-cover {
    width: 100%;
    height: 225px;
    background-size: cover;
    background-position: center;
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}

/* Estilos para la sección Cursos */
/* Puntos destacados */
.highlight-divider {
    background-color: #f5b443; /* Fondo amarillo */
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Sombra ligera */
}

.highlight-divider h2 {
    font-size: 1.8rem;
    color: #f86945; /* Texto blanco */
}

.highlight-list {
    list-style: none; /* Elimina los puntos predeterminados */
    padding: 0;
    margin: 0;
    text-align: left;
}

.highlight-list li {
    font-size: 1rem;
    color: black; /* Texto blanco */
    margin-bottom: 1rem;
    align-items: center;
}

.highlight-list li i {
    color: #f5b443; /* Ícono Amarillo */
    margin-right: 0.5rem;
    font-size: 1rem;
}
.marged {
    margin-left: 40px;
}

/* Diferenciadores */
.differentiators-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    text-align: left;
    color:#000; 
}
.format-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.format-details li {
    font-size: 1rem;
    color: white;
    margin: 0.5rem;
}

/* Divider con fondo turquesa */
.bg-turquoise {
    background-color: #01c0bd; /* Fondo turquesa */
    border-radius: 8px; /* Bordes redondeados */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Sombra ligera */
}

/* Estilo para el título dentro del divider */
.bg-turquoise h2 {
    font-size: 1.8rem;
    color: #fff; /* Texto blanco */
}

/* Lista con puntos */
.differentiators-list {
    list-style-type: disc; /* Agrega puntos a la lista */
    padding-left: 2rem; /* Espaciado a la izquierda para los puntos */
    margin: 0;
    
}

.differentiators-list li {
    font-size: 1rem;
    color: #000; /* Texto blanco */
    margin-bottom: 0.8rem;
}
.differentiators-list li::marker {
    color: #f86945; /* Turquesa */
    font-size: 1.2em; /* Opcional: un poco más grande */
}
.text-red {
    color: #f86945; /* O el rojo que prefieras */
}

/* Lista con puntos */
.requirements-list {
    list-style-type: disc; /* Agrega puntos a la lista */
    padding-left: 2rem; /* Espaciado a la izquierda para los puntos */
    margin: 0;
}

.requirements-list li {
    font-size: 1rem;
    color: #fff; /* Texto blanco */
    margin-bottom: 0.8rem;
}

@media (max-width: 991.98px) {
    .row.row-cols-1.row-cols-lg-3 > .col:not(:last-child) {
        margin-bottom: 1.5rem;
    }
}

.feature-icon-small {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    border-radius: 0.75rem;
    margin-bottom: 0.5rem;
    /* Elimina cualquier width 100% heredado */
}
.bg-red {
    background-color: #f86945 !important;
    color: #fff !important;
}

/* Contenedor del programa certificado */
.certified-program {
    margin: 2rem 0;
}

/* Texto del programa */
.program-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333; /* Color del texto */
    margin-bottom: 1rem;
}

.full-bg-section {
    width: 100%;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.bg-img-cover {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.full-bg-section .container {
    position: relative;
    z-index: 1;
}

.big-title {
    font-size: 2.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.text-shadow {
    text-shadow: 0 4px 16px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .big-title {
        font-size: 2rem;
    }
    .full-bg-section {
        min-height: 28vh;
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    .big-title {
        font-size: 2rem;
    }
    .full-bg-section {
        min-height: 28vh;
        padding: 40px 0;
    }
}

/* Imagen responsiva */
.responsive-image-cert {
    width: 100%; /* Ajusta el ancho al contenedor */
    height: auto; /* Mantiene la proporción de la imagen */
    max-height: 230px; /* Altura máxima para pantallas grandes */
    object-fit: cover; /* Asegura que la imagen se recorte correctamente */
}

/* Evitar reducción de altura en teléfonos */
@media (max-width: 768px) {
    .responsive-image-cert {
        max-height: none; /* Permite que la altura se mantenga */
    }
}
/* Botón de WhatsApp */
.btn-whatsapp {
    background-color: #25d366; /* Color de WhatsApp */
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    display: inline-block;
}
/* Estilo personalizado para la tabla de Desarrollo Organizacional */
.custom-table-org {
    background: #fffbe7;
    border-radius: 12px;
    overflow: hidden;
}
.custom-table-org td {
    vertical-align: middle !important;
    background: #fffbe7;
    border-color: #ffe082;
}
.custom-table-org tr {
    border-bottom: 2px solid #ffe082;
}
.custom-table-org .punto-amarillo {
    width: 48px;
}
@media (max-width: 768px) {
    .custom-table-org td {
        font-size: 0.97rem;
        padding: 0.7rem 0.5rem;
    }
}
.custom-table-people {
    background: #fff6f3;
    border-radius: 12px;
    overflow: hidden;
}
.custom-table-people td {
    vertical-align: middle !important;
    background: #fff6f3;
    border-color: #fbc7b7;
}
.custom-table-people tr {
    border-bottom: 2px solid #fbc7b7;
}
.custom-table-people .punto-naranja {
    width: 48px;
}
@media (max-width: 768px) {
    .custom-table-people td {
        font-size: 0.97rem;
        padding: 0.7rem 0.5rem;
    }
}
.custom-table-modelo {
    background: #fff8ed;
    border-radius: 12px;
    overflow: hidden;
}
.custom-table-modelo td {
    vertical-align: middle !important;
    background: #fff8ed;
    border-color: #ffd8b0;
}
.custom-table-modelo tr {
    border-bottom: 2px solid #ffd8b0;
}
.custom-table-modelo .punto-modelo {
    width: 48px;
}
@media (max-width: 768px) {
    .custom-table-modelo td {
        font-size: 0.97rem;
        padding: 0.7rem 0.5rem;
    }
}
/* Fondo amarillado para el bloque del modelo de intervención */
.bg-modelo-intervencion {
    background: linear-gradient(135deg, #fffbe7 0%, #fff3c4 100%);
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(255, 214, 10, 0.08);
}

/* Unifica el estilo del h1 con los demás títulos */
.h1-modelo {
    font-family: sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: #222;
    letter-spacing: -1px;
}

@media (max-width: 768px) {
    .h1-modelo {
        font-size: 2rem;
    }
    .bg-modelo-intervencion {
        padding: 1.5rem 0;
    }
}
