/* ==========================================
   DELIVERY PROCESS TIMELINE - CSS STYLES
   ========================================== */

.delivery-process-section {
  background-color: var(--dt-bg-light);
}

.timeline-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

/* Vertical center line */
.timeline-bar {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--dt-purple) 0%, var(--dt-blue) 100%);
  transform: translateX(-50%);
  border-radius: 2px;
  z-index: 1;
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  position: relative;
  margin-bottom: 50px;
  width: 50%;
  z-index: 2;
}

/* Odd items aligned left */
.timeline-item:nth-child(even) {
  align-self: flex-start;
  justify-content: flex-end;
  margin-left: 0;
  padding-right: 40px;
}

/* Even items aligned right */
.timeline-item:nth-child(odd) {
  align-self: flex-end;
  justify-content: flex-start;
  margin-left: 50%;
  padding-left: 40px;
}

/* Circular timeline index badge */
.timeline-dot {
  position: absolute;
  top: 15px;
  left: 50%;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--dt-purple) 0%, var(--dt-blue) 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  border: 4px solid var(--dt-bg-light);
  box-shadow: 0 4px 10px rgba(51, 12, 179, 0.3);
  z-index: 3;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: auto;
  right: -20px;
}

.timeline-item:nth-child(odd) .timeline-dot {
  left: -20px;
}

.timeline-content {
  width: 100%;
  border: 1px solid var(--dt-border-dark);
  background-color: var(--dt-bg-light);
  box-shadow: 0 10px 30px rgba(51, 12, 179, 0.03);
}

.timeline-item:hover .timeline-content {
  border-color: rgba(51, 12, 179, 0.3);
  box-shadow: 0 20px 40px rgba(51, 12, 179, 0.08);
}

.timeline-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dt-text-dark);
  margin-bottom: 10px;
}

.timeline-content p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--dt-text-dark-muted);
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .timeline-bar {
    left: 20px;
  }
  
  .timeline-item {
    width: 100% !important;
    margin-left: 0 !important;
    padding-left: 50px !important;
    padding-right: 0 !important;
    justify-content: flex-start !important;
  }
  
  .timeline-dot {
    left: 0 !important;
    right: auto !important;
  }
}
