.elementor-357 .elementor-element.elementor-element-efbc504{--display:flex;}/* Start custom CSS for html, class: .elementor-element-8bb9fc0 */@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&amp;display=swap');

body {
  font-family: 'Poppins', sans-serif;
  background: #f5f7fa;
  margin: 0;
  padding: 0;
}

/* ====== WRAPPER ====== */
.urban-timeline {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 30px;
  text-align: center;
}

.urban-timeline h2 {
  font-size: 36px;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.urban-timeline p.subtitle {
  color: #555;
  font-size: 16px;
  margin-bottom: 50px;
}

/* ====== TIMELINE CONTAINER ====== */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 60px;
  position: relative;
}

/* Garis tengah vertikal */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #e54242, #000);
  border-radius: 4px;
  z-index: 0;
}

/* ====== ITEM ====== */
.timeline-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 40px;
  flex-wrap: wrap;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

/* Titik di garis */
.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #e54242;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  z-index: 1; /* biar di atas garis tapi di bawah card */
}

/* ====== CONTENT BOX ====== */
.timeline-content {
  flex: 1;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 2;
}
.timeline-content p {
  color: #555;
  font-size: 15px;
  line-height: 1.8;

  text-align: justify;
  text-justify: inter-word;
}

/* Tambah jarak biar gak nutupin titik */
.timeline-item:nth-child(even) .timeline-content {
  margin-left: 60px;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 60px;
}

.timeline-content:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.timeline-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: #e54242;
  margin-bottom: 10px;
}

.timeline-content p {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

/* ====== IMAGE BOX ====== */
.timeline-img {
  flex: 1;
  text-align: center;
}

.timeline-img img {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.timeline-img img:hover {
  transform: scale(1.05);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .timeline::before {
    left: 8px;
  }

  .timeline-item {
    flex-direction: column !important;
    align-items: flex-start;
  }

  .timeline-item::before {
    left: 0;
    transform: translateX(0);
  }

  .timeline-content, .timeline-img {
    width: 100%;
    margin: 0 !important; /* reset margin di mobile */
  }

  .timeline-content {
    text-align: left;
  }
}/* End custom CSS */