@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700;800;900;1000&family=Open+Sans:wght@300;400;500;600;700;800&display=swap");
* {
    /* font-family: "Open Sans", sans-serif; */
    font-family: "Nunito", sans-serif;
}

/**********************************/
/******** MENU CLASS **************/
/**********************************/
/* 01). Navbar                    */
/* 02). Home                      */
/* 03). Keunggulan                */
/* 04). Harga list                */
/* 05). Kontak                    */
/* 06). Partner                   */
/**********************************/

/* =================================================== */
/* 01). Navbar *****************************************/
/* =================================================== */
.nav-link.active {
    color: var(--bs-primary) !important;
}

#checkbox {
    display: none;
}

.toggle {
    position: relative;
    width: 40px;
    cursor: pointer;
    display: block;
    border: none !important;
    height: calc(4px * 3 + 11px * 2);
}

.bar {
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: calc(4px / 2);
    background: #163e97;
    color: inherit;
    opacity: 1;
    transition: none 0.35s cubic-bezier(0.5, -0.35, 0.35, 1.5) 0s;
}

/***** Spin Animation *****/

.bar--top {
    bottom: calc(50% + 11px + 4px / 2);
    transition-property: bottom, transform;
    transition-delay: calc(0s + 0.35s), 0s;
}

.bar--middle {
    top: calc(50% - 4px / 2);
    transition-property: opacity;
    transition-delay: calc(0s + 0.35s);
}

.bar--bottom {
    top: calc(50% + 11px + 4px / 2);
    transition-property: top, transform;
    transition-delay: calc(0s + 0.35s), 0s;
}

#checkbox:checked + .toggle .bar--top {
    bottom: calc(50% - 4px / 2);
    transform: rotate(135deg);
    transition-delay: 0s, calc(0s + 0.35s);
}

#checkbox:checked + .toggle .bar--middle {
    opacity: 0;
    transition-duration: 0s;
    transition-delay: calc(0s + 0.35s);
}

#checkbox:checked + .toggle .bar--bottom {
    top: calc(50% - 4px / 2);
    transform: rotate(225deg);
    transition-delay: 0s, calc(0s + 0.35s);
}
/* =================================================== */
/* 02). Home *******************************************/
/* =================================================== */
.btn.btn-custom {
    transition: all 0.2s ease-out !important;
    background-color: #0095fe !important;
    color: white !important;
}
.btn.btn-custom:hover {
    background-color: #1ea1ff !important;
    transform: scale(105%) !important;
    box-shadow: 0px 0px 5px #0095fe !important;
}

/* =================================================== */
/* 03). Keunggulan *************************************/
/* =================================================== */
.fa-circle-check {
    display: block;
}

.bg-light.bab {
    transition: all 0.2s;
    border-radius: 10px;
}
.bg-light.bab:hover {
    background-color: var(--bs-light) !important;
    transform: scale(105%);
    box-shadow: 0px 0px 3px var(--bs-light);
}
.icon-keunggulan-mobile {
    display: flex;
    align-items: center !important;
}

/* =================================================== */
/* 04). Harga list *************************************/
/* =================================================== */
.card.basic {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 40px;
    border-top-right-radius: 40px;
    border-bottom-right-radius: 10px;
    border-top: 5px solid grey;
    border-right: 5px solid grey;
}

.card.medium {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 40px;
    border-top-right-radius: 40px;
    border-bottom-right-radius: 10px;
    border-top: 5px solid var(--bs-warning);
    border-right: 5px solid var(--bs-warning);
}
.card.expert {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 40px;
    border-top-right-radius: 40px;
    border-bottom-right-radius: 10px;
    border-top: 5px solid var(--bs-success);
    border-right: 5px solid var(--bs-success);
}
.card.tahunan {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 40px;
    border-top-right-radius: 40px;
    border-bottom-right-radius: 10px;
    border-top: 5px solid var(--bs-info);
    border-right: 5px solid var(--bs-info);
}
.card.permanen {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 40px;
    border-top-right-radius: 40px;
    border-bottom-right-radius: 10px;
    border-top: 5px solid var(--bs-danger);
    border-right: 5px solid var(--bs-danger);
}

/* =================================================== */
/* 05). Kontak *****************************************/
/* =================================================== */
.contact-item img {
    width: 100px;
}

/* =================================================== */
/* 06). Partner ****************************************/
/* =================================================== */
.title-personal {
    font-size: x-large;
}

.gallery-image {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.img-box img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.4s ease;
}

.img-box {
    box-sizing: content-box;
    margin: 10px;
    height: 150px;
    width: 200px;
    overflow: hidden;
    display: inline-block;
    color: white;
    position: relative;
    background-color: white;
}

.caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
    transition: all 0.3s ease;
}

.transparent-box {
    height: 150px;
    width: 200px;
    background-color: rgba(0, 0, 0, 0);
    position: absolute;
    top: 0;
    left: 0;
    transition: background-color 0.3s ease;
}

.img-box:hover img {
    transform: translate(-50%, -50%) scale(1.1);
}

.img-box:hover .transparent-box {
    background-color: rgba(0, 0, 0, 0.5);
}

.img-box:hover .caption {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ukuran TAB **********************************************************************/
/* TAB MAX ~ */
@media screen and (max-width: 834px) {
    .texthead-mobile {
        font-size: x-large !important;
    }

    .fitur-mobile {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }
}

.lb-data .lb-close {
    display: none !important;
}

/* ukuran ANDROID **********************************************************************/
/* ANDROID MAX ~ */
@media screen and (max-width: 586px) {
    .texthead-mobile {
        font-size: small !important;
    }

    .fitur-mobile {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }

    .keunggulan-mobile {
        margin: 1rem !important;
    }

    .header-mobile {
        font-size: large !important;
    }

    .row-keunggulan-mobile {
        padding-right: 2rem !important;
        padding-left: 2rem !important;
    }

    .icon-keunggulan-mobile {
        display: flex;
        align-items: start !important;
    }

    .judul-keunggulan-mobile {
        font-size: 1rem;
        color: var(--bs-dark) !important;
        padding-bottom: 0.5rem;
    }
    .isi-keunggulan-mobile {
        font-size: 0.9rem;
        color: var(--bs-secondary-color) !important;
        line-height: 1.4;
    }
}

@media screen and (max-width: 380px) {
    .fitur-mobile {
        display: flex !important;
        justify-content: center !important;
    }
    .contact-item img {
        width: 60px;
    }
    .contact-item h4 {
        font-size: 1rem !important;
    }
    .contact-item h6,
    .contact-item a {
        font-size: 0.7rem !important;
    }

    .card.basic small,
    .card.medium small,
    .card.expert small,
    .card.tahunan small,
    .card.permanen small {
        font-size: 0.7rem;
    }
}
