<style>
  #latestNewsCarousel .carousel-control-prev,
  #latestNewsCarousel .carousel-control-next {
    top: 70%;
    bottom: 15px; /* Adjust this value as needed */
    transform: translateY(0%);
    height: 40px;
    width: 40px;
    background-color: rgba(0, 0, 0, 0.5); /* Optional: adds a subtle background */
    border-radius: 50%;
  }

  #latestNewsCarousel .carousel-control-prev-icon,
  #latestNewsCarousel .carousel-control-next-icon {
    background-size: 75% 75%;
  }
.carousel-img {
  border: 2px solid #003366;  /* Dark blue border, adjust as needed */
  border-radius: 6px;         /* Optional: rounded corners */
}
.carousel-caption.top-left {
  top: 0;
  left: 0;
  bottom: auto;
  right: auto;
  text-align: left;
}
.carousel-caption.top-center {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  bottom: auto;
  text-align: center;
}
.carousel-caption.fancy-caption {
  top: 20px;
  left: 20%;
  transform: translateX(-50%);
  bottom: auto;
  background: rgba(0, 0, 0, 0.7);
  padding: 1.75rem 2.5rem;
  border-radius: 1.25rem;
  max-width: 100%; /* Full width */
  width: 30%;      /* Actual rendered width */
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.carousel-caption.fancy-caption h5 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.4;
}

.carousel-caption.fancy-caption a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.carousel-caption.fancy-caption a:hover {
  color: #ffc107;
  text-decoration: underline;
}

.carousel-caption {
  top: 20px;
  bottom: auto;
  left: 20px;
  right: auto;
  transform: none;
  text-align: left;
  background: none !important;
  color: #000;
  font-family: 'Helvetica', 'Arial', sans-serif;
  width: auto;
  max-width: 90%;
  padding: 0;
}

.carousel-caption h5 {
  font-size: 2rem;
  font-weight: 300
  color: #000;
  font-family: 'Helvetica', 'Arial', sans-serif;
}

.carousel-caption a {
  color: #000;
  text-decoration: none;
  font-family: 'Helvetica', 'Arial', sans-serif;
}
.carousel .read-more-button {
    background-color: #3a4a5c;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: normal;
}
.carousel-caption a:hover {
  text-decoration: underline;
}

.carousel-caption h3 {
  font-size: 2rem; /* Larger size */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* Makes text stand out */
}

</style>
