/*benefit-section*/
body {
  margin: 0;
  font-family: 'Suisse Intl', sans-serif;
  background-color: #f6f6f6;
}

.benefit-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;   /* 💡 Force side-by-side layout */
  padding: 100px 20px;
  max-width: 1450px;
  margin: auto;
  gap: 80px;
}

@me@media (max-width: 1024px) {
  .benefit-section {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
    gap: 60px;
  }

  .left-text {
    max-width: 90%;
  }

  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
  }
}



.benefit-wrapper {
  width: 100%;
  background-color: #f6f6f6; /* match your base color */
}

.left-text {
  flex: 1;
  max-width: 600px;
}

.card-grid {
  flex: 1.5;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  gap: 30px;
}


.subheading {
  color: #cba44d;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.left-text h2 {
  font-size: 44px;
  margin: 0 0 20px;
  line-height: 1.5;
  font-weight: 500;
}

.left-text h2 span {
  display: block;
}

.left-text p {
  font-size: 16px;
  color: #0a0a0a;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}


.card {
  width: 100%;
  height: 320px;
  background-color: #fff;
  border-radius: 14px;
  padding: 25px;
  box-sizing: border-box;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;   /* Align left */
  justify-content: center; /* Align top */
  text-align: left;
  position: relative;
  overflow: hidden;
}



/* Overlay on top of background */
.card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6); /* dark shade */
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  border-radius: 10px;
}

/* Show overlay when active */
.card.active .overlay {
  opacity: 1;
}

/* Text stays above the overlay */
.card span,
.card .text {
  position: relative;
  z-index: 3;
  align-items: center;
}

.card .number {
  font-size: 26px;
  font-weight: bold;
  color: #cba44d;
  margin-bottom: 10px;

}

.card h4 {
  margin: 5px 0;
  font-size: 18px;
  font-weight: 500;
  color: inherit;
}

.card p {
  font-size: 14px;
  color: inherit;
}

.card.active h4,
.card.active p 
.card.active span,
.card.active .text{
  color: white !important;
  
}

.card:hover {
  transform: scale(1.03);
}


/* STATS SECTION – MATCHING HOME PAGE */
.stats-section {
  padding: 80px 0;
  color: #fff;
}

.stats-overlay {
  background-color: rgba(9, 26, 52, 0.92);
  padding: 60px 20px;
}

.stats-container {
  max-width: 1450px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  text-align: center;
}

.stat-box {
  flex: 1 1 200px;
  min-width: 200px;
}

.stat-box i {
  font-size: 40px;
  margin-bottom: 15px;
  display: inline-block;
  color: #fff;
}

.stat-box h2 {
  font-size: 36px;
  font-weight: bold;
  margin: 0;
}

.stat-box p {
  font-size: 16px;
  margin: 10px 0 5px;
  color: #fff;
}

.stat-box .underline {
  width: 40px;
  height: 2px;
  background-color: #fff;
  margin: 0 auto;
  margin-top: 8px;
}

/* Divider */
.divider {
  min-width: 1px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.5);
}

/* history section */
  body {
      margin: 0;
      font-family: 'Suisse Intl', sans-serif;
      background: #fefefe;
    }
  .content {
       text-align: left;
    }

    .timeline-section {
    max-width: 1450px;       /* More horizontal space */
    padding: 120px 20px;     /* Increased padding for top/bottom */
    margin: 0 auto;
    }



    .timeline-header {
      text-align: center;
      margin-bottom: 60px;
    }

    .timeline-header p {
      color: #002147;
      font-size: 16px;
      letter-spacing: 2px;
      margin-bottom: 8px;
    }

   .timeline-header h2 {
  font-size: 48px;
  margin-bottom: 20px;
}
  .timeline-header .description {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
}

   .timeline-heading {
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    margin-bottom: 20px;
    }

   .timeline-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 400px; /* Or 100% if you want it to match text width */
    height: 2px;
    background-color: #0d3c63; /* Or match your theme color */
   }

   .timeline-heading::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 6px;
    width: 77px;
    background-color: #0d3c63;
    border-radius: 15px;
   }

    .timeline {
      position: relative;
    }

    .timeline::before {
      content: '';
      position: absolute;
      left: 50%;
      top: 0;
      transform: translateX(-50%);
      width: 2px;
      height: 100%;
      background-color: #ccc;
    }

    .timeline-item {
      position: relative;
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin: 80px 0;
      gap: 80px; /* ✅ Add this line to create space */
    }

    .timeline-item::before {
      content: '';
      position: absolute;
      top: 20px;
      left: 50%;
      transform: translateX(-50%);
      width: 16px;
      height: 16px;
      border: 2px solid #cba44d;
      background: #fff;
      border-radius: 50%;
      z-index: 1;
    }

    .timeline-item .content,
    .timeline-item img {
      width: 48%;
      box-sizing: border-box;
    }

    .timeline-item.left .content {
       order: 1;
      
       display: flex;
       flex-direction: column;
       align-items: flex-start;
       margin-right: 30px;
    }

    .timeline-item.left img {
      order: 2;
    }

    .timeline-item.right .content {
      order: 2;
      text-align: left;

    }

    .timeline-item.right img {
      order: 1;
    }

    .timeline-item h3 {
      color: #002147;
      font-size: 38px;
      margin-bottom: 5px;
    }

    .timeline-item h4 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 8px;
    }

    .timeline-item p {
      font-size: 18px;
      color: #555;
    }

    .timeline-item img {
      border-radius: 5px;
      max-width: 100%;
      height: auto;
    }

    .timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
    padding: 0;
}

.timeline-list li {
  display: flex;
  align-items: flex-start; /* TOP aligns icon with the first line of text */
  gap: 14px;
  margin-bottom: 12px;
  font-size: 17px;
  color: #003d66;
  line-height: 1.6;
}

.timeline-list i {
  color: #003d66;
  font-size: 16px;
  margin-top: 4px; /* fine-tuning */
  min-width: 18px;
  line-height: 1.6;
}

.timeline-year {

  color:#0d3c63;
  font-size: 30px;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .timeline-item {
    flex-direction: column;
    gap: 30px;
  }

  .timeline-item .content,
  .timeline-item img {
    width: 100%;
    margin: 0;
  }
}

    @media (max-width: 768px) {
      .timeline::before {
        left: 8px;
      }

      .timeline-item {
        flex-direction: column;
        align-items: flex-start;
      }

      .timeline-item.left .content,
      .timeline-item.right .content {
        text-align: left;
        order: 2;
        width: 100%;
      }

      .timeline-item.left img,
      .timeline-item.right img {
        order: 1;
        width: 100%;
      }

      .timeline-item::before {
        left: 0;
        transform: translateX(0);
      }
    }

/*Responsive*/

@media (max-width: 1024px) {
  .benefit-section {
    flex-direction: column;
    padding: 60px 30px;
    gap: 60px;
  }

  .left-text {
    max-width: 100%;
    text-align: center;
  }

  .left-text h2 {
    font-size: 36px;
  }

  .left-text p {
    font-size: 15px;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .benefit-section {
    padding: 50px 20px;
    gap: 40px;
  }

  .left-text h2 {
    font-size: 28px;
  }

  .card-grid {
    grid-template-columns: 1fr; /* Stack cards in one column */
  }

  .card {
    height: auto;
    padding: 20px;
  }

  .card .number {
    font-size: 22px;
  }

  .card h4 {
    font-size: 16px;
  }

  .card p {
    font-size: 14px;
  }
}
