.leadership-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.leader-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}

.leader-image {
    width: 100%;
    max-width: 100%; /* Ensure no overflow */
    height: auto;
    border-radius: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    filter: sepia(0.2);
    transition: all 0.4s ease;
    display: block;
}

.leader-image:hover {
    filter: sepia(0);
    transform: scale(1.02);
}

.leader-content {
    padding-left: 50px;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.leader-content-left {
    padding-left: 0;
    padding-right: 50px;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.leader-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff5f5;
    color: #e74c3c;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid #ffe0dc;
    max-width: 100%;
    box-sizing: border-box;
}

.chairman-badge {
    background: #f0f8ff;
    color: #2c3e50;
    border: 1px solid #d0e8ff;
}

.leader-badge i {
    font-size: 16px;
    flex-shrink: 0;
}

.leader-name {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    line-height: 1.2;
    font-family: 'Playfair Display', serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.leader-description {
    font-size: 16px;
    line-height: 1.8;
    color: #555555;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.leader-description p {
    margin-bottom: 25px;
    text-align: justify;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.leader-description p:last-child {
    margin-bottom: 0;
}

/* Spacing between sections */
.mb-5.pb-5 {
    margin-bottom: 3rem !important;
    padding-bottom: 3rem !important;
    border-bottom: 1px solid #f0f0f0;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 991px) {
    .leadership-section {
        padding: 70px 0;
    }

    .leadership-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .leader-content,
    .leader-content-left {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-top: 40px;
    }

    .leader-name {
        font-size: 36px;
        margin-bottom: 25px;
    }

    .leader-image-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .leadership-section {
        padding: 50px 0;
    }

    .leadership-section .container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
    }

    .leader-content,
    .leader-content-left {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-top: 30px;
    }

    .leader-name {
        font-size: 28px;
        margin-bottom: 20px;
        line-height: 1.3;
    }

    .leader-description {
        font-size: 15px;
        line-height: 1.7;
    }

    .leader-description p {
        margin-bottom: 20px;
        text-align: left; /* Better for mobile */
    }

    .leader-badge {
        font-size: 13px;
        padding: 8px 16px;
        margin-bottom: 15px;
    }

    .leader-badge i {
        font-size: 14px;
    }

    .leader-image:hover {
        transform: none; /* Disable transform on mobile */
    }

    .mb-5.pb-5 {
        margin-bottom: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

@media (max-width: 576px) {
    .leadership-section {
        padding: 40px 0;
    }

    .leadership-section .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .leader-name {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .leader-description {
        font-size: 14px;
        line-height: 1.6;
    }

    .leader-description p {
        margin-bottom: 15px;
    }

    .leader-badge {
        font-size: 12px;
        padding: 6px 12px;
        gap: 6px;
    }

    .leader-image {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .mb-5.pb-5 {
        margin-bottom: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
}
