

.exec-container {
    max-width: 1100px;
    margin: 0 auto;
}

/*h1 {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 400;
    margin-bottom: 60px;
    color: #111827;
}*/

/* Main flex container */
.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* Director section */
.director-level {
    text-align: center;
}

/* Horizontal bar + branches */
.branches-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    padding: 60px 20px 20px;
}

    /* Horizontal connector under Director */
    .branches-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 10%;
        right: 10%;
        height: 2px;
        background: #9ca3af;
    }

    .branches-wrapper::after {
        content: '';
        position: absolute;
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 80px;
        background: #9ca3af;
    }

    /* Arrowheads on horizontal line */
    .branches-wrapper::before::before,
    .branches-wrapper::before::after {
        content: '';
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
    }

    .branches-wrapper::before::before {
        left: 0;
        border-right: 10px solid #9ca3af;
    }

    .branches-wrapper::before::after {
        right: 0;
        border-left: 10px solid #9ca3af;
    }

    /* Arrowhead on vertical from Director */
    .branches-wrapper::after::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 9px solid transparent;
        border-right: 9px solid transparent;
        border-top: 11px solid #9ca3af;
    }

/* Each branch column */
.branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 240px;
    position: relative;
    padding-top: 40px; /* space for vertical line connection */
}

    .branch::before {
        content: '';
        position: absolute;
        top: 0;
        width: 2px;
        height: 40px;
        background: #9ca3af;
    }

.branch-label {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1e40af;
    background: rgba(59, 130, 246, 0.1);
    padding: 8px 24px;
    border-radius: 999px;
    margin-bottom: 24px;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

/* Person card */
.person {
    background: white;
    border-radius: 16px;
    padding: 24px 20px;
    width: 220px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
    z-index: 2;
}

    .person:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 45px rgba(0,0,0,0.13);
    }

.photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #002147;
    margin-bottom: 16px;
    background: #e5e7eb;
}
.Deputy_Director {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #002147;
    margin-bottom: 16px;
    background: #e5e7eb;
}

.name {
    font-size: 1.18rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #111827;
}

.designation {
    font-size: 0.95rem;
    color: #4b5563;
/*    font-style: italic;*/
}

/* Vertical connector from Deputy to Programmer(s) */
.connector-v {
    width: 2px;
    background: #9ca3af;
    height: 50px;
    margin: 20px 0;
    position: relative;
}

    .connector-v::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 10px solid #9ca3af;
    }

/* Programmer row */
.programmers {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 900px) {
    .branches-wrapper {
        flex-direction: column;
        gap: 80px;
        padding-top: 100px;
    }

        .branches-wrapper::before,
        .branches-wrapper::after {
            display: none;
        }

    .branch::before {
        height: 60px;
    }
}
