.development-timeline-section {
  padding: 0px 0 80px;
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
}

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

.timeline-title {
  font-size: 48px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  margin-bottom: 60px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.timeline {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 60px 0 40px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  height: 4px;
  background: #005ca7;
}

.timeline-item {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 10px;
}

.timeline-dot {
  position: absolute;
  top: 38px;
  left: 50%;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 5px solid #005ca7;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 0 6px rgba(102, 126, 234, 0.3);
}

.timeline-content {
  background: #fff;
  border-radius: 16px;
  padding: 25px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
  margin-top: 30px;
  width: 100%;
}

.timeline-content:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.timeline-year {
  font-size: 28px;
  font-weight: bold;
  color: #005ca7;
  margin-bottom: 12px;
}

.timeline-desc {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  font-weight: 700;
  margin-bottom: 15px;
  margin-top: 10px;
  min-height: 78px;
}

@media (max-width: 768px) {
    .timeline-desc{
        min-height: auto;
    }
}

.timeline-image {
  width: 100%;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f5;
}

.timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.timeline-image:hover img {
  transform: scale(1.05);
}

@media screen and (max-width: 1200px) {
  .timeline-container {
    max-width: 1200px;
  }

  .timeline-year {
    font-size: 24px;
  }

  .timeline-desc {
    font-size: 13px;
  }

  .timeline-image {
    height: 130px;
  }
}

@media screen and (max-width: 1024px) {
  .timeline-title {
    font-size: 40px;
    margin-bottom: 50px;
  }

  .timeline {
    padding: 50px 0 30px 0;
  }

  .timeline::before {
    top: 35px;
  }

  .timeline-dot {
    top: 33px;
    width: 18px;
    height: 18px;
    border-width: 4px;
  }

  .timeline-content {
    padding: 20px 15px;
    margin-top: 25px;
  }

  .timeline-year {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .timeline-desc {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .timeline-image {
    height: 120px;
  }
}

@media screen and (max-width: 768px) {
  .development-timeline-section {
    padding: 60px 0;
  }

  .timeline-container {
    padding: 0 15px;
  }

  .timeline-title {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .timeline {
    flex-direction: column;
    gap: 30px;
    padding: 40px 0 20px 0;
  }

  .timeline::before {
    top: 0;
    left: 30px;
    right: auto;
    bottom: 0;
    width: 4px;
    height: auto;
  }

  .timeline-item {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 0 0 0 60px;
  }

  .timeline-dot {
    top: 50%;
    left: 30px;
    width: 16px;
    height: 16px;
    border-width: 4px;
    transform: translate(-50%, -50%);
  }

  .timeline-content {
    padding: 20px;
    margin-top: 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }

  .timeline-content:hover {
    transform: translateX(5px);
  }

  .timeline-year {
    font-size: 20px;
    margin-bottom: 0;
    min-width: 80px;
    flex-shrink: 0;
  }

  .timeline-desc {
    font-size: 13px;
    margin-bottom: 0;
    flex: 1;
  }

  .timeline-image {
    width: 120px;
    height: 120px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
}

@media screen and (max-width: 480px) {
  .development-timeline-section {
    padding: 40px 0;
  }

  .timeline-container {
    padding: 0 10px;
  }

  .timeline-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .timeline {
    padding: 30px 0 15px 0;
  }

  .timeline::before {
    left: 20px;
    width: 3px;
  }

  .timeline-item {
    padding: 0 0 0 50px;
  }

  .timeline-dot {
    left: 20px;
    width: 14px;
    height: 14px;
    border-width: 3px;
  }

  .timeline-content {
    padding: 15px;
    gap: 15px;
    flex-direction: column;
  }

  .timeline-content:hover {
    transform: none;
  }

  .timeline-year {
    font-size: 18px;
    min-width: 70px;
    margin-bottom: 10px;
  }

  .timeline-desc {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.5;
  }

  .timeline-image {
    width: auto;
    height: 100px;
  }

  .timeline-image img {
    width: auto;
    height: 100px;
    /* object-fit: contain; */
    transition: transform 0.3s ease;
  }
}
