html, body {
  overflow-x: hidden; /* Prevent horizontal scrolling */
  overflow-y: auto; /* Allow vertical scrolling as needed */
}

.contain {
  margin-top: 5%;
  height: auto;
  background-color: rgb(26, 43, 109);
  
}

/* Card styling */
.sub_blog {
  background: linear-gradient(to bottom, #8c9df5, #888bdc, #1c2aad);
  border-radius: 10px;
  box-shadow: 0 4px 8px black;
  padding: 15px;
  margin: 10px;
  height: 350px; /* Fixed height */
}

/* Image styling */
.sub_blog img {
  width: 100%;
  height: 60%;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* Text styling */
 /* a {
  font-family: helvetica-w01-light, helvetica-w02-light, sans-serif;
  font-size: 30px !important;
  color: white;
} */
.heading-right{
  font-size: 20px !important;              /* Matches your image */
    font-weight: 700;             /* Bold */
    color: #FFFFFF !important;               /* White text */
    margin-top: -15px;
    margin-bottom: 8px;
    line-height: 1.3;
    text-align: start !important;
}
p {
  font-family: helvetica-w01-light, helvetica-w02-light, sans-serif;
  font-size: 16px;
  color: white;
}

/* Custom line indicators */
.custom-carousel-indicators {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.line-indicator {
  width: 40px;
  height: 5px;
  background-color: rgba(255, 255, 255, 0.5);
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.line-indicator.active {
  background-color: white;
}


.read-more-link {
  text-align: right; /* Align to the right */
  display: block; /* Make it block-level to respect alignment */
  color: orange !important; /* Orange color for the link */
  font-size: large;
}

/* Fix horizontal and vertical scrollbars */
.carousel-inner {
  overflow: hidden; /* Prevent scrollbars */
}



.read-btn-wrapper a.read-more-btn {
    font-size: 14px;
    font-weight: 500;
    color: #E0DFFB;             /* Light purple/gray as shown */
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease;
    position: absolute;
    bottom: 7%;
}

.read-btn-wrapper a.read-more-btn:hover {
    color: #ffffff;
    text-decoration: underline;
}
.CCSS64-577-1302-1426  {
    font-size: 39px !important;
    letter-spacing: 0em;
    font: normal normal normal normal 66px / 1.4em spinnaker, sans-serif;
    color: rgb(245, 245, 248);
    line-height: normal;
    width: 44%;
    border-bottom: 1px solid rgb(245, 245, 248);
    margin: 0 auto; /* Center horizontally */
    padding-top: 5vh;
}

.trendingblog_sec2,
.CSS64-577-1302{
  margin-top: 4% !important;
}
 #blogSliderWrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
  }

  #blogSlider {
    display: flex;
    transition: transform 0.5s ease;
  }

  .sub_sections {
    flex: 0 0 auto;
  }