#biodata {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 775px;
    display: flex;
    background-image: url("/masterplans/assets/benefitbg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

#biodata .container {
    position: relative;
}

#biodata h1 {
    margin: 0;
    font-size: 48px;
    font-weight: bold;
    color: #154a43;
}

#biodata h2 {
    margin: 0;
    font-size: 48px;
    color: #154a43;
}

#biodata h3 {
    margin-top: 10px;
    color: red;
    font-size: 18px;
    font-weight: bold;
}

#biodata h4 {
    color: #333;
    font-size: 24px;
    margin-bottom: 10px;
}

#biodata h5 {
    margin: 0;
    font-size: 36px;
    font-weight: bold;
    color: #2c4964;
}

#biodata h6 {
    margin: 0;
    font-size: 28px;
    color: #2c4964;
}

.video-belajar > label {
    position: relative;
    display: block;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    background-color: #fb938b;
    color: white;
}

.video-belajar {
    margin-top: 10px;
}

.bio-group {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fb938b;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 0 10px;
    border-radius: 12px;
    margin: 0 auto 0 auto;
    width: fit-content;
}

.biodatas {
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #fef38a;
    border-radius: 25px;
    margin-bottom: 10px;
}

.checklist {
    color: #e9967a;
    display: flex;
    font-weight: bold;
    font-size: 36px;
}

.text-container-biodatas {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bab-biodatas {
    font-style: italic;
    font-weight: bold;
    font-size: 18px;
    color: #006a5d;
}

.sub-biodatas {
    font-style: italic;
    font-size: 14px;
    color: #333;
}

.pemateri {
    position: relative;
    overflow: visible;
    margin-top: 150px;
    background-image: url("/masterplans/assets/pemateribg.png");
    background-size: cover;
    background-position: center;
    height: 525px;
    margin-left: 25px;
}

.pemateri img {
    max-width: 80%;
    height: auto;
    display: block;
    margin-top: -85px;
    margin-left: 50px;
}

.namings {
    position: absolute;
    bottom: -25px;
    left: -15px;
    background-color: white;
    padding: 10px 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 400px;
    height: 105px;
}

.bab-namings {
    font-weight: bold;
    font-size: 22px;
    color: #154a43;
    border-bottom: 2px solid teal;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.sub-namings {
    font-size: 16px;
    color: #333;
}

.profile-button {
    position: absolute;
    bottom: -15px;
    left: 15px;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    cursor: pointer;
    color: black;
    text-decoration: none;
    background: linear-gradient(to right, rgb(255, 190, 32), rgb(255, 150, 0));
    background-size: 200% auto;
    background-position: left center;
    transition: background-position 0.4s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
}

.profile-button:hover {
    color: black;
    background-position: right center;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}

.biodata-section-col {
    flex: 0 0 54.166667%;
    max-width: 54.166667%;
}

.bg-text {
    position: relative;
    z-index: 10;
}

.bg-text img {
    position: absolute;
    top: -70px;
    right: -25px;
    width: 365px;
    height: 300px;
    object-fit: cover;
    z-index: -1;
}

/* Mobile */
@media (max-width: 767px) {
    #biodata {
        flex-direction: column;
        min-height: auto;
        padding: 20px 15px 100px 15px;
        background-position: center top;
    }

    #biodata h1,
    #biodata h2 {
        font-size: 28px;
        text-align: start;
    }

    #biodata h3 {
        font-size: 16px;
        text-align: start;
    }

    #biodata h4 {
        font-size: 20px;
        text-align: start;
    }

    #biodata h5 {
        font-size: 26px;
        text-align: start;
    }

    #biodata h6 {
        font-size: 22px;
        text-align: start;
    }

    .video-belajar > label {
        font-size: 14px;
        padding: 0 10 0 10;
    }

    .bio-group {
        font-size: 10px;
        padding: 5px 10px;
    }

    .biodatas {
        display: flex;
    }

    .checklist {
        font-size: 28px;
        justify-content: center;
    }

    .text-container-biodatas {
        align-items: start;
    }

    .bab-biodatas {
        font-size: 14px;
    }

    .sub-biodatas {
        font-size: 12px;
    }

    .pemateri {
        position: relative;
        height: 325px;
        margin-top: 125px;
        margin-left: 0;
        background-position: top center;
    }

    .pemateri img {
        position: absolute;
        bottom: 0;
        width: 100%;
        margin-top: 0;
        margin-left: 25px;
    }

    .namings {
        position: absolute;
        bottom: -25px;
        left: 0;
        width: 80%;
        height: 85px;
        margin-top: 15px;
    }

    .bab-namings {
        font-size: 16px;
        text-align: center;
    }

    .sub-namings {
        font-size: 12px;
        text-align: center;
    }

    .profile-button {
        position: absolute;
        display: block;
        margin: 10px auto 0 auto;
        text-align: center;
    }

    .biodata-section-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .bg-text {
        margin-bottom: 25px;
    }

    .bg-text img {
        position: absolute;
        top: -7px;
        right: 170px;
        width: 180px;
        height: auto;
    }
}

/* Tablet */
@media (max-width: 1023px) and (min-width: 768px) {
    #biodata {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 20px 30px 100px 30px;
        min-height: auto;
        background-position: center;
    }

    #biodata h1,
    #biodata h2 {
        font-size: 40px;
        text-align: left;
    }

    #biodata h3 {
        font-size: 18px;
        text-align: left;
    }

    #biodata h4 {
        font-size: 22px;
        text-align: left;
    }

    #biodata h5 {
        font-size: 30px;
        text-align: left;
    }

    #biodata h6 {
        font-size: 24px;
        text-align: left;
    }

    .video-belajar {
        margin-bottom: 20px;
    }

    .contoh-dokumen {
        margin-bottom: 20px;
    }

    .sop-apotek {
        margin-bottom: 20px;
    }

    .bio-group > label {
        font-size: 12px;
        padding: 0 0;
    }

    .bio-group {
        font-size: 14px;
        padding: 8px 16px;
    }

    .biodatas {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .checklist {
        font-size: 32px;
        justify-content: center;
    }

    .text-container-biodatas {
        align-items: flex-start;
    }

    .bab-biodatas {
        font-size: 16px;
    }

    .sub-biodatas {
        font-size: 14px;
    }

    .pemateri {
        width: 400px;
        margin-top: 75px;
        margin-left: 160px;
        height: 400px;
        background-position: center;
    }

    .pemateri img {
        width: 70%;
        margin-top: -40px;
        margin-left: 50px;
    }

    .namings {
        bottom: -30px;
        right: 75px;
        width: 90%;
        height: 95px;
    }

    .bab-namings {
        font-size: 18px;
    }

    .sub-namings {
        font-size: 14px;
    }

    .profile-button {
        left: 25px;
        bottom: -10px;
        font-size: 13px;
        padding: 5px 12px;
    }

    .biodata-section-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .bg-text {
        margin-bottom: 25px;
    }

    .bg-text img {
        top: -70px;
        right: 115px;
        width: 280px;
        height: auto;
    }
}

@media (min-width: 1024px) and (max-width: 1366px) {
    .pemateri img {
        width: 100%;
        margin-top: 35px;
        margin-left: 25px;
    }
}

@media screen and (min-width: 1366px) and (max-width: 1399px) {
    .pemateri img {
        margin-top: -15px;
    }
}
