/* Org Chart Section */
.org-chart-section {
    padding: 60px 0;
    background-color: #e6e6e6; /* Grey background matching screenshot */
    text-align: center;
}

.org-header {
    max-width: 800px;
    margin: 0 auto 40px;
}

.org-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.org-subtitle {
    font-size: 20px;
    color: #555;
    font-weight: 600;
}

.text-blue {
    color: #00A3E0;
}

/* Tree Diagram */
.org-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.tree-stem {
    width: 60px;
    height: 4px;
    background-color: #00A3E0;
    margin-bottom: 20px;
}

.tree-branches {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 900px; /* Width between left and right nodes */
}

.branch-line {
    width: 100%;
    height: 2px;
    background-color: #888;
}

.branch-nodes {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.node {
    width: 10px;
    height: 10px;
    background-color: #888;
    border-radius: 50%;
    position: relative;
    top: -6px;
}
.node::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 4px;
    width: 2px;
    height: 30px;
    background-color: #888;
}

/* Pillars Grid */
.pillar-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.pillar-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
}

.pillar-logo-card {
    background: white;
    border-radius: 10px 10px 0 0;
    padding: 30px;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    z-index: 2;
    position: relative;
    margin: 0 15px; /* Inset from sides */
}

.pillar-logo-card img {
    max-width: 100%;
    height: auto;
}

.pillar-body {
    padding: 40px 30px;
    color: white;
    margin-top: -10px;
    z-index: 1;
    position: relative;
    text-align: center;
    flex-grow: 1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.pillar-body p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.pillar-body h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.pillar-body a {
    color: white;
    text-decoration: underline;
}

/* Color Themes */
.bg-light-blue { background-color: #1DB2F5; }
.bg-light-blue-dark { background-color: #72D2F9; }
.fold-light-blue { border-bottom-color: #0d8bc3; }

.bg-dark-blue { background-color: #072C61; }
.bg-dark-blue-light { background-color: #7B8BA7; }
.fold-dark-blue { border-bottom-color: #04193b; }

.bg-brown { background-color: #924316; }
.bg-orange { background-color: #F78E1E; }
.bg-orange-light { background-color: #FBB455; }
.fold-brown { border-bottom-color: #5c280b; }

.text-orange { color: #F78E1E !important; }

/* Folded Ribbon Effect */
.pillar-fold {
    position: absolute;
    top: 0;
    left: -15px;
    border-style: solid;
    border-width: 0 0 15px 15px;
    border-left-color: transparent !important;
    border-top-color: transparent !important;
    border-right-color: transparent !important;
}
.pillar-wrapper::before {
    content: '';
    position: absolute;
    top: 135px; /* Approx height of logo card */
    right: 0;
    border-style: solid;
    border-width: 0 15px 15px 0;
    border-right-color: transparent !important;
    border-top-color: transparent !important;
    border-left-color: transparent !important;
}
/* Adjusting right fold color per pillar */
.pillar-wrapper:nth-child(1)::before { border-bottom-color: #0d8bc3; }
.pillar-wrapper:nth-child(2)::before { border-bottom-color: #04193b; }
.pillar-wrapper:nth-child(3)::before { border-bottom-color: #5c280b; }

/* Lists inside Pillars */
.pillar-list {
    margin-top: 20px;
    text-align: left;
}

.list-header {
    padding: 10px 15px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    letter-spacing: 1px;
}

.list-num {
    font-size: 24px;
    font-weight: 800;
    margin-right: 10px;
}

.pillar-list ul {
    list-style: none;
    padding: 15px;
    margin: 0;
}

.pillar-list li {
    font-size: 13px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.pillar-list li a {
    text-decoration: none;
}
.pillar-list li a:hover {
    text-decoration: underline;
}

.pull-right {
    margin-left: auto;
}

/* Pillar bottom tag */
.pillar-tag {
    background: white;
    color: #333;
    padding: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0 0 10px 10px;
    margin: 0 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-top: -5px; /* Overlap slightly */
    z-index: 2;
    position: relative;
    font-size: 14px;
}

/* Laurels Badges Section */
.laurels-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    background: white;
    padding: 30px;
    margin-top: 60px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.laurels-container img {
    height: 100px;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .pillar-wrapper {
        min-width: 100%;
        margin-bottom: 40px;
    }
    .tree-branches {
        display: none;
    }
    .tree-stem {
        margin-bottom: 0;
    }
}
