body {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
    background: #0b073a;
}
/* Terapkan box-sizing ke semua elemen (stabilkan layout) */
*,
*::before,
*::after {
    box-sizing: inherit;
}

#main {
}

.base-color {
    color: #0b073a;
}

.third-color {
    color: #f3f2ff;
}

.text-white {
    color: #ffffff;
}

.hide {
    display: none;
}

.red {
    color: rgb(184, 0, 0);
}

.grad-color {
    color: #a588ff;
    background-clip: text;
}

#content-page-section {
    width: 100%;
    height: auto;
    background: #ffffff;
    padding: 30px 0px 200px 0px;
}

.box-form-login {
    padding: 80px;
    border-radius: 30px;
    background: #ffffff;
    width: 50%;
}

.btn-secondary-color {
    padding: 15px 40px;
    color: #fff;
    background: linear-gradient(90deg, #2a1962, #5734c8);
    border-radius: 30px;
    text-decoration: none;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    /* animasi halus */
    transition: background 0.25s ease, box-shadow 0.25s ease,
        transform 0.12s ease;
}

/* saat hover / keyboard focus: warna digeser + glow */
.btn-secondary-color:hover,
.btn-secondary-color:focus-visible {
    background: linear-gradient(90deg, #5734c8, #8b6bff);
    box-shadow: 0 6px 18px rgba(87, 52, 200, 0.35);
    transform: translateY(-1px);
    color: #fff;
    outline: none;
}

/* saat ditekan (klik) */
.btn-secondary-color:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(87, 52, 200, 0.25);
}

/* jika disable (opsional) */
.btn-secondary-color[disabled],
.btn-secondary-color[aria-disabled="true"] {
    opacity: 0.6;
    pointer-events: none;
}

/* Tombol per layanan */
.btn-layanan {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(90deg, #2a1962, #5734c8);
    text-decoration: none;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.25s ease, box-shadow 0.25s ease,
        transform 0.12s ease;
}

.btn-layanan:hover,
.btn-layanan:focus-visible {
    background: linear-gradient(90deg, #5734c8, #8b6bff);
    box-shadow: 0 6px 18px rgba(87, 52, 200, 0.35);
    transform: translateY(-1px);
    color: #fff;
    outline: none;
}

.btn-layanan:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(87, 52, 200, 0.25);
}

/* Full width di mobile kecil */
@media (max-width: 768px) {
    .btn-layanan {
        width: 100%;
        justify-content: center;
    }
}

primary-color {
    color: #a588ff !important;
}

grad-primary-color {
    color: linear-gradient(to right, #baa4ff, #503a93);
}

@media only screen and (min-width: 1025px) {
    .btn-sm-secondary-color {
        padding: 10px 40px 10px 40px !important;
        font-size: 18px !important;
        color: #ffffff;
        background: linear-gradient(to right, #2a1962, #5734c8);
        border-radius: 30px;
        text-decoration: none;
        font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
        font-weight: 500;
        font-style: normal;
    }

    .navbar {
        background: transparent !important;
        /* background: linear-gradient(360deg, #2A1962,#0B073A,#0B073A); */
    }

    .navbar-brand img {
        max-width: 140px;
        height: auto;
        filter: 
            drop-shadow(1px 0px 0px #fff)
            drop-shadow(-1px 0px 0px #fff)
            drop-shadow(0px 1px 0px #fff)
            drop-shadow(0px -1px 0px #fff)
            drop-shadow(0 2px 4px rgba(255,255,255,0.3));
    }

    .navbar-brand img:hover {
        filter: 
            drop-shadow(1px 0px 0px #fff)
            drop-shadow(-1px 0px 0px #fff)
            drop-shadow(0px 1px 0px #fff)
            drop-shadow(0px -1px 0px #fff)
            drop-shadow(0 3px 6px rgba(255,255,255,0.4));
    }

    .first-navbar {
        margin-left: 60px;
    }

    ul .nav-item {
        font-size: 16px !important;
    }

    .mr-auto li {
        padding: 0px 10px 0px 20px;
    }

    /* Headline */
    #homepage {
        width: 100%;
        padding: 0 0 0 0;
        margin-top: 0%;
        background: linear-gradient(180deg, #2a1962 0%, #0b073a 12%);
    }

    .img-box-bottom-right {
        position: absolute;
        bottom: 0px !important;
        right: 20px !important;
        /* float: right; */
    }

    #relationship {
        width: 100%;
        padding: 3% 5% 5% 5%;
        background: #0b073a;
    }

    .relationship-box {
        padding: 80px;
        background: linear-gradient(to right, #2a1962, #5734c8);
        border-radius: 20px;
        margin-top: 30px;
        position: relative;
        align-content: center;
        position: relative;
    }

    .relationship-box img {
        bottom: 0px;
        right: 0px;
        position: absolute;
    }

    .rounded-img {
        padding: 1px;
        border-radius: 50%;
        color: #ffffff !important;
    }

    #transaksi {
        width: 100%;
        padding: 5% 5% 3% 5%;
        background: #0b073a;
    }

    .content-transaksi {
        font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
        font-weight: 300;
        font-style: normal;
        font-size: 18px;
        color: #d5d1f4;
        margin-top: 10px;
        margin-bottom: 50px;
    }

    #kebutuhan {
        width: 100%;
        padding: 0% 5% 5% 5%;
        background: #0b073a;
    }

    .subheadline {
        padding: 0px 80px 40px 80px;
        font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
        font-weight: 300;
        font-style: normal;
        font-size: 20px;
        color: #d5d1f4;
    }

    .box-kebutuhan {
        padding: 40px;
        background: #a588ff33;
        color: #ffffff;
        border-radius: 30px;
        margin: 15px;
        height: 100%;
        align-content: center;
    }

    .box-kebutuhan .title {
        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: 22px;
        color: #ffffff;
        margin-left: -100px;
    }

    .box-kebutuhan img {
        width: 84%;
        margin: -150px -200px -130px -50px;
    }

    .box-kebutuhan .content {
        font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
        font-weight: 300;
        font-style: normal;
        font-size: 18px;
        color: #d5d1f4;
        margin-left: -100px;
    }

    #trusted {
        width: 100%;
        padding: 8% 5% 5% 5%;
        background: #0b073a;
    }

    .box-trusted {
        padding: 40px;
        background: linear-gradient(to right, #9d81f4, #5734c8);
        border-radius: 30px;
        align-content: center !important;
    }

    .box-trusted .title {
        font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
        font-weight: 700;
        font-style: normal;
        font-size: 50px;
        color: #ffffff;
        line-height: 60px;
        padding: 20px 0px 0px 0px;
    }

    .box-trusted .content {
        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;
    }

    #testimoni {
        width: 100%;
        padding: 5% 5% 5% 5%;
        background: #0b073a;
    }

    .testimoni-container {
        max-width: 100%;
        overflow-x: auto;
        align-content: center;
    }

    #testimoni .p-title {
        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: #ffffff;
    }

    #testimoni .headline {
        font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
        font-weight: 700;
        font-style: normal;
        font-size: 50px;
        color: #ffffff;
    }

    #testimoni .subheadline {
        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: #ffffff;
    }

    #testimoni .box-testimoni {
        padding: 30px;
        border-radius: 30px;
        background: #1e125d;
        margin: 10px;
        /* width: 60%; */
    }

    .box-testimoni .title {
        font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
        font-weight: 700;
        font-style: normal;
        font-size: 22px;
        color: #ffffff;
    }

    .box-testimoni .subtitle {
        color: #d5d1f4;
        font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
        font-weight: 700;
        font-style: normal;
        font-size: 20px;
    }

    .box-testimoni .content {
        color: #d5d1f4;
        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;
    }

    #reason {
        width: 100%;
        padding: 5% 5% 5% 5%;
        background: #0b073a;
    }

    #chatting {
        width: 100%;
        padding: 5% 5% 5% 5%;
        background: #0b073a;
    }

    #topup {
        width: 100%;
        padding: 5% 5% 5% 5%;
        background: #0b073a;
    }

    .p-round {
        padding: 20px;
        border-radius: 50%;
        background: #a588ff33;
        align-items: center;
    }

    #pembayaran {
        width: 100%;
        padding: 5% 5% 5% 5%;
        background: #0b073a;
    }

    #form-saldo {
        width: 100%;
        padding: 5% 5% 5% 5%;
        background: #0b073a;
    }

    .box-form {
        padding: 50px;
        border-radius: 30px;
        background: #ffffff;
    }

    .round {
        border-radius: 10px;
    }

    #ketentuan {
        width: 100%;
        padding: 5% 5% 5% 5%;
        background: #0b073a;
    }

    .box-ketentuan {
        padding: 80px;
        background: #1e125d;
        color: #ffffff;
        border-radius: 30px;
        position: relative;
    }

    .box-ketentuan img {
        top: -50px;
        right: -60px;
        position: absolute;
        width: 25%;
    }

    #ketentuan-list::-webkit-scrollbar {
        width: 5px;
        /* width of the entire scrollbar */
    }

    #ketentuan-list::-webkit-scrollbar-track {
        background: #503b93;
        border-radius: 10px;
        /* color of the tracking area */
    }

    #ketentuan-list::-webkit-scrollbar-thumb {
        background-color: #d5d1f4;
        /* color of the scroll thumb */
        border-radius: 20px;
        /* roundness of the scroll thumb */
        border: 3px solid #d5d1f4;
        /* creates padding around scroll thumb */
    }

    #jasa {
        width: 100%;
        padding: 5% 5% 5% 5%;
        background: #0b073a;
    }

    #jasa .round-box {
        padding: 45px;
        border-radius: 50%;
        background: #a588ff33;
        position: relative;
    }

    .round-box img {
        position: absolute;
        right: 0;
        bottom: 0;
    }

    #pilihan {
        width: 100%;
        padding: 7% 5% 3% 5%;
        background: #0b073a;
    }

    #pilihan .headline {
        font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
        font-weight: 700;
        font-style: normal;
        font-size: 50px;
        color: #ffffff;
        line-height: 60px;
    }

    #pilihan .content {
        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;
        line-height: 1.6;
    }

    .pilihan-image-wrapper {
        text-align: center;
        position: relative;
        margin-top: -80px;
    }

    .pilihan-image-wrapper img {
        max-width: 70%;
        height: auto;
    }

    .pilihan-button-wrapper {
        text-align: left;
    }

    /* footer */
    #footer {
        padding: 100px 100px 40px 100px;
        border-radius: 80px 80px 0px 0px;
        background: #1e125d;
        margin-top: -5%;
    }

    #footer .title {
        font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
        font-weight: 700;
        font-style: normal;
        font-size: 24px;
        color: #ffffff;
    }

    #footer .content {
        font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
        font-weight: 300;
        font-style: normal;
        font-size: 16px;
        color: #d5d1f4;
    }

    #footer a {
        color: #d5d1f4;
        text-decoration: none;
    }

    /* End Footer */
}

@media only screen and (max-width: 1024px) {
    ul .nav-item {
        font-size: 14px !important;
    }

    .first-navbar {
        margin-left: 0px !important;
    }

    .btn-secondary-color {
        padding: 15px 40px;
        color: #ffffff;
        background: linear-gradient(to right, #2a1962, #5734c8);
        border-radius: 30px;
        text-decoration: none;
        font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
        font-weight: 700;
        font-style: normal;
        font-size: 16px;
        display: block; /* Ubah jadi block agar margin auto berfungsi */
        width: -moz-fit-content; /* Paskan lebar (Firefox) */
        width: fit-content; /* Paskan lebar (Chrome, Safari, dll) */
        margin-left: auto; /* Rata tengah */
        margin-right: auto; /* Rata tengah */
        text-align: center;
    }

    .d-tablet-none {
        display: none;
    }

    .size-headline {
        font-size: 38px;
    }

    .size-title {
        font-size: 38px;
    }

    .img-30 {
        width: 250px;
    }

    .size-62 {
        font-size: 30px;
    }

    .col-br {
        margin-bottom: 50px !important;
    }

    .btn-sm-secondary-color {
        padding: 10px 20px 10px 20px !important;
        font-size: 18px !important;
        color: #ffffff;
        background: linear-gradient(to right, #2a1962, #5734c8);
        border-radius: 30px;
        text-decoration: none;
        font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
        font-weight: 500;
        font-style: normal;
    }

    .navbar {
        background: transparent !important;
        /* background: linear-gradient(360deg, #2A1962,#0B073A,#0B073A); */
    }

    .first-navbar {
        margin-left: 120px;
    }

    .mr-auto li {
        padding: 0px 10px 0px 20px;
    }

    #homepage {
        width: 100%;
        padding: 0 0 0 0;
        margin-top: 0%;
        background: linear-gradient(180deg, #2a1962 0%, #0b073a 12%);
    }

    .rounded-img {
        padding: 1px;
        border-radius: 50%;
        color: #ffffff !important;
    }

    #relationship {
        width: 100%;
        padding: 3% 5% 5% 5%;
        background: #0b073a;
    }

    .relationship-box {
        padding: 80px;
        background: linear-gradient(to right, #2a1962, #5734c8);
        border-radius: 20px;
        margin-top: 30px;
        position: relative;
        align-content: center;
        position: relative;
    }

    .relationship-box img {
        bottom: 0px;
        right: 0px;
        position: absolute;
    }

    .relationship-box h1 {
        color: white;
        /* jika latar gelap, biar teks terlihat */
    }

    .relationship-box p {
        margin-bottom: 0;
        color: #d5d1f4;
    }

    .img-box-bottom-right {
        position: absolute;
        bottom: 0px !important;
        right: 20px !important;
        /* float: right; */
    }

    #reason {
        width: 100%;
        padding: 5% 5% 5% 5%;
        background: #0b073a;
    }

    #reason .mt-tablet-5 {
        margin-top: 50px;
    }

    .mt-tablet-5 {
        margin-top: 100px !important;
    }

    #chatting {
        width: 100%;
        padding: 5% 5% 5% 5%;
        background: #0b073a;
    }

    #topup {
        width: 100%;
        padding: 5% 5% 5% 5%;
        background: #0b073a;
    }

    .p-round {
        padding: 20px;
        border-radius: 50%;
        background: #a588ff33;
        align-items: center;
    }

    #pembayaran {
        width: 100%;
        padding: 5% 5% 5% 5%;
        background: #0b073a;
        margin-bottom: 3%;
    }

    #form-saldo {
        width: 100%;
        padding: 5% 5% 5% 5%;
        background: #0b073a;
        margin-bottom: 15%;
    }

    .box-form {
        padding: 50px;
        border-radius: 30px;
        background: #ffffff;
    }

    .round {
        border-radius: 10px;
    }

    #ketentuan {
        width: 100%;
        padding: 5% 5% 5% 5%;
        background: #0b073a;
    }

    .box-ketentuan {
        padding: 80px;
        background: #1e125d;
        color: #ffffff;
        border-radius: 30px;
        position: relative;
    }

    .box-ketentuan img {
        top: -150px;
        right: -40px;
        position: absolute;
    }

    #ketentuan-list::-webkit-scrollbar {
        width: 5px;
        /* width of the entire scrollbar */
    }

    #ketentuan-list::-webkit-scrollbar-track {
        background: #503b93;
        border-radius: 10px;
        /* color of the tracking area */
    }

    #ketentuan-list::-webkit-scrollbar-thumb {
        background-color: #d5d1f4;
        /* color of the scroll thumb */
        border-radius: 20px;
        /* roundness of the scroll thumb */
        border: 3px solid #d5d1f4;
        /* creates padding around scroll thumb */
    }

    #jasa {
        width: 100%;
        padding: 5% 5% 5% 5%;
        background: #0b073a;
    }

    #jasa .round-box {
        padding: 45px;
        border-radius: 50%;
        background: #a588ff33;
        position: relative;
    }

    .round-box img {
        position: absolute;
        right: 0;
        bottom: 0;
    }

    #transaksi {
        width: 100%;
        padding: 5% 5% 3% 5%;
        background: #0b073a;
    }

    .content-transaksi {
        font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
        font-weight: 300;
        font-style: normal;
        font-size: 28px;
        color: #d5d1f4;
        margin-top: 10px;
    }

    #kebutuhan {
        width: 100%;
        padding: 3% 5% 5% 5%;
        background: #0b073a;
    }

    .subheadline {
        padding: 0px 80px 40px 80px;
        font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
        font-weight: 300;
        font-style: normal;
        font-size: 28px;
        color: #d5d1f4;
    }

    .box-kebutuhan {
        padding: 40px;
        background: #a588ff33;
        color: #ffffff;
        border-radius: 30px;
        height: 100%;
        align-content: center;
    }

    .box-kebutuhan .title {
        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: 24px;
        color: #ffffff;
        margin-left: -100px;
    }

    .box-kebutuhan img {
        width: 40%;
        margin: -150px -500px -200px -70px;
    }

    .box-kebutuhan .content {
        font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
        font-weight: 300;
        font-style: normal;
        font-size: 18px;
        color: #d5d1f4;
        margin-left: -100px;
    }

    #trusted {
        width: 100%;
        padding: 5% 5% 5% 5%;
        background: #0b073a;
        margin-top: 70px;
    }

    .box-trusted {
        padding: 40px;
        background: linear-gradient(to right, #9d81f4, #5734c8);
        border-radius: 30px;
        align-content: center !important;
    }

    .box-trusted .title {
        font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
        font-weight: 700;
        font-style: normal;
        font-size: 38px;
        color: #ffffff;
        line-height: 60px;
        padding: 20px 0px 0px 0px;
    }

    .box-trusted .content {
        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: 24px;
        color: #d5d1f4;
    }

    .box-trusted img {
        width: 200px !important;
        margin: -100px 0px -200px -120px !important;
    }

    #testimoni {
        width: 100%;
        padding: 5% 5% 5% 5%;
        background: #0b073a;
        margin-bottom: 10%;
    }

    .testimoni-container {
        max-width: 100%;
        overflow-x: auto;
        align-content: center;
    }

    #testimoni .p-title {
        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: 24px;
        color: #ffffff;
    }

    #testimoni .headline {
        font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
        font-weight: 700;
        font-style: normal;
        font-size: 60px;
        color: #ffffff;
    }

    #testimoni .subheadline {
        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: 24px;
        color: #ffffff;
    }

    #testimoni .box-testimoni {
        padding: 30px;
        border-radius: 30px;
        background: #1e125d;
        margin: 10px;
        /* width: 60%; */
    }

    .box-testimoni .title {
        font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
        font-weight: 700;
        font-style: normal;
        font-size: 38px;
        color: #ffffff;
    }

    .box-testimoni .subtitle {
        color: #d5d1f4;
        font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
        font-weight: 700;
        font-style: normal;
        font-size: 25px;
    }

    .box-testimoni .content {
        color: #d5d1f4;
        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: 25px;
    }

    #pilihan {
        width: 100%;
        padding: 7% 5% 3% 5%;
        background: #0b073a;
    }

    #pilihan .headline {
        font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
        font-weight: 700;
        font-style: normal;
        font-size: 60px;
        color: #ffffff;
        line-height: 65px;
    }

    #pilihan .content {
        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: 25px;
        color: #d5d1f4;
    }

    /* footer */
    #footer {
        padding: 3%;
        border-radius: 80px 80px 0px 0px;
        background: #1e125d;
        margin-top: -5%;
    }

    #footer .title {
        font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
        font-weight: 700;
        font-style: normal;
        font-size: 24px;
        color: #ffffff;
    }

    #footer .content {
        font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
        font-weight: 300;
        font-style: normal;
        font-size: 16px;
        color: #d5d1f4;
    }

    #footer a {
        color: #d5d1f4;
        text-decoration: none;
    }

    .size-80 {
        font-size: 60px;
    }
}

@media only screen and (max-width: 600px) {
    .content-transaksi {
        text-align: center;
        font-size: 14px;
    }

    #kebutuhan .subheadline {
        font-size: 14px;
    }

    .box-kebutuhan .content {
        font-size: 14px;
        margin-left: 30%;
    }

    .box-kebutuhan .title {
        font-size: 18px;
        margin-left: 30%;
    }

    .box-kebutuhan img {
        width: 40%;
        margin: -100px -50px -110px -30px;
    }

    #trusted img {
        width: 100%;
        margin: -150px 0px -100px -100px !important;
    }

    .box-trusted .title {
        font-size: 26px;
        text-align: center;
        line-height: 30px;
    }

    .box-trusted .content {
        font-size: 14px;
        text-align: center;
    }

    .p-mobile {
        padding: 0px !important;
        margin-top: -20px;
    }

    .navbar-brand {
        margin-right: 0.3rem;
    }

    .navbar-brand img {
        margin-top: 10px;
        max-width: 100px;
        width: auto;
        height: auto;
        filter: 
            drop-shadow(1px 0px 0px #fff)
            drop-shadow(-1px 0px 0px #fff)
            drop-shadow(0px 1px 0px #fff)
            drop-shadow(0px -1px 0px #fff)
            drop-shadow(0 2px 4px rgba(255,255,255,0.3));
    }

    .sm-none {
        display: none;
    }

    ul .nav-item {
        font-size: 14px !important;
    }

    .first-navbar {
        margin-left: 0px;
    }

    .size-headline {
        font-size: 32px;
    }

    .size-24 {
        font-size: 14px !important;
    }

    .btn-secondary-color {
        font-size: 16px;
    }

    .size-title {
        font-size: 38px;
    }

    .size-62 {
        font-size: 17px;
    }

    .img-30 {
        width: 20%;
    }

    .size-20 {
        font-size: 10px;
    }

    .relationship-box {
        padding: 10px;
    }

    .icon-mobile {
        width: 6px;
        height: 6px;
        margin-top: -10px !important;
    }

    .icon-align {
        text-align: left !important;
    }

    .size-30 {
        font-size: 12px;
    }

    /* .icon-layanan moved to layanan.css */
    /* .icon-layanan {
        width: 15px;
        height: 20px;
    } */

    .t-sm-center {
        text-align: center;
    }

    .p-sm-10 {
        padding: 10% !important;
    }

    /* mobile–tablet: tetap */
    #chatting .cta-ketentuan {
        margin-top: 5rem !important;
    }

    /* desktop ≥ 992px */
    @media (min-width: 992px) {
        #chatting .cta-ketentuan {
            margin-top: 7rem !important;
        }
    }

    /* large desktop ≥ 1400px */
    @media (min-width: 1400px) {
        #chatting .cta-ketentuan {
            margin-top: 9rem !important;
        }
    }

    #testimoni .p-title {
        font-size: 12px;
    }

    #testimoni .headline {
        font-size: 38px;
    }

    #testimoni .subheadline {
        font-size: 16px;
        margin-top: -30px;
    }

    #pilihan .headline {
        font-size: 38px;
        text-align: center;
        line-height: 50px;
        margin-bottom: 20px;
    }

    #pilihan .content {
        font-size: 14px;
        text-align: center;
        line-height: 1.6;
        padding: 0 10px;
    }

    .pilihan-image-wrapper {
        margin-top: 0;
        margin-bottom: 20px;
    }

    .pilihan-image-wrapper img {
        max-width: 85%;
    }

    .pilihan-button-wrapper {
        text-align: center;
        margin-top: 30px;
    }

    .mt-sm-10 {
        margin-top: 10px !important;
    }

    #footer {
        border-radius: 25px 25px 0px 0px;
        padding: 3%;
    }

    #footer img {
        padding: 0px !important;
        width: 60%;
    }

    #footer .title {
        font-size: 19px;
        text-align: center;
    }

    #footer .content {
        font-size: 16px;
        text-align: center;
    }

    #footer a {
        color: #d5d1f4;
        text-decoration: none;
    }

    #footer .content a {
        font-size: 12px;
        /* text-align: left; */
    }

    .size-80 {
        font-size: 38px;
    }

    .text-center-sm {
        text-align: left;
    }

    .text-height-normal {
        line-height: 45px;
    }

    .size-sm-16 {
        font-size: 16px !important;
    }

    .mt-sm-5 {
        margin-top: 40px !important;
    }

    .mt-sm-persen-20 {
        margin-top: 20% !important;
    }

    .width-sm-icon {
        width: 70px !important;
        float: right;
        margin-top: -30px !important;
    }

    .p-sm-btn-secondary-color {
        padding: 15px 20px 15px 20px !important;
    }

    .size-sm-10 {
        font-size: 10px !important;
    }

    .size-sm-8 {
        font-size: 8px !important;
    }

    .width-sm-tbl {
        width: 30px;
        height: 30px;
    }

    .font-form-label-sm {
        font-size: 11px !important;
    }

    .font-form-placeholder-sm {
        font-size: 10px;
        height: 35px !important;
        margin-bottom: -20px;
    }

    .box-ketentuan {
        padding: 40px 20px 40px 20px;
        background: #1e125d;
        color: #ffffff;
        border-radius: 30px;
        position: relative;
    }

    .box-ketentuan img {
        top: -20px;
        right: -12px;
        width: 200px;
    }

    #ketentuan-list::-webkit-scrollbar {
        width: 5px;
        /* width of the entire scrollbar */
    }

    #ketentuan-list::-webkit-scrollbar-track {
        background: #503b93;
        border-radius: 10px;
        /* color of the tracking area */
    }

    #ketentuan-list::-webkit-scrollbar-thumb {
        background-color: #d5d1f4;
        /* color of the scroll thumb */
        border-radius: 20px;
        /* roundness of the scroll thumb */
        border: 3px solid #d5d1f4;
        /* creates padding around scroll thumb */
    }

    .round-box img {
        width: 100%;
    }

    #testimoni .box-testimoni {
        padding: 20px;
        border-radius: 30px;
        background: #1e125d;
    }

    .box-testimoni .img-parent {
        width: 75px;
    }

    .box-testimoni .img-child {
        width: 10%;
    }

    .box-testimoni .title {
        font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
        font-weight: 700;
        font-style: normal;
        font-size: 14px;
        color: #ffffff;
    }

    .box-testimoni .subtitle {
        color: #d5d1f4;
        font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
        font-weight: 700;
        font-style: normal;
        font-size: 10px;
    }

    .box-testimoni .content {
        color: #d5d1f4;
        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: 10px;
    }
}

/* ===== Privacy layout: TOC kiri, konten kanan ===== */
.policy-layout {
    display: block;
}
@media (min-width: 992px) {
    /* desktop */
    .policy-layout {
        display: grid;
        grid-template-columns: 320px 1fr; /* lebar TOC */
        gap: 24px;
        align-items: start;
    }
}

.policy-toc {
    background: #0f1445; /* selaras tema */
    border-radius: 20px;
    padding: 20px 24px;
    color: #d5d1f4;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    position: static; /* mobile/tablet: biasa */
}
@media (min-width: 992px) {
    .policy-toc {
        position: sticky; /* desktop: nempel */
        top: 90px; /* sesuaikan tinggi navbar */
        height: fit-content;
        max-height: calc(100vh - 110px);
        overflow: auto; /* kalau TOC panjang */
    }
}

.policy-toc h3 {
    margin: 0 0 12px;
    font-weight: 700;
    color: #fff;
}

.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: toc;
}
.toc-list li {
    counter-increment: toc;
    padding: 6px 0;
}
.toc-list li::before {
    content: counter(toc) ". ";
    color: #7e87c9;
}
.toc-list a {
    color: #d5d1f4;
    text-decoration: none;
}
.toc-list a:hover,
.toc-list a:focus-visible {
    color: #fff;
    text-decoration: underline;
}

/* Konten kanan */
.policy-content {
    background: #0e0c3f;
    border-radius: 20px;
    padding: clamp(16px, 3vw, 28px);
}

/* Saat klik anchor, judul tidak ketutup navbar */
.policy-content h2,
.policy-content h3 {
    scroll-margin-top: 110px; /* samakan dengan tinggi navbar */
}

/* Tablet & mobile: TOC tampil di atas konten (urutannya aman) */
@media (max-width: 991.98px) {
    .policy-toc {
        margin-bottom: 16px;
    }
}

/* ===== Dropdown Menu Styling ===== */
.dropdown-menu {
    background: linear-gradient(180deg, #2a1962 0%, #1e125d 100%);
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 12px;
    padding: 8px 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    margin-top: 8px;
}

.dropdown-item {
    color: #d5d1f4;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(87, 52, 200, 0.3);
    color: #ffffff;
    transform: translateX(4px);
}

.dropdown-item:active {
    background: rgba(87, 52, 200, 0.5);
    color: #ffffff;
}

/* ===== Navbar Mobile Fixes ===== */
.navbar-light .navbar-toggler {
    border-color: transparent;
}

.navbar-collapse {
    background: #2a1962;
    border-radius: 0 0 16px 16px;
    margin-top: 10px;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 15px 0;
        max-height: 80vh;
        overflow-y: auto;
    }

    .navbar-nav {
        gap: 5px;
        padding: 0;
    }

    .nav-item {
        margin: 0 !important;
        width: 100%;
        padding: 0 15px;
    }

    .nav-link {
        padding: 12px 16px !important;
        margin: 0 !important;
        border-radius: 8px;
        width: 100%;
    }

    .dropdown-menu {
        background: rgba(42, 25, 98, 0.7);
        border: none;
        margin-top: 0;
        padding: 0;
        border-radius: 8px;
        margin-left: 0;
    }

    .dropdown-item {
        padding: 10px 24px;
        font-size: 14px;
    }

    /* Mobile buttons styling */
    .mobile-btn {
        background: rgba(87, 52, 200, 0.25) !important;
        color: #ffffff !important;
        padding: 12px 16px !important;
        border-radius: 8px !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        margin: 4px 0 !important;
        border: none !important;
        width: 100% !important;
        text-align: left !important;
    }

    .btn-logout {
        background: rgba(184, 0, 0, 0.3) !important;
        cursor: pointer;
    }

    .btn-logout:hover {
        background: rgba(184, 0, 0, 0.5) !important;
    }
}

/* Ensure navbar padding consistent on non-home pages */
.navbar {
    padding-left: clamp(16px, 5vw, 60px);
    padding-right: clamp(16px, 5vw, 60px);
}


@media (min-width: 992px) {
    .navbar-collapse {
        background: transparent;
        margin-top: 0;
    }
}

/* ===== Desktop Auth Buttons ===== */
.desktop-auth-btn {
    padding: 8px 16px;
    background: rgba(87, 52, 200, 0.25);
    color: #ffffff !important;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.desktop-auth-btn:hover {
    background: rgba(87, 52, 200, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(87, 52, 200, 0.3);
    color: #ffffff !important;
}

.desktop-logout-btn {
    padding: 8px 16px;
    background: rgba(184, 0, 0, 0.25);
    color: #ffffff !important;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.desktop-logout-btn:hover {
    background: rgba(184, 0, 0, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 0, 0, 0.3);
    color: #ffffff !important;
}
