

.timeline-container-wrapper {
  
  margin-top: 10px;
  width: 75%; /* Adjust width */
  max-width: 1000px; /* Adjust max-width */
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.8), rgba(76, 161, 175, 0.8));
  padding: 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  border-radius: 10px;

  /* Positioning properties - Edit these to adjust the timeline box */
  position: absolute;
  top: 340px; /* Adjust top spacing */
  left: 145px; /* Adjust left spacing */
  right: auto; /* Adjust right spacing (if needed) */
}

.timeline-tabs {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

.timeline-tab-button {
  padding: 10px 20px;
  border: none;
  background: rgba(50, 51, 50, 1);
  color: white;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-tab-button.active {
  background: rgba(0, 123, 255, 1);
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.7);
}

.timeline-tab-button:hover {
  background: rgba(0, 123, 255, 1);
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(0, 123, 255, 1);
}

.timeline-container {
  height: 550px;
  position: relative;
  min-height: 200px;
  overflow-y: auto;
  max-height: 550px;
}

.timeline {
  display: none;
  position: relative;
  padding-left: 30px;
  animation: fadeIn 0.5s ease-in-out;
}

.timeline.active {
  display: block;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  height: 100%;
  width: 2px;
  background: rgba(0, 123, 255, 1);
  animation: drawLine 1s ease-in-out;
}

.timeline-item {
  margin-bottom: 20px;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  animation: slideIn 0.5s ease-in-out forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }
.timeline-item:nth-child(4) { animation-delay: 0.8s; }
.timeline-item:nth-child(5) { animation-delay: 1s; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 123, 255, 1);
  z-index: 1;
  animation: pulse 1.5s infinite;
}

.timeline-content {
  margin-left: 30px;
  padding: 15px;
  background: rgba(50, 51, 50, 1);
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.7);
  background: rgba(60, 61, 60, 1);
}

.timeline-content h3 {
  margin-top: 0;
  color: rgba(0, 123, 255, 1);
  transition: color 0.3s ease;
}

.timeline-content:hover h3 {
  color: #fff;
}

.timeline-content p {
  margin: 5px 0;
  color: #ddd;
  transition: color 0.3s ease;
}

.timeline-content:hover p {
  color: #fff;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes drawLine {
  from { height: 0; }
  to { height: 100%; }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Glow effect for the timeline line */
.timeline::after {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  height: 100%;
  width: 2px;
  background: rgba(0, 123, 255, 0.3);
  animation: glow 2s infinite alternate;
}

@keyframes glow {
  from { box-shadow: 0 0 5px rgba(0, 123, 255, 0.3); }
  to { box-shadow: 0 0 15px rgba(0, 123, 255, 0.7); }
}

/* Hover effect for timeline dots */
.timeline-item:hover::before {
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 123, 255, 1);
  animation: none;

}

/* Side Box */
.update-box {
  position: absolute;
  right: 40px;
  top: 515px;
  height: 350px;
  transform: translateY(-50%);
  width: 290px;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.8), rgba(76, 161, 175, 0.8));
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 0 25px rgba(0, 123, 255, 0.2);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.update-box:hover {
  transform: translateY(-50%) scale(1.02);
  box-shadow: 0 0 35px rgba(0, 123, 255, 0.3);
}

.update-heading {
  color: #fff;
  font-size: 1.5em;
  margin: 0 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(0, 123, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.update-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.update-list li {
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 0;
  position: relative;
  padding-left: 25px;
  font-size: 0.95em;
  transition: all 0.2s ease;
}

.update-list li::before {
  content: "•";
  color: rgba(0, 123, 255, 0.8);
  position: absolute;
  left: 0;
  font-size: 1.4em;
  line-height: 0.8;
}

.update-list li:hover {
  transform: translateX(5px);
  color: #fff;
}
@media only screen and (min-width: 2560px)  {
  .update-box {
    background-color: rgb(25, 119, 42);
    width: 650px;
    left: 10%;
  }
}

@media only screen and (min-width: 1920px) and (min-height: 1080px) {
  .update-box {
    background-color: rgb(25, 119, 42);
    width: 650px;
    left: 64%;
  }
}


/* Responsive Design */
@media only screen and (max-width: 768px) {
  .update-box {
    width: 180px;
    left: 10px;
    padding: 15px;
  }
  
  .update-heading {
    font-size: 1.2em;
  }
  
  .update-list li {
    font-size: 0.85em;
    padding-left: 20px;
  }
}

/* Media Query for devices with width: 1131px and height: 773px */
@media only screen and (min-width: 1024px) and (max-width: 1366px) {
  .update-box {
    opacity: 0;
 
  }
}

@media only screen and (max-width: 1130px) {
  .update-box {
    display: none;
  }
}

@media only screen and (min-width: 1091px) and (max-width: 1263px) {
  .update-box {
    display: none;
  }
}




/* Media Query for screens up to 756px */
@media only screen and (max-width: 756px) {

  .update-box {
    opacity: 0;

  }

  .timebody {
    padding-left: 8%; /* Adjust this to control the left spacing of the entire page */
   
  }

  .timeline-container{
    height: 450px;
    position: relative;
    min-height: 200px;
    overflow-y: auto;
    max-height: 450px;
  }

  .timeline-container-wrapper  {
    
    width: auto; /* Adjust width for smaller screens */
    top: 300px; /* Adjust top spacing for smaller screens */
    left: 21%; /* Adjust left spacing for smaller screens */
    right: 5%; /* Adjust right spacing for smaller screens */
    
    padding: 15px; /* Slightly more padding than 360px */
  }

  .timeline-tabs {
    flex-direction: column; /* Stack tabs vertically */

    align-items: center;
  
  }

  .timeline-tab-button {
    width: 100%; /* Full-width buttons */
    margin-bottom: 10px; /* Space between stacked buttons */
    font-size: 14px; /* Smaller font size for buttons */
    padding: 8px 15px; /* Smaller padding */
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  }

  /* Active tab button styles for smaller screens */
  .timeline-tab-button.active {
    background: rgba(0, 123, 255, 1);
    transform: scale(1.03); /* Subtle scaling effect */
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.7);
  }

  /* Hover effect for tab buttons on smaller screens */
  .timeline-tab-button:hover {
    background: rgba(0, 123, 255, 1);
    transform: scale(1.03); /* Subtle scaling effect */
    box-shadow: 0 0 15px rgba(0, 123, 255, 1);
  }

  .timeline-content {
    margin-left: 20px; /* Reduce margin for smaller screens */
    padding: 10px; /* Reduce padding */
  }

  .timeline-content h3 {
    font-size: 16px; /* Smaller heading size */
  }

  .timeline-content p {
    font-size: 14px; /* Smaller text size */
  }

  .timeline::before {
    left: 5px; /* Adjust timeline line position */
  }

  .timeline-item::before {
    left: 3px; /* Adjust dot position */
  }
}

