/* Leadership Page Specific Styles */

.leadership-section {
    background-color: #f8fcff !important;
    border-radius: 0px !important;
    padding: 80px 0;
}

.ld-txt{
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
}


.ld-sub-txt{
    color: rgba(0, 0, 0, 0.9);
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.leadership-section .tags {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.leadership-section h1 {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.leadership-section > .container-fluid > div:nth-child(2) {
    margin-bottom: 60px;
}

.leadership-section p {
    color: rgba(0, 0, 0, 0.9);
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.6;
}

/* Commitment to Excellence Section */
.commitment-excellence-section {
    padding: 60px 0;
}

.commitment-excellence-section h3 {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.commitment-excellence-section p {
    color: rgba(0, 0, 0, 0.9);
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.6;
}

.excellence-boxes-container {
    display: flex;
    justify-content: center;
    padding-top: 40px;
    gap: 16px;
    flex-wrap: wrap;
}

/* Responsive Styles */

/* Tablet Landscape - 1024px and below */
@media (max-width: 1024px) {
    .leadership-section {
        padding: 60px 0;
    }

    .leadership-section h1 {
        font-size: 42px;
    }

    .leadership-section p {
        font-size: 18px;
        max-width: 700px;
        padding: 0 20px;
    }

    .commitment-excellence-section h3 {
        font-size: 42px;
    }

    .commitment-excellence-section p {
        font-size: 18px;
        max-width: 700px;
        padding: 0 20px;
    }

    /* .leader-excellence-box {
        width: 280px;
        height: 110px;
    } */
}

/* Tablet Portrait - 768px and below */
@media (max-width: 768px) {
    .leadership-section {
        padding: 50px 0;
    }

    .leadership-section h1 {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .leadership-section p {
        font-size: 16px;
        max-width: 100%;
        padding: 0 20px;
        line-height: 1.7;
    }

    .leadership-section > .container-fluid > div:nth-child(2) {
        margin-bottom: 40px;
    }

    .tag-combined {
        font-size: 14px;
        padding: 8px 15px;
    }

    .commitment-excellence-section {
        padding: 50px 0;
    }

    .commitment-excellence-section h3 {
        font-size: 36px;
        padding: 0 20px;
    }

    .commitment-excellence-section p {
        font-size: 16px;
        padding: 0 20px;
    }

    .excellence-boxes-container {
        padding-top: 30px;
        gap: 12px;
    }

    .leader-excellence-box {
        width: 45%;
        min-width: 200px;
        height: auto;
        padding: 20px;
    }

    .leader-excellence-box :nth-child(1) {
        font-size: 32px;
        line-height: 36px;
    }

    .leader-excellence-box :nth-child(2) {
        font-size: 14px;
    }
}

/* Mobile - 480px and below */
@media (max-width: 480px) {
    .leadership-section {
        padding: 40px 0;
    }

    .leadership-section h1 {
        font-size: 28px;
        line-height: 1.3;
        padding: 0 15px;
    }

    .leadership-section p {
        font-size: 15px;
        padding: 0 15px;
    }

    .leadership-section > .container-fluid > div:nth-child(2) {
        margin-bottom: 30px;
    }

    .tag-combined {
        font-size: 12px;
        padding: 6px 12px;
    }

    .commitment-excellence-section {
        padding: 40px 0;
    }

    .commitment-excellence-section h3 {
        font-size: 28px;
        line-height: 1.3;
        padding: 0 15px;
        margin-bottom: 15px;
    }

    .commitment-excellence-section p {
        font-size: 15px;
        padding: 0 15px;
    }

    .excellence-boxes-container {
        flex-direction: column;
        align-items: center;
        padding-top: 25px;
        gap: 15px;
    }

    .leader-excellence-box {
        width: 90%;
        max-width: 300px;
        height: auto;
        padding: 20px 15px;
        margin: 0;
    }

    .leader-excellence-box :nth-child(1) {
        font-size: 28px;
        line-height: 32px;
    }

    .leader-excellence-box :nth-child(2) {
        font-size: 13px;
        line-height: 1.4;
    }


 .ld-txt{
    font-size: 30px;
 }

.ld-sub-txt{

    font-size: 16px;

}


}


/* Leadership Board Grid - 4 columns with centered last row */
.leadership-section .speakers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px;
    max-width: 1600px;
    justify-items: center;
}

/* Center the last 2 cards in the 3rd row */
.leadership-section .speaker-card:nth-child(9),
.leadership-section .speaker-card:nth-child(10) {
    grid-column: span 1;
}

/* Wrapper to center last row items */
.leadership-section .speakers-grid::after {
    content: '';
    grid-column: 1 / -1;
}

/* Alternative approach - use subgrid for last row */
.leadership-section .speaker-card:nth-child(9) {
    grid-column: 2 / 3;
}

.leadership-section .speaker-card:nth-child(10) {
    grid-column: 3 / 4;
}

@media (max-width: 1024px) {
    .leadership-section .speakers-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px;
    }
    
    /* Reset centering for tablet */
    .leadership-section .speaker-card:nth-child(9),
    .leadership-section .speaker-card:nth-child(10) {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .leadership-section .speakers-grid {
        grid-template-columns: 1fr !important;
        gap: 25px;
    }
    
    /* Reset centering for mobile */
    .leadership-section .speaker-card:nth-child(9),
    .leadership-section .speaker-card:nth-child(10) {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .leadership-section .speakers-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
}
