:root {
    --default-font-family: "Poppins", -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Helvetica, Arial,
        "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei UI",
        "Microsoft Yahei", "Source Han Sans CN", sans-serif;
}

body {
    font-family: var(--default-font-family);
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    /* padding: 0 16px; */
}

.navbar {
    background-color: white;
    width: 70%;
    position: fixed;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 1000;
    border: 1px solid #ff69b4;
    border-top: none;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

/* Untuk mendukung submenu posisi */
.dropdown-submenu {
    position: relative;
}

.dropdown-menu {
    background-color: transparent;
    border: none;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0.1rem;
    margin-top: -0.5rem;
    display: none;
    border-radius: 10px;
    background-color: transparent;
    border: none;
}

/* Tampilan tombol dropdown-item seperti di gambar */
.dropdown-menu .dropdown-item {
    background-color: #f770a0;
    color: #fff;
    border-radius: 20px;
    margin: 4px 10px;
    padding: 8px 16px;
    font-weight: 600;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #e86095;
}

/* Aktifkan submenu saat parent diklik */
.dropdown-submenu.show>.dropdown-menu {
    display: block;
}

@media (max-width: 1200px) {
    .navbar {
        width: 90%;
        /* border-radius: 0;
        background-color: white; */
    }
}

@media (max-width: 991px) {
    .navbar {
        width: 100%;
        border-radius: 0;
        background-color: white;
    }
}

@media (max-width: 767px) {
    .navbar {
        width: 100%;
        border-radius: 0;
        background-color: white;
    }
}

/* hero */
.hero {
    position: relative;
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: #fff;
    /* padding: 5rem 1rem; */
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
}

.hero h1 span {
    font-size: 48px;
    color: #C5004F;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    /*-webkit-text-stroke: 1px grey"*/

}

.hero .subtitle {
    font-size: 30px;
    color: white;
    font-weight: 400;
    max-width: 700px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    /*-webkit-text-stroke: 1px grey;*/
}

.hero .box-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.btn {
    display: flex;
    align-items: center;
    height: 75px;
    background-color: #ff3d7e;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    animation: bounce 1s infinite;
}

.btn:hover {
    background-color: #e9157c;
    color: #f8b9ac;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* pic */
.pic {
    position: relative;
    margin-top: -100px;
}

.pic1 {
    border-radius: 30px;
    margin-top: -100px;
    margin-bottom: 20px;
    padding: 10px;
    width: 100%;
    top: 900px;
    z-index: 99;
}

.img-box {
    width: 80%;
    height: 400px;
    overflow: hidden;
    border-radius: 50px;
    background-color: red;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 767px) {
    .hero {
        gap: 100px;
    }

}

@media (max-width: 512px) {
    .hero {
        height: 50vh;
        padding: 2rem 1rem;
        font-size: 20px !important;
        justify-content: space-around;
        gap: 0;

    }

    .hero .box-title {
        margin-top: 40px;
    }

    .hero h1 span {
        font-size: 30px !important;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
        /*-webkit-text-stroke: 1px grey;*/
    }

    .hero .subtitle {
        font-size: 16px !important;
    }

    .hero .btn {
        height: 60px !important;
        font-size: 1.2rem;
    }

    .pic {
        margin-top: 0;
    }
}

@media (max-width: 375px) {
    .hero {
        height: 45vh;
        padding: 0;
    }

    .hero .box-title {
        margin-top: 40px;
    }

    .hero .btn {
        margin-top: 0px !important;
    }
}

.section {
    padding: 50px 0;
}

.rounded-img {
    border-radius: 20px;
}

.btn-custom {
    background-color: #c5004f;
    color: white;
    padding: 10px 30px;
    font-size: 16px;
    border-radius: 30px;
    text-transform: uppercase;
}

.btn-custom:hover {
    background-color: #9b003c;
}

.image-container {
    border-radius: 20px;
    margin-bottom: 20px;
}

.img-fluid {
    border-radius: 15px;
    width: 100%;
    height: auto;
}

.btn2 {
    height: 50px;
    width: 300px;
    background-color: #ff3d7e;
    color: #fff;
    font-size: 16px;
    font-weight: 10;
    border-radius: 50px;
    border: none;
}

/* solusi */
.solusi {
    background-color: #ffdfe0;
    border-radius: 0 0 85% 85% / 30%;
    padding-bottom: 70px;
}

.solusi img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

@media (max-width: 991px) {
    .solusi {
        border-radius: 0 0 85% 85% / 20%;
    }

    .solusi img {
        height: 100%;
        width: 65%;
    }
}

@media (max-width: 767px) {
    .solusi {
        border-radius: 0 0 95% 95% / 10%;
        padding: 0;
    }

    .solusi img {
        height: 100%;
        width: 75%;
    }
}

@media (max-width: 576px) {
    .solusi img {
        height: 100%;
        width: 100%;
    }
}

/* .ceritaklinik {} */

.ceritaklinik .box-pink {
    background-color: #ff5e9e;
    border-radius: 20px;
    padding: 0 50px;
    margin: 0 25px;
}

.ceritaklinik .box-pink h2 {
    color: #3fe0d0;
    font-size: 40px;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
    margin-top: 25px;
    text-align: center;
    margin-inline: 20px;
}

.ceritaklinik .box-pink .sub-title {
    width: 50%;
}

.ceritaklinik .owl-carousel {
    position: relative;
    overflow: visible;
    /* Penting: agar tombol terlihat walau di luar box */
}

.ceritaklinik .owl-nav {
    display: block !important;
    position: absolute;
    width: 100%;
    top: 25%;
    transform: translateY(-50%);
    pointer-events: none;
}

.ceritaklinik .owl-nav button.owl-prev,
.ceritaklinik .owl-nav button.owl-next {
    background: #9cd8d8 !important;
    border: white solid 6px !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: all;
    /* aktifkan klik tombol */
    z-index: 2;
}

.ceritaklinik .owl-nav button.owl-prev {
    left: -75px;
    /* negatif untuk keluar dari box */
}

.ceritaklinik .owl-nav button.owl-next {
    right: -75px;
    /* negatif untuk keluar dari box */
}

@media (max-width: 991px) {
    .ceritaklinik .owl-nav {
        top: 20%;
    }
}

@media (max-width: 576px) {
    .ceritaklinik .box-pink h2 {
        font-size: 30px;
    }

    .ceritaklinik .box-pink .sub-title {
        width: 100%;
    }

    .ceritaklinik .box-pink {
        margin: 0;
        padding: 0 20px;
    }

    .ceritaklinik .owl-nav button.owl-prev {
        left: -35px;
        /* negatif untuk keluar dari box */
    }

    .ceritaklinik .owl-nav button.owl-next {
        right: -35px;
        /* negatif untuk keluar dari box */
    }
}

.ceritaKita {
    background-color: #ff5e9e;
    margin: 0 25px;
    /* width: 100%; */
    height: auto;
    border-radius: 20px;
}

.card1-custom {
    background-color: #f8b9ac;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.card1-custom h5 {
    color: #c5004f;
}

/* .owl-carousel {
    position: relative;
} */

.owl-dots {
    display: block !important;
    position: relative;
    margin-top: 20px;
    text-align: center;
}

/* .ceritaKita .owl-nav {
    display: flex !important;
    position: absolute;
    text-align: center;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    top: 40%;
    transform: translateY(-50%);
}

.owl-nav button.owl-prev,
.owl-nav button.owl-next {
    background: #9CD8D8 !important;
    border: white solid 6px !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #9CD8D8;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.owl-nav button.owl-prev i,
.owl-nav button.owl-next i {
    color: #000;
    font-weight: bold;
    font-size: 30px;
}

.owl-nav button.owl-prev:hover,
.owl-nav button.owl-next:hover {
    background-color: #FFF;
    color: #fff;
}

.owl-dots .owl-dot span {
    background: #000;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    margin: 5px;
}

.owl-dots .owl-dot.active span {
    background: #FFF;
} */

.btn-custom {
    background-color: #c5004f;
    color: white;
    padding: 10px 30px;
    font-size: 16px;
    border-radius: 30px;
    text-transform: uppercase;
    display: block;
    margin-top: 20px;
    text-align: center;
}

.btn-custom:hover {
    background-color: #9b003c;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.img-fluid {
    border-radius: 20px;
    width: 100%;
    height: auto;
}

/* cerita kebersamaan */
.section-container {
    padding: 30px 20px;
    color: white;
    text-align: center;
}

.section-container h2 {
    color: #3fe0d0;
    font-size: 40px;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.card2-custom {
    border-radius: 20px;
    background-color: #ffd4e4;
    padding: 20px;
}

.card2-custom img {
    border-radius: 15px;
    width: 100%;
    height: 200px;
}

.card2-title {
    color: #2fc2b1;
    font-weight: bold;
    margin-top: 15px;
}

.card2-text {
    color: #d03a6b;
    margin-top: 10px;
}

.carousel-nav {
    width: 120px;
    height: 60px;
    background-color: #c7f8f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #222;
    cursor: pointer;
}

.carousel-nav:hover {
    background-color: #aef3f0;
}

/* room */
.room {
    background-color: #fff;
    height: 100%;
}

.btn3 {
    height: 35px;
    width: 200px;
    background-color: #ff3d7e;
    color: #fff;
    font-size: 16px;
    font-weight: 10;
    border-radius: 50px;
    border: none;
}

.section-ruang {
    background: linear-gradient(to right, #fbb8c1, #ff8ea3);
    width: 100%;
    height: 100%;
    border-radius: 20px;
    padding: 30px 20px;
    color: #fff;
    text-align: center;
    margin: 40px auto;
}

.section-ruang h5 {
    font-weight: 400;
    color: #fff;
}

.section-ruang h2 {
    font-weight: 700;
    color: #d81b60;
    margin-top: 10px;
}

.section-ruang p {
    color: #fff;
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn-pink {
    background-color: #e9157c;
    color: #fff;
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 500;
    margin-bottom: 40px;
    border: none;
}

.btn-pink:hover {
    background-color: #c8136c;
}

.image-rounded {
    border-radius: 20px;
    width: 100%;
    height: auto;
}

.box-ruang {
    height: 420px;
    display: flex;
    justify-content: center;
}

.box-ruang img,
.box-ruang2 img {
    height: 100%;
    width: 90%;
    object-fit: cover;
}

.box-ruang2 {
    height: 550px;
    display: flex;
    justify-content: center;
}

/* poster */
.btn4 {
    width: 300px;
    height: 40px;
    background-color: #2fc2b1;
    border-radius: 50px;
    border: none;
    color: #ffff;
}

/* other news */
.btn6 {
    display: inline-block;
    height: 40px;
    background-color: #ff3d7e;
    font-size: 14px;
    border-radius: 50px;
    border: none;
    color: #fff;
    text-decoration: none;
    float: right;
}

/* image rooms */
.image-rooms {
    width: 100%;
    height: 100%;
}

/* antean jam */
.btn7 {
    height: 40px;
    width: 100%;
    background-color: #ff3d7e;
    /* Warna awal tombol */
    color: #fff;
    font-size: 18px;
    font-weight: 10;
    border-radius: 50px;
    border: none;
    transition: background-color 0.3s ease;
    /* Efek transisi halus */
}

.btn7:active {
    background-color: #16cbb9;
    /* Warna latar belakang saat tombol diklik */
}

.btn7-active {
    background-color: #16cbb9;
    /* Warna latar belakang saat tombol diklik */
}

.btn8 {
    height: 30px;
    width: 30%;
    color: #fff;
    font-size: 15px;
    font-weight: 10;
    border-radius: 50px;
    border: none;
}

@media (max-width: 576px) {
    .btn8 {
        width: 50%;
    }
}

.rincian {
    font-size: 18px;
    color: #ea005e;
}

.rincian i {
    color: #22c6b6;
    font-size: 25px;
}

.icon-antrean {
    margin-right: 10px;
    color: #22c6b6;
    font-size: 25px;
}

/* button datar */
.daftar {
    height: 40px;
    width: 150px;
    background-color: #3d97ff;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
}

/* footer */
/* .container-fluid {
    margin-top: 50px;
} */

/* .footer h2 {
    font-size: 32px;
    font-weight: bold;
}

.footer p {
    font-size: 16px;
}

.footer button {
    margin-top: 20px;
}

.footer iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.footer .btn5 i {
    color: white;
    font-size: 30px;
}

.footer i {
    margin-right: 5px;
} */

/* button back and lainnya */
.other {
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #95e0d7, #22c6b6);
    border-radius: 50px;
    border: none;
    color: #ffff;
}

@media (max-width: 576px) {
    .other {
        width: 100%;
        height: 100%;
    }
}

/* pic berita and cerita kebersamaan */
.image-left {
    float: left;
    margin-right: 15px;
    border-radius: 50px;
}



@media (min-width: 1440px) {
    .container {
        width: 100%;
        /* max-width: 1400px; */
        margin: 0 auto;
        padding: 0 5px;
    }
}

@media (max-width: 540px) {
    .box-ruang {
        height: 200px;
        object-fit: cover;
    }

    .box-ruang2 {
        height: 300px;
        object-fit: cover;
    }
    
    .image-left {
        float: none;
        width: 100%;
        margin-bottom: 20px;
    }
}

.box-antrean {
    /* width: 100%; */
    padding: 25px 25px;
    margin: 20px 15px;
    height: 100%;
    border: 1px solid black;
    border-radius: 20px;
}

.box-antrean .text-rincian {
    font-size: 25px;
    font-weight: bold;
    color: #ea005e;
}

.box-antrean .text-poli {
    font-weight: bold;
    color: #ea005e;
}

.box-antrean .text-informasi {
    color: #ea005e;
}

.box-antrean .text-antrean {
    color: #00a999;
    font-size: 30px;
    font-weight: bold;
}

.box-antrean .text-antrean2 {
    color: #00a999;
    font-size: 20px;
    font-weight: bold;
}

.box-text {
    width: 50%;
    border-bottom: 1px solid #ea005e;
    z-index: 99;
    position: relative;
}

.box-text .judul {
    font-size: 30px;
    font-weight: bold;
    color: #ea005e;
}

.box-text .sub-judul {
    font-size: 20px;
    color: #ea005e;
    margin-top: -10px;
}

.box-right-top {
    position: absolute;
    width: 250px;
    height: 400px;
    background-color: #ff3d7e;
    top: -25px;
    right: 15px;
    border-bottom-left-radius: 90px;
    border-bottom-right-radius: 90px;
    z-index: 10;
}

.box-right {
    position: relative;
    top: -25px;
    right: 0px;
}

.box-right .box-img {
    width: 250px;
    height: 450px;
    overflow: hidden;
    border-radius: 150px;
}

.box-right .box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tanggal_jam {
    font-size: 24px;
    font-weight: 600;
}

/* pilihan pagi dan malam */
.switch {
    font-size: 17px;
    position: relative;
    display: inline-block;
    width: 30%;
    height: 2em;
}

@media (max-width: 991px) {
    .switch {
        width: 40%;
    }
}

@media (max-width: 767px) {
    .box-right .box-img {
        display: none;
    }

    .box-right-top {
        width: 175px;
        height: 225px;
    }

    .switch {
        width: 50%;
    }
}

@media (max-width: 576px) {
    .box-antrean {
        padding: 5px;
        padding-bottom: 20px;
    }

    .box-text .judul {
        line-height: 30px;
        margin: 10px 0;
    }

    .box-right-top {
        width: 150px;
        height: 200px;
    }

    .box-text .sub-judul {
        line-height: 25px;
    }

    .switch {
        width: 75%;
    }
}

@media (max-width: 540px) {
    .box-antrean .text-antrean {
        font-size: 20px;
    }
    
    .box-antrean .text-antrean2 {
        font-size: 15px;
    }
    
    .h1-title span {
        font-size: 45px !important;
    }
    
    .text-subtitle {
        font-size: 25px !important;
    }
}



.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #b8b8b8;
    color: white;
    font-weight: 600;
    border-radius: 30px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "Pagi";
    height: 90%;
    width: 45%;
    left: 2%;
    border-radius: 20px;
    background-color: #ff3d7e;
    color: white;
    display: grid;
    align-content: center;
    justify-content: center;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.2), 0 2px 4px 0 rgba(0, 0, 0, 0.2),
        0 -1px 0 0 rgba(0, 0, 0, 0.1) inset,
        0 -1.31em 1.31em -1.31em rgba(0, 0, 0, 0.3) inset,
        0 0 1px 0 rgba(0, 0, 0, 0.1);
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15);
    transition: 0.4s;
}

.slider:after {
    content: "";
    position: absolute;
    top: -7px;
    left: -7px;
    right: -7px;
    bottom: -7px;
    border-radius: 1.71em;
    background-image: linear-gradient(0deg,
            rgba(0, 0, 0, 0.06),
            rgba(0, 0, 0, 0.1));
    z-index: -1;
}

.switch input:checked+.slider {
    background-color: #b8b8b8;
    color: #fff;
}

.switch input:checked+.slider:before {
    content: "Malam";
    transform: translateX(112%);
    color: white;
}

.switch input {
    display: none;
}

/* pilihan tujuan */
.radio-inputs {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    border-radius: 0.5rem;
    background-color: #eee;
    box-sizing: border-box;
    box-shadow: 0 0 0px 1px rgba(0, 0, 0, 0.06);
    padding: 0.25rem;
    width: 300px;
    font-size: 14px;
}

.radio-inputs .radio {
    flex: 1 1 auto;
    text-align: center;
}

.radio-inputs .radio input {
    display: none;
}

.radio-inputs .radio .name {
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    border: none;
    padding: 0.5rem 0;
    color: rgba(51, 65, 85, 1);
    transition: all 0.15s ease-in-out;
}

.radio-inputs .radio input:checked+.name {
    background-color: #16cbb9;
    font-weight: 600;
    color: white;
}