.org-chart-section {
    padding: 60px 0;
    background-color: #f0f8ff;
    position: relative;
    overflow: hidden;
}

.org-chart-background {
    position: absolute;
    background-position: center;
    background-repeat: no-repeat;
    width:100rem;
    margin-top:-5rem;
    margin-left:-45px;
    /* left: 14%; */
    z-index: 0;
}
.heading{
    color:#1C2B78;
}
.org-chart-section .container {
    position: relative;
    z-index: 1;
}

.org-tree {
    display: flex;
    justify-content: center;
    padding-top: 30px;
}

.org-tree ul {
    padding: 20px 0;
    position: relative;
    transition: all 0.5s;
    list-style-type: none;
}

.org-tree li {
    float: left;
    text-align: center;
    list-style-type: none;
    position: relative;
    padding: 20px 5px 0 5px;
    transition: all 0.5s;
}

.org-tree li::before, .org-tree li::after {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    border-top: 2px solid #ccc;
    width: 50%;
    height: 20px;
}

.org-tree li::after {
    right: auto;
    left: 50%;
    border-left: 2px solid #ccc;
}

.org-tree li:only-child::after, .org-tree li:only-child::before {
    display: none;
}

.org-tree li:only-child {
    padding-top: 0;
}

.org-tree li:first-child::before, .org-tree li:last-child::after {
    border: 0 none;
}

.org-tree li:last-child::before {
    border-right: 2px solid #ccc;
    border-radius: 0 5px 0 0;
}

.org-tree li:first-child::after {
    border-radius: 5px 0 0 0;
}

.org-tree ul ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 2px solid #ccc;
    width: 0;
    height: 20px;
}

.team-card {
    display: inline-block;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 200px;
    padding: 20px;
    margin-bottom: 20px;
}

.team-member {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #007bff;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.25);
}

.team-member img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info h4, .member-info h5, .member-info h6 {
    margin: 5px 0;
    color: #333;
    font-weight: 600;
}

.member-info p {
    color: #666;
    font-size: 0.9em;
    margin: 0;
}

/* Animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.team-card {
    animation: fadeInScale 0.5s ease forwards;
    opacity: 0;
}

.org-tree li:nth-child(1) .team-card { animation-delay: 0.1s; }
.org-tree li:nth-child(2) .team-card { animation-delay: 0.2s; }
.org-tree li:nth-child(3) .team-card { animation-delay: 0.3s; }
.org-tree li:nth-child(4) .team-card { animation-delay: 0.4s; }

/* Hover effects */
.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.team-member {
    transition: all 0.3s ease;
}

.team-card:hover .team-member {
    transform: scale(1.05);
}

/* Branch animations */
@keyframes drawBranch {
    from {
        height: 0;
    }
    to {
        height: 20px;
    }
}

.org-tree li::before, .org-tree li::after, .org-tree ul ul::before {
    animation: drawBranch 0.5s ease forwards;
}

.org-tree li:nth-child(1)::before, .org-tree li:nth-child(1)::after { animation-delay: 0.5s; }
.org-tree li:nth-child(2)::before, .org-tree li:nth-child(2)::after { animation-delay: 0.6s; }
.org-tree li:nth-child(3)::before, .org-tree li:nth-child(3)::after { animation-delay: 0.7s; }
.org-tree li:nth-child(4)::before, .org-tree li:nth-child(4)::after { animation-delay: 0.8s; }