.portfolio-slider {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(2rem, 5vw, 5rem);
  background: #0f2140;
  margin-bottom: 5px;
  border-radius: 5px;
}
.portfolio-slider__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}
.portfolio-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(15, 33, 64, 0.88) 0%,
      rgba(15, 33, 64, 0.72) 45%,
      rgba(249, 115, 22, 0.18) 100%
    );
}

.portfolio-slider__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  color: #fafafa;
}

.portfolio-slider__badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.portfolio-slider__title {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 3.6rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.portfolio-slider__text {
  margin: 1.25rem 0 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.7;
}

.portfolio-slider__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.8rem;
  min-height: 54px;
  padding: 0 1.5rem;
  border-radius: 14px;
  background: #f97316;
  color: #fafafa;
  text-decoration: none;
  font-weight: 700;
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.portfolio-slider__button:hover {
  background: #fb923c;
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(249, 115, 22, 0.28);
}
.portfolio-slider__dots {
  position: absolute;
  z-index: 3;
  left: clamp(2rem, 5vw, 5rem);
  bottom: 2rem;
  display: flex;
  gap: 10px;
}

.portfolio-slider__dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.65);
  background: rgba(255,255,255,.25);
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease;
}

.portfolio-slider__dot.is-active {
  width: 32px;
  background: #f97316;
  border-color: #f97316;
}
