﻿body {
}

/**************carousel utama**************/

.carousel {
    height: 100vh;
    width: 100%;
}

.carousel-inner {
    width: 100%;
    height: 100%;
}

.carousel .carousel-item {
    width: 100%;
    height: 100%;
    position: relative;
}

    .carousel .carousel-item::before {
        width: 100%;
        height: 100%;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
        position: absolute;
        display: block;
        content: ""
    }

    .carousel .carousel-item img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    .carousel .carousel-item .carousel-text {
        height: 100%;
        width: 100%;
        padding: 0 15%;
        position: absolute;
        display: flex;
        justify-items: center;
        align-items: center;
        font-family: 'Montserrat';
        font-style: normal;
        font-weight: 500;
        font-size: 24px;
        line-height: 39px;
        text-align: center;
        color: #FFFFFF;
        top: 0;
    }


/**********informasi e-kyc dan keunggulan**********/

.info-unggul {
    width: 100%;
    height: auto;
    padding: 8rem 5%;
    background: white;
}

.info {
    width: 100%;
    height: 60vh;
    display: flex;
    flex-direction: row;
    margin-bottom: 8rem;
}

.text-info {
    width: 40%;
    display: flex;
    flex-direction: column;
}

.text-info-header {
    margin-bottom: 2rem;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 44px;
    line-height: 59px;
    /* identical to box height */


    color: #000000;
}

.text-info-desc {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0.018em;
    color: #716C80;
}


/*--------carousel informasi---------*/

.carousel-info {
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .carousel-info input[type=radio] {
        display: none;
    }

    .carousel-info .card {
        position: absolute;
        width: 60%;
        height: 100%;
        left: 0;
        right: 0;
        margin: auto;
        transition: transform .4s ease;
        cursor: pointer;
        --bs-card-bg: none;
        --bs-card-border-color: none;
        background: transparent;
    }

    .carousel-info .container {
        width: 100%;
        max-width: 600px;
        max-height: 500px;
        height: 100%;
        transform-style: preserve-3d;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .carousel-info .cards {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .carousel-info img {
        width: 100%;
        height: 100%;
        border-radius: 10px;
        object-fit: contain;
        object-position: center;
/*        box-shadow: none !important;*/
    }

#item-1:checked ~ .cards #song-3, #item-2:checked ~ .cards #song-1, #item-3:checked ~ .cards #song-2 {
    transform: translateX(-40%) scale(.9);
    opacity: .4;
    z-index: 0;
}

#item-1:checked ~ .cards #song-2, #item-2:checked ~ .cards #song-3, #item-3:checked ~ .cards #song-1 {
    transform: translateX(40%) scale(.9);
    opacity: .4;
    z-index: 0;
}

#item-1:checked ~ .cards #song-1, #item-2:checked ~ .cards #song-2, #item-3:checked ~ .cards #song-3 {
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 1;
}

    #item-1:checked ~ .cards #song-1, #item-2:checked ~ .cards #song-2, #item-3:checked ~ .cards #song-3 img {
        box-shadow: none;
    }

/*----------keunggulan-----------*/
.unggul {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.text-unggul-header {
    width: 100%;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 44px;
    line-height: 59px;
    text-align: center;
    /* identical to box height */


    color: #000000;
}

.list-unggul {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding-top: 4rem;
}

.container-unggul {
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
}

.keunggulan {
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
}

    .keunggulan img {
        border-radius: 100%;
        width: 260px;
        height: 260px;
        object-fit: cover;
        object-position: center;
        position: relative;
        z-index: 0
    }

    .keunggulan .name {
        position: relative;
        z-index: 10;
        background: white;
        width: 260px;
        text-align: center;
        border: 3px solid #0069B4;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
        border-radius: 13px;
        padding: 6px 0;
        top: -20px;
        font-family: 'Montserrat';
        font-style: italic;
        font-weight: 600;
        font-size: 28px;
        line-height: 39px;
        /* identical to box height */


        color: #000000;
    }

.desc-unggul {
    width: 260px;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0.018em;
    color: #716C80;
    text-align: center;
}

/************************ news **************/
.berita .carousel {
    height: 85vh;
    width: 100%;
}


.berita .carousel-inner {
    width: 100%;
    height: 100%;
}

.berita .carousel .carousel-item {
    width: 100%;
    height: 100%;
    position: relative;
}

    .berita .carousel .carousel-item img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    .berita .carousel .carousel-item .section-berita {
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-items: center;
        align-items: center;
        position: absolute;
        padding: 0 15%;
        top: 0px;
    }

        .berita .carousel .carousel-item .section-berita .card-berita {
            width: 50%;
            height: 75%;
            display: flex;
            flex-direction: column;
            background: #FFFFFF;
            border: 1px solid #D4D4D4;
            box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.15);
            border-radius: 5px;
            padding: 7% 5%;
        }

.date-berita {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #979797;
    margin-bottom: 1rem;
}

.writer {
    color: #0069B4;
}

.header-berita {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 150%;
    /* or 45px */

    letter-spacing: 0.05em;
    text-transform: capitalize;
    color: #333333;
    margin-bottom: 0.5rem;
}

.short-berita {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #979797;
    margin-bottom: 1rem;
}

.card-berita .line-bottom {
    width: 40%;
    border-bottom: 4px solid #85C226;
    margin-bottom: 0.5rem;
}

.card-berita input[type=button] {
    width: 30%;
    outline: none;
    border: none;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 15px;
    /* identical to box height */

    text-align: center;
    color: #FFFFFF;
    background: #0069B4;
    border-radius: 3px;
    padding: 10px;
    margin-top: 0.5rem;
}

.berita .carousel .carousel-item .section-berita .text-news {
    width: 50%;
    height: 75%;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 128px;
    line-height: 156px;
    text-align: end;
    color: #FFFFFF;
    text-shadow: -1px -1px 0 #E30613, 1px -1px 0 #E30613, -1px 1px 0 #E30613, 1px 1px 0 #E30613;
}



.reveal {
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: 2s all ease;
}

    .reveal.active {
        transform: translateY(0);
        opacity: 1;
    }

.read-more a {
    display: none;
}

.summary p {
    margin-bottom: 0;
}

.short-berita p {
    margin-bottom: 0;
}
