html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: Arial, sans-serif;
    overflow: auto; /* Esto asegura que el contenido se muestre correctamente */
    overflow-x: hidden; /* Oculta el desbordamiento horizontal */
    height: 100%;
  }
main {
  min-height: 100vh;
  overflow-y: auto;
  padding-bottom: 70px; /* suficiente espacio para separar del footer */
}
body {
  background-color: #95AEE9 !important;;
}

.proyectos {
  margin-top: 50px;
  padding-bottom: 10px; 
}

/* Pestañas de carrusell  */
.tabs-carousel-container {
  position: relative; /* ← Importante para que las flechas se posicionen correctamente */
  overflow: hidden;
  padding: 0 2.5rem;



}

#categoriaTabs {
  display: flex;
  overflow-x: auto;
  flex-wrap: nowrap;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  list-style: none;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#categoriaTabs::-webkit-scrollbar {
  display: none;
}

.nav-item {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Estilo para la pestaña activa */
.nav-tabs .nav-link.active {
  background-color: #394476; /* azul Bootstrap o el que tú prefieras */
  color: #fff !important;
  border-radius: 0.25rem;
  border: 1px solid #394476;
}

/* Estilo para las pestañas inactivas */
.nav-tabs .nav-link {
  background-color: transparent;
  color: #fff;
  border: none;
}



.scroll-btn img {
  width: 24px;
  height: 24px;
  background-color: #95AEE9;
  border: none;
  border-radius: 50%; /* círculo */
  display: flex;
  align-items: center;
  justify-content: center;
 
}

/* controles de las pestañas del carrusel */
.scroll-btn {
  position: fixed;
  top: 250px; /* Ajusta a la altura de tu carrusel */
  z-index: 9999;
  width: 40px;
  height: 40px;
  background-color: #95AEE9;
  border: none;
  border-radius: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}
.scroll-btn {
  position: absolute;
  top:0;
  transform: translateY(50%);
  pointer-events: all; /* reactivamos para el botón */
  /* mismo estilo visual */
}

#scrollLeft {
  left: 0px;
  margin-top: -1.5%;
}

#scrollRight {
  right: 0px;
  margin-top: -1.5%;
}


/* estilos de los cards */
.proyecto-card .btn {
  border-radius: 20px;
  font-size: 0.85rem;
}

.proyecto-card .btn-dark {
  background-color: #333;
}

.proyecto-card .btn-primary {
  background-color: #007bff;
}



.btn-primary {
  background-color: #394476 !important;
  border-color: white !important;
  color: white !important;
}

.btn-primary:hover {
  background-color: #95AEE9 !important;
  color: white !important;
  border-color: white !important;
}

.pagination-buttons-container {
  padding-bottom: 4rem; /* o más si tu footer es alto */
  display: flex;
  justify-content: flex-end; /* empuja el bloque a la derecha */
}

