:root {
    --orange-color: #FF8C1A;
    --peach-color: #FFB380;
    --green-color: #9AE24C;
    --blue-color: #00CCFF;
    --cyan-color: #45D6D6;
    --brown-color: #C28B00;
}
.org-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
/*    margin-bottom: 40px;*/
    color: #2c3e50;
}

.org-container {
    max-width: 1400px;
    margin: 0 auto;
}

.org-tree {
    position: relative;
}

.level {
    display: flex;
    justify-content: center;
/*    margin-bottom: 30px;*/
    flex-wrap: wrap;
}

.org-card {
    border-radius: 10px;
    padding: 15px 25px;
    margin: 0 15px 15px;
    color: white;
    position: relative;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.org-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.org-card.orange {
    background-color: var(--orange-color);
}

.org-card.peach {
    background-color: var(--peach-color);
    margin-left: 200px;
}

.org-card.green {
    background-color: var(--green-color);
}

.org-card.blue {
    background-color: var(--blue-color);
}

.org-card.cyan {
    background-color: var(--cyan-color);
}

.org-card.brown {
    background-color: var(--brown-color);
}

.card-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.card-title {
    font-size: 0.9rem;
    opacity: 0.9;
}

.expand-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.expand-icon:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.connector {
    position: relative;
}
.connector1 {
    position: relative;
}
.vertical-line {
    position: absolute;
    width: 2px;
    background-color: #ccd2d8;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.top-line {
    top: -14px;
    height: 30px;
    left: 50px;
}
.top-line1 {
    top: -14px;
    height: 30px;
    left: 90px;
}
.bottom-line {
    bottom: 0;
    height: 30px;
}
.bottom-line1 {
    bottom: 64px;
    height: 30px;
    left: 550px;
}

.horizontal-line {
    position: absolute;
    height: 2px;
    background-color: #ccd2d8;
    top: -14px;
    left: 50%;
    transform: translateX(10%);
    z-index: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .level-1 {
        flex-direction: column;
        align-items: center;
    }
    
    .horizontal-line.top-wide {
        width: 2px !important;
        height: 30px;
        top: -30px;
    }
    .connector1 {
        display: none;
    }
}

@media (max-width: 768px) {
    .level-3 {
        flex-direction: column;
        align-items: center;
    }
    
    .horizontal-line.bottom-wide {
        width: 2px !important;
        height: 30px;
    }
    
    .org-card {
        min-width: 80%;
        max-width: 300px;
    }
}
/**/
:root {
  --main-color: #007acc;
  --line-color: #cccccc;
}
.org-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.org-level {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
/*      margin: 40px 0;*/
}

/*.org-level::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  width: 2px;
  height: 20px;
  background-color: var(--line-color);
  transform: translateX(-50%);
}*/

.org-level:first-child::before {
  display: none;
}

.org-card {
  background: white;
  border: 2px solid var(--main-color);
  border-radius: 12px;
  box-shadow: 5px 5px 0 var(--main-color);
  padding: 15px 10px;
  width: 160px;
  margin: 10px 20px;
  text-align: center;
  position: relative;
  transition: transform 0.2s;
  z-index: 1;
}

.org-card:hover {
  transform: translateY(-4px);
}

.org-card img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 10px;
}

.org-title {
  font-size: 0.95rem;
  font-weight: bold;
  color: #333;
}

/* Vertical line from parent to each child */
/*.org-card::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  width: 2px;
  height: 20px;
  background-color: var(--line-color);
  transform: translateX(-50%);
}*/

/* Horizontal connector between siblings */
/*.org-level.with-lines::after {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background-color: var(--line-color);
  z-index: 0;
}*/

@media (max-width: 768px) {
  .org-level {
    flex-direction: column;
  }

  .org-level.with-lines::after,
  .org-card::before {
    display: none;
  }
  .org-card.peach {
    margin-left: 0px;
    }
}