
/* ===== Text-Image Section ===== */
.text-image-section {
  padding: 80px 0;
  background: #f9f9f9;
}
.text-image-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.text-image-section .text {
  flex: 1 1 500px;
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}
.text-image-section .text h2 {
  font-size: 2rem;
  color: #222;
}
.text-image-section .text .btn {
  padding: 12px 25px;
  background: #ff6600;
  color: white;
  border-radius: 5px;
}
.text-image-section .text .btn:hover {
  background: #e65500;
}
.text-image-section .image {
  flex: 1 1 500px;
}
.text-image-section .image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* About */
.about img {
  width: 100%;
  height: 150px;
  margin-top: 60px;
}
h6 { margin-bottom: 70px; }


.featurette-img {
  width: 100%;
  border-radius: 15px;
  background: #f5f5f5;
  height: 400px;
}


  
.timeline {
  display: flex;
  max-width: 1400px;
  margin: auto;
  padding: 80px 20px;
  align-items: flex-start; /* Circle top align */
}

/* LEFT FIXED ROUND YEAR */
.timeline-left {
  flex: 0 0 400px;   /* Fixed width for left side */
  display: flex;
  justify-content: flex-start; /* Circle left align */
  align-items: center;
  position: sticky;
  top: 20%;
  height: 100vh;
}

.year-circle {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 85px;
  font-weight: bold;
  color: #d71920;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  overflow: hidden;
  margin-left: 40px; /* gap from left edge */
}

/* Multicolor animated border */
.year-circle::before {
  content: "";
  position: absolute;
  top: -14px;
  left: -14px;
  width: calc(100% + 28px);
  height: calc(100% + 28px);
  border-radius: 50%;
  background: conic-gradient(
    #ff0000,
    #ff7300,
    #ffeb00,
    #47ff00,
    #00ffee,
    #2b65ff,
    #8000ff,
    #ff0080,
    #ff0000
  );
  animation: rotateBorder 4s linear infinite;
  z-index: 0;
}

/* White inner mask */
.year-circle::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  border-radius: 50%;
  background: #fff;
  z-index: 1;
}

/* Year text inside */
.year-circle span {
  position: relative;
  z-index: 2;
}

/* Border animation */
@keyframes rotateBorder {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* RIGHT SIDE TIMELINE */
.timeline-right {
  flex: 1;
  padding-left: 60px;
}

.milestone {
  margin-bottom: 180px;
  position: relative;
  padding-left: 20px;
}

.milestone::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 12px;
  width: 14px;
  height: 14px;
  background: #d71920;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(215, 25, 32, 0.7);
}

.milestone h3 {
  font-size: 26px;
  margin-bottom: 12px;
  color: #222;
}

.milestone p {
  font-size: 18px;
  line-height: 1.7;
  color: #555;
}


@media (max-width: 768px) {

  /* ===== Text–Image Section ===== */
  .text-image-section {
    padding: 40px 15px;
  }

  .text-image-section .container {
    flex-direction: column;
    gap: 25px;
  }

  .text-image-section .text {
    flex: 1 1 auto;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
  }

  .text-image-section .text h2 {
    font-size: 1.5rem;
  }

  .text-image-section .text .btn {
    margin-top: 15px;
  }

  .text-image-section .image {
    width: 100%;
    text-align: center;
  }

  .text-image-section .image img {
    max-width: 360px;
    margin: 0 auto;
    display: block;
  }

  /* About */
  .about img {
    height: auto;
    margin-top: 30px;
  }

  h6 {
    margin-bottom: 30px;
    text-align: center;
  }

  /* Boxes */
  .container {
    flex-direction: column;
    gap: 20px;
  }

  .box {
    padding: 15px;
  }

  .box img {
    height: 160px;
  }

  /* Year Circle */
  .year-circle {
    width: 220px;
    height: 220px;
    font-size: 55px;
    margin: 0 auto 40px;
  }

  /* Timeline */
  .timeline-right {
    padding-left: 20px;
  }

  .milestone {
    margin-bottom: 60px;
    padding-left: 15px;
  }

  .milestone::before {
    left: -6px;
    top: 10px;
    width: 12px;
    height: 12px;
  }

  .milestone h3 {
    font-size: 20px;
  }

  .milestone p {
    font-size: 15px;
    line-height: 1.6;
  }
}

