body {
  font-family: Arial, sans-serif;
  background-color: #f8f9fa;
}

.nav-link.active {
  background-color: #0d6efd !important;
  border-radius: 6px;
}

.card {
  border-radius: 12px;
}

.offcanvas {
  background-color: #2c3e50 !important;
}

.offcanvas-title {
  color: #fff;
}
/* Timeline container */
.timeline {
  position: relative;
  margin: 50px 0;
  padding: 0;
}

/* Garis vertikal di tengah */
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #007bff;
  transform: translateX(-50%);
}

/* Item */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
}

/* Titik di garis */
.timeline-item::before {
  content: "";
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  background: #007bff;
  border-radius: 50%;
  z-index: 1;
}

/* Posisi kiri dan kanan */
.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.left::before {
  right: -10px;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

.timeline-item.right::before {
  left: -10px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .timeline-item {
    width: 100%;
    padding: 20px 40px;
  }

  /* tetap biarkan garis di tengah */
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }

  /* Titik tetap di tengah */
  .timeline-item::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline-item.left,
  .timeline-item.right {
    text-align: center;
    left: 0;
  }
}

/* ===== GENERAL SIDEBAR STYLE ===== */
.sidebar {
    width: 240px;
    min-height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: #fff;
    z-index: 1050;
    transition: all 0.3s ease;
}

.nav-link {
    color: #333;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 15px;
}

.nav-link:hover {
    background: #f2f6ff;
    color: #0d6efd;
}

.active-link {
    color: #0d6efd !important;
    font-weight: bold;
}

/* ===== MAIN CONTENT ADJUSTMENT DESKTOP ===== */
.main-content {
    margin-left: 240px;
    padding-top: 5px;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 991px) {

    /* Sidebar hidden on mobile */
    .sidebar {
        left: -260px;
    }

    /* Visible when active */
    .sidebar.active {
        left: 0;
    }

    /* Content full width on mobile */
    .main-content {
        margin-left: 0;
        padding-top: 10px;
    }
}

/* Ensure navbar doesn't overlap content */
@media (max-width: 991px) {
    body {
        padding-top: 5px;
    }
}

/* Alur Page */
.timeline {
  position: relative;
  padding: 2rem 0;
  margin-top: 2rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: #0d6efd;
  opacity: 0.2;
}
.timeline-step {
  position: relative;
  margin: 2rem 0;
}
.timeline-step .circle {
  width: 24px;
  height: 24px;
  background: #0d6efd;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(13, 110, 253, 0.4);
}
.timeline-step .card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.timeline-step.left .card {
  margin-right: auto;
  margin-left: 0;
  max-width: 45%;
}
.timeline-step.right .card {
  margin-left: auto;
  margin-right: 0;
  max-width: 45%;
}

@media (max-width: 992px) {
  .timeline::before {
    left: 10px;
  }
  .timeline-step .circle {
    left: 10px;
    transform: translateY(-50%);
  }
  .timeline-step .card {
    max-width: 100%;
    margin-left: 2.5rem;
  }
}

