.ptr-process-timeline *,
.ptr-process-timeline *::before,
.ptr-process-timeline *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.ptr-process-timeline {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 40px 20px;
}

/* Horizontal dashed connector line - desktop */
.ptr-process-timeline::before {
  content: '';
  position: absolute;
  top: 85px;
  left: 110px;
  right: 110px;
  height: 1.5px;
  background: repeating-linear-gradient(90deg,
      #6b1c3a 0px,
      #6b1c3a 8px,
      transparent 8px,
      transparent 16px);
  opacity: 0.4;
}

.ptr-timeline-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.ptr-step-badge {
  position: relative;
  z-index: 2;
}

/* Hexagon shape */
.ptr-step-number {
  width: 90px;
  height: 52px;
  background: linear-gradient(135deg, #6b1c3a 0%, #8b2a4a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.ptr-timeline-step:hover .ptr-step-number {
  transform: scale(1.05) translateY(-3px);
  filter: brightness(1.1);
}

.ptr-step-content {
  margin-top: 30px;
  text-align: center;
  background: #ffffff;
  padding: 26px 22px;
  border-radius: 8px;
  border: 1px solid rgba(107, 28, 58, 0.1);
  box-shadow: 0 4px 20px rgba(107, 28, 58, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  width: 100%;
  position: relative;
}

/* Corner accents - top left */
.ptr-step-content::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 22px;
  height: 22px;
  border-top: 2px solid #6b1c3a;
  border-left: 2px solid #6b1c3a;
  opacity: 0.35;
  transition: opacity 0.3s ease, width 0.3s ease, height 0.3s ease;
  pointer-events: none;
}

/* Corner accents - bottom right */
.ptr-step-content::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 22px;
  height: 22px;
  border-bottom: 2px solid #6b1c3a;
  border-right: 2px solid #6b1c3a;
  opacity: 0.35;
  transition: opacity 0.3s ease, width 0.3s ease, height 0.3s ease;
  pointer-events: none;
}

.ptr-timeline-step:hover .ptr-step-content::before,
.ptr-timeline-step:hover .ptr-step-content::after {
  opacity: 0.7;
  width: 30px;
  height: 30px;
}

.ptr-timeline-step:hover .ptr-step-content {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(107, 28, 58, 0.12);
}

.ptr-time-badge {
  display: inline-block;
  color: #6b1c3a;
  padding: 4px 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.8;
}

.ptr-step-title {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.15rem;
  color: #6b1c3a;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.ptr-step-description {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.88rem;
  color: #666666;
  line-height: 1.65;
  font-weight: 400;
  margin: 0;
}

/* Step image styling */
.ptr-step-image {
  margin: 14px 0;
  border-radius: 6px;
  overflow: hidden;
}

.ptr-step-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* List styling in description - FIXED FOR FRONT-END DISPLAY */
.ptr-step-description ul,
.ptr-step-description ol {
  margin: 12px 0;
  padding-left: 24px;
  text-align: left;
  list-style-position: inside;
}

.ptr-step-description ul {
  list-style-type: disc;
}

.ptr-step-description ol {
  list-style-type: decimal;
}

.ptr-step-description li {
  margin-bottom: 8px;
  line-height: 1.65;
  text-align: left;
}

.ptr-step-description p {
  margin: 0 0 12px 0;
}

.ptr-step-description p:last-child {
  margin-bottom: 0;
}

/* Responsive - Tablet */
@media (max-width: 900px) {
  .ptr-process-timeline {
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }

  .ptr-process-timeline::before {
    display: none;
  }

  .ptr-timeline-step {
    flex: 0 0 calc(50% - 15px);
  }
}

/* Responsive - Mobile */
@media (max-width: 600px) {
  .ptr-process-timeline {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 20px 30px 65px;
    gap: 0;
  }

  /* Vertical dashed line for mobile */
  .ptr-process-timeline::before {
    display: block;
    top: 30px;
    bottom: 30px;
    left: 35px;
    right: auto;
    width: 1.5px;
    height: auto;
    background: repeating-linear-gradient(180deg,
        #6b1c3a 0px,
        #6b1c3a 8px,
        transparent 8px,
        transparent 16px);
    opacity: 0.4;
  }

  .ptr-timeline-step {
    flex: none;
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 30px;
    position: relative;
  }

  .ptr-timeline-step:last-child {
    padding-bottom: 0;
  }

  .ptr-step-badge {
    flex-shrink: 0;
    position: relative;
    left: -45px;
  }

  .ptr-step-number {
    width: 70px;
    height: 42px;
    font-size: 0.72rem;
  }

  .ptr-step-content {
    margin-top: 0;
    text-align: left;
    padding: 20px 18px;
    flex: 1;
  }

  .ptr-time-badge {
    font-size: 0.7rem;
    margin-bottom: 10px;
  }

  .ptr-step-title {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }

  .ptr-step-description {
    font-size: 0.84rem;
    line-height: 1.6;
  }
}

/* Extra small screens */
@media (max-width: 400px) {
  .ptr-process-timeline {
    padding: 20px 15px 20px 55px;
  }

  .ptr-process-timeline::before {
    left: 28px;
  }

  .ptr-step-badge {
    left: -40px;
  }

  .ptr-step-number {
    width: 62px;
    height: 38px;
    font-size: 0.68rem;
  }

  .ptr-step-content {
    padding: 16px 14px;
  }
}