#services .container {
  padding-top: 2rem;
  padding-bottom: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

#services .carousel-heading {
  font-family: 'Public Pixel', sans-serif;
  font-size: 36px;
  color: #ffffff;
  text-align: center;
  user-select: none;
  margin-bottom: 2.5rem;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.7);
  background-color: #111;
}

/* Subtle atmospheric dark overlay across base of images */
.carousel::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 75%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
  z-index: 2;
}

#carouselInner {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

#carouselInner img {
  min-width: 100%;
  width: 100%;
  height: 480px;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
  display: block;
}

/* Glassmorphic Cyber Nav Buttons */
#prevBtn,
#nextBtn {
  position: absolute;
  top: 50%;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(207, 4, 4, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
  user-select: none;
  z-index: 10;
}

#prevBtn:hover,
#nextBtn:hover,
#prevBtn:focus,
#nextBtn:focus {
  background-color: rgba(207, 4, 4, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
  outline: none;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(207, 4, 4, 0.8);
}

#prevBtn {
  left: 1.2rem;
  transform: translateY(-50%);
}

#nextBtn {
  right: 1.2rem;
  transform: translateY(-50%);
}

/* Arrow icons using minimal border triangles */
#prevBtn::before,
#nextBtn::before {
  content: "";
  display: inline-block;
  border-style: solid;
  border-width: 0.5rem 0.7rem 0.5rem 0.7rem;
}

#prevBtn::before {
  border-color: transparent #ffffff transparent transparent;
  margin-left: -0.2rem;
}

#nextBtn::before {
  border-color: transparent transparent transparent #ffffff;
  margin-left: 0.4rem;
}

@media (max-width: 640px) {
  #services .carousel-heading {
    font-size: 20px;
  }
#carouselInner img {
    min-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}
  #prevBtn,
  #nextBtn {
    width: 2.75rem;
    height: 2.75rem;
  }
}