/* Gambar background dengan efek blur */
.carousel-bg {
    filter: blur(10px);
    opacity: 1.7;
    object-fit: cover; /* Pastikan gambar menutupi area */
    /* height: 100%; */
    height: 500px;
}

/* Kontainer utama konten */
.text-content {
    max-width: 400px;
}

.image-box img {
    max-height: 400px;
    object-fit: contain;
    margin-left: 100px;
    width: 400px;
    margin-top: -65px;
}

.btn-jadwal {
    background-color: #007bff;
    color: #fff;
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
}

.btn-jadwal:hover {
    background-color: #0056b3;
}

.text-light h3 {
    animation: fadeInUp 1s ease-in-out;
}

.text-light p {
    font-size: 1.2rem;
    animation: fadeInUp 1.5s ease-in-out;
}


.image-box img{
    animation: fadeInUp 2s ease-in-out;
}



@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}



.carousel-inner .btn-jadwal {
    background-color: transparent;
    /* Warna tombol (ubah sesuai kebutuhan) */
    color: #fff;
    /* Warna teks tombol */
    border: 2px solid #fff;
    /* Menghilangkan border default */
    padding: 10px 20px;
    /* Ukuran tombol */
    font-size: 16px;
    /* Ukuran teks */
    border-radius: 30px;
    /* Membuat tombol lebih rounded */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Efek bayangan */
    transition: all 0.3s ease-in-out;
    /* Animasi saat hover */
}

.carousel-inner .btn-jadwal:hover {
    background-color: #0056b3;
    /* Warna saat hover */
    transform: scale(1.05);
    /* Sedikit memperbesar tombol saat hover */
}


.carousel-indicators {
    position: absolute;
    bottom: 0px;
    z-index: 1;
}

.carousel-item {
    position: relative;
}


/* Penyesuaian untuk perangkat dengan lebar layar maksimum 768px */
/* tablet */
@media (max-width: 768px) {

    .text-content {
        max-width: 350px;
        margin-left: 25px;
    }

    .text-content h3 {
        font-size: 25px;
        font-weight: bold;
    }
    .text-content p {
        font-size: 16px;
    }
    
    .image-box img {
        max-height: 230px;
        object-fit: contain;
        margin-left: 65px;
        width: 230px;
        margin-top: -30px;
        padding: 10px;
    }
    
    .carousel-inner .btn-jadwal {
        padding: 13px 5px;
        font-size: 11px;
        border-radius: 20px;
    }

    .carousel-bg {
        height: 300px;
    }

    .col-auto{
        margin-top: -30px;
    }
}


/* smart phone */
@media (max-width: 430px) {
    
    .text-content {
        max-width: 200px;
        margin-left: 25px;
        margin-top: 0px;
        padding: 15px;
    }

    .text-content h3 {
        font-size: 14px;
        font-weight: bold;
    }
    .text-content p {
        font-size: 9px;
    }
    
    .image-box img {
        max-height: 150px;
        object-fit: contain;
        margin-left: 224px;
        width: 150px;
        margin-top: -120px;
        padding: 5px;
    }
    
    .carousel-inner .btn-jadwal {
        padding: 13px 5px;
        font-size: 8px;
        border-radius: 20px;
    }
    
    .carousel-indicators {
        display: none !important;
    }

    .carousel-bg {
        height: 200px;
    }
    .col-auto{
        margin-top: -10px;
    }
    
}

@media (max-width: 400px) {
    .text-content {
        max-width: 190px;
        margin-left: 22px;
        padding: 20px;
    }

    .text-content h3 {
        font-size: 14px;
        font-weight: bold;
    }
    .text-content p {
        font-size: 9px;
    }
    
    .image-box img {
        max-height: 150px;
        object-fit: contain;
        margin-left: 180px;
        width: 150px;
        margin-top: -120px;
        padding: 15px;
    }
    
    .carousel-inner .btn-jadwal {
        padding: 10px 3px;
        font-size: 6px;
    }
    
    /* .carousel-indicators {
        display: none !important;
    } */
    .col-auto{
        margin-top: -10px;
    }

    .carousel-bg {
        height: 200px;
    }
}




/* Laptop/Desktop (min-width: 1024px) */
@media (min-width: 1440px) and (max-width: 1900px) {
    
    .text-content {
        max-width: 400px;
    }
    
    .image-box img {
        max-height: 400px;
        object-fit: contain;
        margin-left: 100px;
        width: 400px;
        margin-top: -65px;
    }
    
    .btn-jadwal {
        background-color: #007bff;
        color: #fff;
        padding: 0.5rem 1.5rem;
        text-decoration: none;
        font-weight: bold;
    }
}


/* Ultra-wide screen (min-width: 1921px) */
@media (min-width: 1900px) {
    /* for menu font */
    .navbar-expand-xl .navbar-nav .nav-link {
        font-size: 20px !important;
    }
    /* buat ultra */
    .text-content {
        max-width: 500px;
        margin-left: -200px;
    }

    .text-content h3 {
        font-size: 45px;
        font-weight: bold;
    }
    
    .image-box img {
        max-height: 500px;
        object-fit: contain;
        margin-left: 250px;
        width: 500px;
        margin-top: -65px;
    }

    .carousel-inner .btn-jadwal {
        background-color: transparent;
        color: #fff;
        border: 2px solid #fff;
        padding: 35px 35px;
        font-size: 25px;
        border-radius: 30px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease-in-out;
    }

    .carousel-bg {
        height: 100%;
    }

}


/* slide form solution */

.slide-kanan {
    margin-left: 150px;
    padding: 1em;
    margin-bottom: -20px;
}

.image {
    width: 450px;
}

.bg-blur {
    backdrop-filter: blur(15px);
    /* Efek blur */
    background-color: rgba(255, 255, 255, 0.2);
    /* Layer semi-transparan */
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* Opsional: Border semi-transparan */
    height: 100%;
    border-right: 3px solid rgb(234, 230, 230);
}


.carousel-control-prev.custom,
.carousel-control-next.custom {
    /* Ukuran tombol */
    width: 50px;
    height: 50px;
    /* Warna background */
    background-color: #fff;
    /* Bentuk membulat */
    border-radius: 50%;
    /* Shadow untuk efek */
    box-shadow: 5px 4px 6px rgba(0, 0, 0, 0.1);
    /* Posisi */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Hapus border */
    border: 1px solid #0056b3;
}

/* Prev di sisi kiri dalam */
.carousel-control-prev.custom {
    left: -25px;
    /* Geser ke dalam */
}

/* Next di sisi kanan dalam */
.carousel-control-next.custom {
    right: -25px;
    /* Geser ke dalam */
}

.home-control-prev-icon.custom i,
.home-control-next-icon.custom i {
    color: #007bff;
    font-size: 20px;
}

.carousel-control-prev.custom:hover,
.carousel-control-next.custom:hover {
    background-color: #fff;
}

.carousel-control-prev.custom:focus,
.carousel-control-next.custom:focus {
    outline: none;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
}

.content {
    padding: 40px;
}



@media (max-width: 998px) {
    /* slider product */
    .slide-kanan {
        margin-left: 50px !important;
        padding: 2em;
        margin-bottom: -45px;
    }

    img.image {
        width: 285px !important;
        height: 200px;
    }

    .carousel-control-prev.custom,
    .carousel-control-next.custom {
        /* Ukuran tombol */
        width: 50px;
        height: 50px;
        /* Warna background */
        background-color: #fff;
        /* Bentuk membulat */
        border-radius: 50%;
        /* Shadow untuk efek */
        box-shadow: 5px 4px 6px rgba(0, 0, 0, 0.1);
        /* Posisi */
        display: flex;
        align-items: center;
        justify-content: center;
        /* Hapus border */
        border: 1px solid #0056b3;
    }

    /* Prev di sisi kiri dalam */
    .carousel-control-prev.custom {
        left: -25px;
        /* Geser ke dalam */
    }

    /* Next di sisi kanan dalam */
    .carousel-control-next.custom {
        right: -25px;
        /* Geser ke dalam */
    }

    .home-control-prev-icon.custom i,
    .home-control-next-icon.custom i {
        color: #007bff;
        font-size: 20px;
    }

    .carousel-control-prev.custom:hover,
    .carousel-control-next.custom:hover {
        background-color: #fff;
    }

    .carousel-control-prev.custom:focus,
    .carousel-control-next.custom:focus {
        outline: none;
        box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
    }

    .content {
        padding: 10px !important;
    }
    .content h5 {
        font-size: 14px !important;
    }
}

@media (max-width: 430px) {
    /* slider product */
    .slide-kanan {
        margin-left: -75px !important;
        padding: 5em;
        margin-bottom: -46px;
    }

    img.image {
        width: 160px !important;
        height: 110px;
    }

    .carousel-control-prev.custom,
    .carousel-control-next.custom {
        /* Ukuran tombol */
        width: 50px;
        height: 50px;
        /* Warna background */
        background-color: #fff;
        /* Bentuk membulat */
        border-radius: 50%;
        /* Shadow untuk efek */
        box-shadow: 5px 4px 6px rgba(0, 0, 0, 0.1);
        /* Posisi */
        display: flex;
        align-items: center;
        justify-content: center;
        /* Hapus border */
        border: 1px solid #0056b3;
    }

    /* Prev di sisi kiri dalam */
    .carousel-control-prev.custom {
        left: -25px;
        /* Geser ke dalam */
    }

    /* Next di sisi kanan dalam */
    .carousel-control-next.custom {
        right: -25px;
        /* Geser ke dalam */
    }

    .home-control-prev-icon.custom i,
    .home-control-next-icon.custom i {
        color: #007bff;
        font-size: 20px;
    }

    .carousel-control-prev.custom:hover,
    .carousel-control-next.custom:hover {
        background-color: #fff;
    }

    .carousel-control-prev.custom:focus,
    .carousel-control-next.custom:focus {
        outline: none;
        box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
    }

    .content {
        padding: 0px !important;
        width: 170px;
        margin-left: 90px;
    }
    .content h5 {
        font-size: 12px !important;
        margin-left: 20px;
        
    }
    .content h2 {
        font-size: 13px !important;
        font-weight: bold;
        margin-left: 10px;
        
    }
    .content p {
        font-size: 11px !important;
        margin-left: 10px;
        
    }

    
}

@media (max-width: 400px) {
    /* slider product */
    .slide-kanan {
        margin-left: -75px !important;
        padding: 5em;
        margin-bottom: -46px;
    }

    img.image {
        width: 160px !important;
        height: 110px;
    }

    .carousel-control-prev.custom,
    .carousel-control-next.custom {
        /* Ukuran tombol */
        width: 50px;
        height: 50px;
        /* Warna background */
        background-color: #fff;
        /* Bentuk membulat */
        border-radius: 50%;
        /* Shadow untuk efek */
        box-shadow: 5px 4px 6px rgba(0, 0, 0, 0.1);
        /* Posisi */
        display: flex;
        align-items: center;
        justify-content: center;
        /* Hapus border */
        border: 1px solid #0056b3;
    }

    /* Prev di sisi kiri dalam */
    .carousel-control-prev.custom {
        left: -25px;
        /* Geser ke dalam */
    }

    /* Next di sisi kanan dalam */
    .carousel-control-next.custom {
        right: -25px;
        /* Geser ke dalam */
    }

    .home-control-prev-icon.custom i,
    .home-control-next-icon.custom i {
        color: #007bff;
        font-size: 20px;
    }

    .carousel-control-prev.custom:hover,
    .carousel-control-next.custom:hover {
        background-color: #fff;
    }

    .carousel-control-prev.custom:focus,
    .carousel-control-next.custom:focus {
        outline: none;
        box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
    }

    .content {
        padding: 0px !important;
        width: 170px;
        margin-left: 90px;
    }
    .content h5 {
        font-size: 11px !important;
        margin-left: -5px;
        
    }
    .content h2 {
        font-size: 11px !important;
        font-weight: bold;
        margin-left: 30px;
        
    }
    .content p {
        font-size: 9px !important;
        margin-left: 30px;
        
    }
}