/* Modern Journey Roadmap Styles */

.modern-journey-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 0;
}

/* Progress Bar */
.journey-progress-bar {
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 4px;
  z-index: 0;
}

.progress-track {
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, var(--dentist-blue), var(--dentist-light-blue));
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(33, 147, 176, 0.2);
}

/* Journey Cards Container */
.journey-cards-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* Journey Card */
.journey-card {
  position: relative;
  display: flex;
  border-radius: 16px;
  background: white;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.journey-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Marker */
.journey-marker {
  position: relative;
  width: 80px;
  display: flex;
  justify-content: center;
}

.marker-dot {
  position: absolute;
  top: 30px;
  width: 24px;
  height: 24px;
  background: white;
  border: 3px solid var(--dentist-blue);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(33, 147, 176, 0.1);
  transition: all 0.3s ease;
}

.journey-card:hover .marker-dot {
  transform: scale(1.2);
  background: var(--dentist-blue);
}

.marker-line {
  position: absolute;
  top: 42px;
  bottom: 0;
  width: 4px;
  background: var(--background-light);
  z-index: 1;
}

/* Content Section */
.journey-content {
  flex: 1;
  padding: 25px 30px;
}

.journey-stage {
  display: inline-block;
  padding: 4px 10px;
  background: var(--dentist-light-blue);
  color: var(--dentist-blue);
  border-radius: 20px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.journey-card h3 {
  font-size: var(--font-size-lg);
  color: var(--dentist-blue);
  margin-bottom: 20px;
  font-weight: 600;
}

/* Tasks */
.journey-tasks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}

.task-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.task-icon {
  color: var(--dentist-blue);
  padding-top: 2px;
}

.task-text {
  color: var(--text-gray);
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

/* Card Accent Colors - Adding variety */
.journey-card[data-stage="1"] .marker-dot {
  border-color: #2193b0;
}
.journey-card[data-stage="1"] .journey-stage {
  background: rgba(33, 147, 176, 0.1);
}

.journey-card[data-stage="2"] .marker-dot {
  border-color: #6dd5ed;
}
.journey-card[data-stage="2"] .journey-stage {
  background: rgba(109, 213, 237, 0.1);
}

.journey-card[data-stage="3"] .marker-dot {
  border-color: #ff7e5f;
}
.journey-card[data-stage="3"] .journey-stage {
  background: rgba(255, 126, 95, 0.1);
  color: #ff7e5f;
}

.journey-card[data-stage="4"] .marker-dot {
  border-color: #feb47b;
}
.journey-card[data-stage="4"] .journey-stage {
  background: rgba(254, 180, 123, 0.1);
  color: #feb47b;
}

.journey-card[data-stage="5"] .marker-dot {
  border-color: #7f7fd5;
}
.journey-card[data-stage="5"] .journey-stage {
  background: rgba(127, 127, 213, 0.1);
  color: #7f7fd5;
}

.journey-card[data-stage="6"] .marker-dot {
  border-color: #91eae4;
}
.journey-card[data-stage="6"] .journey-stage {
  background: rgba(145, 234, 228, 0.1);
  color: #5ccecc;
}

.journey-card[data-stage="7"] .marker-dot {
  border-color: #43cea2;
}
.journey-card[data-stage="7"] .journey-stage {
  background: rgba(67, 206, 162, 0.1);
  color: #43cea2;
}

/* Responsive Design */
@media (max-width: 992px) {
  .journey-marker {
    width: 60px;
  }
  
  .marker-dot {
    left: 18px;
  }
  
  .journey-content {
    padding: 20px;
  }
  
  .journey-tasks {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .journey-progress-bar {
    left: 30px;
  }
  
  .journey-marker {
    width: 60px;
  }
  
  .marker-dot {
    width: 20px;
    height: 20px;
    top: 25px;
  }
  
  .journey-content {
    padding: 15px;
  }
  
  .journey-card h3 {
    font-size: var(--font-size-md);
  }
}

@media (max-width: 576px) {
  .journey-progress-bar {
    left: 20px;
  }
  
  .journey-marker {
    width: 40px;
  }
  
  .marker-dot {
    left: 8px;
  }
  
  .journey-content {
    padding: 12px;
  }
  
  .journey-stage {
    font-size: 10px;
  }
}