/* =========================================================
   INCHARGE MESSAGE SECTION
========================================================= */

.incharge-message-section {
    position: relative;
    padding: 90px 0;
    background: #ffffff;
    overflow: hidden;
}


/* =========================================================
   PROFILE
========================================================= */

.incharge-profile {
    position: relative;
    max-width: 470px;
    margin: 0 auto;
}


.incharge-profile-image {
    position: relative;
    height: 560px;
    overflow: hidden;
    border-radius: 24px;
    background: #073b4c;
    box-shadow: 0 22px 50px rgba(5,45,55,.12);
}


    .incharge-profile-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center top;
        transition: transform .7s ease;
    }


.incharge-profile:hover
.incharge-profile-image img {
    transform: scale(1.025);
}


.incharge-profile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 180deg, rgba(7,59,76,0) 45%, rgba(7,59,76,.78) 100% );
}


/* =========================================================
   PROFILE CARD
========================================================= */

.incharge-profile-card {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 16px;
    border-radius: 14px;
    background: rgba(7,59,76,.92);
    border: 1px solid rgba(255,255,255,.13);
    backdrop-filter: blur(9px);
}


.incharge-profile-icon {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(88,197,202,.11);
    color: #58c5ca;
    font-size: 13px;
}


.incharge-profile-card span {
    display: block;
    margin-bottom: 3px;
    color: #58c5ca;
    font-size: 6px;
    font-weight: 850;
    letter-spacing: 1.5px;
}


.incharge-profile-card strong {
    display: block;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
}


.incharge-profile-card small {
    display: block;
    margin-top: 3px;
    color: rgba(255,255,255,.45);
    font-size: 8px;
}


/* =========================================================
   CONTENT
========================================================= */

.incharge-message-content {
    max-width: 690px;
}


    .incharge-message-content .section-eyebrow {
        display: flex;
        align-items: center;
        gap: 9px;
        margin-bottom: 11px;
        color: #0b858d;
        font-size: 10px;
        font-weight: 850;
        letter-spacing: 2px;
    }


        .incharge-message-content .section-eyebrow::before {
            content: "";
            width: 28px;
            height: 2px;
            border-radius: 5px;
            background: #e5b83d;
        }


    .incharge-message-content h2 {
        margin: 0 0 24px;
        color: #073b4c;
        font-size: clamp(26px, 3.1vw, 40px);
        font-weight: 850;
        line-height: 1.05;
        letter-spacing: -.9px;
    }


        .incharge-message-content h2 span {
            color: #0b858d;
        }


/* =========================================================
   MESSAGE BOX
========================================================= */

.incharge-message {
    position: relative;
    padding-left: 21px;
    border-left: 2px solid #e5b83d;
}


.incharge-quote-icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 9px;
    background: #eef8f8;
    color: #0b858d;
    font-size: 12px;
}


.incharge-message p {
    margin: 0 0 15px;
    color: #687a82;
    font-size: 12px;
    line-height: 1.85;
}


    .incharge-message p:first-of-type {
        color: #425c65;
        font-size: 13px;
        font-weight: 550;
    }


.incharge-closing-message {
    color: #073b4c !important;
    font-weight: 600;
}


/* =========================================================
   SIGNATURE
========================================================= */

.incharge-signature {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-top: 26px;
}


.incharge-signature-line {
    width: 3px;
    min-height: 52px;
    border-radius: 4px;
    background: #0b858d;
}


.incharge-signature span {
    display: block;
    margin-bottom: 3px;
    color: #8a989d;
    font-size: 9px;
}


.incharge-signature strong {
    display: block;
    color: #073b4c;
    font-size: 13px;
    font-weight: 800;
}


.incharge-signature small {
    display: block;
    margin-top: 3px;
    color: #87959a;
    font-size: 8px;
    line-height: 1.5;
}


/* =========================================================
   RESPONSIVE
========================================================= */

/* Keep "Welcome to COMSATS Lahore" on one line on desktop */
@media (min-width: 992px) {

    .incharge-message-content h2 {
        white-space: nowrap;
    }
}


@media (max-width: 991px) {

    .incharge-message-section {
        padding: 70px 0;
    }

    .incharge-profile-image {
        height: 500px;
    }
}


@media (max-width: 767px) {

    .incharge-message-section {
        padding: 60px 0;
    }

    .incharge-profile-image {
        height: 430px;
        border-radius: 19px;
    }

    .incharge-profile-card {
        left: 15px;
        right: 15px;
        bottom: 15px;
    }

    .incharge-message {
        padding-left: 15px;
    }
}
