/* SNC Milestone Timeline - Advanced Design */
.snc-timeline {
  position: relative;
  max-width: 900px;
  margin: 40px auto;
  padding: 20px 0;
}

.snc-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #d72e34, #ffc90d);
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(215, 46, 52, 0.3);
  z-index: 1;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
  display: flex;
  flex-direction: column;
}

.timeline-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-badge {
  position: absolute;
  top: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffc90d, #d72e34);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 24px;
  color: white;
  box-shadow: 0 10px 30px rgba(255, 201, 13, 0.4);
  border: 4px solid white;
  z-index: 2;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-item:nth-child(odd) .timeline-badge {
  right: -30px;
}

.timeline-item:nth-child(even) .timeline-badge {
  left: -30px;
}

.timeline-item:hover .timeline-badge {
  transform: scale(1.2) rotate(360deg);
  box-shadow: 0 20px 40px rgba(255, 201, 13, 0.6);
}

.milestone-year {
  font-size: 18px;
  font-weight: 800;
  color: #d72e34;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.milestone-title {
  font-size: 22px;
  font-weight: 700;
  color: #212529;
  margin-bottom: 12px;
  line-height: 1.3;
}

.milestone-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 0;
}

.timeline-icon {
  position: absolute;
  font-size: 28px;
  color: #ffc90d;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-icon {
  left: -40px;
}

.timeline-item:nth-child(even) .timeline-icon {
  right: -40px;
}

.timeline-item:hover .timeline-icon {
  opacity: 1;
  transform: translateY(-50%) scale(1.2);
}

.timeline-item:nth-child(1) .timeline-icon { content: "\\f015"; }
.timeline-item:nth-child(2) .timeline-icon { content: "\\f0c1"; }
.timeline-item:nth-child(3) .timeline-icon { content: "\\f085"; }
.timeline-item:nth-child(4) .timeline-icon { content: "\\f1eb"; }
.timeline-item:nth-child(5) .timeline-icon { content: "\\f0ae"; }
.timeline-item:nth-child(6) .timeline-icon { content: "\\f0e7"; }

@media (max-width: 991px) {
  .snc-timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    width: calc(100% - 80px);
    left: 60px !important;
    text-align: left !important;
    padding: 20px 20px 20px 60px;
  }
  
  .timeline-badge {
    left: 10px !important;
    right: auto !important;
  }
  
  .timeline-icon {
    left: 5px !important;
    right: auto !important;
  }
}

.milestone-intro {
  text-align: center;
  margin-bottom: 60px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(215,46,52,0.05), rgba(255,201,13,0.05));
  border-radius: 20px;
  border: 2px dashed #ffc90d40;
}

@media (max-width: 767px) {
  .timeline-item {
    padding: 15px 15px 15px 50px !important;
  }
  
  .snc-timeline::before {
    left: 25px;
  }
  
  .timeline-badge {
    left: 5px !important;
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

