#biodata {
    width: 100%;
    height: auto;
    background-image: url("/masterplans/assets/pemateri-bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

#biodata .container-1 {
    position: relative;
    padding-top: 100px;
    margin-bottom: 50px;
}

#biodata .container-2 {
    position: relative;
    padding-bottom: 50px;
}

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

#biodata h2 {
    margin: 0;
    font-size: 48px;
    color: #2c4964;
}

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

#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;
}

.row-pemateri {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.biodatas {
    padding: 10px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.biodata-head {
    position: relative;
    margin-bottom: 10px;
    z-index: 1;
}

.biodata-img-1 {
    position: absolute;
    top: -65px;
    left: 190px;
    width: 200px;
    height: 300px;
    z-index: -1;
}

.biodata-img-2 {
    position: absolute;
    top: -65px;
    left: 155px;
    width: 325px;
    height: 300px;
    z-index: -1;
}

.biodata-img-3 {
    position: absolute;
    top: -75px;
    left: 245px;
    width: 250px;
    height: 300px;
    z-index: -1;
}

.biodata-img-4 {
    position: absolute;
    top: -65px;
    left: 240px;
    width: 225px;
    height: 300px;
    z-index: -1;
}

.contact-head {
    position: relative;
    margin-top: 50px;
    margin-bottom: 20px;
    z-index: 1;
}

.contact-link {
    display: flex;
    justify-items: start;
    align-items: center;
    gap: 15px;
}

.checklist {
    color: #fef26f;
    display: flex;
    font-weight: bold;
    font-size: 28px;
    margin-top: 10px;
}

.brands-icons {
    padding: 15px;
    color: white;
    background-color: #2c4964;
    border-radius: 50px;
    display: flex;
    font-weight: bold;
    font-size: 24px;
}

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

.bab-pekerjaan {
    font-weight: bold;
    font-size: 20px;
    color: #2c4964;
}

.sub-pekerjaan {
    font-weight: bold;
    font-style: italic;
    font-size: 18px;
    color: #2c4964;
}

.bab-achieve {
    font-weight: bold;
    font-style: italic;
    font-size: 20px;
    color: #2c4964;
}

.sub-achieve {
    font-style: italic;
    font-size: 18px;
    color: #2c4964;
}

.sub-achieve {
    font-style: italic;
    font-size: 20px;
    color: #2c4964;
}

.sub-tahun {
    font-weight: 600;
    font-style: italic;
    font-size: 16px;
    color: #2c4964;
}

.naming {
    width: 70%;
    position: relative;
    display: block;
    top: -30px;
    background-color: white;
}

.namings {
    padding: 10px;
    display: flex;
    align-items: center;
}

.bab-namings {
    margin: 10px;
    font-weight: bold;
    font-size: 18px;
    color: #2c4964;
    border-bottom: 2px solid teal;
    padding-bottom: 5px;
}

.sub-namings {
    margin: 10px;
    font-size: 18px;
    color: #00796b;
}

.profil-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.profil-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.background-image {
    width: 90%;
    height: auto;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.profil-photo {
    position: absolute;
    top: 45%;
    left: 40%;
    transform: translate(-50%, -50%);
    width: 60%;
    max-width: 350px;
    z-index: 2;
    height: auto;
    object-fit: contain;
}

.profil-info {
    width: 80%;
    background-color: white;
    position: absolute;
    bottom: 110px;
    left: 20px;
    color: #2c4964;
    z-index: 3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

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

.pemateri img {
    max-width: 80%;
    height: auto;
    display: block;
    object-fit: cover;
    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;
}

.kontak-desktop {
    display: block;
}

.kontak-mobile {
    display: none;
}

/* Mobile */
@media (max-width: 767px) {
    #biodata {
        background-size: auto 4500px;
        background-position: center;
        padding: 0px 24px;
    }

    #biodata .container-1,
    #biodata .container-2 {
        padding: 0;
        margin-bottom: 32px;
    }

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

    #biodata h3 {
        font-size: 28px;
    }

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

    #biodata h5 {
        font-size: 28px;
    }

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

    .row-pemateri {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .biodata-head {
        margin-top: 100px;
    }

    .biodata-img-1,
    .biodata-img-2,
    .biodata-img-3,
    .biodata-img-4 {
        position: static;
        width: 100%;
        height: auto;
        margin-bottom: 16px;
    }

    .contact-link {
        flex-direction: column;
        align-items: flex-start;
    }

    .checklist {
        font-size: 20px;
    }

    .brands-icons {
        font-size: 20px;
        padding: 12px;
    }

    .text-container-biodatas {
        gap: 4px;
    }

    .bab-pekerjaan,
    .bab-achieve {
        font-size: 18px;
    }

    .sub-pekerjaan,
    .sub-achieve {
        font-size: 16px;
    }

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

    .naming {
        width: 100%;
        top: -20px;
    }

    .profil-container {
        aspect-ratio: auto;
    }

    .profil-photo {
        position: static;
        width: 100%;
        transform: none;
        margin-top: 16px;
    }

    .profil-info {
        position: static;
        width: 100%;
        margin-top: 16px;
    }

    .pemateri {
        position: relative;
        height: 350px;
        margin-top: 100px;
        margin-left: 10px;
        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: 85%;
        height: 85px;
        padding: 10px 10px 10px 10px;
        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;
    }

    .row-pemateri {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .biodata-img-1 {
        position: absolute;
        top: -45px;
        left: 120px;
        width: 150px;
        height: 200px;
        z-index: -1;
    }

    .biodata-img-2 {
        position: absolute;
        top: -100px;
        left: 115px;
        width: 200px;
        height: 300px;
        z-index: -1;
    }

    .biodata-img-3 {
        position: absolute;
        top: -100px;
        left: 190px;
        width: 200px;
        height: 300px;
        z-index: -1;
    }

    .biodata-img-4 {
        position: absolute;
        top: -70px;
        left: 150px;
        width: 175px;
        height: 250px;
        z-index: -1;
    }

    .container-2 .biodata-head {
        margin-top: 0;
    }

    .kontak-desktop {
        display: none;
    }

    .kontak-mobile {
        display: block;
    }

    .prestasi-head {
        margin-top: 25px;
    }

    .biodatas-mobile {
        width: 100%;
        padding: 15px 0 15px 0;
        box-sizing: border-box;
    }

    .contact-mobile {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
    }

    .brands-icons {
        min-width: 40px;
        min-height: 40px;
        background-color: #2c4964;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        flex-shrink: 0;
    }

    .text-container-biodatas-mobile {
        flex: 1;
    }
}

@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;
    }
}

/* Tablet */
@media (max-width: 1023px) and (min-width: 768px) {
    .biodata-head h1,
    h2 {
        font-size: 32px !important;
    }

    .pemateri {
        position: relative;
        height: 300px;
        margin-top: 100px;
        margin-left: 10px;
        background-position: top center;
    }

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

    .namings {
        position: absolute;
        bottom: -50px;
        left: -50px;
        width: 100%;
        height: 85px;
        padding: 10px 10px 10px 10px;
        margin-top: 15px;
    }

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

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

    .bab-pekerjaan,
    .bab-achieve {
        font-size: 18px;
    }

    .sub-pekerjaan,
    .sub-achieve {
        font-size: 16px;
    }

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

    .biodata-img-1 {
        position: absolute;
        top: -45px;
        left: 120px;
        width: 150px;
        height: 200px;
        z-index: -1;
    }

    .biodata-img-2 {
        position: absolute;
        top: -100px;
        left: 115px;
        width: 200px;
        height: 300px;
        z-index: -1;
    }

    .biodata-img-3 {
        position: absolute;
        top: -50px;
        left: 0;
        width: 200px;
        height: 300px;
        z-index: -1;
    }

    .biodata-img-4 {
        position: absolute;
        top: -70px;
        left: 150px;
        width: 175px;
        height: 250px;
        z-index: -1;
    }

    #biodata {
        background-size: auto 2750px;
    }
}
