.about-banner-paralax {
  background-image: url('../images/about/banner.png'); /* Update the image path */
  background-attachment: fixed;
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;

  padding: 10% 20px;
  color: #fff;
  text-align: center;
  position: relative;
}
.about-headtext-div {
    margin-top: 10%;
    max-width: 500px;
    /* margin: 0 auto; */
    /* background-color: rgba(0, 0, 0, 0.5); */
    padding: 30px;
    border-radius: 10px;
    margin-left: 10%;
}

.about-headtext {
  font-size: 43px;
  margin-bottom: 15px;
  color: #88c86f;
  line-height: 1.2;
  text-align: left;
  font-family: 'Red Hat Display', sans-serif;
}

.about-headtext-para {
  font-size: 18px;
  color: #004071;
 text-align: left;
  line-height: 1.2;
  font-family: 'Red Hat Display', sans-serif;
}

.about-second-section-flex {
  display: flex;
  align-items: center;         /* ✅ fixed typo: 'align-item' ➝ 'align-items' */
 justify-content: space-evenly;
  max-width: 70%;
  margin: 60px auto;           /* spacing from top/bottom */
  padding: 20px;
  gap: 20px;       /* optional background */
  border-radius: 10px;
  flex-wrap: wrap;             /* responsive wrap */
}

.about-second-section-flex-left {
  font-size: 18px;
  color: #004071;
  text-align: left;
  line-height: 1.5;
  font-family: 'Red Hat Display', sans-serif;
  /* flex: 1 1 60%; */
  max-width: 48%;
}

.about-second-section-flex-right img {
  width: 180px;
  max-width: 100%;
  height: auto;
}

.flex-position{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
.div-position{
       position: absolute;
    bottom: 40%;
    left: 20%;
    right: 0;
    /* top: 0; */
    max-width: 600px;
}

.about-fifth-div{
    font-size: 22px;
  color: #004071a6;
  text-align: left;
  line-height: 1.2;
  font-family: 'Red Hat Display', sans-serif;
  /* flex: 1 1 60%; */
  max-width: 50%;
}


.about-sixth-section {
  background-color: #004071; /* Dark blue background */
  /* padding: 60px 20px; */
  color: #ccc; /* Light gray text */
}

.about-sixth-section-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  /* max-width: 1200px; */
  margin: 0 auto;
  flex-wrap: wrap; /* For responsiveness */
}

.about-sixth-section-flex-item {
  flex: 1 1 400px;
}

.about-sixth-section-flex-item img {
  max-width: 100%;
  height: auto;
  /* border-radius: 8px; */
}

.about-sixth-section-flex-item .para {
   font-size: 22px;
  color: #fff;
  text-align: left;
  line-height: 1.2;
  font-family: 'Red Hat Display', sans-serif;
  /* flex: 1 1 60%; */
  max-width: 50%;
  margin-bottom: 20px;
}

.about-sixth-section-flex-item .link a {
  display: inline-block;
  background-color: #ffffff;
  color: #004071a6;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  font-family: 'Red Hat Display', sans-serif;
  transition: all 0.3s ease;
}

.about-sixth-section-flex-item .link a:hover {
  background-color: #d9d9d9;
  color: #004071a6;
}

.about-sixth-section-flex-item .fa-angle-double-right {
  margin-left: 5px;
  font-size: 12px;
}




/* Wrapper */
.timeline-wrapper {
  /* background: #fff; */
  padding: 40px 0 60px;
  overflow-x: hidden;
  font-family: 'Red Hat Display', sans-serif;
}

/* Scrollable Container */
.timeline-scroll {
  /* overflow-x: auto; */
  white-space: nowrap;
  padding: 0 20px;
  position: relative;
}

.timeline-scroll {
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
}
.timeline-scrollbar {
  width: 100%;
  height: 8px;
  background: #e0e0e0;
  position: relative;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
}

.scroll-thumb {
  height: 100%;
  background: #333;
  width: 60px; /* will be set dynamically */
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 4px;
  cursor: grab;
  transition: background 0.2s ease;
}

.scroll-thumb:active {
  cursor: grabbing;
  background: #555;
}
.about-sixth-section-flex-item .link a
{
  font-size: 16px;
}
.timeline-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
/* .timeline-scroll::after {
 content: '';
    position: fixed;
    top: 50%;
    right: 0;
    width: 150px;
    height: 25%;
    pointer-events: none;
    background: linear-gradient(to left, white 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 10;
} */


.timeline-scroll {
  user-select: none;       /* Prevents text selection */
  -webkit-user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  cursor: grab;
}

.timeline-scroll:active {
  cursor: grabbing;
}


.mobile-legacy-box, .mobile-legacy-box12 {
  display: none;
}

/* Mobile only */
@media (max-width: 767px) {

  .mobile-legacy-box12{
    display: block;
     padding: 0px 50px ;
      font-family: 'Red Hat Display', sans-serif;
    text-align: left;
    color: #004071;
    margin-top: -30%;
  }
  .mobile-legacy-box {
    display: block;
    padding: 20px 40px ;
    margin-top:25%;
    background: #fff;
    font-family: 'Red Hat Display', sans-serif;
    text-align: left;
  }

  .mobile-legacy-box h2 {
    color: #6dbf56; /* Green heading */
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 15px;
  }

  .mobile-legacy-box p {
    color: #003366; /* Blue text */
    font-size: 15px;
    line-height: 1.6;
  }
}

.mobile-cta-box {
  display: none;
}

/* Show only on mobile */
@media (max-width: 767px) {
  .mobile-cta-box {
    display: block;
    background-color: #003366; /* Dark blue background */
    color: #fff;
    padding: 40px;
    border-radius: 8px;
    text-align: left;
    font-family: 'Red Hat Display', sans-serif;
  }

  .mobile-cta-box p {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 15px;
  }

  .mobile-cta-box strong {
    font-weight: 600;
  }

  .cta-btn {
    display: inline-block;
    background: #fff;
    color: #003366;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
            margin-left: 50%;
  }

  .cta-btn:hover {
    background: #f1f1f1;
  }
}


.timeline-scroll::-webkit-scrollbar {
  height: 8px;
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background-color: #88c86f;
  border-radius: 10px;
}
.timeline-scroll::-webkit-scrollbar-track {
  background-color: #eee;
}

/* Timeline Items Container */
.timeline-items {
display: inline-flex;
  gap: 60px;
  position: relative;
  padding: 40px 0;
      align-items: flex-end;
}

/* Green Line Behind */
.timeline-line {
  position: absolute;
bottom: 19%;
  left: 115px; /* assuming .timeline-item is 200px wide */
  height: 2px;
  background-color: #88c86f;
  width: 0;
  z-index: 1;
  transition: width 0.1s ease-out;
}



/* Gray Dot */
.timeline-item .gray-dot {
  background-color: #ccd3dc;
}



.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;        /* fixed width */
  height: auto;       /* fixed height */
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 10px;
  box-sizing: border-box;
}

/* Text block with fixed height */
.timeline-item .text {
  font-size: 14px;
  color: #004071;
  height: auto;        /* fixed height */
  overflow: hidden;     /* hide overflow if text exceeds */
  margin-bottom: 20px;
  text-wrap: auto;
}

/* Dot styles remain same */
.timeline-item .dot {
  width: 16px;
  height: 16px;
  background-color: #004071;
  border-radius: 50%;
  position: relative;
  z-index: 3;
}

/* Year text fixed */
.timeline-item .year {
  font-size: 18px;
  font-weight: bold;
  color: #003144;
  margin-top: 10px;
  height: 20px;        /* for alignment */
}



/* Progress Bar Below */
.timeline-progress {
  margin-top: 30px;
  padding: 0 20px;
}

.progress-bar1 {
  width: 400px;
  height: 12px;
  background-color: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  margin: 20px auto; /* center horizontally */
}

.progress-indicator {
  height: 100%;
  background-color: #88c86f;
  width: 0%;
  transition: width 0.3s ease;
}

/* .progress-indicator::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 0;
  width: 16px;
  height: 100%;
  background-color: #88c86f;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
} */
.about-6-flex{
       display: flex                     ;
    padding: 2%;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
    padding-right: 0;
}
.about-6-flex-left-item {
    width: 20%;
}
.about-6-flex-left-right{
    width: 80%;
}
.home-fourth-sec {
    padding: 0px 0px 5%;
}

@media (max-width: 768px) {
  .about-second-section-flex {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-second-section-flex-right {
    margin-top: 20px;
    text-align: center;
    width: 100%;
  }

}

@media only screen  and (min-width : 1224px) {

.about-headtext-div {
    margin-top: 5%;
    max-width: 400px;
    /* margin: 0 auto; */
    /* background-color: rgba(0, 0, 0, 0.5); */
    padding: 30px;
    border-radius: 10px;
    margin-left: 10%;
}
.about-headtext-para, .about-second-section-flex-left {
  font-size: 14px;
}
.about-headtext {
  font-size: 30px;
}
.about-fifth-div{
    font-size: 16px;
}
.about-sixth-section-flex-item .link a
{
  font-size: 14px;
}
.about-sixth-section-flex-item .para {
    font-size: 18px;
}
.home-fourth-sec-flex-item-box-overlay
{
  padding-left: 5px;
}
.home-fourth-sec-flex-item-box-overlay-head{
  font-size: 16px;
}
}

@media only screen  and (min-width : 1800px) {
.about-headtext-div {
    margin-top: 10%;
    max-width: 500px;
    /* margin: 0 auto; */
    /* background-color: rgba(0, 0, 0, 0.5); */
    padding: 30px;
    border-radius: 10px;
    margin-left: 10%;
}
.about-headtext {
  font-size: 43px;
}
.about-headtext-para, .about-second-section-flex-left{
  font-size: 18px;
}
.about-fifth-div{
    font-size: 22px;
}
.about-sixth-section-flex-item .link a
{
  font-size: 16px;
}
.about-sixth-section-flex-item .para {
    font-size: 22px;
}
.home-fourth-sec-flex-item-box-overlay
{
  padding-left: 15px;
}
.home-fourth-sec-flex-item-box-overlay-head{
  font-size: 22px;
}
}