
.scrolling-banner {
  width: 100%;
  overflow: hidden;
  background-color: #0c5390;
  color: white;
  font-size: 12px;
  color: white;
  font-weight: 500;
  height: 30px;
  /* 👈 fixed height */
  display: flex;
  align-items: center;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  box-sizing: border-box;
}

.scrolling-text {
  display: flex;
  white-space: nowrap;
  animation: scroll-left 20s linear infinite;
}

.scrolling-text span {
  padding-right: 50px;
  /* spacing between repeats */
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.main_set {
  /* margin-left: 60px; */
  padding: 40px;
  flex-grow: 1;
  margin-top: 5% !important;
}

.main_set h1 {
  font-size: 32px;
  color: #1c2c44;
  margin-bottom: 10px;
}

.main_set p {
  font-size: 18px;
  color: black;
}




/* Container */
.container {
  max-width: 1100px;
  flex: 1;
  margin: 0 auto;
  padding: 20px;
}


.timeline-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.timeline h1 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
  color: #2c3e50;
}

.timeline-item {
  margin-bottom: 80px;
}

.timeline-block {
  align-items: center;
  position: relative;
  align-items: center;
}

.timeline-content,
.timeline-image {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.timeline-content h2 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #34495e;
}

.timeline-content p {
  font-size: 16px;
  line-height: 1.6;
}

.timeline-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border: 1px solid black;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.timeline-line {
  width: 3px;
  height: 200px;
  /* fixed height — adjust as per content */
  background-color: #2c3e50;
  margin: 0 auto;
  position: relative;
  border-radius: 2px;
}

/* .timeline-line {
  width: 2px;
  height: 100%;
  background-color: #2c3e50;
  justify-self: center;
} */

/* Reverse layout */
.timeline-item.reverse .timeline-block {
  grid-template-columns: 1fr 40px 1fr;
}

.timeline-item.reverse .timeline-content {
  grid-column: 3;
}

.timeline-item.reverse .timeline-image {
  grid-column: 1;
}



.legacy-message {
  max-width: 960px;
  margin: 50px auto;
  padding: 40px;
  background-color: #fffdf8;
  border: 1px solid #e6dcc5;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  color: #2a2a2a;
}

.legacy-message h2 {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.5;
}

.legacy-message h2 span {
  color: #bfa46f;
  font-size: 24px;
  /* gold tone */
  font-weight: 700;
}

.legacy-points h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #3a3a3a;
  text-align: center;
}

.legacy-points ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
}

.legacy-points ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.6;
}

.legacy-points ul li::before {
  content: "✅";
  position: absolute;
  left: 0;
  top: 0;
  color: #27ae60;
  font-size: 18px;
}




/* banner image*/

.image-area {
  width: 100%;
  /* Set to your image's width */
  height: 400px;
  /* Set to your image's height */
  background-image: url('bg\ page.jpeg');
  /* Replace with your actual image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* subscribe*/

.sub {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  background-color: #373f4a;
  padding: 6px 30px;
  color: white;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.sub-left {
  font-size: 1rem;
  font-weight: lighter;
  white-space: nowrap;
}

.sub-center {
  display: flex;
  justify-content: center;
  gap: 0.1rem;
  flex-wrap: wrap;
}

.email-input {
  padding: 5px 10px;

  border: none;
  width: 200px;
  font-size: 0.75rem;
}

.subscribe-btn {
  padding: 5px 30px;
  background-color: white;
  color: #373f4a;
  border: none;

  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.subscribe-btn:hover {
  background-color: #ddd;
}

.sub-right {
  display: flex;
  gap: 14px;
}

.sub-right img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.sub-right img:hover {
  transform: scale(1.1);
}

.order-md-2 {
  order: 1 !important;
}

/* .order-md-1 {
  order: 2 !important;
} */

@media (max-width: 1290px) {
  .main_set {
    padding: 45px;
  }
}

@media (max-width: 1035px) {
  .main_set {
    margin-left: 3%;
  }
}

@media (max-width: 768px) {
  .timeline-line {
    display: none;
  }

  .main_set h1 {
    margin-bottom: 30px;
  }

  .timeline-content,
  .timeline-image {
    margin-bottom: 8%;
  }

  .timeline-item {
    margin-bottom: 5%;
  }
}

@media (max-width: 640px) {
  .main_set h1 {
    font-size: 28px;
  }

  .timeline-content h2,
  .legacy-message h2,
  .legacy-message h2 span {
    font-size: 20px;
  }

  .timeline-content p {
    font-size: 13px;
  }

  .legacy-points h3 {
    font-size: 18px;
  }

  .legacy-points ul li {
    font-size: 14px;
  }
}

@media (max-width: 430px) {
  .main_set {
    padding: 12px;
    margin-left: 0%;
  }

  .main_set h1 {
    font-size: 26px;
  }


  .timeline-content h2,
  .legacy-message h2,
  .legacy-message h2 span {
    font-size: 18px;
  }

  .timeline-content p {
    font-size: 11px;
  }

  .legacy-points h3 {
    font-size: 16px;
  }

  .legacy-points ul li {
    font-size: 12px;
  }

  .legacy-points ul li::before {
    font-size: 15px;
  }

}

@media (max-width: 375px) {
  .legacy-message {
    padding: 26px;
  }
}