/* =========================================
   Chairperson Message Section
========================================= */

.chairperson-section {

    width: 100%;

    padding: 70px 20px;

    background: #f5f8f6;

}


/* Main Container */

.chairperson-container {

    width: 100%;

    max-width: 1150px;

    margin: 0 auto;

}


/* Modal Card */

.chairperson-modal {

    width: 100%;

    background: #ffffff;

    border: 1px solid #e1ebe5;

    border-radius: 24px;

    padding: 35px;

    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);

}


/* =========================================
   Heading
========================================= */

.chairperson-heading {

    width: 100%;

    text-align: center;

    margin-bottom: 32px;

}


.chairperson-heading span {

    display: inline-block;

    padding: 12px 32px;

    background: #4B008F;

    color: #ffffff;

    font-family: Arial, sans-serif;

    font-size: 27px;

    font-weight: 600;

    line-height: 1.3;

    border-radius: 50px;

}


/* =========================================
   Main Content
========================================= */

.chairperson-content {

    width: 100%;

    display: grid;

    grid-template-columns: 300px minmax(0, 1fr);

    gap: 30px;

    align-items: start;

}


/* =========================================
   Image
========================================= */

.chairperson-image-box {

    width: 100%;

    overflow: hidden;

    background: #eeeeee;

}


.chairperson-image-box img {

    display: block;

    width: 100%;

    height: 330px;


    object-position: center;

}


/* =========================================
   Message Content
========================================= */

.chairperson-message {

    width: 100%;

    min-width: 0;

}


.chairperson-message h3 {

    margin: 0 0 14px 0;

    color: #4B008F;

    font-family: Arial, sans-serif;

    font-size: 16px;

    font-weight: 500;

    line-height: 1.4;

}


.chairperson-message p {

    margin: 0 0 16px 0;

    color: #222222;

    font-family: Arial, sans-serif;

    font-size: 14px;

    line-height: 1.65;

    text-align: justify;

}


.chairperson-message p:last-of-type {

    margin-bottom: 14px;

}


/* Welcome Text */

.chairperson-message .welcome-text {

    margin-top: 8px;

    margin-bottom: 12px;

}


/* Name */

.chairperson-name {

    color: #4B008F;

    font-family: Arial, sans-serif;

    font-size: 15px;

    font-weight: 600;

}


/* =========================================
   Large Tablet
========================================= */

@media (max-width: 991px) {

    .chairperson-section {

        padding: 55px 18px;

    }


    .chairperson-modal {

        padding: 28px;

        border-radius: 20px;

    }


    .chairperson-heading {

        margin-bottom: 27px;

    }


    .chairperson-heading span {

        font-size: 24px;

        padding: 11px 28px;

    }


    .chairperson-content {

        grid-template-columns: 260px minmax(0, 1fr);

        gap: 24px;

    }


    .chairperson-image-box img {

        height: 310px;

    }


    .chairperson-message h3 {

        font-size: 15px;

    }


    .chairperson-message p {

        font-size: 13.5px;

        line-height: 1.6;

        margin-bottom: 14px;

    }

}


/* =========================================
   Tablet / Small Screen
========================================= */

@media (max-width: 767px) {

    .chairperson-section {

        padding: 40px 14px;

    }


    .chairperson-modal {

        padding: 20px;

        border-radius: 18px;

    }


    .chairperson-heading {

        margin-bottom: 22px;

    }


    .chairperson-heading span {

        font-size: 21px;

        padding: 9px 23px;

    }


    .chairperson-content {

        display: flex;

        flex-direction: column;

        gap: 22px;

    }


    .chairperson-image-box {

        width: 100%;

        max-width: 330px;

        margin: 0 auto;

    }


    .chairperson-image-box img {

        width: 100%;

        height: 330px;

        object-fit: cover;

    }


    .chairperson-message {

        width: 100%;

    }


    .chairperson-message h3 {

        font-size: 15px;

        margin-bottom: 12px;

    }


    .chairperson-message p {

        font-size: 14px;

        line-height: 1.65;

        text-align: left;

        margin-bottom: 15px;

    }


    .chairperson-name {

        font-size: 15px;

    }

}


/* =========================================
   Mobile
========================================= */

@media (max-width: 480px) {

    .chairperson-section {

        padding: 28px 10px;

    }


    .chairperson-modal {

        padding: 15px;

        border-radius: 15px;

    }


    .chairperson-heading {

        margin-bottom: 18px;

    }


    .chairperson-heading span {

        font-size: 19px;

        padding: 8px 20px;

    }


    .chairperson-content {

        gap: 18px;

    }


    .chairperson-image-box {

        max-width: 100%;

    }


    .chairperson-image-box img {

        height: 300px;

    }


    .chairperson-message h3 {

        font-size: 14px;

        margin-bottom: 11px;

    }


    .chairperson-message p {

        font-size: 13.5px;

        line-height: 1.6;

        margin-bottom: 14px;

    }


    .chairperson-name {

        font-size: 14px;

    }

}