/* Base Styling */
.custom-banner .custom-carousel {
  position: relative;
  margin-top: 2rem !important;
  overflow: visible;
}

.custom-banner .carousel-inner img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Navigation Controls */
.custom-banner .custom-carousel-control-prev,
.custom-banner .custom-carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(240, 92, 43, 1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}

.custom-banner .custom-carousel-control-prev {
  left: -40px;
}

.custom-banner .custom-carousel-control-next {
  right: -40px;
}

.custom-banner .custom-carousel-control-prev:hover,
.custom-banner .custom-carousel-control-next:hover {
  background-color: rgb(173, 38, 39);
  transform: translateY(-50%) scale(1.1);
}

.custom-banner .carousel-control-prev-icon,
.custom-banner .carousel-control-next-icon {
  filter: invert(1);
  width: 20px;
  height: 20px;
}

/* Indicators */
.custom-banner .custom-carousel-indicators {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 10px;
}

.custom-banner .custom-carousel-indicators li {
  width: 12px;
  height: 12px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  transition: background-color 0.3s ease-in-out;
}

.custom-banner .custom-carousel-indicators .active {
  background-color: #f05c2b;
}

/* Responsive Design */
@media (max-width: 768px) {
  .custom-banner .custom-carousel-control-prev,
  .custom-banner .custom-carousel-control-next {
    width: 40px;
    height: 40px;
    left: -20px;
    right: -20px;
  }

  .custom-banner .custom-carousel-control-prev {
    left: -20px;
  }

  .custom-banner .custom-carousel-control-next {
    right: -20px;
  }

  .custom-banner .carousel-inner img {
    border-radius: 5px;
  }

  .custom-banner .custom-carousel-indicators {
    bottom: -20px;
  }
}

@media (max-width: 576px) {
  .custom-banner .news-header h1 {
    font-size: 1.5rem;
  }

  .custom-banner .news-header p {
    font-size: 0.9rem;
  }

  .custom-banner .carousel-inner img {
    border-radius: 3px;
  }

  .custom-banner .custom-carousel-indicators {
    gap: 5px;
  }

  .custom-banner .custom-carousel-indicators li {
    width: 10px;
    height: 10px;
  }
}
