/* WRAPPER — IMPORTANT */
.process-tree-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  padding: 40px 0;
}

/* TREE CONTAINER */
.process-tree {
  position: relative;
  display: flex;
  align-items: center;
  gap: 140px;

  min-width: 1800px;   /* 🔥 MOST IMPORTANT FIX */
  min-height: 360px;
}

/* PARALLEL COLUMN */
.tree-row {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* NODE CARD */
.tree-node {
  position: relative;
  z-index: 2;

  width: 260px;
  padding: 28px;
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(125, 211, 252, 0.18);
  backdrop-filter: blur(12px);

  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tree-node:hover {
  border-color: rgba(125, 211, 252, 0.6);
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.25);
}

/* TEXT */
.tree-node span {
  display: inline-block;
  margin-bottom: 6px;
  color: #7dd3fc;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}

.tree-node h3 {
  margin: 6px 0 4px;
  font-size: 1.1rem;
}

.tree-node p {
  margin-top: 6px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(229, 231, 235, 0.65);
}

/* SVG */
.tree-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* PATHS */
.tree-path {
  stroke: rgba(125, 211, 252, 0.25);
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

.tree-path.draw {
  animation: draw-line 0.8s ease forwards;
}

.tree-path.active {
  stroke: rgba(125, 211, 252, 0.95);
  stroke-width: 2;
  stroke-dashoffset: 0;
}

.tree-path.dashed {
  stroke-dasharray: 6 6;
  opacity: 0.5;
}

@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}

.process-header {
  max-width: 720px;
  margin-bottom: 60px;
}

.process-header h2 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.process-header p {
  font-size: 1.05rem;
  color: rgba(229, 231, 235, 0.65);
  line-height: 1.6;
}
