/* =====================================================
   TIMELINE SECTION - MODERN CENTERED INTERACTIVE SHOWCASE
   Zero Box-Shadows - Swiss Clean Aesthetics
===================================================== */

.ibr-timeline {
  padding: 85px 0;
  background: #ffffff;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #334155;
  border-top: none;
  border-bottom: none;
  position: relative;
}

.ibr-timeline__container {
  width: min(1040px, 92vw);
  margin: 0 auto;
}

/* Centered Header */
.ibr-timeline__header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}

.ibr-timeline__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(10, 100, 196, 0.08);
  border: 1px solid rgba(10, 100, 196, 0.18);
  color: #0a64c4;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ibr-timeline__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0a64c4;
}

.ibr-timeline__title {
  font-size: clamp(28px, 3.3vw, 38px);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
  margin: 0 0 14px;
  letter-spacing: -0.03em;
}

.ibr-timeline__title span {
  background: linear-gradient(135deg, #0a64c4 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ibr-timeline__subtitle {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Centered Year Stepper Tabs */
.ibr-timeline__stepper {
  position: relative;
  max-width: 720px;
  margin: 0 auto 36px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ibr-timeline__stepper-track {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  overflow-x: auto;
  padding: 4px;
  -webkit-overflow-scrolling: touch;
}

.ibr-timeline__stepper-line {
  position: absolute;
  top: 50%;
  left: 30px;
  right: 30px;
  height: 2px;
  background: #e2e8f0;
  transform: translateY(-50%);
  z-index: 1;
}

/* Step Tab Button */
.ibr-step-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  transition: all 0.2s ease;
}

.ibr-step-tab__year {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 3px 12px;
  border-radius: 100px;
  transition: all 0.2s ease;
}

.ibr-step-tab__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid #cbd5e1;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.ibr-step-tab:hover .ibr-step-tab__year {
  color: #0a64c4;
  border-color: #93c5fd;
}

.ibr-step-tab.is-active .ibr-step-tab__year {
  color: #ffffff;
  background: #0a64c4;
  border-color: #0a64c4;
}

.ibr-step-tab.is-active .ibr-step-tab__dot {
  border-color: #0a64c4;
  background: #0a64c4;
  transform: scale(1.25);
}

/* Centered Card Display Frame */
.ibr-timeline__center-frame {
  max-width: 680px;
  margin: 0 auto 28px;
  min-height: 180px;
}

/* Individual Centered Card */
.ibr-timeline__center-card {
  display: none;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 18px;
  padding: 28px 32px;
  box-sizing: border-box;
}

.ibr-timeline__center-card.is-active {
  display: block;
  animation: ibrCardFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes ibrCardFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.ibr-timeline__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.ibr-timeline__tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #64748b;
  background: #f1f5f9;
  padding: 3px 10px;
  border-radius: 5px;
  text-transform: uppercase;
}

.ibr-timeline__tag--active {
  color: #059669;
  background: #d1fae5;
}

.ibr-timeline__metric {
  font-size: 12px;
  font-weight: 600;
  color: #0a64c4;
}

.ibr-timeline__metric--active {
  color: #059669;
}

.ibr-timeline__center-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 10px;
  line-height: 1.35;
}

.ibr-timeline__center-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Centered Controls */
.ibr-timeline__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.ibr-timeline__ctrl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: #334155;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 7px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ibr-timeline__ctrl-btn:hover {
  background: #0a64c4;
  border-color: #0a64c4;
  color: #ffffff;
}

.ibr-timeline__step-indicator {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.08em;
}

/* Responsive */
@media (max-width: 640px) {
  .ibr-timeline__center-card {
    padding: 22px 20px;
  }

  .ibr-timeline__stepper-line {
    display: none;
  }
}

/* VISIBLE 6-STEP ALUR PENGERJAAN GRID */
.ibr-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

@media (max-width: 992px) {
  .ibr-flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ibr-flow-grid {
    grid-template-columns: 1fr;
  }
}

.ibr-flow-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.ibr-flow-card:hover {
  background: #ffffff;
  border-color: #0a64c4;
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(10, 100, 196, 0.08);
}

.ibr-flow-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.ibr-flow-card__number {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #0a64c4 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ibr-flow-card__tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #0a64c4;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 3px 9px;
  border-radius: 6px;
  text-transform: uppercase;
}

.ibr-flow-card__title {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px;
  line-height: 1.35;
}

.ibr-flow-card__desc {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}
