/* Layanan Cards: icon di pojok, tombol sejajar */

/* #layanan styles moved to layanan.css */
#layanan {
    width: 100%;
    padding: 3% 5% 8% 5%;
    background: #0b073a;
}

.box-layanan {
    padding: 50px 50px 50px 50px;
    background: #1e125d;
    color: #ffffff;
    border-radius: 30px;
    height: 100%;
    position: relative;
    margin: 20px;
}

.box-layanan img {
    bottom: -60px;
    right: -40px;
    position: absolute;
}

.title-layanan {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 28px;
}

.content-layanan {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    color: #d5d1f4;
    margin-top: 10px;
}

/* #layanan styles moved to layanan.css */
#layanan {
    width: 100%;
    padding: 3% 5% 5% 5%;
    background: #0b073a;
    margin-top: 3%;
}

.box-layanan {
    padding: 50px 50px 50px 50px;
    background: #1e125d;
    color: #ffffff;
    border-radius: 30px;
    position: relative;
    margin: 20px;
}

.box-layanan img {
    bottom: -60px;
    right: -40px;
    position: absolute;
}

.title-layanan {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 38px;
}

.content-layanan {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    color: #d5d1f4;
    margin-top: 10px;
}

#layanan .box-layanan {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: visible;
    padding: 46px 40px 150px 40px !important;
    margin: 0 !important;
    height: 100% !important;
}

#layanan .title-layanan {
    margin-bottom: 12px !important;
    font-size: 26px !important;
    line-height: 1.3 !important;
}

#layanan .content-layanan {
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin-top: 0 !important;
}

#layanan .layanan-cta {
    margin-top: auto;
    padding-top: 20px;
}

#layanan .layanan-icon {
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 200px;
    height: 200px;
    object-fit: contain;
    object-position: bottom right;
    pointer-events: none;
    filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.25));
}

#layanan .row-layanan {
    margin: 30px 40px 0px 50px;
}

/* Tablet */
@media (max-width: 1024px) {
    #layanan .box-layanan {
        padding: 40px 34px 130px 34px !important;
    }

    #layanan .title-layanan {
        font-size: 24px !important;
    }

    #layanan .layanan-icon {
        width: 130px;
        right: -12px;
        bottom: -12px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    #layanan {
        padding: 30px 0 40px 0 !important;
    }

    #layanan .col-lg-4 {
        margin-bottom: 30px !important;
    }

    #layanan .box-layanan {
        padding: 34px 28px 115px 28px !important;
        border-radius: 28px !important;
        margin-bottom: 0 !important;
        overflow: visible !important;
    }

    #layanan .title-layanan {
        font-size: 21px !important;
        margin-bottom: 14px !important;
        line-height: 1.3 !important;
    }

    #layanan .content-layanan {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    #layanan .layanan-cta {
        padding-top: 22px !important;
    }

    #layanan .layanan-icon {
        width: 105px !important;
        height: 105px !important;
        right: -8px !important;
        bottom: -8px !important;
        filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.18)) !important;
        object-fit: contain !important;
    }

    #layanan .row-layanan[style] {
        margin: 24px 0 0 0 !important;
        padding: 0 14px !important;
    }

    #layanan .btn-layanan {
        width: 100% !important;
        justify-content: center !important;
        padding: 14px 24px !important;
    }
}
