/* Timeline container */
.hta-vertical-timeline {
  position: relative;
  margin: 50px auto;
  padding: 20px 0;
  width: 90%;
  max-width: 1000px;
}

/* Vertical line */
.hta-vertical-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #800a0a, #6e0833);
}

/* Timeline item */
.hta-timeline-item {
  width: 50%;
  padding: 20px;
  position: relative;
}

/* Left side */
.hta-timeline-item.left {
  left: 0;
  text-align: left;
}

/* Right side */
.hta-timeline-item.right {
  left: 50%;
  text-align: left;
}

/* Content box */
.hta-content {
  background: #f1dce6;
  padding: 20px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Connector dots */
.hta-timeline-item::before {
  content: "";
  position: absolute;
  top: 30px;
  width: 20px;
  height: 20px;
  background: #5f0207;
  border-radius: 50%;
  border: 3px solid #fff;
  z-index: 1;
}

.hta-timeline-item.left::before {
  right: -10px;
}

.hta-timeline-item.right::before {
  left: -10px;
}

/* Headings */
.hta-content h3 {
  color: #6d0707;
  margin-bottom: 10px;
}

/* =============================== */
/* Responsive (stack on mobile)   */
/* =============================== */
@media (max-width: 768px) {
  .hta-vertical-timeline::before {
    left: 20px;
    transform: none;
  }
  .hta-timeline-item,
  .hta-timeline-item.left,
  .hta-timeline-item.right {
    width: 100%;
    padding-left: 60px;
    text-align: left;
    left: 0 !important;
  }
  .hta-timeline-item::before {
    left: 20px;
    right: auto;
  }
}

/* Extra small devices (phones) */
@media (max-width: 576px) {
  .hta-vertical-timeline {
    width: 95%;
    margin: 30px auto;
    padding: 10px 0;
  }
  .hta-content {
    padding: 15px;
    font-size: 0.9rem;
  }
  .hta-content h3 {
    font-size: 1rem;
  }
  .hta-timeline-item::before {
    width: 16px;
    height: 16px;
    top: 25px;
  }
}
