body{
  font-family: "Rubik";
  overflow-x: hidden;
  max-width: 100vw;
}

/* Global overflow prevention */
* {
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
  width: 100%;
}

/* Secciones principales al 75% de ancho SOLO en welcome.blade.php */
.welcome-page-layout .container {
  max-width: 75% !important;
  width: 75% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Excepción: Footer al 100% */
.welcome-page-layout .footer .container,
.welcome-page-layout .footer .container-fluid {
  max-width: 100% !important;
  width: 100% !important;
}

/* Prevenir desbordamiento en todos los contenedores */
.container-fluid, .row, .col, [class*="col-"] {
  max-width: 100%;
  overflow-x: hidden;
}

/* Prevenir desbordamiento en elementos específicos */
.img-fluid, .img-responsive, img {
  max-width: 100% !important;
  height: auto !important;
}

/* Prevenir desbordamiento en elementos con anchos fijos */
[style*="width"] {
  max-width: 100% !important;
}

/* Prevenir desbordamiento en elementos absolutos */
[style*="position: absolute"] {
  max-width: 100% !important;
}

/* Prevenir desbordamiento en elementos con anchos específicos */
div[style*="width: 1440px"],
div[style*="width: 1446px"],
div[style*="width: 1442px"] {
  width: 100% !important;
  max-width: 1440px !important;
}

/* Reglas específicas para elementos problemáticos */
.home-mosaico .img-mapa {
  width: 100% !important;
  max-width: 1440px !important;
  height: auto !important;
}

.home-mosaico .banner {
  width: 100% !important;
  max-width: 1442px !important;
  height: auto !important;
}

.home-mosaico .lorem-ipsum-dolor-wrapper {
  width: 100% !important;
  max-width: 1440px !important;
  height: auto !important;
}

.home-mosaico .header {
  width: 100% !important;
  max-width: 1442px !important;
  height: auto !important;
}

.home-mosaico .navbar-wrapper {
  width: 100% !important;
  max-width: 1440px !important;
  height: auto !important;
}

.home-mosaico .plataforma {
  width: 100% !important;
  max-width: 1442px !important;
  height: auto !important;
}

.home-mosaico .recursos {
  width: 100% !important;
  max-width: 1444px !important;
  height: auto !important;
}

/* Header Improvements */
.header-actions {
  gap: 1rem;
}

.language-contact-container {
  gap: 0.75rem;
}

.language-btn {
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid #6c757d;
  color: #6c757d;
  background-color: transparent;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.language-btn:hover {
  background-color: #f8f9fa;
  border-color: #16BFB2;
  color: #16BFB2;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(22, 191, 178, 0.2);
}

.contact-btn {
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  background-color: #16BFB2;
  border-color: #16BFB2;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-btn:hover {
  background-color: #14ADDD;
  border-color: #14ADDD;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(22, 191, 178, 0.3);
}

.contact-btn:focus {
  box-shadow: 0 0 0 0.2rem rgba(22, 191, 178, 0.25);
}

/* Navigation Improvements */
.navbar-nav .nav-link {
  color: #0B67B2 !important;
  font-weight: 600;
  padding: 0.75rem 1.25rem !important;
  transition: all 0.3s ease;
  position: relative;
  border-radius: 0.5rem;
  margin: 0 0.25rem;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
}

.navbar-nav .nav-link:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, #16BFB2 0%, #14ADDD 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 191, 178, 0.3);
}

.navbar-nav .nav-link:focus {
  color: #ffffff !important;
  background: linear-gradient(135deg, #16BFB2 0%, #14ADDD 100%);
  box-shadow: 0 0 0 0.2rem rgba(22, 191, 178, 0.25);
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #16BFB2 0%, #14ADDD 100%);
  border-radius: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.navbar-nav .nav-link:hover::before {
  opacity: 1;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -3px;
  left: 50%;
  background: linear-gradient(90deg, #16BFB2 0%, #14ADDD 100%);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Responsive Header */
@media (max-width: 991.98px) {
  .header-actions {
    flex-direction: row;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem;
    justify-content: flex-end;
  }
  
  /* Ajustar el contenedor principal del header */
  .row#project-dir {
    padding: 0.25rem 0;
  }
  
  .row#project-dir .col-12 {
    padding: 0.15rem 0.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  /* Optimizar el espacio del logo */
  .logos-svg {
    flex-shrink: 0;
    margin-right: 0.5rem;
  }
  
  /* Optimizar el espacio de los botones */
  .header-actions {
    flex-shrink: 1;
    min-width: 0;
  }
  
  .language-contact-container {
    flex-direction: row;
    width: auto;
    gap: 0.5rem;
    justify-content: center;
  }
  
  .language-btn,
  .contact-btn {
    flex: 1;
    max-width: 120px;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 0.6rem;
    min-height: 40px;
  }
  
  .language-btn {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #16BFB2;
    color: #0B67B2;
    font-weight: 600;
  }
  
  .language-btn:hover {
    background: linear-gradient(135deg, #16BFB2 0%, #14ADDD 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(22, 191, 178, 0.3);
  }
  
  .contact-btn {
    background: linear-gradient(135deg, #16BFB2 0%, #14ADDD 100%);
    border: none;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 3px 12px rgba(22, 191, 178, 0.3);
  }
  
  .contact-btn:hover {
    background: linear-gradient(135deg, #14ADDD 0%, #16BFB2 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 191, 178, 0.4);
  }
  
  /* Separador móvil - ocultar en móviles */
  .language-contact-container .mx-2 {
    display: none;
  }
  
  /* Ocultar iconos en móviles */
  .language-btn svg,
  .contact-btn svg {
    display: none;
  }
  
  /* Mejoras táctiles para móviles */
  .language-btn:active,
  .contact-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(22, 191, 178, 0.2);
  }
  
  /* Botones más grandes para touch */
  .language-btn,
  .contact-btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
}

/* Estilos específicos para pantallas muy pequeñas */
@media (max-width: 576px) {
  .language-btn,
  .contact-btn {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
    min-height: 36px;
    max-width: 100px;
  }
  
  .language-btn svg,
  .contact-btn svg {
    display: none;
  }
  
  .header-actions {
    padding: 0.5rem;
    gap: 0.3rem;
  }
  
  .language-contact-container {
    gap: 0.3rem;
  }
  
  .language-contact-container .mx-2 {
    display: none;
  }
  
  /* Ajustes adicionales para pantallas muy pequeñas */
  .row#project-dir {
    padding: 0.25rem 0;
  }
  
  .row#project-dir .col-12 {
    padding: 0.15rem 0.25rem;
  }
}

/* Estilos para pantallas extra pequeñas */
@media (max-width: 375px) {
  .logos-svg {
    transform: scale(0.8);
  }
  
  .logos-svg svg {
    width: 39px !important;
    height: 44px !important;
  }
  
  .logos-svg svg:last-child {
    width: 139px !important;
    height: 29px !important;
  }
  
  .language-btn,
  .contact-btn {
    padding: 0.3rem 0.4rem;
    font-size: 0.7rem;
    min-height: 32px;
    max-width: 90px;
  }
  
  .language-btn svg,
  .contact-btn svg {
    display: none;
  }
  
  .header-actions {
    padding: 0.3rem;
    gap: 0.3rem;
  }
  
  .language-contact-container {
    gap: 0.3rem;
  }
  
  .language-contact-container .mx-2 {
    display: none;
  }
}

/* Logo Optimization */
.logos-svg {
  transition: transform 0.3s ease;
}

.logos-svg:hover {
  transform: scale(1.05);
}

/* Logo responsive para móviles - Tamaños aumentados */
@media (max-width: 991.98px) {
  .logos-svg {
    transform: scale(1.0);
  }
  
  .logos-svg svg {
    width: 49px !important;
    height: 55px !important;
  }
  
  .logos-svg svg:last-child {
    width: 179px !important;
    height: 37px !important;
  }
}

@media (max-width: 768px) {
  .logos-svg {
    transform: scale(0.95);
  }
  
  .logos-svg svg {
    width: 47px !important;
    height: 52px !important;
  }
  
  .logos-svg svg:last-child {
    width: 169px !important;
    height: 35px !important;
  }
}

@media (max-width: 576px) {
  .logos-svg {
    transform: scale(0.9);
  }
  
  .logos-svg svg {
    width: 44px !important;
    height: 49px !important;
  }
  
  .logos-svg svg:last-child {
    width: 159px !important;
    height: 33px !important;
  }
}

@media (max-width: 480px) {
  .logos-svg {
    transform: scale(0.85);
  }
  
  .logos-svg svg {
    width: 42px !important;
    height: 47px !important;
  }
  
  .logos-svg svg:last-child {
    width: 149px !important;
    height: 31px !important;
  }
}

/* Navbar Background */
.bg-navbar {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
  box-shadow: 0 4px 12px rgba(11, 103, 178, 0.15);
  border-bottom: 3px solid #16BFB2;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

/* Mobile Navigation - Optimizado */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 0.75rem;
    box-shadow: 0 4px 16px rgba(11, 103, 178, 0.15);
    margin-top: 0.75rem;
    padding: 1rem;
    border: 2px solid #16BFB2;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
    transition: opacity 0.3s ease;
  }
  
  .navbar-collapse::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #16BFB2 0%, #14ADDD 50%, #16BFB2 100%);
  }
  
  .navbar-nav {
    gap: 0.5rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0.25rem 0;
    text-align: center;
    border-radius: 0.5rem;
    padding: 0.75rem 1.25rem !important;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, color 0.2s ease;
  }
  
  .navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #16BFB2 0%, #14ADDD 100%);
    transition: left 0.3s ease;
    z-index: -1;
  }
  
  .navbar-nav .nav-link:hover {
    transform: translateX(8px);
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(22, 191, 178, 0.3);
  }
  
  .navbar-nav .nav-link:hover::before {
    left: 0;
  }
  
  .navbar-nav .nav-link:active {
    transform: translateX(4px) scale(0.98);
  }
  
  /* Animación de entrada del menú - Corregida */
  .navbar-collapse.show {
    animation: none;
  }
  
  .navbar-collapse.collapsing {
    transition: height 0.3s ease;
  }
  
  /* Prevenir doble carga */
  .navbar-collapse {
    animation: none;
  }
  
  /* Mejoras para pantallas muy pequeñas */
  @media (max-width: 576px) {
    .navbar-collapse {
      margin-top: 0.5rem;
      padding: 0.75rem;
      border-radius: 0.5rem;
    }
    
    .navbar-nav .nav-link {
      padding: 0.5rem 1rem !important;
      font-size: 0.8rem;
    }
  }
}

/* Custom Toggler Button - Optimizado para móviles */
.custom-toggler {
  border: 1px solid #16BFB2;
  border-radius: 0.375rem;
  padding: 0.375rem;
  background: linear-gradient(135deg, #16BFB2 0%, #14ADDD 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-toggler:hover {
  background: linear-gradient(135deg, #14ADDD 0%, #16BFB2 100%);
  transform: scale(1.02);
  box-shadow: 0 2px 8px rgba(22, 191, 178, 0.3);
}

.custom-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(22, 191, 178, 0.25);
  outline: none;
}

.custom-toggler:active {
  transform: scale(0.98);
}

.custom-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 18px;
  height: 18px;
  background-size: 100%;
  transition: all 0.3s ease;
}

/* Animación del icono hamburguesa */
.custom-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M6 6L24 24M6 24L24 6'/%3e%3c/svg%3e");
  transform: rotate(90deg);
}

/* Navbar Active State */
.navbar-nav .nav-link.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, #16BFB2 0%, #14ADDD 100%);
  box-shadow: 0 4px 12px rgba(22, 191, 178, 0.3);
}

/* Navbar Scroll Effect */
.navbar-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(11, 103, 178, 0.2);
}

/* Navbar Animation - Deshabilitado en móviles */
@keyframes slideInDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Solo aplicar animación en desktop */
@media (min-width: 992px) {
  .navbar {
    animation: slideInDown 0.6s ease-out;
  }
}

/* En móviles, sin animación */
@media (max-width: 991.98px) {
  .navbar {
    animation: none;
    transform: none;
    opacity: 1;
  }
}

/* Navbar Link Animation */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.navbar-nav .nav-link:hover {
  animation: pulse 0.6s ease-in-out;
}

/* Navbar Smooth Transitions */
.navbar {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Navbar Link Focus States */
.navbar-nav .nav-link:focus-visible {
  outline: 2px solid #16BFB2;
  outline-offset: 2px;
}

/* Navbar Brand Enhancement */
.navbar-brand {
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

/* Mobile Overflow Fixes */
@media (max-width: 991.98px) {
  /* Carousel mobile optimization */
  .mosaico-carrousel {
    overflow: hidden;
  }
  
  .mosaico-carrousel .image {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    object-fit: cover;
  }
  
  /* General image responsive */
  .img-responsive,
  .img-fluid {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* Container fixes */
  .container,
  .container-fluid:not(#title-quienes-somos):not(#scc-section):not(#carousel-section):not(#resources-section):not(#title-investigacion) {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  /* Row fixes */
  .row:not(#title-quienes-somos .row):not(#scc-section .row):not(#carousel-section .row):not(#resources-section .row):not(#title-investigacion .row) {
    margin-left: 0;
    margin-right: 0;
  }
  
  .row > *:not(#title-quienes-somos .row > *):not(#scc-section .row > *):not(#carousel-section .row > *):not(#resources-section .row > *):not(#title-investigacion .row > *) {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
  
  /* Padding fixes */
  .paddingLeft {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  
  /* Text overflow */
  .textoPrincipal,
  .etiqueta {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  /* Button fixes */
  .btn {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Extra small screens */
@media (max-width: 576px) {
  /* More aggressive mobile fixes */
  .container,
  .container-fluid:not(#title-quienes-somos):not(#scc-section):not(#carousel-section):not(#resources-section):not(#title-investigacion) {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
  
  .paddingLeft {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
  }
  
  /* Card fixes */
  .card {
    margin: 0.25rem;
    max-width: calc(100% - 0.5rem);
  }
  
  /* Text sizing */
  .textoPrincipal {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  /* Image fixes */
  .img-modelo {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* SVG fixes */
  svg {
    max-width: 100%;
    height: auto;
  }
}

/* Very small screens */
@media (max-width: 375px) {
  .container,
  .container-fluid {
    padding-left: 0.125rem;
    padding-right: 0.125rem;
  }
  
  .paddingLeft {
    padding-left: 0.125rem !important;
    padding-right: 0.125rem !important;
  }
  
  .textoPrincipal {
    font-size: 0.8rem;
    line-height: 1.3;
  }
}

.home-mosaico {
    background-color: #ffffff;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
  }
  
  .home-mosaico .div {
    background-color: #ffffff;
    overflow: hidden;
    width: 100%;
    max-width: 1440px;
    height: auto;
    min-height: 5398px;
    position: relative;
  }
  
  .home-mosaico .overlap {
    position: absolute;
    width: 100%;
    max-width: 1446px;
    height: auto;
    min-height: 1234px;
    top: 4164px;
    left: 0;
  }
  
  .home-mosaico .rectangle {
    position: absolute;
    width: 100%;
    max-width: 1440px;
    height: auto;
    min-height: 918px;
    top: 0;
    left: 0;
    background-color: #f2f2f2;
  }
  
  .home-mosaico .footer {
    position: absolute;
    width: 100%;
    max-width: 1446px;
    height: auto;
    min-height: 444px;
    top: 790px;
    left: 0;
    background-color: transparent;
  }
  
  .home-mosaico .overlap-group {
    position: relative;
    width: 100%;
    max-width: 1440px;
    height: auto;
    min-height: 444px;
    background-color: #6b6b6b;
  }
  
  .home-mosaico .capa {
    position: absolute;
    width: 350px;
    height: 99px;
    top: 74px;
    left: 137px;
  }
  
  .home-mosaico .logo-lab-informatica {
    position: absolute;
    width: 138px;
    height: 101px;
    top: 273px;
    left: 159px;
    object-fit: cover;
  }
  
  .home-mosaico .logo-umanresa-mobile {
    position: absolute;
    width: 230px;
    height: 49px;
    top: 302px;
    left: 635px;
    object-fit: cover;
  }
  
  .home-mosaico .group {
    position: absolute;
    width: 189px;
    height: 66px;
    top: 117px;
    left: 1035px;
  }
  
  .home-mosaico .gorjeo {
    position: absolute;
    width: 30px;
    height: 30px;
    top: 36px;
    left: 44px;
  }
  
  .home-mosaico .instagram {
    position: absolute;
    width: 30px;
    height: 30px;
    top: 36px;
    left: 2px;
  }
  
  .home-mosaico .text-wrapper {
    position: absolute;
    height: 22px;
    top: 0;
    left: 0;
    font-family: var(--p1-lato-bold-16-font-family);
    font-weight: var(--p1-lato-bold-16-font-weight);
    color: #ffffff;
    font-size: var(--p1-lato-bold-16-font-size);
    text-align: center;
    letter-spacing: var(--p1-lato-bold-16-letter-spacing);
    line-height: var(--p1-lato-bold-16-line-height);
    white-space: nowrap;
    font-style: var(--p1-lato-bold-16-font-style);
  }
  
  .home-mosaico .youtube {
    position: absolute;
    width: 30px;
    height: 30px;
    top: 36px;
    left: 84px;
  }
  
  .home-mosaico .email {
    position: absolute;
    width: 30px;
    height: 30px;
    top: 62px;
    left: 1037px;
  }
  
  .home-mosaico .text-wrapper-2 {
    position: absolute;
    top: 68px;
    left: 1079px;
    font-family: "Montserrat", Helvetica;
    font-weight: 600;
    color: #ffffff;
    font-size: 14px;
    text-align: center;
    letter-spacing: 0;
    line-height: normal;
  }
  
  .home-mosaico .rectangle-2 {
    position: absolute;
    width: 1px;
    height: 340px;
    top: 52px;
    left: 987px;
    background-color: #ffffff;
  }
  
  .home-mosaico .text-wrapper-3 {
    position: absolute;
    width: 160px;
    top: 334px;
    left: 1037px;
    font-family: "Montserrat", Helvetica;
    font-weight: 500;
    color: #ffffff;
    font-size: 14px;
    text-align: center;
    letter-spacing: 0;
    line-height: normal;
    text-decoration: underline;
  }
  
  .mosaico-carrousel{

    display: none;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
  }

  .mosaico-carrousel.active{
    display: inherit;
    visibility: visible;
    transition: width 0.5s ease-in-out, background-color 0.5s ease;
  }




  .home-mosaico .text-wrapper-4 {
    position: absolute;
    width: 190px;
    top: 374px;
    left: 1033px;
    font-family: "Montserrat", Helvetica;
    font-weight: 500;
    color: #ffffff;
    font-size: 14px;
    text-align: center;
    letter-spacing: 0;
    line-height: normal;
    text-decoration: underline;
  }
  
  .home-mosaico .img-mapa {
    position: absolute;
    width: 1440px;
    height: 757px;
    top: 3px;
    left: 0;
    object-fit: cover;
  }
  
  .home-mosaico .group-2 {
    position: absolute;
    width: 1172px;
    height: 183px;
    top: 74px;
    left: 135px;
  }
  
  .home-mosaico .group-3 {
    position: absolute;
    width: 183px;
    height: 50px;
    top: 0;
    left: 1px;
  }
  
  .home-mosaico .text-wrapper-5 {
    top: 0;
    left: 0;
    color: #0b67b2;
    font-size: 30px;
    white-space: nowrap;
    position: absolute;
    font-family: "Rubik", Helvetica;
    font-weight: 500;
    letter-spacing: 0;
    line-height: normal;
  }
  
  .home-mosaico .group-4 {
    position: absolute;
    width: 70px;
    height: 6px;
    top: 44px;
    left: 1px;
    background-color: #16bfb2;
    border-radius: 10px;
  }
  
  .home-mosaico .p {
    position: absolute;
    width: 1170px;
    top: 91px;
    left: 0;
    font-family: "Rubik", Helvetica;
    font-weight: 400;
    color: #000000;
    font-size: 16px;
    letter-spacing: 0;
    line-height: normal;
  }
  
  .home-mosaico .overlap-wrapper {
    position: absolute;
    width: 373px;
    height: 90px;
    top: 369px;
    left: 136px;
  }
  
  .home-mosaico .div-wrapper {
    position: relative;
    width: 371px;
    height: 90px;
    background-color: #00b2a9;
    border-radius: 60px;
  }
  
  .home-mosaico .text-wrapper-6 {
    width: 132px;
    top: 33px;
    left: 125px;
    color: #ffffff;
    font-size: 18px;
    position: absolute;
    font-family: "Rubik", Helvetica;
    font-weight: 500;
    letter-spacing: 0;
    line-height: normal;
  }
  
  .home-mosaico .overlap-group-wrapper {
    position: absolute;
    width: 373px;
    height: 90px;
    top: 369px;
    left: 536px;
  }
  
  .home-mosaico .text-wrapper-7 {
    width: 193px;
    top: 33px;
    left: 94px;
    color: #ffffff;
    font-size: 18px;
    position: absolute;
    font-family: "Rubik", Helvetica;
    font-weight: 500;
    letter-spacing: 0;
    line-height: normal;
  }
  
  .home-mosaico .header {
    position: absolute;
    width: 1442px;
    height: 154px;
    top: 23px;
    left: 0;
    background-color: transparent;
  }
  
  .home-mosaico .logo-mosaico {
    position: absolute;
    width: 270px;
    height: 76px;
    top: 0;
    left: 135px;
  }
  
  .home-mosaico .navbar-wrapper {
    position: absolute;
    width: 1440px;
    height: 56px;
    top: 98px;
    left: 0;
    background-color: #16bfb2;
  }
  
  .home-mosaico .navbar {
    position: relative;
    width: 854px;
    height: 21px;
    top: 17px;
    left: 305px;
  }
  
  .home-mosaico .text-wrapper-8 {
    position: absolute;
    top: 0;
    left: 0;
    font-family: "Rubik", Helvetica;
    font-weight: 500;
    color: #ffffff;
    font-size: 18px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
  }
  
  .home-mosaico .text-wrapper-9 {
    left: 163px;
    position: absolute;
    top: 0;
    font-family: "Rubik", Helvetica;
    font-weight: 500;
    color: #ffffff;
    font-size: 18px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
  }
  
  .home-mosaico .text-wrapper-10 {
    position: absolute;
    top: 0;
    left: 275px;
    font-family: "Rubik", Helvetica;
    font-weight: 500;
    color: #ffffff;
    font-size: 18px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
  }
  
  .home-mosaico .text-wrapper-11 {
    left: 454px;
    position: absolute;
    top: 0;
    font-family: "Rubik", Helvetica;
    font-weight: 500;
    color: #ffffff;
    font-size: 18px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
  }
  
  .home-mosaico .text-wrapper-12 {
    left: 581px;
    position: absolute;
    top: 0;
    font-family: "Rubik", Helvetica;
    font-weight: 500;
    color: #ffffff;
    font-size: 18px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
  }
  
  .home-mosaico .text-wrapper-13 {
    position: absolute;
    top: 0;
    left: 733px;
    font-family: "Rubik", Helvetica;
    font-weight: 500;
    color: #ffffff;
    font-size: 18px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
  }
  
  .home-mosaico .english-contacto {
    position: absolute;
    top: 33px;
    left: 1132px;
    font-family: "Rubik", Helvetica;
    font-weight: 500;
    color: #6b6b6b;
    font-size: 16px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
  }
  
  .home-mosaico .banner {
    position: absolute;
    width: 1442px;
    height: 500px;
    top: 177px;
    left: 0;
  }
  
  .home-mosaico .lorem-ipsum-dolor-wrapper {
    position: relative;
    width: 1440px;
    height: 500px;
    background-image: url(./img/banner-medico-medico-sosteniendo-tableta-1.png);
    background-size: cover;
    background-position: 50% 50%;
  }
  
  .home-mosaico .lorem-ipsum-dolor {
    position: absolute;
    width: 432px;
    top: 177px;
    left: 134px;
    font-family: "Rubik", Helvetica;
    font-weight: 500;
    color: #0b67b2;
    font-size: 30px;
    letter-spacing: 0;
    line-height: normal;
  }
  
  .home-mosaico .investigacin {
    position: absolute;
    width: 1172px;
    height: 571px;
    top: 3520px;
    left: 135px;
  }
  
  .home-mosaico .group-5 {
    position: absolute;
    width: 198px;
    height: 50px;
    top: 0;
    left: 0;
  }
  
  .home-mosaico .card {
    position: absolute;
    width: 272px;
    height: 325px;
    top: 246px;
    left: 0;
  }
  
  .home-mosaico .overlap-2 {
    position: relative;
    width: 270px;
    height: 325px;
    background-color: #ffffff;
    border: 1px solid;
    border-color: #e1e1e1;
  }
  
  .home-mosaico .vista-superior {
    position: absolute;
    width: 250px;
    height: 170px;
    top: 9px;
    left: 9px;
    object-fit: cover;
  }
  
  .home-mosaico .text-wrapper-14 {
    position: absolute;
    width: 200px;
    top: 199px;
    left: 12px;
    font-family: "Rubik", Helvetica;
    font-weight: 600;
    color: #6b6b6b;
    font-size: 18px;
    letter-spacing: 0;
    line-height: 21.6px;
  }
  
  .home-mosaico .boton {
    position: absolute;
    width: 232px;
    height: 43px;
    top: 259px;
    left: 18px;
    background-color: #00b2a9;
    border-radius: 30px;
  }
  
  .home-mosaico .overlap-group-2 {
    position: relative;
    height: 43px;
    top: -1px;
  }
  
  .home-mosaico .text-wrapper-15 {
    position: absolute;
    width: 232px;
    height: 43px;
    top: 0;
    left: 0;
    font-family: var(--p1-lato-bold-16-font-family);
    font-weight: var(--p1-lato-bold-16-font-weight);
    color: var(--x03-f5f5f5);
    font-size: var(--p1-lato-bold-16-font-size);
    text-align: center;
    letter-spacing: var(--p1-lato-bold-16-letter-spacing);
    line-height: var(--p1-lato-bold-16-line-height);
    font-style: var(--p1-lato-bold-16-font-style);
  }
  
  .home-mosaico .vector {
    position: absolute;
    width: 8px;
    height: 15px;
    top: 15px;
    left: 212px;
  }
  
  .home-mosaico .card-2 {
    top: 246px;
    left: 300px;
    position: absolute;
    width: 272px;
    height: 325px;
  }
  
  .home-mosaico .text-wrapper-16 {
    position: absolute;
    width: 199px;
    top: 199px;
    left: 12px;
    font-family: "Rubik", Helvetica;
    font-weight: 600;
    color: #6b6b6b;
    font-size: 18px;
    letter-spacing: 0;
    line-height: 21.6px;
    white-space: nowrap;
  }
  
  .home-mosaico .card-3 {
    top: 246px;
    left: 600px;
    position: absolute;
    width: 272px;
    height: 325px;
  }
  
  .home-mosaico .text-wrapper-17 {
    position: absolute;
    width: 199px;
    top: 199px;
    left: 12px;
    font-family: "Rubik", Helvetica;
    font-weight: 600;
    color: #6b6b6b;
    font-size: 18px;
    letter-spacing: 0;
    line-height: 21.6px;
  }
  
  .home-mosaico .plataforma {
    position: absolute;
    width: 1442px;
    height: 434px;
    top: 2993px;
    left: 0;
  }
  
  .home-mosaico .overlap-3 {
    position: relative;
    width: 1440px;
    height: 434px;
  }
  
  .home-mosaico .img {
    position: absolute;
    width: 1440px;
    height: 434px;
    top: 0;
    left: 0;
  }
  
  .home-mosaico .overlap-group-3 {
    position: relative;
    height: 434px;
  }
  
  .home-mosaico .banner-medico-medico {
    position: absolute;
    width: 1439px;
    height: 434px;
    top: 0;
    left: 1px;
    object-fit: cover;
  }
  
  .home-mosaico .plataforma-2 {
    position: absolute;
    width: 261px;
    height: 316px;
    top: 60px;
    left: 135px;
  }
  
  .home-mosaico .quines-somos {
    position: absolute;
    width: 164px;
    height: 50px;
    top: 0;
    left: 0;
  }
  
  .home-mosaico .text-wrapper-18 {
    position: absolute;
    top: 0;
    left: 0;
    font-family: "Rubik", Helvetica;
    font-weight: 500;
    color: #ffffff;
    font-size: 30px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
  }
  
  .home-mosaico .group-6 {
    top: 44px;
    left: 1px;
    background-color: #ffffff;
    position: absolute;
    width: 70px;
    height: 6px;
    border-radius: 10px;
  }
  
  .home-mosaico .group-7 {
    position: absolute;
    width: 262px;
    height: 60px;
    top: 256px;
    left: 1px;
  }
  
  .home-mosaico .overlap-group-4 {
    position: relative;
    width: 260px;
    height: 60px;
    background-color: #0b67b2;
    border-radius: 30px;
  }
  
  .home-mosaico .text-wrapper-19 {
    position: absolute;
    top: 19px;
    left: 91px;
    font-family: "Rubik", Helvetica;
    font-weight: 500;
    color: #ffffff;
    font-size: 18px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
  }
  
  .home-mosaico .text-wrapper-20 {
    position: absolute;
    top: 133px;
    left: 135px;
    font-family: "Rubik", Helvetica;
    font-weight: 400;
    color: #ffffff;
    font-size: 16px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
  }
  
  .home-mosaico .aprende-mosaico {
    position: absolute;
    width: 1174px;
    height: 700px;
    top: 2178px;
    left: 135px;
  }
  
  .home-mosaico .quines-somos-2 {
    position: absolute;
    width: 251px;
    height: 50px;
    top: 0;
    left: 1px;
  }
  
  .home-mosaico .duis-vitae-ex-et {
    width: 1170px;
    top: 81px;
    left: 0;
    position: absolute;
    font-family: "Rubik", Helvetica;
    font-weight: 400;
    color: #000000;
    font-size: 16px;
    letter-spacing: 0;
    line-height: normal;
  }
  
  .home-mosaico .card-4 {
    top: 375px;
    left: 0;
    position: absolute;
    width: 272px;
    height: 325px;
  }
  
  .home-mosaico .vista-superior-2 {
    position: absolute;
    width: 250px;
    height: 160px;
    top: 10px;
    left: 9px;
    object-fit: cover;
  }
  
  .home-mosaico .text-wrapper-21 {
    position: absolute;
    width: 200px;
    top: 186px;
    left: 12px;
    font-family: "Rubik", Helvetica;
    font-weight: 600;
    color: #6b6b6b;
    font-size: 18px;
    letter-spacing: 0;
    line-height: 21.6px;
  }
  
  .home-mosaico .card-5 {
    top: 375px;
    left: 300px;
    position: absolute;
    width: 272px;
    height: 325px;
  }
  
  .home-mosaico .text-wrapper-22 {
    position: absolute;
    height: 28px;
    top: 321px;
    left: 4px;
    font-family: "Rubik", Helvetica;
    font-weight: 400;
    color: #0b67b2;
    font-size: 20px;
    text-align: center;
    letter-spacing: 0;
    line-height: 28px;
    white-space: nowrap;
  }
  
  .home-mosaico .rectangle-3 {
    position: absolute;
    width: 1058px;
    height: 3px;
    top: 351px;
    left: 1px;
    background-color: #d9d9d9;
  }
  
  .home-mosaico .recursos {
    position: absolute;
    width: 1444px;
    height: 686px;
    top: 1416px;
    left: 0;
  }
  
  .home-mosaico .overlap-4 {
    position: relative;
    width: 1440px;
    height: 686px;
    background-color: #f2f2f2;
  }
  
  .home-mosaico .text-wrapper-23 {
    position: absolute;
    top: 46px;
    left: 134px;
    font-family: "Rubik", Helvetica;
    font-weight: 500;
    color: #0b67b2;
    font-size: 30px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
  }
  
  .home-mosaico .group-8 {
    top: 90px;
    left: 135px;
    background-color: #16bfb2;
    position: absolute;
    width: 70px;
    height: 6px;
    border-radius: 10px;
  }
  
  .home-mosaico .text-wrapper-24 {
    width: 1170px;
    top: 127px;
    left: 134px;
    position: absolute;
    font-family: "Rubik", Helvetica;
    font-weight: 400;
    color: #000000;
    font-size: 16px;
    letter-spacing: 0;
    line-height: normal;
  }
  
  .home-mosaico .fichas {
    position: absolute;
    width: 472px;
    height: 300px;
    top: 313px;
    left: 235px;
  }
  
  .home-mosaico .overlap-group-5 {
    position: relative;
    width: 470px;
    height: 300px;
  }
  
  .home-mosaico .rectangle-wrapper {
    position: absolute;
    width: 470px;
    height: 300px;
    top: 0;
    left: 0;
    background-image: url(./img/vista-superior-medico-usando-portatil-portapapeles-2-1.png);
    background-size: cover;
    background-position: 50% 50%;
  }
  
  .home-mosaico .rectangle-4 {
    height: 300px;
    background-color: #16bfb2cc;
    border-radius: 10px;
  }
  
  .home-mosaico .text-wrapper-25 {
    position: absolute;
    top: 243px;
    left: 72px;
    font-family: "Rubik", Helvetica;
    font-weight: 500;
    color: #ffffff;
    font-size: 22px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
  }
  
  .home-mosaico .resultado-medico {
    position: absolute;
    width: 171px;
    height: 171px;
    top: 40px;
    left: 150px;
  }
  
  .home-mosaico .videos {
    position: absolute;
    width: 472px;
    height: 300px;
    top: 313px;
    left: 735px;
  }
  
  .home-mosaico .group-9 {
    position: absolute;
    width: 470px;
    height: 300px;
    top: 0;
    left: 0;
    background-image: url(./img/vista-superior-medico-usando-portatil-portapapeles-2.png);
    background-size: cover;
    background-position: 50% 50%;
  }
  
  .home-mosaico .rectangle-5 {
    height: 300px;
    background-color: #14adddcc;
    border-radius: 10px;
  }
  
  .home-mosaico .text-wrapper-26 {
    position: absolute;
    top: 243px;
    left: 120px;
    font-family: "Rubik", Helvetica;
    font-weight: 500;
    color: #ffffff;
    font-size: 22px;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
  }
  
  .home-mosaico .group-10 {
    position: absolute;
    width: 168px;
    height: 126px;
    top: 65px;
    left: 151px;
  }
  
  .home-mosaico .quines-somos-3 {
    position: absolute;
    width: 1173px;
    height: 604px;
    top: 760px;
    left: 134px;
  }
  
  .home-mosaico .quines-somos-4 {
    position: absolute;
    width: 224px;
    height: 50px;
    top: 0;
    left: 0;
  }
  
  .home-mosaico .duis-vitae-ex-et-2 {
    width: 570px;
    top: 85px;
    left: 1px;
    position: absolute;
    font-family: "Rubik", Helvetica;
    font-weight: 400;
    color: #000000;
    font-size: 16px;
    letter-spacing: 0;
    line-height: normal;
  }
  
  .home-mosaico .img-quienes-somos {
    position: absolute;
    width: 576px;
    height: 576px;
    top: 28px;
    left: 595px;
    object-fit: cover;
  }


.italic {
  font-style: italic;
}


.hide{

  display: none !important;
}


.circle {
  width: 1em;        /* The width of the circle */
  height: 1em;       /* The height of the circle (same as width to make it a perfect circle) */
  background-color: #16bfb28c; /* The background color of the circle */
  border-radius: 50%;  /* Makes the square a circle by rounding the corners to 50% of the width/height */
  margin: .3em;
}

.circles{
  width: 100%;
  display: flex;
  position: relative;
  justify-content: center;
  top: -4em;
}

.link-amazon {
	position: absolute;
	top: 77%;
	width: fit-content;
	justify-content: center;
	align-content: center;
	text-align: center;
	left: 25%;
	z-index: 999;
}

.link-amazon-text {
	padding: 1em;
	background-color: #0b67b2;
	color: white;
	border-radius: 10px 10px;
}


.link-amazon-text > a{
	color: white;
}

@media only screen and (max-width: 600px) {
  
  .link-amazon {
    top: 30%;
    left: 55%;
  }

  .link-amazon-text {
    padding: 0.4em;
    font-size: smaller;
  }
}

@media only screen and (min-width: 601px) and (max-width: 1000px) {
  
  .link-amazon {
    top: 50%;
    left: 55%;
  }
}


/* Cursos */

.nombre-titulo{

  font-size: 30px;
  font-weight: 500;
  color: #0B67B2;
  margin-top: 4%;
  margin-bottom: 4%;
}

.titulo-descripcion-curso{

  font-size: 20px;
  font-weight: 500;
  color: #0B67B2;
}
.texto-descripcion-curso{
  font-size: 16px;
  text-align: justify;
  line-height: 1.5em;
}

.div-informacion-general {
	background-color: #F5F5F5;
  border-radius: 10px;
  box-shadow: 5px 5px 5px 5px #0202020f;
}

.info-general-parametro{
  font-size: 16px;
  font-weight: 400;
  color: #0B67B2;
}

.flex {
  display: flex;
}

/* ===== CARRUSEL MEJORADO ===== */

/* Contenedor principal del carrusel - ahora usa la misma estructura que about */
#carousel-section.container-fluid {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 2rem 0 !important;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(11, 103, 178, 0.15);
  background: #fff;
  margin: 0;
}

/* Estilos mejorados para las imágenes del carrusel */
.mosaico-carrousel {
  display: none;
  visibility: hidden;
  opacity: 0;
  transform: translateX(50px) scale(0.95);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.mosaico-carrousel.active {
  display: block;
  visibility: visible;
  opacity: 1;
  transform: translateX(0) scale(1);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mosaico-carrousel .image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(1.05);
}

.mosaico-carrousel:hover .image {
  transform: scale(1.08);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Indicadores mejorados */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
  justify-content: center;
  align-items: center;
  width: auto !important;
  margin: 0 auto !important;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(22, 191, 178, 0.4);
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid transparent;
  position: relative;
  transform: scale(1);
}

.indicator:hover {
  background-color: rgba(22, 191, 178, 0.7);
  transform: scale(1.2);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.indicator.active {
  background-color: #16BFB2;
  border-color: #0B67B2;
  transform: scale(1.3);
  box-shadow: 0 0 0 3px rgba(22, 191, 178, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.indicator.active::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 4px;
  background-color: #fff;
  border-radius: 50%;
}

/* Mejoras para el texto principal */
.textoPrincipal {
  color: #0B67B2;
  font-family: 'Rubik', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  text-transform: uppercase;
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  z-index: 5;
  max-width: 60%;
  line-height: 1.2;
}

/* Estilos específicos para el slide del médico en desktop */
.mosaico-carrousel[data-pos="2"] .textoPrincipal {
  font-size: 1.8rem !important;
  padding: 0.8rem 1.5rem !important;
  background: rgba(255, 255, 255, 0.8) !important;
  border-radius: 15px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  white-space: nowrap !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  transform: translate(-50%, -50%) !important;
  text-align: center !important;
  max-width: none !important;
  width: auto !important;
  margin: 0 auto !important;
  z-index: 5 !important;
}

/* Mejoras para el link de Amazon */
.link-amazon {
  position: absolute;
  top: 75%;
  left: 15%;
  z-index: 10;
}

.link-amazon-text {
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, #0B67B2 0%, #14ADDD 50%, #16BFB2 100%);
  color: white;
  border-radius: 28px;
  box-shadow: 
    0 5px 15px rgba(11, 103, 178, 0.3),
    0 2px 8px rgba(22, 191, 178, 0.15);
  transition: all 0.3s ease;
  border: 1px solid rgba(22, 191, 178, 0.3);
  position: relative;
  overflow: hidden;
  font-weight: 600;
  letter-spacing: 0.3px;
  font-size: 0.85rem;
}

.link-amazon-text:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 8px 20px rgba(11, 103, 178, 0.4),
    0 4px 10px rgba(22, 191, 178, 0.25);
  border-color: #16BFB2;
  border-width: 2px;
  background: linear-gradient(135deg, #16BFB2 0%, #14ADDD 50%, #0B67B2 100%);
}

.link-amazon-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.4s ease;
  z-index: 1;
}

.link-amazon-text:hover::before {
  left: 100%;
}

.link-amazon-text a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  position: relative;
  z-index: 3;
  display: block;
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.link-amazon-text:hover a {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Animación de pulso muy sutil */
@keyframes pulse {
  0% {
    box-shadow: 
      0 4px 12px rgba(11, 103, 178, 0.3),
      0 2px 6px rgba(22, 191, 178, 0.15);
  }
  50% {
    box-shadow: 
      0 5px 14px rgba(11, 103, 178, 0.35),
      0 3px 8px rgba(22, 191, 178, 0.2);
  }
  100% {
    box-shadow: 
      0 4px 12px rgba(11, 103, 178, 0.3),
      0 2px 6px rgba(22, 191, 178, 0.15);
  }
}

.link-amazon-text {
  animation: pulse 4s ease-in-out infinite;
}

/* Mejoras táctiles para móvil */
@media (max-width: 768px) {
  .carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin: 1rem 0;
  }
  
  .mosaico-carrousel {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  
  .mosaico-carrousel .image {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    object-fit: cover;
    display: block;
  }
  
  .indicator {
    min-width: 20px;
    min-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  
  .link-amazon-text {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .textoPrincipal {
    font-size: 2rem;
  }
}

/* Estilos específicos para tablets grandes */
@media (max-width: 1024px) and (min-width: 901px) {
  /* Slide 1 - Imagen principal */
  .mosaico-carrousel[data-pos="1"] .image {
    width: 100% !important;
    height: auto !important;
    max-height: 450px !important;
    object-fit: cover !important;
  }
  
  /* Slide 2 - Médico con tablet */
  .mosaico-carrousel[data-pos="2"] .image {
    width: 100% !important;
    height: auto !important;
    max-height: 450px !important;
    object-fit: cover !important;
  }
  
  .mosaico-carrousel[data-pos="2"] .textoPrincipal {
    font-size: 1.5rem !important;
    left: 50% !important;
    right: auto !important;
    max-width: none !important;
    width: auto !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    line-height: 1.3 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
    position: absolute !important;
    z-index: 5 !important;
    padding: 0.7rem 1.2rem !important;
    background: rgba(255, 255, 255, 0.7) !important;
    border-radius: 14px !important;
    white-space: nowrap !important;
    text-align: center !important;
    margin: 0 auto !important;
  }
}

/* Estilos específicos para tablets medianas */
@media (max-width: 900px) and (min-width: 769px) {
  /* Slide 1 - Imagen principal */
  .mosaico-carrousel[data-pos="1"] .image {
    width: 100% !important;
    height: auto !important;
    max-height: 400px !important;
    object-fit: cover !important;
  }
  
  /* Slide 2 - Médico con tablet */
  .mosaico-carrousel[data-pos="2"] .image {
    width: 100% !important;
    height: auto !important;
    max-height: 400px !important;
    object-fit: cover !important;
  }
  
  .mosaico-carrousel[data-pos="2"] .textoPrincipal {
    font-size: 1.3rem !important;
    left: 50% !important;
    right: auto !important;
    max-width: none !important;
    width: auto !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    line-height: 1.3 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
    position: absolute !important;
    z-index: 5 !important;
    padding: 0.6rem 1rem !important;
    white-space: nowrap !important;
    background: rgba(255, 255, 255, 0.7) !important;
    border-radius: 12px !important;
    text-align: center !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 768px) {
  #carousel-section.container-fluid {
    padding: 0.5rem 0 !important;
  }
  
  .carousel-wrapper {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(11, 103, 178, 0.1);
    max-width: 100%;
    width: 100%;
    margin: 0;
  }
  
  .mosaico-carrousel .image {
    height: 350px;
    width: 100%;
    object-fit: cover;
    display: block;
  }
  
  .textoPrincipal {
    font-size: 1.2rem;
    left: 5%;
    max-width: 90%;
    top: 30%;
    transform: none;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: absolute;
    z-index: 5;
  }
  
  /* Estilos específicos para el slide 1 en móvil */
  .mosaico-carrousel[data-pos="1"] .image {
    width: 100% !important;
    height: auto !important;
    max-height: 350px !important;
    object-fit: cover !important;
  }
  
  /* Estilos específicos para el slide del médico en móvil */
  .mosaico-carrousel[data-pos="2"] .image {
    width: 100% !important;
    height: auto !important;
    max-height: 350px !important;
    object-fit: cover !important;
  }
  
  .mosaico-carrousel[data-pos="2"] .textoPrincipal {
    font-size: 1.1rem !important;
    left: 50% !important;
    right: auto !important;
    max-width: none !important;
    width: auto !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    line-height: 1.2 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
    position: absolute !important;
    z-index: 5 !important;
    padding: 0.5rem 0.8rem !important;
    background: rgba(255, 255, 255, 0.7) !important;
    border-radius: 10px !important;
    white-space: nowrap !important;
    text-align: center !important;
    margin: 0 auto !important;
  }
  
  .link-amazon {
    top: 75%;
    left: 3%;
    position: absolute;
    z-index: 10;
  }
  
  .link-amazon-text {
    padding: 0.5rem 0.8rem;
    font-size: 0.7rem;
    border-radius: 15px;
    display: inline-block;
  }
  
  .carousel-indicators {
    bottom: 10px;
    gap: 6px;
    position: absolute;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    z-index: 10;
    justify-content: center;
    align-items: center;
    width: auto !important;
    margin: 0 auto !important;
  }
  
  .indicator {
    width: 2px;
    height: 2px;
    border-radius: 50%;
    cursor: pointer;
  }
}

@media (max-width: 480px) {
  #carousel-section.container-fluid {
    padding: 0.25rem 0 !important;
  }
  
  .carousel-wrapper {
    border-radius: 8px;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  
  .mosaico-carrousel .image {
    height: 300px;
    width: 100%;
    object-fit: cover;
  }
  
  .textoPrincipal {
    font-size: 1rem;
    top: 25%;
    left: 3%;
    max-width: 94%;
    line-height: 1.2;
    transform: none;
  }
  
  /* Estilos específicos para el slide 1 en móvil 480px */
  .mosaico-carrousel[data-pos="1"] .image {
    width: 100% !important;
    height: auto !important;
    max-height: 300px !important;
    object-fit: cover !important;
  }
  
  /* Estilos específicos para el slide del médico en móvil 480px */
  .mosaico-carrousel[data-pos="2"] .image {
    width: 100% !important;
    height: auto !important;
    max-height: 300px !important;
    object-fit: cover !important;
  }
  
  .mosaico-carrousel[data-pos="2"] .textoPrincipal {
    font-size: 1rem !important;
    left: 50% !important;
    right: auto !important;
    max-width: none !important;
    width: auto !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    line-height: 1.2 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
    position: absolute !important;
    z-index: 5 !important;
    padding: 0.4rem 0.7rem !important;
    background: rgba(255, 255, 255, 0.7) !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
    text-align: center !important;
    margin: 0 auto !important;
  }
  
  .link-amazon {
    top: 75%;
    left: 2%;
  }
  
  .link-amazon-text {
    padding: 0.4rem 0.7rem;
    font-size: 0.65rem;
    border-radius: 12px;
  }
  
  .carousel-indicators {
    bottom: 8px;
    gap: 5px;
    position: absolute;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    justify-content: center;
    align-items: center;
    z-index: 10;
    width: auto !important;
    margin: 0 auto !important;
  }
  
  .indicator {
    width: 1.5px;
    height: 1.5px;
  }
}

@media (max-width: 360px) {
  #carousel-section.container-fluid {
    padding: 0.125rem 0 !important;
  }
  
  .carousel-wrapper {
    margin: 0;
  }
  
  .mosaico-carrousel .image {
    height: 280px;
    width: 100%;
    object-fit: cover;
  }
  
  .textoPrincipal {
    font-size: 0.9rem;
    top: 20%;
    left: 2%;
    max-width: 96%;
    line-height: 1.1;
    transform: none;
  }
  
  /* Estilos específicos para el slide 1 en móvil 360px */
  .mosaico-carrousel[data-pos="1"] .image {
    width: 100% !important;
    height: auto !important;
    max-height: 280px !important;
    object-fit: cover !important;
  }
  
  /* Estilos específicos para el slide del médico en móvil 360px */
  .mosaico-carrousel[data-pos="2"] .image {
    width: 100% !important;
    height: auto !important;
    max-height: 280px !important;
    object-fit: cover !important;
  }
  
  .mosaico-carrousel[data-pos="2"] .textoPrincipal {
    font-size: 0.9rem !important;
    left: 50% !important;
    right: auto !important;
    max-width: none !important;
    width: auto !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    line-height: 1.1 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
    position: absolute !important;
    z-index: 5 !important;
    padding: 0.3rem 0.6rem !important;
    background: rgba(255, 255, 255, 0.7) !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    text-align: center !important;
    margin: 0 auto !important;
  }
  
  .link-amazon {
    top: 75%;
    left: 1%;
  }
  
  .link-amazon-text {
    padding: 0.35rem 0.6rem;
    font-size: 0.6rem;
    border-radius: 10px;
  }
  
  .carousel-indicators {
    bottom: 6px;
    gap: 4px;
    position: absolute;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    justify-content: center;
    align-items: center;
    z-index: 10;
    width: auto !important;
    margin: 0 auto !important;
  }
  
  .indicator {
    width: 1px;
    height: 1px;
  }
}

.div-preinscripcion{
  background-color: #F5F5F5;
  border-radius: 10px;
  padding: 2em;
  margin: 1em;
  box-shadow: 5px 5px 5px 5px #0202020f;
}

.titulo-preinscripcion{
  display: grid;
  color:#0B67B2 ;
  font-weight: 700;
  font-size: 20px;
  justify-content: center;
}

.label-preinscripcion{

  color:#0B67B2;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: .5em;
}

.input-preinscripcion{
  border-radius: 10px;
  line-height: 2em;
  border-color: #0B67B2;
}

.div-btn-enviar{

  display: grid;
  justify-content: center;
}

.btn-descargar-programa{
  display: grid;
  justify-content: center;
}

.btn-descargar-programa-btn{
  background-color: #0B67B2 !important;
}

.btn-descargar-programa-texto{

  height: min-content;

}

.div-contenedor-img-1.paddingLeft.curso {
	min-height: 20em;
}

.icon-mostrar-modulo{
  justify-self: end;
  display: grid;
  margin: 0 1em;
  margin-left: auto;
}

.texto-descripcion-modulo {
  font-weight: 400;
  font-size: 16px;
}

.inner-div-docentes {
	padding: 1em;
	margin-top: .5em;
	border-radius: 10px;
	box-shadow: 5px 5px 5px 5px #00000017;
}

.titulo-inner-docentes{
  color: #0F6CB0;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 1.5em;
}

.texto-inner-docentes{
  font-size: 16px;
}

.gallery-selector {
  display: grid;
  height: 50vh;
  overflow-y: scroll;
}
.gallery-selector > *{
  width: 100%;
  padding: .1em;
}

.gallery-visor{
  height: 50vh;
  justify-content: center;
  align-items: center;
  align-content: center;
  display: grid;
}

#visor-description{
  font-size: small;
  text-align: center;
  margin: .5em;
  color: #14addd;
}


#visor {
  height : auto;
  width: 100%;
  justify-self: center;
}

.gallery {
  background-color: #fff;
  margin-right: unset;
  margin-left: unset;
}

@media only screen and (max-width: 767px) {
 
  .gallery-selector {
    display: inline-flex;
    height: unset;
    overflow-x: scroll;
    width: 90vw;
    white-space: nowrap; 
  }

  .gallery-visor{
    height: unset;
    width: 90vw;
  }

  .gallery-selector > *{
    width: auto;
    height: 2em;
    padding: .1em;
  }

}

.fases-layout {
	border: 1px solid black;
	position: absolute;
	z-index: -999;
	display: grid;
	grid-template-columns: 1fr 1fr;
	width: 80%;
}

.fases{
  border: 1px solid red;
  position: relative;
  aspect-ratio: 1 / 1;
}


.modal {
  overflow-y: auto;
}

/* ===== MODALES MOSAICO MEJORADOS ===== */
.mosaico-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.mosaico-modal .modal-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    animation: slideInUp 0.4s ease-out;
    position: relative;
}

.modal-mosaico-header {
    background: linear-gradient(135deg, #16BFB2 0%, #14ADDD 100%);
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.modal-mosaico-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

#mosaico-modal-content {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#modal-mosaico-cerrar-ventana {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 3;
    backdrop-filter: blur(10px);
}

#modal-mosaico-cerrar-ventana:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.modal-mosaico-contenido {
    padding: 2rem;
    background: #f8f9fa;
    position: relative;
}

#mosaico-modal-content-text {
    color: #2c3e50;
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: left;
    margin: 0;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #16BFB2;
}

/* Animaciones para los modales */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Responsive para modales */
@media (max-width: 768px) {
    .mosaico-modal {
        padding: 0.5rem;
    }
    
    .mosaico-modal .modal-container {
        max-height: 95vh;
        border-radius: 15px;
    }
    
    .modal-mosaico-header {
        padding: 1.5rem;
    }
    
    #mosaico-modal-content {
        font-size: 1.2rem;
    }
    
    .modal-mosaico-contenido {
        padding: 1.5rem;
    }
    
    #mosaico-modal-content-text {
        padding: 1.5rem;
        font-size: 1rem;
    }
}

#svg5 {
	border: 3px solid #16bfb2;
  width: 100%;
}

.fichas-header{
  background-color: rgb(51, 184, 176);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fichas-header > h5 > button {
	color: #fff;
	font-family: Rubik;
	font-weight: 600;
}

.accordion-fichas {
	width: 100%;
}


.fichas-header > svg {
	fill: white;
}


.modal-title{
  color: #16bfb2;
  font-weight: 500;
  align-self: end;

}

.modal-header{
  min-height: 5em;
  border-bottom: unset;
}

/* .modal-content{
  padding: 1em;
} */


.modal-footer{
  border-top: unset;

}

.btn.btn-primary {
	border-radius: 10px;
	background-color: #16bfb2;
	border: unset;
	font-weight: 500;
}

.btn.btn-secondary:hover {
  transform: translateY(-2px);
}

.mosaico-form{
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  background-color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.mosaico-form:focus {
  border-color: #16BFB2;
  box-shadow: 0 0 0 0.2rem rgba(22, 191, 178, 0.25);
  outline: none;
  background-color: #fff;
}

.mosaico-form:hover {
  border-color: #14ADDD;
}

.mosaico-cerrar-modal{
  color: #16bfb2;
  font-size: 1.5rem;
  font-weight: bold;
  transition: color 0.3s ease;
}

.mosaico-cerrar-modal:hover {
  color: #0B67B2;
  cursor: pointer;
}

/* Estilos mejorados para el modal de contacto */
.modal-content {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(11, 103, 178, 0.2);
  border: none;
  overflow: hidden;
}

.modal-header {
  background: linear-gradient(135deg, #0B67B2 0%, #16BFB2 100%);
  color: white;
  border-radius: 15px 15px 0 0;
  border-bottom: none;
  padding: 1.5rem;
}

.modal-header .modal-title {
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0;
  color: white;
}

.modal-header .close {
  color: white;
  opacity: 0.8;
  font-size: 1.5rem;
  transition: opacity 0.3s ease;
  border: none;
  background: none;
}

.modal-header .close:hover {
  opacity: 1;
}

.modal-body {
  padding: 2rem;
  background: #f8f9fa;
}

.modal-footer {
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  border-radius: 0 0 15px 15px;
  padding: 1.5rem;
  justify-content: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  font-weight: 600;
  color: #0B67B2;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, #16BFB2 0%, #14ADDD 100%);
  border: none;
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(22, 191, 178, 0.3);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 191, 178, 0.4);
  background: linear-gradient(135deg, #14ADDD 0%, #16BFB2 100%);
  color: white;
}

.btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(22, 191, 178, 0.25);
  color: white;
}

#div-espere {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(22, 191, 178, 0.1);
  border-radius: 8px;
  margin-top: 1rem;
  color: #0B67B2;
  font-weight: 600;
}

/* Responsive para el modal */
@media (max-width: 768px) {
  .modal-body {
    padding: 1.5rem;
  }
  
  .modal-header {
    padding: 1rem;
  }
  
  .modal-footer {
    padding: 1rem;
  }
  
  .modal-xl {
    max-width: 95%;
    margin: 1rem auto;
  }
  
  .modal-header .modal-title {
    font-size: 1.25rem;
  }
}


.mapa-controls {
	display: grid;
	position: absolute;
	bottom: 1.5em;
	right: 1.5em;
}

.mapa-control {
	margin: .05em;
	color: #0b67b2;
	border: 0;
	background-color: white;
	font-weight: bolder;
	border-radius: 2px;
}


.scroll-bloqueado{

  overflow: hidden;
}


.text-medium{
  font-size: 3em;
}

.mosaico-color-azul-oscuro{

  color: #003eaa;
}

.mosaico-color-azul-claro{
  
  color: #0060df;
}

/* ===== FOOTER STYLES ===== */
.footer {
    background: linear-gradient(135deg, #16bfb2 0%, #0b67b2 100%);
    color: white;
}

/* Footer siempre ocupa el 100% del ancho en todas las páginas */
.footer .container,
.footer .container-fluid {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    width: 60px;
    height: auto;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.95);
}

.footer-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
    text-decoration: none;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

.institution-wrapper {
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
}

.footer-institution-logo {
    max-height: 70px;
    max-width: 180px;
    width: auto;
    height: auto;
    opacity: 0.9;
    transition: all 0.3s ease;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1);
}

.footer-institution-logo:hover {
    opacity: 1;
    filter: brightness(1.2) contrast(1.2);
    transform: scale(1.05);
}

@media (max-width: 576px) {
    .institution-wrapper {
        min-height: 80px;
        padding: 8px;
    }
    
    .footer-institution-logo {
        max-height: 60px;
        max-width: 150px;
    }
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-legal-link:hover {
    color: white;
    text-decoration: none;
}

.footer-newsletter .input-group {
    max-width: 250px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .footer-social {
        justify-content: center;
    }
    
    .footer-newsletter .input-group {
        max-width: 100%;
    }
}

/* ===== ABOUT SECTION STYLES ===== */
#title-quienes-somos.container-fluid,
#scc-section.container-fluid,
#carousel-section.container-fluid,
#resources-section.container-fluid,
#title-investigacion.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Ajustar scroll para compensar header fijo cuando se navega con hash */
#title-plataforma,
#title-investigacion {
    scroll-margin-top: 0px;
}

#title-quienes-somos .row,
#scc-section .row,
#carousel-section .row,
#resources-section .row,
#title-investigacion .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#title-quienes-somos .row > *,
#scc-section .row > *,
#carousel-section .row > *,
#resources-section .row > *,
#title-investigacion .row > * {
    padding-left: 2px !important;
    padding-right: 2px !important;
}

.welcome-page-layout .about-wrapper {
    max-width: 75%;
    width: 75%;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

/* Asegurar que el padding del wrapper sea simétrico y coincida con el carrusel */
#title-quienes-somos .about-wrapper,
#scc-section .about-wrapper,
#carousel-section .about-wrapper,
#resources-section .about-wrapper,
#title-investigacion .about-wrapper {
    padding-left: 1rem;
    padding-right: 1rem;
}

.about-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 4rem 2rem;
    margin: 2rem 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(11, 103, 178, 0.1);
    position: relative;
    overflow: hidden;
}

/* ===== SIMULACIÓN CLÍNICA COLABORATIVA SECTION STYLES ===== */
.scc-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 4rem 2rem;
    margin: 3rem 0;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(11, 103, 178, 0.12);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(22, 191, 178, 0.1);
}

.scc-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #16BFB2 0%, #14ADDD 50%, #16BFB2 100%);
    border-radius: 25px 25px 0 0;
}

.scc-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.scc-title {
    color: #0B67B2;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    text-shadow: 0 2px 4px rgba(11, 103, 178, 0.1);
}

.scc-underline {
    width: 120px;
    height: 6px;
    background: linear-gradient(90deg, #16BFB2 0%, #14ADDD 100%);
    border-radius: 3px;
    margin: 0 auto 2rem auto;
    position: relative;
}

.scc-underline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 6px;
    background: linear-gradient(90deg, #0B67B2 0%, #16BFB2 100%);
    border-radius: 3px;
}

.scc-description {
    margin-bottom: 3rem;
    text-align: center;
}

.scc-text {
    color: #333;
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: justify;
    font-weight: 400;
    width: 100%;
    margin: 0;
    padding: 2.5rem;
    background: rgba(22, 191, 178, 0.05);
    border-radius: 20px;
    border-left: 5px solid #16BFB2;
    box-shadow: 0 8px 25px rgba(11, 103, 178, 0.1);
    position: relative;
    overflow: hidden;
}

.scc-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #16BFB2 0%, #14ADDD 100%);
    border-radius: 20px 20px 0 0;
}

/* ===== REFERENCIA DESTACADA EN EL TEXTO ===== */
.scc-text {
    position: relative;
}

.scc-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #16BFB2 0%, #14ADDD 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.scc-text:hover::after {
    width: 100%;
}

/* Estilos para destacar la referencia dentro del texto */
.scc-text {
    font-family: 'Rubik', sans-serif;
}

.scc-text strong,
.scc-text b {
    color: #0B67B2;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(22, 191, 178, 0.1) 0%, rgba(20, 173, 221, 0.1) 100%);
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    border-left: 3px solid #16BFB2;
    margin: 0 0.3rem;
    display: inline-block;
    transition: all 0.3s ease;
    font-style: italic;
    box-shadow: 0 2px 8px rgba(11, 103, 178, 0.1);
}

.scc-text strong:hover,
.scc-text b:hover {
    background: linear-gradient(135deg, rgba(22, 191, 178, 0.15) 0%, rgba(20, 173, 221, 0.15) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(11, 103, 178, 0.15);
    border-left-color: #14ADDD;
}

.scc-diagrams {
    position: relative;
    margin-top: 2rem;
}

.diagram-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.diagram-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    text-align: center;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.diagram-wrapper:hover {
    transform: none;
    box-shadow: none;
}

/* Overlay invisible para hover en toda la imagen */
.diagram-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
    pointer-events: none;
    transition: all 0.3s ease;
}

.diagram-wrapper:hover::before {
    background: transparent;
    pointer-events: none;
}

.scc-diagram {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(11, 103, 178, 0.1);
    position: relative;
    z-index: 1;
}

.diagram-wrapper:hover .scc-diagram {
    transform: scale(1.01);
    box-shadow: 0 6px 20px rgba(11, 103, 178, 0.15);
}

.timeline-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    text-align: center;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(11, 103, 178, 0.15);
    transition: all 0.3s ease;
    background: white;
    padding: 1rem;
}

.timeline-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(11, 103, 178, 0.2);
}

/* Overlay invisible para hover en toda la imagen del timeline */
.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
    pointer-events: none;
    transition: all 0.3s ease;
}

.timeline-wrapper:hover::before {
    background: transparent;
    pointer-events: none;
}

.scc-timeline {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(11, 103, 178, 0.1);
    position: relative;
    z-index: 1;
}

.timeline-wrapper:hover .scc-timeline {
    transform: scale(1.02);
}

/* ===== SECCIÓN DE LÍNEA DE TIEMPO MEJORADA ===== */
.timeline-section {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(22, 191, 178, 0.05) 0%, rgba(20, 173, 221, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(22, 191, 178, 0.2);
    position: relative;
    overflow: hidden;
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(22, 191, 178, 0.03) 50%, transparent 100%);
    pointer-events: none;
}

.timeline-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0B67B2;
    margin: 0 0 1rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #16BFB2 0%, #14ADDD 100%);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.timeline-underline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: linear-gradient(135deg, #14ADDD 0%, #16BFB2 100%);
    border-radius: 2px;
}

.timeline-description {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    margin: 1.5rem 0 0 0;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* Responsive para timeline section */
@media (max-width: 768px) {
    .timeline-section {
        margin-top: 1.5rem;
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .timeline-title {
        font-size: 1.3rem;
    }
    
    .timeline-description {
        font-size: 0.9rem;
        margin: 1rem 0 0 0;
        max-width: 500px;
    }
    
    .timeline-wrapper {
        padding: 0.75rem;
        border-radius: 10px;
    }
}

@media (max-width: 576px) {
    .timeline-section {
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 12px;
    }
    
    .timeline-title {
        font-size: 1.2rem;
    }
    
    .timeline-description {
        font-size: 0.85rem;
        margin: 0.75rem 0 0 0;
        max-width: 400px;
    }
    
    .timeline-wrapper {
        padding: 0.5rem;
        border-radius: 8px;
    }
}

/* Estilos para las áreas clickeables */
.mosaico-fases-click {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.mosaico-fases-click:hover {
    opacity: 0.8;
}

/* ===== DIV INFORMATIVO MÓVIL ===== */
.mobile-info-tooltip {
    display: none;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: rgba(22, 191, 178, 0.05);
    border: 1px solid rgba(22, 191, 178, 0.3);
    border-radius: 10px;
    text-align: center;
    animation: slideInDown 0.4s ease-out;
    opacity: 0.9;
}

.tooltip-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.tooltip-icon {
    color: #16BFB2;
    font-size: 0.9rem;
    animation: pulse 3s infinite;
    opacity: 0.8;
}

.tooltip-text {
    color: #0B67B2;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.3;
    opacity: 0.9;
}

/* ===== BOTONES DE INFORMACIÓN MÓVIL POR FASE ===== */
.mobile-phase-buttons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 15;
    display: none;
    pointer-events: none;
}

.phase-info-btn {
    position: absolute;
    background: none;
    border: none;
    color: #16BFB2;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    z-index: 20;
    padding: 0;
}

.phase-info-btn:hover {
    color: #14ADDD;
    transform: scale(1.2);
}

.phase-info-btn:active {
    transform: scale(1.1);
}

.info-icon {
    width: 1.2rem;
    height: 1.2rem;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.phase-info-btn:hover .info-icon {
    transform: scale(1.1);
}

/* Posicionamiento específico de cada botón */
.phase-1 {
    top: 20px;
    left: 10px;
}

.phase-2 {
    top: 20px;
    right: 10px;
}

.phase-3 {
    bottom: 5px;
    right: 10px;
}

.phase-4 {
    bottom: 5px;
    left: 10px;
}

/* Animaciones para la sección SCC */
.scc-section {
    animation: fadeInUp 0.8s ease-out;
}

/* Animaciones para el tooltip */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

.scc-header {
    animation: slideInDown 0.8s ease-out 0.2s both;
}

.scc-description {
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.scc-diagrams {
    animation: slideInUp 0.8s ease-out 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #16BFB2 0%, #14ADDD 50%, #16BFB2 100%);
}

.about-content {
    padding: 1rem 0;
    padding-right: 1rem;
    padding-left: 1rem;
}

.about-title h2 {
    color: #0B67B2;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.title-underline {
    width: 80px;
    height: 6px;
    background: linear-gradient(90deg, #16BFB2 0%, #14ADDD 100%);
    border-radius: 3px;
    margin-bottom: 2rem;
    position: relative;
}

.title-underline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 6px;
    background: linear-gradient(90deg, #0B67B2 0%, #16BFB2 100%);
    border-radius: 3px;
}

.about-text p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
    font-weight: 400;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.invitation-text {
    color: #0B67B2 !important;
    font-weight: 600 !important;
    font-size: 1.2rem !important;
    text-align: center !important;
    background: linear-gradient(135deg, rgba(22, 191, 178, 0.1) 0%, rgba(20, 173, 221, 0.1) 100%);
    padding: 1rem 1.5rem !important;
    border-radius: 15px;
    border-left: 4px solid #16BFB2;
    margin-top: 2rem !important;
}

.about-image {
    position: relative;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(11, 103, 178, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(22, 191, 178, 0.1) 0%, rgba(20, 173, 221, 0.1) 100%);
    border-radius: 15px;
    z-index: 1;
}

.about-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(11, 103, 178, 0.3);
}

/* Responsive Design para About Section */
@media (max-width: 1200px) {
    .about-wrapper {
        max-width: 1000px;
    }
    
    .about-section {
        padding: 3rem 1.5rem;
    }
    
    .about-title h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .about-section {
        padding: 2.5rem 1rem;
        margin: 1rem 0;
    }
    
    .about-title h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .title-underline {
        margin: 0 auto 2rem auto;
    }
    
    .about-text p {
        font-size: 1rem;
        text-align: left;
    }
    
    .about-image {
        padding: 1rem;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .about-wrapper {
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .about-section {
        padding: 2rem 0.75rem;
        border-radius: 15px;
    }
    
    .about-title h2 {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }
    
    .title-underline {
        width: 60px;
        height: 4px;
        margin-bottom: 1.5rem;
    }
    
    .title-underline::after {
        width: 30px;
        height: 4px;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
    
    .invitation-text {
        font-size: 1.1rem !important;
        padding: 0.75rem 1rem !important;
        margin-top: 1.5rem !important;
    }
    
    .about-image {
        padding: 0.5rem;
        margin-top: 1.5rem;
    }
    
    .about-image img {
        border-radius: 10px;
    }
}

@media (max-width: 576px) {
    .about-wrapper {
        max-width: 100%;
        padding: 0 0.25rem;
    }
    
    .about-section {
        padding: 1.5rem 0.5rem;
        margin: 0.5rem 0;
    }
    
    .about-title h2 {
        font-size: 1.6rem;
    }
    
    .title-underline {
        width: 50px;
        height: 3px;
    }
    
    .title-underline::after {
        width: 25px;
        height: 3px;
    }
    
    .about-text p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .invitation-text {
        font-size: 1rem !important;
        padding: 0.6rem 0.8rem !important;
        margin-top: 1rem !important;
    }
    
    .about-image {
        padding: 0.25rem;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 1rem 0.25rem;
    }
    
    .about-title h2 {
        font-size: 1.4rem;
    }
    
    .about-text p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .invitation-text {
        font-size: 0.95rem !important;
        padding: 0.5rem 0.6rem !important;
    }
}

/* ===== RESPONSIVE DESIGN PARA SCC SECTION ===== */
@media (max-width: 1200px) {
    .scc-section {
        padding: 3rem 1.5rem;
        margin: 2rem 0;
    }
    
    .scc-title {
        font-size: 2.4rem;
    }
    
    .scc-text {
        font-size: 1.1rem;
        padding: 2rem;
        width: 100%;
    }
    
    .scc-text strong,
    .scc-text b {
        font-size: 0.95em;
        padding: 0.15rem 0.4rem;
    }
}

@media (max-width: 992px) {
    .scc-section {
        padding: 2.5rem 1rem;
        margin: 1.5rem 0;
        border-radius: 20px;
    }
    
    .scc-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .scc-underline {
        width: 100px;
        height: 5px;
    }
    
    .scc-underline::after {
        width: 50px;
        height: 5px;
    }
    
    .scc-text {
        font-size: 1rem;
        padding: 1.75rem;
        line-height: 1.7;
        width: 100%;
    }
    
    .scc-text strong,
    .scc-text b {
        font-size: 0.9em;
        padding: 0.15rem 0.35rem;
    }
    
    .diagram-container {
        padding: 0;
        gap: 1rem;
    }
    
    .diagram-wrapper:hover .scc-diagram,
    .timeline-wrapper:hover .scc-timeline {
        transform: scale(1.01);
        box-shadow: 0 6px 18px rgba(11, 103, 178, 0.15);
    }
    
    /* Mostrar tooltip informativo en tablets */
    .mobile-info-tooltip {
        display: block;
    }
    
    /* Mostrar botones de información en tablets */
    .mobile-phase-buttons {
        display: block;
    }
    
    /* Ajustes de los botones para pantallas medianas */
    .phase-info-btn {
        width: 45px;
        height: 45px;
    }
    
    .info-icon {
        width: 1.2rem;
        height: 1.2rem;
    }
    
    /* Ajustar posicionamiento en tablets */
    .phase-1 {
        top: 55px;
        left: 35px;
    }
    
    .phase-2 {
        top: 55px;
        right: 35px;
    }
    
    .phase-3 {
        bottom: 15px;
        right: 35px;
    }
    
    .phase-4 {
        bottom: 15px;
        left: 35px;
    }
    
    /* Deshabilitar clicks en la imagen en tablets */
    .scc-diagram {
        pointer-events: none;
    }
    
    .mosaico-fases-click {
        pointer-events: none;
    }
}

/* Media query específico para tablets en orientación horizontal */
@media (max-width: 1024px) and (min-width: 768px) and (orientation: landscape) {
    /* Mostrar tooltip informativo en tablets horizontales */
    .mobile-info-tooltip {
        display: block;
    }
    
    /* Mostrar botones de información en tablets horizontales */
    .mobile-phase-buttons {
        display: block;
    }
    
    /* Ajustes de los botones para tablets horizontales */
    .phase-info-btn {
        width: 45px;
        height: 45px;
    }
    
    .info-icon {
        width: 1.2rem;
        height: 1.2rem;
    }
    
    /* Posicionamiento específico para tablets horizontales */
    .phase-1 {
        top: 55px;
        left: 35px;
    }
    
    .phase-2 {
        top: 55px;
        right: 35px;
    }
    
    .phase-3 {
        bottom: 15px;
        right: 35px;
    }
    
    .phase-4 {
        bottom: 15px;
        left: 35px;
    }
    
    /* Deshabilitar clicks en la imagen en tablets horizontales */
    .scc-diagram {
        pointer-events: none;
    }
    
    .mosaico-fases-click {
        pointer-events: none;
    }
}

/* Media query adicional para tablets horizontales más amplio */
@media (max-width: 1200px) and (min-width: 768px) and (orientation: landscape) {
    .mobile-info-tooltip {
        display: block;
    }
    
    .mobile-phase-buttons {
        display: block;
    }
    
    .phase-info-btn {
        width: 45px;
        height: 45px;
    }
    
    .info-icon {
        width: 1.2rem;
        height: 1.2rem;
    }
    
    .phase-1 {
        top: 70px;
        left: 35px;
    }
    
    .phase-2 {
        top: 70px;
        right: 35px;
    }
    
    .phase-3 {
        bottom: 30px;
        right: 35px;
    }
    
    .phase-4 {
        bottom: 30px;
        left: 35px;
    }
    
    .scc-diagram {
        pointer-events: none;
    }
    
    .mosaico-fases-click {
        pointer-events: none;
    }
}

@media (max-width: 768px) {
    .scc-section {
        padding: 2rem 0.75rem;
        margin: 1rem 0;
        border-radius: 15px;
    }
    
    .scc-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .scc-underline {
        width: 80px;
        height: 4px;
        margin-bottom: 1.5rem;
    }
    
    .scc-underline::after {
        width: 40px;
        height: 4px;
    }
    
    .scc-text {
        font-size: 0.95rem;
        padding: 1.5rem;
        line-height: 1.6;
        text-align: left;
        width: 100%;
    }
    
    .scc-text strong,
    .scc-text b {
        font-size: 0.85em;
        padding: 0.1rem 0.3rem;
    }
    
    .diagram-container {
        padding: 0;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    
    .diagram-wrapper,
    .timeline-wrapper {
        border-radius: 0;
    }
    
    .scc-diagram,
    .scc-timeline {
        border-radius: 0;
    }
    
    .diagram-wrapper:hover .scc-diagram,
    .timeline-wrapper:hover .scc-timeline {
        transform: scale(1.005);
        box-shadow: 0 4px 12px rgba(11, 103, 178, 0.12);
    }
    
    /* Mostrar tooltip informativo en móviles */
    .mobile-info-tooltip {
        display: block;
    }
    
    /* Mostrar botones de información en móviles */
    .mobile-phase-buttons {
        display: block;
    }
    
    .phase-info-btn {
        width: 40px;
        height: 40px;
    }
    
    .info-icon {
        width: 1.1rem;
        height: 1.1rem;
    }
    
    /* Posicionamiento específico para móviles */
    .phase-1 {
        top: 20px;
        left: 10px;
    }
    
    .phase-2 {
        top: 20px;
        right: 10px;
    }
    
    .phase-3 {
        bottom: 5px;
        right: 10px;
    }
    
    .phase-4 {
        bottom: 5px;
        left: 10px;
    }
    
    /* Deshabilitar clicks en la imagen en móviles */
    .scc-diagram {
        pointer-events: none;
    }
    
    .mosaico-fases-click {
        pointer-events: none;
    }
}

@media (max-width: 576px) {
    .scc-section {
        padding: 1.5rem 0.5rem;
        margin: 0.5rem 0;
    }
    
    .scc-title {
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
    }
    
    .scc-underline {
        width: 60px;
        height: 3px;
        margin-bottom: 1rem;
    }
    
    .scc-underline::after {
        width: 30px;
        height: 3px;
    }
    
    .scc-text {
        font-size: 0.9rem;
        padding: 1.25rem;
        line-height: 1.5;
        margin-bottom: 2rem;
        width: 100%;
    }
    
    .scc-text strong,
    .scc-text b {
        font-size: 0.8em;
        padding: 0.1rem 0.25rem;
    }
    
    .diagram-container {
        padding: 0;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .diagram-wrapper,
    .timeline-wrapper {
        border-radius: 0;
        box-shadow: none;
    }
    
    .scc-diagram,
    .scc-timeline {
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .scc-section {
        padding: 1rem 0.25rem;
    }
    
    .scc-title {
        font-size: 1.4rem;
    }
    
    .scc-text {
        font-size: 0.85rem;
        padding: 1rem;
        line-height: 1.4;
        width: 100%;
    }
    
    .scc-text strong,
    .scc-text b {
        font-size: 0.75em;
        padding: 0.08rem 0.2rem;
    }
    
    .diagram-container {
        padding: 0;
        gap: 0.25rem;
    }
    
    .diagram-wrapper,
    .timeline-wrapper {
        border-radius: 0;
    }
    
    .scc-diagram,
    .scc-timeline {
        border-radius: 0;
    }
}

@media (max-width: 360px) {
    .scc-section {
        padding: 0.75rem 0.125rem;
    }
    
    .scc-title {
        font-size: 1.2rem;
    }
    
    .scc-text {
        font-size: 0.8rem;
        padding: 0.75rem;
        width: 100%;
    }
    
    .scc-text strong,
    .scc-text b {
        font-size: 0.7em;
        padding: 0.05rem 0.15rem;
    }
    
    .diagram-container {
        padding: 0;
        gap: 0.125rem;
    }
}

/* Animaciones para About Section */
.about-section {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-content {
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

.about-image {
    animation: slideInRight 0.8s ease-out 0.4s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Modal de contacto personalizado */
.custom-modal {
    animation: fadeIn 0.3s ease-out;
}

.custom-modal-container {
    animation: slideIn 0.3s ease-out;
    max-width: 650px !important;
    width: 95% !important;
    margin: 2rem auto !important;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to { 
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== LEARN SECTION STYLES ===== */
.learn-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 4rem 2rem;
    margin: 2rem 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(11, 103, 178, 0.1);
    position: relative;
    overflow: hidden;
}

.learn-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #16BFB2 0%, #14ADDD 50%, #16BFB2 100%);
    border-radius: 20px 20px 0 0;
}

.learn-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.learn-title {
    color: #0B67B2;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    text-shadow: 0 2px 4px rgba(11, 103, 178, 0.1);
}

.learn-underline {
    width: 80px;
    height: 6px;
    background: linear-gradient(90deg, #16BFB2 0%, #14ADDD 100%);
    border-radius: 3px;
    margin: 0 auto 2rem auto;
    position: relative;
}

.learn-underline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 6px;
    background: linear-gradient(90deg, #0B67B2 0%, #16BFB2 100%);
    border-radius: 3px;
}

.learn-description {
    text-align: center;
    margin-bottom: 3rem;
}

.learn-text {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0;
    text-align: justify;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== COURSES SECTION STYLES ===== */
.courses-section {
    margin-top: 3rem;
}

.courses-header {
    text-align: center;
    margin-bottom: 3rem;
}

.courses-title {
    color: #0B67B2;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.courses-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #16BFB2 0%, #14ADDD 100%);
    border-radius: 2px;
    margin: 0 auto;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.course-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(11, 103, 178, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(22, 191, 178, 0.1);
    position: relative;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(11, 103, 178, 0.15);
}

.course-card.coming-soon {
    opacity: 0.7;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.course-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    width: 60px;
    height: 60px;
    color: #6c757d;
}

.course-content {
    padding: 1.5rem;
}

.course-title {
    color: #0B67B2;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.course-actions {
    margin-top: 1rem;
}

.course-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #16BFB2 0%, #14ADDD 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.course-button:hover {
    background: linear-gradient(135deg, #14ADDD 0%, #16BFB2 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(22, 191, 178, 0.3);
}

.course-button.disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.course-button.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Responsive Design para Learn Section */
@media (max-width: 1200px) {
    .learn-section {
        padding: 3rem 1.5rem;
    }
    
    .learn-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .learn-section {
        padding: 2.5rem 1rem;
        margin: 1rem 0;
    }
    
    .learn-title {
        font-size: 2rem;
    }
    
    .courses-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .learn-section {
        padding: 2rem 0.5rem;
    }
    
    .learn-title {
        font-size: 1.8rem;
    }
    
    .learn-text {
        font-size: 1rem;
        text-align: left;
    }
    
    .courses-title {
        font-size: 1.6rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .course-content {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .learn-section {
        padding: 1.5rem 0.25rem;
    }
    
    .learn-title {
        font-size: 1.5rem;
    }
    
    .learn-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .courses-title {
        font-size: 1.4rem;
    }
    
    .course-title {
        font-size: 1.1rem;
    }
    
    .course-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* Animaciones para Learn Section */
.learn-section {
    animation: fadeInUp 0.8s ease-out;
}

.learn-header {
    animation: slideInDown 0.8s ease-out 0.2s both;
}

.learn-description {
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.courses-section {
    animation: slideInUp 0.8s ease-out 0.6s both;
}

.course-card {
    animation: fadeInUp 0.8s ease-out;
}

.course-card:nth-child(1) {
    animation-delay: 0.8s;
}

.course-card:nth-child(2) {
    animation-delay: 1s;
}

/* ===== PLATFORM SECTION STYLES ===== */
.platform-section {
    background: linear-gradient(135deg, rgba(22, 191, 178, 0.6) 0%, rgba(20, 173, 221, 0.6) 100%), url('./images/group_5.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 40vh;
    display: flex;
    align-items: center;
}

.platform-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(0.5px);
}

.platform-section > .row {
    position: relative;
    z-index: 2;
}

/* Elementos decorativos de fondo */
.platform-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 120px;
    height: 120px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    left: 5%;
    animation-delay: 2s;
}

.circle-3 {
    width: 60px;
    height: 60px;
    top: 30%;
    left: 80%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.platform-image {
    position: relative;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.platform-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11, 103, 178, 0.8) 0%, rgba(22, 191, 178, 0.8) 100%);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.image-container:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-icon {
    width: 20px;
    height: 20px;
    color: white;
}

.platform-image:hover .image-container {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.platform-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
    color: white;
}

.platform-header {
    margin-bottom: 2rem;
}

.platform-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.platform-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.platform-underline {
    width: 80px;
    height: 6px;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    border-radius: 3px;
    margin-bottom: 2rem;
    position: relative;
}

.platform-underline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 6px;
    background: linear-gradient(90deg, #16BFB2 0%, #14ADDD 100%);
    border-radius: 3px;
}

.platform-description {
    margin-bottom: 2.5rem;
}

.platform-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: left;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Características de la plataforma */
.platform-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
    justify-content: center;
    max-width: 100%;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 500;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1rem;
    color: #ffffff;
}

.feature-item span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.95rem;
}

.platform-actions {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.platform-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #0B67B2;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    min-width: 200px;
}

.button-text {
    z-index: 2;
    position: relative;
}

.button-icon {
    z-index: 2;
    position: relative;
    transition: transform 0.3s ease;
}

.button-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.platform-button:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    color: #16BFB2;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.platform-button:hover .button-shine {
    left: 100%;
}

.platform-button:hover .button-icon {
    transform: translateX(3px);
}

/* Botón secundario */
.platform-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    min-width: 150px;
}

.platform-button-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive Design para Platform Section */
@media (max-width: 1200px) {
    .platform-section {
        padding: 3rem 1.5rem;
    }
    
    .platform-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .platform-section {
        padding: 2.5rem 1rem;
        margin: 1rem 0;
    }
    
    .platform-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .platform-underline {
        margin: 0 auto 2rem auto;
    }
    
    .platform-text {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .platform-features {
        margin-bottom: 1.5rem;
    }
    
    .feature-item {
        padding: 0.6rem 0.8rem;
    }
    
    .platform-actions {
        text-align: center;
        align-items: center;
    }
    
    .platform-button,
    .platform-button-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .platform-image {
        padding: 1rem;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .platform-section {
        padding: 2rem 0.5rem;
    }
    
    .platform-title {
        font-size: 1.8rem;
    }
    
    .platform-text {
        font-size: 1rem;
        text-align: left;
    }
    
    .platform-features {
        gap: 0.75rem;
    }
    
    .feature-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .feature-icon {
        width: 20px;
        height: 20px;
    }
    
    .platform-actions {
        text-align: left;
        gap: 0.75rem;
    }
    
    .platform-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        min-width: auto;
    }
    
    .platform-button-secondary {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        min-width: auto;
    }
}

@media (max-width: 576px) {
    .platform-section {
        padding: 1.5rem 0.25rem;
    }
    
    .platform-title {
        font-size: 1.5rem;
    }
    
    .platform-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .platform-features {
        gap: 0.5rem;
    }
    
    .feature-item {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }
    
    .feature-icon {
        width: 18px;
        height: 18px;
    }
    
    .platform-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .platform-button-secondary {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* Animaciones para Platform Section */
.platform-section {
    animation: fadeInUp 0.8s ease-out;
    scroll-margin-top: 0px; /* Compensar header fijo */
}

.platform-image {
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

.platform-content {
    animation: slideInRight 0.8s ease-out 0.4s both;
}

.platform-button {
    animation: pulse 2s infinite;
}

/* Deshabilitar animaciones cuando hay hash en la URL para evitar conflictos con scroll */
html:has([id]:target) .platform-section,
html:has([id]:target) .platform-image,
html:has([id]:target) .platform-content {
    animation: none !important;
}

/* Fallback para navegadores que no soportan :has() */
body.hash-navigation .platform-section,
body.hash-navigation .platform-image,
body.hash-navigation .platform-content {
    animation: none !important;
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 255, 255, 0.3);
    }
    100% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }
}

/* Estilos para los inputs del modal personalizado */
#modal-contactanos input:focus,
#modal-contactanos textarea:focus,
#modal-contactanos select:focus {
    border-color: #16BFB2 !important;
    box-shadow: 0 0 0 0.2rem rgba(22, 191, 178, 0.25) !important;
    outline: none;
}

#modal-contactanos input:hover,
#modal-contactanos textarea:hover,
#modal-contactanos select:hover {
    border-color: #14ADDD;
    transition: all 0.3s ease;
}

#modal-contactanos button:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

#modal-contactanos button[type="submit"]:hover {
    box-shadow: 0 6px 20px rgba(22, 191, 178, 0.4) !important;
}

#modal-contactanos button[onclick="cerrarModalContactanos()"]:hover {
    background-color: #6c757d !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

/* Responsive para el modal personalizado */
@media (min-width: 769px) {
    .custom-modal-container {
        max-width: 650px !important;
        width: 90% !important;
        margin: 2rem auto !important;
    }
}

@media (max-width: 768px) {
    .custom-modal-container {
        margin: 1rem !important;
        max-width: calc(100% - 2rem) !important;
        width: calc(100% - 2rem) !important;
    }
    
    #modal-contactanos form {
        padding: 1rem !important;
    }
    
    #modal-contactanos form > div {
        grid-template-columns: 1fr !important;
    }
    
    .custom-modal-footer {
        padding: 0.75rem 1rem !important;
        flex-direction: column;
        gap: 0.5rem !important;
    }
    
    .custom-modal-footer button {
        width: 100%;
    }
}

/* ===== ESTILOS PARA LAS NUEVAS CARDS DE RECURSOS ===== */

/* Estilos para las nuevas cards de recursos */
.resource-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid rgba(22, 191, 178, 0.1);
    position: relative;
}

.resource-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(22, 191, 178, 0.2);
    border-color: #16BFB2;
}

.resource-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.resource-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.resource-card:hover .resource-image {
    transform: scale(1.05);
}

.resource-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(22, 191, 178, 0.9), rgba(11, 103, 178, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.resource-card:hover .resource-overlay {
    opacity: 1;
}

.resource-icon {
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.resource-card:hover .resource-icon {
    transform: scale(1);
}

.resource-content {
    padding: 24px;
    text-align: center;
}

.resource-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0B67B2;
    margin-bottom: 12px;
    font-family: 'Rubik', sans-serif;
}

.resource-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    font-family: 'Rubik', sans-serif;
}

/* Mejoras para la sección de recursos */
#resources-section.container-fluid {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0 !important;
}

.divRecursos {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
}

/* Card de descripción */
.description-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(22, 191, 178, 0.15);
    transition: all 0.3s ease;
    margin-bottom: 40px;
}

.description-card:hover {
    box-shadow: 0 8px 32px rgba(22, 191, 178, 0.15);
    transform: translateY(-2px);
}

.description-content {
    padding: 32px 40px;
    text-align: center;
}

.description-content .pRecursos {
    margin-bottom: 16px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #495057;
}

.description-content .pRecursos:last-child {
    margin-bottom: 0;
    font-weight: 500;
    color: #0B67B2;
}

.textRecursos {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0B67B2;
    margin-bottom: 20px;
    font-family: 'Rubik', sans-serif;
}

.pRecursos {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #495057;
    font-family: 'Rubik', sans-serif;
}

/* Responsividad mejorada para recursos */
/* Tablets (hasta 992px) */
@media (max-width: 992px) {
    #resources-section.container-fluid {
        padding: 50px 0 !important;
    }
    
    .resource-image-container {
        height: 180px;
    }
    
    .resource-content {
        padding: 22px;
    }
    
    .description-content {
        padding: 28px 24px;
    }
    
    .description-content .pRecursos {
        text-align: justify;
    }
}

@media (max-width: 768px) {
    #resources-section.container-fluid {
        padding: 40px 0 !important;
    }
    
    #resources-section .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    #resources-section .col-12 {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .resource-card {
        margin-bottom: 20px;
        border-radius: 16px;
    }
    
    .resource-image-container {
        height: 160px;
        border-radius: 16px 16px 0 0;
    }
    
    .resource-content {
        padding: 20px;
    }
    
    .resource-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .resource-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .textRecursos {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .description-card {
        margin-bottom: 30px;
        border-radius: 12px;
    }
    
    .description-content {
        padding: 24px 20px;
        text-align: left;
    }
    
    .description-content .pRecursos {
        font-size: 1rem;
        text-align: justify;
        line-height: 1.6;
    }
    
    .resource-icon {
        width: 60px;
        height: 60px;
    }
    
    .resource-icon svg {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    #resources-section.container-fluid {
        padding: 30px 0 !important;
    }
    
    #resources-section .col-12 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    #resources-section .row.justify-content-center {
        margin-left: 0;
        margin-right: 0;
    }
    
    .resource-card {
        margin-bottom: 16px;
        border-radius: 12px;
    }
    
    .resource-image-container {
        height: 140px;
        border-radius: 12px 12px 0 0;
    }
    
    .resource-content {
        padding: 16px;
    }
    
    .resource-title {
        font-size: 1rem;
        margin-bottom: 8px;
        line-height: 1.3;
    }
    
    .resource-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .textRecursos {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .textRecursos svg {
        width: 60px;
        height: 5px;
    }
    
    .description-card {
        margin-bottom: 24px;
        border-radius: 10px;
    }
    
    .description-content {
        padding: 16px 18px;
        text-align: left;
    }
    
    .description-content .pRecursos {
        font-size: 0.9rem;
        line-height: 1.6;
        text-align: justify;
        margin-bottom: 12px;
    }
    
    .description-content .pRecursos:last-child {
        margin-bottom: 0;
    }
    
    .resource-icon {
        width: 50px;
        height: 50px;
    }
    
    .resource-icon svg {
        width: 50px;
        height: 50px;
    }
    
    /* Asegurar que las cards ocupen todo el ancho en móviles */
    #resources-section .col-12.col-md-6.col-lg-4 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    /* Mejorar el espaciado entre cards */
    #resources-section .mb-4 {
        margin-bottom: 1rem !important;
    }
    
    /* Mejorar la experiencia táctil en móviles */
    .resource-card {
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(22, 191, 178, 0.1);
    }
    
    /* Reducir efectos hover en móviles */
    .resource-card:active {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(22, 191, 178, 0.15);
    }
}

/* ===== ESTILOS PARA LA SECCIÓN DE INVESTIGACIÓN MEJORADA ===== */

/* Contenedor principal de investigación */
.research-section {
    padding: 40px 0;
    background: white;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 0px; /* Compensar header fijo */
}

/* Deshabilitar animaciones cuando hay hash en la URL para evitar conflictos con scroll */
html:has([id]:target) .research-section,
html:has([id]:target) .research-main-card {
    animation: none !important;
}

/* Fallback para navegadores que no soportan :has() */
body.hash-navigation .research-section,
body.hash-navigation .research-main-card {
    animation: none !important;
}

/* Card principal que contiene todo el contenido */
.research-main-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 60px 40px 80px 40px;
    box-shadow: 0 10px 30px rgba(11, 103, 178, 0.1);
    border: 1px solid rgba(22, 191, 178, 0.1);
    position: relative;
    overflow: hidden;
}

.research-main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #16BFB2 0%, #14ADDD 50%, #16BFB2 100%);
}

/* Header de la sección */
.research-header {
    margin-bottom: 60px;
}

.research-title {
    font-size: 3rem;
    font-weight: 700;
    color: #0B67B2;
    margin-bottom: 20px;
    font-family: 'Rubik', sans-serif;
}

.research-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #16BFB2, #0B67B2);
    border-radius: 2px;
    margin: 0 auto;
}

.research-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

.research-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #495057;
    max-width: 800px;
    margin: 0 auto;
}

/* Estadísticas de investigación */
.research-stats {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
}

.stat-card {
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    transition: all 0.3s ease;
    height: 100%;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #16BFB2;
    margin-bottom: 10px;
    font-family: 'Rubik', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tarjetas de investigación */
.research-cards {
    margin-top: 60px;
}

.research-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.research-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #16BFB2, #0B67B2);
}

.research-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #16BFB2, #0B67B2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
}

.card-icon svg {
    width: 30px;
    height: 30px;
}

.card-content {
    flex: 1;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #0B67B2;
    margin-bottom: 15px;
    font-family: 'Rubik', sans-serif;
}

.card-description {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-stats {
    margin-bottom: 25px;
}

.stat-item {
    display: inline-block;
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #495057;
}

.stat-item strong {
    color: #16BFB2;
    font-weight: 700;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #16BFB2;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.card-link:hover {
    color: #0B67B2;
    text-decoration: none;
    transform: translateX(5px);
}

.card-link svg {
    transition: transform 0.3s ease;
}

.card-link:hover svg {
    transform: translateX(3px);
}

/* Sección de reconocimientos */
.research-recognition {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-top: 60px;
}

.recognition-title {
    font-size: 2rem;
    font-weight: 600;
    color: #0B67B2;
    margin-bottom: 30px;
    font-family: 'Rubik', sans-serif;
}

.recognition-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 0;
}

.recognition-badges {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.badge-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.badge-icon {
    font-size: 1.5rem;
}

.badge-text {
    font-weight: 600;
    color: #495057;
    font-size: 1rem;
}

/* Responsive design para investigación */
/* Tablets (hasta 992px) */
@media (max-width: 992px) {
    .research-main-card {
        padding: 50px 35px 70px 35px;
    }
    
    .research-title {
        font-size: 2.5rem;
    }
    
    .research-text {
        text-align: justify;
    }
    
    .research-cards {
        margin-top: 50px;
    }
    
    .research-card {
        padding: 28px;
    }
}

@media (max-width: 768px) {
    .research-section {
        padding: 30px 0;
    }
    
    #title-investigacion .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    #title-investigacion .col-12 {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .research-main-card {
        padding: 30px 20px 50px 20px;
        border-radius: 16px;
    }
    
    .research-header {
        margin-bottom: 40px;
    }
    
    .research-title {
        font-size: 2rem;
        margin-bottom: 15px;
        line-height: 1.2;
    }
    
    .research-underline {
        width: 60px;
        height: 3px;
    }
    
    .research-description {
        margin-bottom: 40px;
    }
    
    .research-text {
        font-size: 1rem;
        line-height: 1.6;
        text-align: justify;
    }
    
    .research-stats {
        padding: 30px 20px;
        border-radius: 16px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .research-cards {
        margin-top: 40px;
    }
    
    .research-cards .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .research-cards .col-12,
    .research-cards .col-md-6,
    .research-cards .col-lg-4 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .research-card {
        padding: 22px;
        margin-bottom: 20px;
        border-radius: 16px;
    }
    
    .card-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 18px;
    }
    
    .card-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .card-title {
        font-size: 1.15rem;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .card-description {
        font-size: 0.95rem;
        line-height: 1.6;
        text-align: justify;
        margin-bottom: 18px;
    }
    
    .card-link {
        font-size: 0.95rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        touch-action: manipulation;
    }
    
    /* Mejorar experiencia táctil en tablets */
    .research-card {
        touch-action: manipulation;
    }
    
    .research-card:active {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    }
    
    .research-recognition {
        padding: 30px 20px;
        border-radius: 16px;
    }
    
    .recognition-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    .recognition-text p {
        font-size: 1rem;
        text-align: justify;
    }
    
    .recognition-badges {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .research-section {
        padding: 20px 0;
    }
    
    #title-investigacion .col-12 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .research-main-card {
        padding: 24px 16px 40px 16px;
        border-radius: 12px;
    }
    
    .research-header {
        margin-bottom: 30px;
    }
    
    .research-title {
        font-size: 1.75rem;
        margin-bottom: 12px;
        line-height: 1.2;
    }
    
    .research-underline {
        width: 50px;
        height: 3px;
    }
    
    .research-description {
        margin-bottom: 30px;
    }
    
    .research-subtitle {
        font-size: 1rem;
    }
    
    .research-text {
        font-size: 0.9rem;
        line-height: 1.6;
        text-align: justify;
    }
    
    .research-stats {
        padding: 25px 15px;
        border-radius: 12px;
    }
    
    .stat-card {
        padding: 15px;
        border-radius: 12px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .research-cards {
        margin-top: 30px;
    }
    
    .research-cards .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .research-cards .col-12,
    .research-cards .col-md-6,
    .research-cards .col-lg-4 {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
    
    .research-card {
        padding: 18px;
        margin-bottom: 16px;
        border-radius: 12px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(22, 191, 178, 0.1);
    }
    
    .research-card:active {
        transform: translateY(-3px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
        border-radius: 12px;
    }
    
    .card-icon svg {
        width: 25px;
        height: 25px;
    }
    
    .card-title {
        font-size: 1.05rem;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .card-description {
        font-size: 0.9rem;
        line-height: 1.6;
        text-align: justify;
        margin-bottom: 15px;
    }
    
    .card-link {
        font-size: 0.9rem;
        gap: 6px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        touch-action: manipulation;
    }
    
    .card-link svg {
        width: 14px;
        height: 14px;
    }
    
    .research-recognition {
        padding: 24px 16px;
        border-radius: 12px;
        margin-top: 40px;
    }
    
    .recognition-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .recognition-text p {
        font-size: 0.95rem;
        text-align: justify;
        line-height: 1.6;
    }
    
    .recognition-badges {
        margin-top: 20px;
        gap: 15px;
    }
    
    .badge-item {
        padding: 12px 16px;
        border-radius: 12px;
    }
    
    .badge-icon {
        font-size: 1.3rem;
    }
    
    .badge-text {
        font-size: 0.95rem;
    }
}

/* Estilos para el botón de plataforma en el carousel */
.platform-cta {
    position: absolute;
    bottom: 20%;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    z-index: 10;
    text-align: center;
    width: auto !important;
    margin: 0 auto !important;
}

.platform-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(11, 103, 178, 0.3);
}

.platform-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 103, 178, 0.4);
    background: linear-gradient(135deg, #16BFB2 0%, #14ADDD 100%);
    color: #fff;
}

/* Responsive para el botón de plataforma en el carousel */
@media (max-width: 768px) {
    .platform-cta {
        bottom: 15% !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: auto !important;
        margin: 0 auto !important;
    }
    
    .platform-cta-btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .platform-cta {
        bottom: 10% !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: auto !important;
        margin: 0 auto !important;
    }
    
    .platform-cta-btn {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
}

@media (max-width: 360px) {
    .platform-cta {
        bottom: 8% !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: auto !important;
        margin: 0 auto !important;
    }
    
    .platform-cta-btn {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}

/* ===== ESTILOS PARA FICHAS DE ESCENARIOS ===== */

/* Navegación por Carreras */
.carreras-navigation {
    background: #F2F2F2;
    padding: 1rem 0;
    border-bottom: 2px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 100;
}

.carreras-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    flex-wrap: nowrap;
}

/* Cuando el contenido se desborda, cambiar a flex-start */
.carreras-tabs:not(.no-scroll) {
    justify-content: flex-start;
}

.carreras-tabs::-webkit-scrollbar {
    display: none;
}

/* Asegurar que el contenedor tenga el ancho completo */
.carreras-navigation .container {
    max-width: 100%;
    padding: 0 1rem;
}

.carreras-navigation .row {
    margin: 0;
}

.carreras-navigation .col-12 {
    padding: 0;
}

.carrera-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    color: #6B6B6B;
    font-weight: 600;
    font-family: 'Rubik', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: fit-content;
}

.carrera-tab:hover {
    background: #16BFB2;
    color: white;
    border-color: #16BFB2;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(22, 191, 178, 0.3);
}

.carrera-tab.active {
    background: #0B67B2;
    color: white;
    border-color: #0B67B2;
    box-shadow: 0 4px 15px rgba(11, 103, 178, 0.3);
}

.carrera-tab i {
    font-size: 1.2rem;
}

.tab-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
}

.carrera-tab.active .tab-count {
    background: rgba(255, 255, 255, 0.3);
}

/* Contenido de Carreras */
.fichas-content {
    min-height: 60vh;
    width: 100%;
    max-width: 100%;
}

.fichas-content .container {
    max-width: 100%;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: 0;
    margin-right: 0;
}

.fichas-content .row {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

.fichas-content .col-12 {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

.carrera-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.carrera-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carrera-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #F2F2F2 0%, #e9ecef 100%);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.carrera-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.carrera-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0B67B2;
    margin-bottom: 0;
    font-family: 'Rubik', sans-serif;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carrera-count {
    background: #16BFB2;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Rubik', sans-serif;
}

.carrera-title i {
    font-size: 2rem;
    color: #16BFB2;
}

.carrera-description {
    font-size: 1.1rem;
    color: #6B6B6B;
    margin-bottom: 0;
    font-family: 'Rubik', sans-serif;
}

.ficha-carrera {
    background: #0B67B2;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Rubik', sans-serif;
}

.ficha-idioma {
    background: #667eea;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    font-family: 'Rubik', sans-serif;
    display: none !important;
}

/* Hero Section */
.fichas-hero {
    background: linear-gradient(135deg, #16bfb2 0%, #0b67b2 100%);
    padding: 4rem 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: min(1400px, 95vw);
    margin: 2rem auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(22, 191, 178, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.fichas-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    border-radius: 20px;
    pointer-events: none;
}

.fichas-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.fichas-hero .container {
    position: relative;
    z-index: 1;
}

.fichas-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-family: 'Rubik', sans-serif;
}

.fichas-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-family: 'Rubik', sans-serif;
}

.fichas-search-container {
    max-width: 500px;
    margin: 0 auto;
}

.fichas-search .form-control {
    border: 1px solid #16BFB2;
    border-radius: 25px 0 0 25px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(22, 191, 178, 0.2);
    color: #0B67B2;
}

.fichas-search .form-control:focus {
    border-color: #0B67B2;
    box-shadow: 0 4px 15px rgba(11, 103, 178, 0.3);
    outline: none;
}

.fichas-search .btn {
    border-radius: 0 25px 25px 0;
    padding: 0.75rem 1.5rem;
    background: #0B67B2;
    border: 1px solid #0B67B2;
    box-shadow: 0 4px 15px rgba(11, 103, 178, 0.2);
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    color: white;
    transition: all 0.3s ease;
}

.fichas-search .btn:hover {
    background: #16BFB2;
    border-color: #16BFB2;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(22, 191, 178, 0.3);
    color: white;
}

.fichas-search .btn i {
    color: white;
    font-size: 1rem;
}

/* Botón Subir Nueva Ficha */
.fichas-actions .btn-primary {
    background: #0B67B2;
    border: 1px solid #0B67B2;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 15px rgba(11, 103, 178, 0.2);
    transition: all 0.3s ease;
}

.fichas-actions .btn-primary:hover {
    background: #16BFB2;
    border-color: #16BFB2;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(22, 191, 178, 0.3);
    color: white;
}

.fichas-actions .btn-primary:focus {
    background: #0B67B2;
    border-color: #0B67B2;
    box-shadow: 0 4px 15px rgba(11, 103, 178, 0.3);
    color: white;
}

/* Filtros Section */
.fichas-filters {
    background: #F2F2F2;
    padding: 2rem 0;
    border-bottom: 1px solid #e9ecef;
}

.filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: end;
    justify-content: center;
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 150px;
}

.filter-group label {
    font-weight: 600;
    color: #0B67B2;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Rubik', sans-serif;
}

.filter-group .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
    font-family: 'Rubik', sans-serif;
}

.filter-group .form-select:focus {
    border-color: #16BFB2;
    box-shadow: 0 0 0 0.2rem rgba(22, 191, 178, 0.25);
}

#clearFilters {
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Rubik', sans-serif;
    background: #6B6B6B;
    border-color: #6B6B6B;
    color: white;
}

#clearFilters:hover {
    background: #0B67B2;
    border-color: #0B67B2;
    color: white;
}

/* Grid Section */
.fichas-grid-section {
    padding: 3rem 0;
    background: white;
}

/* Contenido de Fichas */
.fichas-content {
    background: white;
    padding: 2rem 0;
    border-top: 1px solid #e9ecef;
    width: 100%;
    max-width: 100%;
}

.fichas-content .container {
    max-width: 100%;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: 0;
    margin-right: 0;
}

.fichas-content .row {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

.fichas-content .col-12 {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

.carrera-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.carrera-title {
    color: #0B67B2;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Rubik', sans-serif;
}

.carrera-title i {
    margin-right: 0.75rem;
    color: #16BFB2;
}

.carrera-description {
    color: #6B6B6B;
    font-size: 1.1rem;
    margin: 0;
    font-family: 'Rubik', sans-serif;
}

.fichas-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #F2F2F2 0%, #e9ecef 100%);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.stats-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0B67B2;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: 'Rubik', sans-serif;
}

.stats-label {
    font-size: 0.9rem;
    color: #6B6B6B;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Rubik', sans-serif;
}

/* Ficha Cards */
.ficha-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ficha-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.ficha-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #e9ecef;
}

.ficha-category {
    background: #16BFB2;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Rubik', sans-serif;
}

.ficha-card-header .ficha-idioma {
    background: #667eea !important;
    color: white !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 20px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
    font-family: 'Rubik', sans-serif !important;
    display: none !important;
}

.ficha-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ficha-status.disponible {
    background: #d4edda;
    color: #155724;
}

.ficha-status.en_uso {
    background: #fff3cd;
    color: #856404;
}

.ficha-status.desarrollo {
    background: #f8d7da;
    color: #721c24;
}

.ficha-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ficha-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0B67B2;
    margin-bottom: 1rem;
    line-height: 1.3;
    font-family: 'Rubik', sans-serif;
}

.ficha-description {
    color: #6B6B6B;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex: 1;
    font-family: 'Rubik', sans-serif;
}

.ficha-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.ficha-difficulty {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ficha-difficulty.basico {
    background: #d1ecf1;
    color: #0c5460;
}

.ficha-difficulty.intermedio {
    background: #fff3cd;
    color: #856404;
}

.ficha-difficulty.avanzado {
    background: #f8d7da;
    color: #721c24;
}

.ficha-duration {
    color: #6B6B6B;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Rubik', sans-serif;
}

.ficha-duration i {
    margin-right: 0.25rem;
}

.ficha-card-footer {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 0.5rem;
}

.ficha-card-footer .btn {
    flex: 1;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.ficha-card-footer .btn-primary {
    background: #16BFB2;
    border-color: #16BFB2;
    color: #ffffff;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
}

.ficha-card-footer .btn-primary:hover {
    background: #14ADDD;
    border-color: #14ADDD;
    color: #ffffff;
}

.ficha-card-footer .btn-outline-primary {
    color: #0B67B2;
    border-color: #0B67B2;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
}

.ficha-card-footer .btn-outline-primary:hover {
    background: #0B67B2;
    border-color: #0B67B2;
    color: #ffffff;
}

/* Modal de Vista Previa */
.ficha-preview {
    padding: 1rem 0;
}

.preview-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.preview-header h4 {
    color: #212529;
    font-weight: 600;
    margin-bottom: 1rem;
}

.preview-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.preview-category,
.preview-difficulty,
.preview-duration {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.preview-category {
    background: #16BFB2;
    color: white;
    font-family: 'Rubik', sans-serif;
}

.preview-difficulty {
    background: #fff3cd;
    color: #856404;
    font-family: 'Rubik', sans-serif;
}

.preview-duration {
    background: #d1ecf1;
    color: #0B67B2;
    font-family: 'Rubik', sans-serif;
}

.preview-content h5 {
    color: #0B67B2;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Rubik', sans-serif;
}

.preview-content p {
    color: #6B6B6B;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-family: 'Rubik', sans-serif;
}

.preview-content ul {
    padding-left: 1.5rem;
}

.preview-content li {
    color: #6B6B6B;
    margin-bottom: 0.5rem;
    line-height: 1.5;
    font-family: 'Rubik', sans-serif;
}

/* Paginación Simple */
.pagination-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    min-height: 60px;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.pagination-stats {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.pagination-text {
    color: #6c757d;
    font-size: 0.9rem;
    font-family: 'Rubik', sans-serif;
}

.pagination-pages {
    color: #0B67B2;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Rubik', sans-serif;
}

.pagination-stats strong {
    color: #0B67B2;
    font-weight: 600;
}

.pagination {
    margin: 0;
    gap: 0.25rem;
    display: flex;
    align-items: center;
}

.pagination .page-link {
    color: #0B67B2;
    border: 1px solid #e9ecef;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    text-decoration: none;
    background: #ffffff;
}

.pagination .page-link:hover {
    background: #16BFB2;
    border-color: #16BFB2;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(22, 191, 178, 0.2);
}

.pagination .page-item.active .page-link {
    background: #0B67B2;
    border-color: #0B67B2;
    color: white;
    box-shadow: 0 2px 8px rgba(11, 103, 178, 0.2);
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background: #f8f9fa;
    border-color: #e9ecef;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination .page-item.disabled .page-link:hover {
    transform: none;
    box-shadow: none;
    background: #f8f9fa;
    border-color: #e9ecef;
    color: #6c757d;
}



.items-per-page .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-family: 'Rubik', sans-serif;
    font-size: 0.9rem;
    color: #0B67B2;
    font-weight: 500;
    min-width: 80px;
    transition: all 0.3s ease;
}

.items-per-page .form-select:focus {
    border-color: #16BFB2;
    box-shadow: 0 0 0 0.2rem rgba(22, 191, 178, 0.25);
}

.items-per-page .form-select:hover {
    border-color: #16BFB2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .fichas-title {
        font-size: 2rem;
    }
    
    .fichas-subtitle {
        font-size: 1rem;
    }
    
    .filters-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .filter-group {
        min-width: auto;
    }
    
    .fichas-stats {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .stats-number {
        font-size: 2rem;
    }
    
    .ficha-card-footer {
        flex-direction: column;
    }
    
    .ficha-card-footer .btn {
        margin-bottom: 0.5rem;
    }
    
    .preview-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Responsive para navegación de carreras */
    .carreras-navigation {
        padding: 0.5rem 0;
    }
    
    .carreras-tabs {
        gap: 0.25rem;
        padding: 0.25rem 0;
        justify-content: center;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .carreras-tabs:not(.no-scroll) {
        justify-content: flex-start;
    }
    
    .carrera-tab {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .carrera-tab i {
        font-size: 1rem;
    }
    
    .tab-count {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    
    /* Responsive para contenido de carreras */
    .carrera-header {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .carrera-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .carrera-title i {
        font-size: 1.5rem;
    }
    
    .carrera-description {
        font-size: 1rem;
    }
    
    /* Responsive para paginación */
    .pagination-container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .pagination-info {
        order: 1;
        justify-content: center;
    }
    
    .pagination-nav {
        order: 2;
    }
    
    .pagination-controls {
        order: 3;
        justify-content: center;
    }
    
    .pagination-container {
        margin-top: 2rem;
        padding: 1rem;
        gap: 0.5rem;
        flex-direction: column;
    }
    
    .pagination-stats {
        justify-content: center;
        text-align: center;
    }
    
    .pagination-text,
    .pagination-pages {
        font-size: 0.8rem;
    }
    
    .pagination .page-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
        min-width: 40px;
    }
    
    .pagination .page-link i {
        display: none;
    }
}

@media (max-width: 576px) {
    .fichas-hero {
        padding: 2rem 1rem;
        margin: 1rem auto;
        border-radius: 15px;
    }
    
    .fichas-title {
        font-size: 1.75rem;
    }
    
    .fichas-grid-section {
        padding: 2rem 0;
    }
    
    .fichas-stats {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .stats-number {
        font-size: 1.75rem;
    }
    
    .ficha-card-header,
    .ficha-card-body,
    .ficha-card-footer {
        padding: 1rem;
    }
    
    .ficha-title {
        font-size: 1.1rem;
    }
    
    .ficha-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    /* Responsive para navegación de carreras en móviles */
    .carreras-navigation {
        padding: 0.25rem 0;
    }
    
    .carreras-tabs {
        gap: 0.25rem;
        padding: 0.25rem 0;
        justify-content: center;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .carreras-tabs:not(.no-scroll) {
        justify-content: flex-start;
    }
    
    .carrera-tab {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        min-width: auto;
    }
    
    .carrera-tab span:not(.tab-count) {
        display: none;
    }
    
    .carrera-tab i {
        font-size: 0.9rem;
    }
    
    .tab-count {
        font-size: 0.65rem;
        padding: 0.15rem 0.3rem;
    }
    
    /* Responsive para contenido de carreras en móviles */
    .carrera-header {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .carrera-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .carrera-title i {
        font-size: 1.25rem;
    }
    
    .carrera-description {
        font-size: 0.9rem;
    }
    
    /* Responsive para paginación en móviles */
    .pagination-container {
        padding: 1rem;
        gap: 1rem;
    }
    
    .pagination-text {
        font-size: 0.85rem;
    }
    
    .pagination .page-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
        min-width: 35px;
    }
    
    .items-per-page {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }
    
    .pagination-jump {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }
    
    .pagination-jump .input-group {
        width: 100px;
    }
    
    .items-per-page label {
        font-size: 0.8rem;
    }
    
    .items-per-page .form-select {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
        min-width: 70px;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animaciones de fichas removidas para evitar scroll y recarga */

/* Estados de carga */
.fichas-loading {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.fichas-loading .spinner-border {
    color: #0B67B2;
    width: 3rem;
    height: 3rem;
}

/* Mensaje de no resultados */
.fichas-no-results {
    text-align: center;
    padding: 3rem;
    color: #6B6B6B;
}

.fichas-no-results i {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.fichas-no-results h4 {
    color: #0B67B2;
    margin-bottom: 1rem;
    font-family: 'Rubik', sans-serif;
}

.fichas-no-results p {
    margin-bottom: 1.5rem;
    font-family: 'Rubik', sans-serif;
}

/* Mejoras de accesibilidad */
.ficha-card:focus-within {
    outline: 2px solid #16BFB2;
    outline-offset: 2px;
}

.ficha-card-footer .btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(22, 191, 178, 0.25);
}

/* Light mode only - no dark backgrounds */
.ficha-card {
    background: #ffffff !important;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color: #333333;
}

.ficha-card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    border-bottom: 1px solid #e9ecef;
}

.ficha-title {
    color: #0B67B2 !important;
}

.ficha-description {
    color: #6B6B6B !important;
}

.ficha-card-footer {
    background: #f8f9fa !important;
    border-top: 1px solid #e9ecef;
}

/* Estilos para la vista previa de fichas con PDF.js */
.preview-container {
    min-height: 100vh;
    padding: 2rem 0;
}

.preview-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.preview-header {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

/* Estilos para el canvas dentro del preview-header */
.preview-header .pdf-canvas-container {
    margin-top: 1.5rem;
    border-top: 2px solid #dee2e6;
    padding-top: 1.5rem;
}

.preview-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.preview-title-section {
    flex: 1;
    min-width: 300px;
}

.preview-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0B67B2;
    margin-bottom: 1rem;
}

.preview-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.preview-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #16BFB2 0%, #14ADDD 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.preview-badge i {
    font-size: 1rem;
}

.preview-description {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 1rem;
}

.preview-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.preview-action-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.preview-action-btn i {
    font-size: 1.1rem;
}

.btn-download {
    background: transparent;
    border: 2px solid #16BFB2;
    color: #16BFB2;
}

.btn-download:hover {
    background: linear-gradient(135deg, #16BFB2 0%, #14ADDD 100%);
    border-color: #16BFB2;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(22, 191, 178, 0.3);
}

.btn-back {
    background: transparent;
    border: 2px solid #6c757d;
    color: #6c757d;
}

.btn-back:hover {
    background: #495057;
    border-color: #495057;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(73, 80, 87, 0.3);
}

/* .pdf-viewer-container ya no se usa - el canvas está dentro del preview-header */

/* PDF.js Toolbar Styles */
.pdf-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: #f8f9fa;
    border-top: 2px solid #dee2e6;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    border-radius: 8px;
}

.toolbar-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toolbar-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #0B67B2;
}

.toolbar-btn:hover {
    background: #16BFB2;
    color: white;
    border-color: #16BFB2;
}

.toolbar-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.page-input {
    width: 60px;
    padding: 0.25rem 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-align: center;
}

.zoom-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.zoom-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #0B67B2;
}

.zoom-btn:hover {
    background: #16BFB2;
    color: white;
    border-color: #16BFB2;
}

.zoom-value {
    min-width: 60px;
    text-align: center;
    padding: 0.5rem;
    font-weight: 600;
    color: #0B67B2;
}

/* PDF.js Canvas Container */
.pdf-canvas-container {
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    padding: 1rem;
}

#pdf-canvas {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: white;
}

/* Estilos para páginas en modo continuo */
#pdf-pages-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}

.pdf-page-wrapper {
    margin-bottom: 0;
    margin-top: 0;
    display: flex;
    justify-content: center;
    width: 100%;
    line-height: 0;
    position: relative;
}

.pdf-page-wrapper:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #dee2e6;
    z-index: 1;
}

.pdf-page-canvas {
    background: white;
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

.loading-pdf {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    color: #6c757d;
}

.loading-pdf .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
    border-color: #16BFB2;
    border-right-color: transparent;
}

.error-message {
    display: none;
    padding: 2rem;
    text-align: center;
    color: #dc3545;
    background: #f8d7da;
    border-radius: 8px;
    margin: 1rem;
}

/* Reglas responsive para secciones al 75% SOLO en welcome.blade.php */
@media (max-width: 1200px) {
    .welcome-page-layout .container {
        max-width: 75% !important;
        width: 75% !important;
    }
    
    .welcome-page-layout .about-wrapper {
        max-width: 75% !important;
        width: 75% !important;
    }
}

@media (max-width: 768px) {
    .welcome-page-layout .container {
        max-width: 85% !important;
        width: 85% !important;
    }
    
    .welcome-page-layout .about-wrapper {
        max-width: 85% !important;
        width: 85% !important;
    }
    
    /* Justificar contenido de texto en welcome en móviles */
    .welcome-page-layout p {
        text-align: justify !important;
    }
    
    .welcome-page-layout .textoPrincipal {
        text-align: justify !important;
    }
    
    .welcome-page-layout .card-body p,
    .welcome-page-layout .card-text {
        text-align: justify !important;
    }
    
    .welcome-page-layout .row p,
    .welcome-page-layout .col p {
        text-align: justify !important;
    }

    .preview-header-content {
        flex-direction: column;
    }

    .preview-title {
        font-size: 1.5rem;
    }

    .preview-actions {
        width: 100%;
    }

    .preview-container {
        padding: 1rem 0;
    }
    
    .preview-wrapper {
        padding: 0 1rem;
    }
    
    .preview-header {
        padding: 1.5rem;
    }
    
    .preview-title {
        font-size: 1.75rem;
    }
    
    .preview-header-content {
        flex-direction: column;
    }
    
    .preview-actions {
        width: 100%;
    }
    
    .preview-action-btn {
        flex: 1;
        justify-content: center;
    }

    .pdf-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar-group {
        justify-content: center;
    }


    .pdf-canvas-container {
        padding: 0.5rem;
    }

    .pdf-page-wrapper {
        margin-bottom: 0;
    }

    .pdf-page-canvas {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .welcome-page-layout .container {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .welcome-page-layout .about-wrapper {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    /* Justificar contenido de texto en welcome en móviles pequeños */
    .welcome-page-layout p {
        text-align: justify !important;
    }
    
    .welcome-page-layout .textoPrincipal {
        text-align: justify !important;
    }
    
    .welcome-page-layout .card-body p,
    .welcome-page-layout .card-text {
        text-align: justify !important;
    }
    
    .welcome-page-layout .row p,
    .welcome-page-layout .col p {
        text-align: justify !important;
    }
}