body {background-color: #ffffff; color: #000000;}
.navbar, footer {background-color: #333333;}
.nav-link {color: #ffffff !important;}
.nav-link:hover {color: #ff6600 !important;}
.whatsapp-float {position: fixed; bottom: 20px; right: 20px; background-color: #25d366; color: white; border-radius: 50%; padding: 15px; font-size: 24px; z-index: 1000; box-shadow: 2px 2px 5px rgba(0,0,0,0.3); text-align: center; transition: background-color 0.3s;}
.whatsapp-float:hover {background-color: #128c7e;}
.navbar-brand img {height:100px; max-height:100px;}

.navbar-brand img {
    height: 100px;
    max-height: 100px;
    background-color: white;
    padding: 5px;
    border-radius: 8px;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-float img.whatsapp-icon {
    width: 50px;
    height: 50px;
    transition: transform 0.3s;
}

.whatsapp-float img.whatsapp-icon:hover {
    transform: scale(1.1);
}


footer a:hover {
    color: #ff6600 !important; /* tu naranja corporativo */
}


.contact-icon {
    color: #ff6600;
    margin-right: 8px;
}

/* VIDEO HEADER */
.video-header {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.video-header video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-header .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column; /* <--- ESTO ES LA CLAVE */
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  padding: 20px;
}


.video-header .overlay h1 {
  font-size: 2.5rem;
}

/* NUMEROS INTERACTIVOS */
.counter {
  font-size: 2.5rem;
  color: #ff6600; /* naranja corporativo */
}

/* CARRUSEL DE CLIENTES */
.carousel-inner img {
  max-height: 300px;
  object-fit: contain;
}

/* TESTIMONIO */
#fraseDestacada {
  font-size: 1.25rem;
  font-style: italic;
}

/* FOOTER ICONOS DE CONTACTO */
.contact-icon {
  color: #ff6600;
  margin-right: 8px;
}


.cert-img {
  transition: transform 0.3s;
}

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

.video-header .overlay p {
  font-size: 1.2rem;
  margin-top: 15px;
}

/* Fondo con imagen para la descripción inicial */
.bg-img {
  background: url('/assets/img/fondo-nosotros.jpg') center center/cover no-repeat;
}

/* Efecto glass (transparencia) */
.glass {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.3);
  color: #000;
  max-width: 800px;
}

/* Accordion */
.accordion-button {
  background: #333333;
  color: #ffffff;
}
.accordion-button:not(.collapsed) {
  background: #ff6600;
  color: #ffffff;
}
.accordion-body {
  background: #f9f9f9;
}

/* ========================================
   ESTILOS SECCIÓN DE SERVICIOS
   ======================================== */

/* Contenedor principal de cada tarjeta de servicio */
.service-card {
  overflow: hidden;
  position: relative; /* para el overlay */
}

/* Imagen dentro del servicio con efecto oscurecido */
.service-card img {
  filter: brightness(70%);
  transition: transform 0.3s;
  width: 100%;
  height: 250px;          /* altura uniforme */
  object-fit: cover;      /* recorta y centra */
  border-radius: 8px;     /* mantiene el borde redondeado */
}


/* Al pasar el mouse, la imagen se amplía un poco */
.service-card:hover img {
  transform: scale(1.05);
}

/* Capa overlay con título, subtítulo y botón */
.service-overlay {
  position: relative; /* antes era absolute */
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(0,0,0,0.4);
  padding: 20px;
  text-align: center;
}


/* Tamaño del título dentro del overlay */
.service-overlay h4 {
  font-size: 1.5rem;
}

/* Descripción oculta que aparece al presionar "Más información" */
.service-desc {
  display: none;
  background: rgba(255,255,255,0.9); /* fondo blanco translúcido */
  color: #000;
  padding: 10px;
  border-radius: 5px;
  margin-top: 10px;
  transition: all 0.3s;
}


.cert-img {
  width: 150px;      /* ancho fijo */
  height: 100px;     /* alto fijo */
  object-fit: contain; /* mantiene proporciones del logo */
  transition: transform 0.3s;
}

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

/* ========================================
   ESTILOS PARA CURSOS
   ======================================== */

/* Tarjetas uniformes */
.curso .card {
  transition: transform 0.3s;
}
.curso .card:hover {
  transform: scale(1.03);
}

/* Buscador centrado */
#buscadorCursos {
  border-radius: 30px;
  padding: 10px 20px;
}

/* Botones de filtro */
.btn-outline-dark {
  border-radius: 30px;
}

/* Sección detalle del curso */
#detalleCurso {
  border-top: 2px solid #ff6600;
}

/* Temario borroso */
.temario-borroso {
  position: relative;
  overflow: hidden;
  max-height: 300px; /* ahora muestra mucho más texto */
}


.temario-borroso .borroso {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}


.card-img-top {
  width: 100%;
  height: 180px;
  object-fit: cover; /* recorta sin deformar */
}

/* Botón página elearning */
.btn-elearning {
  background-color: #ff6600 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50px;
  padding: 15px 40px;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  text-transform: uppercase;
}


.btn-elearning:hover {
  background-color: #e65c00;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  text-decoration: none;
}

/* Iconos de redes sociales en color naranja */
.social-icons a i {
  color: #ff6600;
  transition: color 0.3s, transform 0.3s;
}

.social-icons a i:hover {
  color: #e65c00;
  transform: scale(1.2);
}


.nav-link.active {
  color: #ff6600 !important;
  font-weight: bold;
}

/* Franja del header */
.franja-naranja {
  background-color: #ff6600;
  height: 6px; /* Puedes ajustar el alto */
  width: 100%;
}

