.position-relative-news {
  position: relative;
}

.top-right-img-news-custom {
  position: absolute;
  top: -35px;
  right: 0;
  width: 300px;
  height: 288px;
  mask-image: linear-gradient(to top right, transparent 10%, black 100%);
  -webkit-mask-image: linear-gradient(
    to top right,
    transparent 10%,
    black 100%
  );
}

.gradient-news-custom {
  font-size: 50px;
  text-align: center;
  color: #26396c;
  background: linear-gradient(
    to right,
    rgba(38, 57, 108, 0.1),
    rgba(38, 57, 108, 0)
  );
  display: inline-block;
  padding: 0 10px;
  border-left: 4px solid #26396c;
  border-radius: 4px;
  line-height: 1.2;
}

.carousel-indicators-custom {
  bottom: -30px;
  margin: -5px;
}
.carousel-indicators li {
  background-color: #e0a256;
  width: 10px;
  height: 10px;
  opacity: 0.7;
}
.carousel-indicators .active {
  background-color: #e0a256;
  opacity: 1;
}
.custom-card-news {
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #b8d3ff17;
  border-color: #B8D3FF;
  border-radius: 40px;
}

.custom-card-news a {
  text-decoration: none;
}


.custom-card-news .card-title {
  color: #284184;
  font-weight: bold;
  text-align: left;
}
.custom-card-news .card-text {
  color: #496ECC;
  line-height: 1.6;
  text-align: left;
}
.carousel-indicators-custom {
  position: absolute;
  bottom: 0px;
  left: 10px;
  display: flex;
  justify-content: flex-start;
  /* gap: 8px; */
}

.pagination-text {
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  color: #000;
  margin: 0 10px;
  margin-bottom: -30px;
  padding-top: 7px;
}
.carousel-control-prev,
.carousel-control-next {
  background-color: #284184;
  color: white;
  border-radius: 6px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
  border: none;
  margin-left: -40px;
  margin-right: -40px;
  padding: 0 10px;
}
.carousel-pagination-container {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}




/* .bg-dna-image{
  background-image: url('../assets/19_DNA\ 1.png');
  background-position: right 0px bottom -150px;
  background-repeat: no-repeat;
  background-size: contain;
  background-attachment: fixed;
} */

.bg-dna-image {
  position: relative;  /* Required for positioning the pseudo-element */
  background-position: right 0px bottom -150px;
  background-repeat: no-repeat;
  background-size: contain;
  /* background-attachment: fixed; */
}

.bg-dna-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/19_DNA 1.png');
  background-position: right 0px bottom -150px;
  background-repeat: no-repeat;
  background-size: contain;
  /* background-attachment: fixed; */
  opacity: 0.1;  /* Set the opacity for the background image */
  z-index: -1;  /* Ensure the pseudo-element is behind content */
}


@media (max-width: 768px) {
.carousel-pagination-container{
  display: none;
}

.carousel-indicators-custom{
  display: flex;
  justify-content: center;
}
}