.btn-xl {
  padding: 15px 30px;
  font-size: 30px;
  font-weight: 600;
}

.btn-healph {
  background-color: #6001d3;
  color: #ffffff;
}

.btn-healph:hover {
  background-color: #4b01a9;
  color: #ffffff;
}

.bg-blue {
  background-color: #24306d;
}

.ul-healph {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ul-healph li {
  padding: 10px 0;
  font-size: 1.5rem;
  position: relative;
  padding-left: 50px; /* Adjust to make space for the icon */
}

.ul-healph li::before {
  content: "\2713"; /* Unicode for checkmark */
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: green;
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-nominee {
  height: 280px; /* Set a fixed height for the card */
  overflow: visible;
  cursor: pointer;
}

.card-nominee .card-title {
  font-size: 1.5rem;
  text-align: center;
}

.card-nominee-img-top1 {
  position: absolute;
  top: -90px; /* Adjust this value to control the overlap */
  left: 50%; /* Center the image horizontally */
  transform: translateX(-50%);
  z-index: 1; /* Ensure the image is above the title */
  width: 150px; /* Adjust image size if needed */
  /* border-radius: 50%; Optional: Make the image circular */
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); Optional: Add a shadow for better aesthetics */
}

.card-nominee-img-top {
  position: absolute;
  top: -100px; /* Adjust this value to control the overlap */
  left: 50%; /* Center the image horizontally */
  transform: translateX(-50%);
  z-index: 1; /* Ensure the image is above the title */
  height: 210px; /* Set maximum height */
  object-fit: cover; /* Prevents image distortion */
  clip-path: inset(0 0 40px 0); /* Crops the bottom part of the image */
  overflow: hidden; /* Hides the cropped area */
  /* border-radius: 50%; Optional: Make the image circular */
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); Optional: Add a shadow for better aesthetics */
}

.card-nominee-img-top:hover {
  /* width: 200px; */
  height: 250px;
  top: -130px;
}

.card-nominee-body {
  margin-top: 60px; /* Add spacing to accommodate the overlapping image */
  overflow: hidden; /* Prevent content overflow */
  text-overflow: ellipsis; /* Add ellipsis for overflowing text */
  display: -webkit-box; /* Use flexbox for ellipsis support */
  -webkit-line-clamp: 5; /* Limit text to 5 lines */
  -webkit-box-orient: vertical; /* Set the box orientation */
  /* height: 60px; Define the height for the body */
}

.mt-10 {
  margin-top: 120px;
}

.btn-block {
  display: block;
  width: 100%;
}

.link-no-style {
  text-decoration: none;
  color: inherit;
}

.carousel-container {
  height: 50vh;
  justify-items: center;
  justify-content: center;
  align-content: center;
}

/* .carousel-container h1 {
  font-size: 5rem !important;
  font-weight: bold;
}
.carousel-container h5 {
  font-size: 2rem !important;
  font-weight: bold;
} */

.fa-chevron-right,
.fa-chevron-left {
  padding: 1rem;
  background: #dedada;
  border-radius: 10px;
  font-size: 1.2rem;
}

.carousel-image img {
  width: 100%;
  max-height:500px; 
  max-width: 700px;
}

.blue {
  background: #24306d;
}

/* .carousel-control-prev,
.carousel-control-next {
  width: 5%;
} */

/* .carousel-control-prev {
  left: -45px;
}

.carousel-control-next {
  top: 50%; /* Center vertically 
}

/* .carousel-indicators {
  background: #333 !important;
  border-radius: 10px;
  opacity: 0.2;
  position: relative;
  top: 55vh;
} */
/*  
@media only screen and (max-width: 767px) {
  .carousel-container h1 {
    font-size: 3.5rem !important;
    font-weight: bold;
  }
  .carousel-container h5 {
    font-size: 2.5rem !important;
    font-weight: bold;
  }
  .carousel-container img {
    width: 100%;
  }
}

@media only screen and (max-width: 375px) {
  .carousel-container h1 {
    font-size: 2.5rem !important;
    font-weight: bold;
  }
  .carousel-container h5 {
    font-size: 1.5rem !important;
    font-weight: bold;
  }
  .carousel-container img {
    width: 100%;
  }
} */
