.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px 100px;
  position: relative;
  background: #fafafa;
  gap: 40px;
}

.org-level {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}

.org-level:not(:first-child)::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 20px;
  background-color: #b30000;
  z-index: 0;
}

.org-branch {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  position: relative;
  padding-top: 20px;
}

.org-branch::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background-color: #b30000;
  z-index: 0;
}

.org-node {
 text-align: center;
  margin: 20px;
  max-width: 180px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: transparent; /* pastikan tidak ada background putih */
  outline: none;
}
.org-node:focus {
  outline: none;
}
.org-node:hover {
  transform: translateY(-5px);

}

.org-node img {
  width: 100%;
  max-width: 130px;
  height: auto;
  border-radius: 50%;
  border: 4px solid #c10000;
  box-shadow: 0 6px 10px rgba(0,0,0,0.2);
  object-fit: cover;
}

.org-node h3 {
  margin-top: 12px;
  margin-bottom: 6px;
  font-size: 1.1em;
  font-weight: bold;
  color: #b30000;
}

.org-node p {
  font-size: 0.9em;
  color: #555;
}

/* Responsive tweaks */
@media screen and (max-width: 768px) {
  .org-node {
    max-width: 140px;
  }

  .org-node img {
    max-width: 100px;
  }

  .org-branch {
    gap: 24px;
  }
}
.section h2 {
  text-align: center;
  font-size: 1.8em;
  margin-bottom: 30px;
  color: #b30000;
}
