/* About Us Specific Styles */

body {
    background: #f8fafc;
}

.hero-section {
    background: linear-gradient(135deg, rgba(7, 21, 47, 0.95), rgba(29, 78, 216, 0.8));
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.hero-section h1 {
    color: #fff;
    letter-spacing: 0.03em;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.8) !important;
}

.hover-card {
    border-radius: 18px !important;
    overflow: hidden;
    background: linear-gradient(180deg, #111827, #0f172a) !important;
    border: 1px solid rgba(148, 163, 184, 0.15) !important;
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.13);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.hover-card:hover {
    transform: translateY(-6px);
    border-color: rgba(96, 165, 250, 0.6) !important;
}

.org-chart {
    display: flex;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(37, 99, 235, 0.04));
    border-radius: 24px;
}

.tree,
.tree ul,
.tree li {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.tree {
    margin: 0 auto;
    text-align: center;
}

.tree ul {
    display: flex;
    justify-content: center;
    padding-top: 20px;
}

.tree li {
    float: left;
    text-align: center;
    list-style-type: none;
    position: relative;
    padding: 20px 5px 0 5px;
}

.tree li::before,
.tree li::after {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    border-top: 2px solid #475569;
    width: 50%;
    height: 20px;
}

.tree li::after {
    right: auto;
    left: 50%;
    border-left: 2px solid #475569;
}

.tree li:only-child::after,
.tree li:only-child::before {
    display: none;
}

.tree li:only-child {
    padding-top: 0;
}

.tree li:first-child::before,
.tree li:last-child::after {
    border: 0 none;
}

.tree li:last-child::before {
    border-right: 2px solid #475569;
    border-radius: 0 5px 0 0;
}

.tree li:first-child::after {
    border-radius: 5px 0 0 0;
}

.tree ul ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 2px solid #475569;
    width: 0;
    height: 20px;
}

.member-card {
    display: inline-block;
    padding: 15px 20px;
    text-decoration: none;
    background: linear-gradient(135deg, #111827 0%, #0f172a 100%);
    color: #fff;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 14px;
    min-width: 180px;
    position: relative;
    transition: all 0.3s;
    box-shadow: 0 12px 18px rgba(15, 23, 42, 0.12);
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 24px rgba(37, 99, 235, 0.15);
    border-color: rgba(96, 165, 250, 0.6);
    z-index: 10;
}

.member-card img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 2px solid rgba(96, 165, 250, 0.9);
}

.member-card h6 {
    margin: 5px 0 2px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}

.member-card span {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.level-a .member-card {
    border-top: 4px solid #ef4444;
}

.level-b .member-card {
    border-top: 4px solid #f59e0b;
}

.level-c .member-card {
    border-top: 4px solid #10b981;
}

.level-d .member-card {
    border-top: 4px solid #3b82f6;
}

@media (max-width: 992px) {
    .tree ul {
        flex-direction: column;
        align-items: center;
        padding-top: 0;
    }

    .tree li {
        padding: 20px 0 0 0;
        width: 100%;
    }

    .tree li::before,
    .tree li::after,
    .tree ul ul::before {
        display: none;
    }

    .member-card {
        width: 80%;
        margin-bottom: 10px;
    }
}