/* ===== Roadmap Section ===== */
.learning-roadmap {
  width: 100%;
  background: linear-gradient(135deg, #141425, #1a1a2e);
  padding: 120px 40px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.roadmap-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 80px;
  max-width: 1200px;
  width: 100%;
}

.roadmap-card {
  flex: 1;
  background: linear-gradient(135deg, rgba(42, 42, 58, 0.8), rgba(42, 42, 58, 0.5));
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.2);
  transition: all 0.4s ease;
}

.roadmap-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.4);
}

.roadmap-card img {
  width: 100%;
  height: 200px;
  border-radius: 14px;
  object-fit: cover;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.roadmap-card img:hover {
  transform: scale(1.03);
}

.roadmap-card h2 {
  font-size: 26px;
  background: linear-gradient(45deg, #a855f7, #ec4899);
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.roadmap-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.roadmap-card button {
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, #a855f7, #9333ea);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.roadmap-card button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
  background: linear-gradient(90deg, #9333ea, #a855f7);
}

.roadmap-steps {
  flex: 1;
  position: relative;
  padding-right: 40px;
}

.roadmap-steps::before {
  content: '';
  position: absolute;
  right: 12px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, #a855f7, #ec4899);
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 50px;
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateX(5px);
}

.dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.6);
  flex-shrink: 0;
}

.text h3 {
  font-size: 18px;
  color: #e9d5ff;
  margin-bottom: 8px;
}

.text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .roadmap-container {
    flex-direction: column;
    align-items: center;
    gap: 60px;
  }

  .roadmap-steps::before {
    right: 50%;
    transform: translateX(50%);
  }

  .roadmap-card, .roadmap-steps {
    width: 100%;
    max-width: 500px;
  }
}

@media (max-width: 600px) {
  .roadmap-card img {
    height: 150px;
  }

  .roadmap-card h2 {
    font-size: 22px;
  }
}
