* {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
    scrollbar-gutter: stable;
}

.bios {
    padding: 1% 0;
}

body {
    margin: 0 10%;
    background-image: url(../img/bg.svg);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

p {
    margin: 0;
}

a {
    color: #353535;
}

a:hover {
    color: #1177FF;
}

.parent-b {
    position: fixed;
    width: 18%;
}

.bio {
    height: 100%;
}

.content-section {
    height: 510px;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding-right: 10px;
}

.p-img {
    margin-bottom: 8%;
    max-width: 60% !important;
}

.heading {
    margin-bottom: 5%;
    line-height: 1.3;
    color: #272727;
    font-weight: 600;
}

.text {
    margin-bottom: 5%;
    line-height: 1.6;
    color: #353535;
}

.icon {
    align-content: center;
    margin-bottom: 3%;
    color: #353535;
}

i {
    margin-right: 0.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 1rem;
}

.contact {
    text-decoration: none !important;
    margin-bottom: 10px;
}

.button {
    margin: 29px 0px;

    a {
        text-decoration: none;
        padding: 10px 15px;
        background-color: #16172b;
        color: #fff;
        border-radius: 7px;
        margin: 0;

        &:hover {
            background-color: #3a3b47;

        }
    }
}



.p-details {
    border-radius: 10px;
    overflow: hidden;
    height: auto;
    max-height: none;
    min-height: 90vh;
    background-position: 50%;
    background-size: cover;
    margin-bottom: 30px;
    padding: 50px;
    display: block;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    background-color: #3b4253;

    img {
        display: none;
    }
}

.pd-img {
    width: 100%;
}


.p-head {
    margin-bottom: 1%;
    line-height: 1.3;
    color: #272727;
    font-size: 1.8rem;
    font-weight: 700;
}

.p-text {
    margin-bottom: 3%;
    line-height: 1.6;
    color: #353535;
    font-size: 1rem;
    font-weight: 400;
}

.p-bt {
    width: auto;
    height: auto;
    padding: 1% 3%;
    color: #ffffff;
    background-color: #1177FF;
    border: none;
    font-size: 1rem;
}

.p1 {
    background-image: url(/img/01.png);

    .p-bt {
        background-color: #1c75bc !important;
    }

    .p-bt:hover {
        background-color: #f7941d !important;
    }
}

.p2 {
    background-image: url(/img/awraaqma/awraaq-app.png);

    .p-bt {
        background-color: #005348 !important;
    }

    .p-bt:hover {
        background-color: #01201c !important;
    }
}

.p2ooh {
    background-image: url(/img/02.png);

    .p-bt {
        background-color: #1177FF !important;
    }

    .p-bt:hover {
        background-color: #024aa7 !important;
    }
}

.p3 {
    background-image: url(/img/04.png);

    h4 {
        color: #ffffff;
    }

    p {
        color: #ffffff;
    }

    .p-bt {
        background-color: #572C88 !important;
    }

    .p-bt:hover {
        background-color: #3e1e63 !important;
    }
}

.p4 {
    background-image: url(/img/06.png);

    .p-bt {
        background-color: #8B5CF6 !important;
    }

    .p-bt:hover {
        background-color: #3e1e63 !important;
    }

}


.back-button {
    position: absolute;
    top: 3%;
    left: 2%;
}

.back-home {
    text-decoration: none;
    display: flex;
    align-items: center;
    background-color: #cfeaff3d;
    padding: 0.5rem 1rem;
    color: #0c60a5;
    font-weight: 600;
    border-radius: 9px;

    &:hover {
        color: #ffffff;
        background-color: #0c60a5;
        border: 0;
    }
}



@media screen and (min-width: 1366px) and (max-width:1600px) {

    body {
        margin: 0 5%;
    }

    .p-img {
        margin-bottom: 8%;
        width: 55%;
    }

    .heading {
        margin-bottom: 5%;
        line-height: 1.3;
        color: #272727;
        font-size: 1.1rem;
    }

    .text {
        margin-bottom: 5%;
        line-height: 1.5;
        color: #353535;
        font-size: 0.9rem;
    }

    .bios {
        padding: 0.5% 0;
    }

    .parent {
        display: flex;
        margin-bottom: 3%;
        font-size: 0.77rem;
    }

    .p-details {
        border-radius: 10px;
        overflow: hidden;
        height: auto;
        max-height: none;
        min-height: 90vh;
        background-position: 50%;
        background-size: cover;
        margin-bottom: 30px;
        padding: 80px 50% 50px 60px;
        display: block;
        box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
        background-color: #3b4253;
    }

    .p-head {
        margin-bottom: 2%;
        line-height: 1.3;
        color: #272727;
        font-size: 1.5rem;
    }

    .p-text {
        margin-bottom: 3%;
        line-height: 1.6;
        color: #353535;
        font-size: 0.8rem;
    }

    .p-bt {
        width: 30%;
        height: auto;
        padding: 2%;
        color: #ffffff;
        background-color: #1177FF;
        border: none;
        font-size: 0.8rem;
    }

    .parent-b {
        width: 20%;
    }

}


@media screen and (min-width: 1200px) and (max-width:1365px) {

    body {
        margin: 0 5%;
    }

    .p-img {
        margin-bottom: 8%;
        width: 55%;
    }

    .heading {
        margin-bottom: 5%;
        line-height: 1.3;
        color: #272727;
        font-size: 1.1rem;
    }

    .text {
        margin-bottom: 5%;
        line-height: 1.5;
        color: #353535;
        font-size: 0.9rem;
    }

    .bios {
        padding: 0.5% 0;
    }

    .parent {
        display: flex;
        margin-bottom: 3%;
        font-size: 0.77rem;
    }

    .p-details {
        border-radius: 10px;
        overflow: hidden;
        height: auto;
        max-height: none;
        min-height: 90vh;
        background-position: 50%;
        background-size: cover;
        margin-bottom: 30px;
        padding: 80px 50% 50px 60px;
        display: block;
        box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
        background-color: #3b4253;
    }

    .p-head {
        margin-bottom: 2%;
        line-height: 1.3;
        color: #272727;
        font-size: 1.5rem;
    }

    .p-text {
        margin-bottom: 3%;
        line-height: 1.6;
        color: #353535;
        font-size: 0.8rem;
    }

    .p-bt {
        width: 30%;
        height: auto;
        padding: 2%;
        color: #ffffff;
        background-color: #1177FF;
        border: none;
        font-size: 0.8rem;
    }

    .parent-b {
        width: 20%;
    }

}


@media screen and (min-width: 992px) and (max-width:1199px) {


    body {
        margin: 0 3%;
    }

    .p-img {
        margin-bottom: 8%;
        width: 60%;
    }

    .heading {
        margin-bottom: 5%;
        line-height: 1.3;
        color: #272727;
        font-size: 1.1rem;
    }

    .text {
        margin-bottom: 7%;
        line-height: 1.5;
        color: #353535;
        font-size: 0.9rem;
    }

    .bios {
        padding: 1% 0;
    }

    .parent-b {
        position: fixed;
        width: 22%;
    }

    .parent {
        display: flex;
        margin-bottom: 3%;
        font-size: 0.8rem;
    }

    i {
        margin-right: 0%;
        display: none;
    }

    .p-details {
        border-radius: 10px;
        overflow: hidden;
        height: auto;
        max-height: none;
        min-height: 90vh;
        background-position: 50%;
        background-size: cover;
        margin-bottom: 30px;
        padding: 80px 50% 50px 60px;
        display: block;
        box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
        background-color: #3b4253;
    }

    .p-head {
        margin-bottom: 2%;
        line-height: 1.3;
        color: #272727;
        font-size: 1.5rem;
    }

    .p-text {
        margin-bottom: 3%;
        line-height: 1.6;
        color: #353535;
        font-size: 0.8rem;
    }

    .p-bt {
        width: 35%;
        height: auto;
        padding: 2%;
        font-size: 0.8rem;
    }

    .contact-info {
        gap: 0;
    }

    .button {
        margin: 15px 0px;
    }



}



@media screen and (min-width: 556px) and (max-width:991px) {

    .p3 {

        h4 {
            color: #353535;
        }

        p {
            color: #353535;
        }
    }

    body {
        padding: 3% 0%;
    }

    .content-section {
        height: auto;
    }

    /* .container-md, .container-sm {
        max-width: 720px;
        padding: 1px 12%;
    } */

    .p-img {
        margin-bottom: 4%;
        width: 35%;
    }

    .contact-info {
        gap: 5px;
        align-items: center;

        p {
            margin: 0 !important;
        }
    }

    .button {
        margin: 20px 0px 40px 0;
        display: flex;
        flex-direction: row;
        gap: 10px;
        justify-content: center;
    }

    .heading {
        margin-bottom: 1%;
        line-height: 1.3;
        color: #272727;
        font-size: 1.3rem;
        text-align: center;
    }

    .text {
        margin: 1% 0% 2% 0% !important;
        /* line-height: 1.5; */
        color: #353535;
        font-size: 0.9rem;
        text-align: center;
    }

    .icon {
        align-content: center;
        margin-bottom: 3%;
        color: #353535;
        width: 0%;
    }

    .bios {
        padding: 1% 0;
    }

    .parent-b {
        position: static;
        width: 100%;
    }

    .parent {
        display: flex;
        margin-bottom: 1%;
        font-size: 0.77rem;
        justify-content: center;
    }

    .contact {
        margin: auto;
    }

    .p-details {
        border-radius: 10px;
        overflow: hidden;
        height: auto;
        max-height: none;
        min-height: auto;
        background-position: 50%;
        background-size: cover;
        margin-bottom: 30px;
        padding: 30px;
        display: block;
        background: transparent;

        img {
            display: inline;
            width: -webkit-fill-available;
            margin-bottom: 20px;
        }
    }

    .p-head {
        margin-bottom: 2%;
        line-height: 1.3;
        color: #272727;
        font-size: 1.1rem;
    }

    .p-text {
        margin-bottom: 3%;
        line-height: 1.5;
        color: #353535;
        font-size: 0.9rem;
    }

    .p-bt {
        width: auto;
        height: auto;
        padding: 3%;
        font-size: 0.8rem;
    }

    .project {
        padding: 3% 0;
    }


}

@media screen and (max-width:555px) {
    .p3 {

        h4 {
            color: #353535;
        }

        p {
            color: #353535;
        }
    }

    .content-section {
        height: auto;
        padding: 0;
    }

    body {
        padding: 2% 5%;
        margin: 0;
    }

    .contact-info {
        gap: 5px;
        align-items: center;

        p {
            margin: 0 !important;
            font-size: 0.9rem;
        }
    }

    .button {
        margin: 20px 0px 40px 0;
        display: flex;
        flex-direction: row;
        gap: 10px;
        justify-content: center;
    }

    /* .container-md, .container-sm {
        max-width: 720px;
        padding: 1px 12%;
    } */

    .p-img {
        margin-bottom: 4%;
        width: 40%;
    }

    .heading {
        margin-bottom: 2%;
        line-height: 1.3;
        color: #272727;
        font-size: 1.1rem;
        text-align: center;
    }

    .text {
        margin: 1% 0% 2% 0% !important;
        /* line-height: 1.5; */
        color: #353535;
        font-size: 0.9rem;
        text-align: center;
        font-weight: 400;
    }

    .icon {
        align-content: center;
        margin-bottom: 3%;
        color: #353535;
        width: 0%;
    }

    .bios {
        padding: 0;
    }

    .parent-b {
        position: static;
        width: 100%;
    }

    .parent {
        display: flex;
        margin-bottom: 1%;
        font-size: 0.77rem;
        justify-content: center;
    }

    .contact {
        margin: auto;
        font-size: 0.9rem;
    }

    .p-details {
        border-radius: 10px;
        overflow: hidden;
        height: auto;
        max-height: none;
        min-height: auto;
        background-position: 50%;
        background-size: cover;
        margin-bottom: 20px;
        padding: 20px 20px;
        display: block;
        background: transparent;

        img {
            display: inline;
            width: -webkit-fill-available;
            margin-bottom: 20px;
        }
    }

    .p-head {
        margin-bottom: 2%;
        line-height: 1.3;
        color: #272727;
        font-size: 1.1rem;
        font-weight: 600;
    }

    .p-text {
        margin-bottom: 3%;
        line-height: 1.5;
        color: #353535;
        font-size: 0.9rem;
        font-weight: 400;
    }

    .p-bt {
        width: auto;
        height: auto;
        padding: 3% 5%;
        font-size: 0.9rem;
    }

    .project {
        padding: 2% 5%;
    }


}

::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #ffffff;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #e2e2e2;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #9e9e9e;
}