:root {
  --lila-claro: #919BFC;
  --azul: #3B3FB6;
  --azul-oscuro: #43359B;
  --rosa-oscuro: #B23F9B;
  --rosa: #CD50B4;
  --rosa-claro: #E95FA8;
}

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}

.header {
  background-color: var(--lila-claro);
}

.logo {
  background-color: #ffffff;
  padding: 0.5rem;
}

.nav-link {
  font-weight: 300;
}

.nav-name {
  font-weight: 500;
}

.hero-carousel {
  background-color: var(--azul-oscuro); /* azul oscuro de tu paleta */
  padding: 4rem 0;
}

.carousel-item {
  display: flex;
  justify-content: center;
}

.carousel-img {
  height: 400px;          /* altura fija del banner */
  object-fit: cover;
}

.abilities {
    background-color: var(--lila-claro);
    width: 100%;
    padding: 2rem 0;
}

.abilities-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  list-style: none;
  padding-left: 2rem;
  padding-right: 2rem;
  margin: 0;
}

.ab-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

div {
    display: block;
    unicode-bidi: isolate;
}

.title {
  width: 100%;
  font-weight: 300;
  justify-content: center;
  text-align: center;
  color: var(--rosa-oscuro);
  padding: 1rem;
}

.title-me {
  width: 100%;
  font-weight: 300;
  justify-content: center;
  color: var(--rosa-oscuro);
  padding-bottom: 1rem;
}

/* Pills normales */
.nav-pills .nav-link {
  color: var(--rosa-oscuro);               /* texto */
  background-color: transparent;
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
}

/* Hover */
.nav-pills .nav-link:hover {
  background-color: #919BFC;
  color: #ffffff;
}

/* Pill activa */
.nav-pills .nav-link.active {
  background-color: var(--lila-claro);
  color: var(--azul);               /* texto activo */
  border-color: var(--lila-claro);
}

.nav-pills .nav-link {
  transition: background-color 0.5s ease, color 0.5s ease;
}

.work-item {
  aspect-ratio: 1 / 1;             /* cuadrado */
  border: 2px solid #919BFC;       /* azul claro */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.work-item img, .work-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;               /* ajusta sin deformar */
  transition: transform 0.3s ease;
}

.work-item video {
  transition: transform 0.3s ease;
}

.work-item:hover video {
  transform: scale(1.05);
}

.work-item:hover img {
  transform: scale(1.05);
}