.company-journey {
  text-align: center;
  padding: 60px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.cards-wrapper {
  position: relative;
}

/* Dotted line connector */
.connector {
      position: absolute;
      top: 80px; /* adjust to align with icons */
      left: 0;
      width: 100%;
      height: 120px;
      z-index: 0;
    }

    .connector path {
      fill: none;
      stroke: #000;
      stroke-width: 3;
      stroke-dasharray: 6 8; /* dotted effect */
    }

.cards {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  flex: 1 1 250px;
  max-width: 300px;
  transition: transform 0.3s;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 80px;
  height: auto;
  margin-bottom: 15px;
}

hr {
  border: none;
  border-top: 2px solid #ddd;
  margin: 15px auto;
  width: 50%;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .line {
    left: 5%;
    right: 5%;
  }
}

@media (max-width: 768px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }
  .line {
    display: none; /* remove horizontal line */
  }
  /* vertical connector */
  .cards::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    border-left: 3px dashed #000;
    z-index: 0;
  }
  .card {
    max-width: 90%;
  }
}