@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}


.individual-management-member {
    background: linear-gradient(to bottom, #AFC4F9, #FFFFFF, #AAC0F9);
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: justify;
}


.card {
    width: 80%;
    height: auto;
    padding: 32px 32px 0px 0px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: white;
    display: flex;
    margin: 32px;
}

.left-section {
    display: flex;
    flex-direction: column;
    width: 35%;
}

.title-section {
    flex: 1;
    margin-top: 15px;
    margin-left: 40px;
    position: relative;
    /* background-color: red; */
}

.title-section h1 {
    /* font-size: clamp(28px, 4vw, 49px); */
    font-size: 48px;
    font-weight: 700;
    color: #2861e6;
    /* margin-top: -10px; */
    line-height: 49px;
}

.img-section {
    flex: 2;
    display: flex;
    align-items: flex-end;
    width: 100%;
}

.img1 {
    /* position: absolute; */
    /* bottom: -19px;
    left: 0; */
    width: 100%;
    height: auto;
    object-fit: contain;
}


.right-section {
    padding-left: 25px;
    /* line-height: 26px; */
    width: 65%;
    padding-bottom: 32px;
}

.bio {
    font-size: 15px;
    line-height: 28px;
    font-weight: 500;
}

.name {
    color: #2861e6;
    /* font-size: clamp(20px, 3vw, 30px); */
    font-size: 32px;
    font-weight: 700;
    margin-top: 25px;
}

.designation {
    color: #000000;
    font-size: clamp(12px, 1.5vw, 15px);
    font-weight: 500;
    margin-top: 5px;
}

.small-bio {
    padding-top: 120px;
}

@media (min-width: 1600px) {
    .bio,
    .designation {
        font-size: 18px;
        line-height: 35px;
    }
}

@media (min-width: 2000px) {
    .card {
        height: 90%;
    }

    .title-section h1 {
        line-height: 50px;
    }

    .bio,
    .designation {
        font-size: 24px;
        line-height: 45px;
    }

    .name {
        font-size: 50px;
    }

    .designation {
        margin-top: 20px;
    }



}

@media (min-width: 2500px) {

    .bio,
    .designation {
        font-size: 28px;
        line-height: 60px;
    }
}

@media (max-width: 1024px) {

    .card {
        width: 100%;
    }

    .title-section h1 {
        font-size: 40px;
    }

    .img-section {
        position: relative;
        width: 100%;
        /* height: 250px; */
        flex: none;
    }

    .img1 {
        width: 100%;
        height: 100%;
        left: 0;
    }

    .bio {
        font-size: 14px;
        line-height: 28px;
    }

    .name {
        margin-top: 20px;
    }

}

@media (max-width: 768px) {

    .card {
        flex-direction: column;
        align-items: center;
        padding: 24px;
        margin: 16px auto;
    }

    .left-section,
    .right-section {
        width: 100%;
        padding: 0;
        /* text-align: center; */
    }

    .left-section {
        margin-bottom: 10px;
    }

    .title-section {
        margin-top: 10px;
        text-align: left;
        margin-left: 0;
    }

    .title-section h1 {
        font-size: clamp(24px, 5vw, 36px);
    }

    .img-section {
        position: relative;
        width: 100%;
        height: 300px;
        flex: none;
        margin-top: 10px;
    }

    .img1 {
        width: 100%;
        height: 100%;
        left: 0;
    }

    .bio {
        text-align: justify;
    }

    .name {
        margin-top: 20px;
    }

    .small-bio {
        padding-top: 10px;
    }

}


@media (max-width: 480px) {

    .individual-management-member {
        background: white;
    }

    .card {
        width: 100%;
        padding: 0px;
        box-shadow: none;
    }

    .title-section {
        bottom: 0;
        margin-left: 0;
    }

    .title-section h1 {
        font-size: clamp(25px, 9vw, 30px);
        margin-bottom: 5px;
        line-height: 30px;
    }

    .img-section {
        width: 100%;
    }

    .bio {
        /* font-size: clamp(11px, 3.5vw, 15px); */
        /* line-height: 23px; */

    }

    .name {
        font-size: clamp(18px, 9vw, 25px);
        text-align: left;
    }

    .designation {
        font-size: clamp(11px, 4vw, 14px);
        text-align: left;

    }

    .bio,
    .name,
    .designation,
    .title-section {
        margin-left: 25px;
        margin-right: 25px;
    }

}

@media (max-width: 375px) {

    .bio {
        /* line-height: 20px; */
    }

    .bio,
    .name,
    .designation,
    .title-section {
        margin-left: 15px;
        margin-right: 15px;
    }


    .card {
        padding: 0px;
    }

    .img-section {
        height: 105%;
        width: 100%;
    }
}