.process-section {
  background: #f8fafc;
  position: relative;
}

/* Make container reference point for line */
.process-section .container {
  position: relative;
}

/* CENTER LINE */
.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;              /* FIXED: instead of height:100% */
  left: 50%;
  width: 3px;
  background: #e2e8f0;
  transform: translateX(-50%);
  z-index: 1;
}

.process-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
  border: 1px solid #f1f5f9;
  position: relative;
  z-index: 2;
}

.process-card:hover {
  transform: translateY(-6px);
}

.process-card h4 {
  font-weight: 700;
  margin-bottom: 15px;
}

.process-card p {
  color: #64748b;
  margin: 0;
}

.icon-box {
  width: 50px;
  height: 50px;
  background: rgba(13, 110, 253, 0.1);
  color: #4251C8;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 15px;
  font-size: 20px;
}

.step-number {
  width: 55px;
  height: 55px;
  background: #ffffff;
  border: 3px solid #4251C8;
  color: #4251C8;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: auto;
  box-shadow: 0 10px 25px rgba(13, 110, 253, 0.2);
  position: relative;
  z-index: 3;
}

.step-number.active {
  background: #4251C8;
  color: #fff;
  border-color: #ffffff;
}

/* =====================================================
   TABLET (768px – 991px)
   Keep Zigzag + Smaller UI
===================================================== */
@media (min-width: 768px) and (max-width: 991px) {

  /* Force columns to behave like lg */
  .process-step {
    display: flex;
    align-items: center;
  }

  .process-step .col-lg-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }

  .process-step .col-lg-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }

  /* Smaller card styling */
  .process-card {
    padding: 22px;
  }

  .process-card h4 {
    font-size: 18px;
  }

  .process-card p {
    font-size: 14px;
  }

  .icon-box {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .step-number {
    width: 45px;
    height: 45px;
    font-size: 14px;
  }
  
}

/* =====================================================
   MOBILE (Below 768px)
   Cards Only – No Line – No Numbers
===================================================== */
@media (max-width: 767px) {

  .timeline-line {
    display: none;
  }

  /* Hide number column completely */
  .process-step .col-lg-2 {
    display: none;
  }

  /* Stack cards full width */
  .process-step .col-lg-5 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* remove bootstrap bottom margin */
  .process-step {
    margin-bottom: 0 !important;
  }

  /* add equal spacing manually */
  .process-step + .process-step {
    margin-top: 25px;
  }

  /* Reset alignments */
  .text-lg-end {
    text-align: left !important;
  }

  .ms-lg-auto {
    margin-left: 0 !important;
  }
}