/* Carousel */
.card-slider {
    overflow: auto;
    width: 100%;
    /*background-color: #dffff5;*/
}

.card-slider .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 350px;
    overflow: hidden;
}

.card-slider .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 50px;
    overflow: hidden;
}

.card-meta {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
}

.card-meta .badge {
    background-color: #f8f9fa;
    color: #666;
    font-weight: normal;
    margin-right: 5px;
}

.btn-detail {
    background-color: #1e40af;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-detail:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px);
}

.slider-controls {
    position: relative;
    margin-top: 30px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background-color: #1e40af;
    color: white;
    border-color: #1e40af;
}

.slider-btn.prev {
    left: -22px;
}

.slider-btn.next {
    right: -22px;
}

.cards-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.card-container {
    min-width: calc(33.333% - 15px);
    flex: 0 0 calc(33.333% - 15px);
}

@media (max-width: 768px) {
    .card-container {
        min-width: calc(50% - 10px);
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 576px) {
    .card-container {
        min-width: 100%;
        flex: 0 0 100%;
    }
}

/* Custom gradient backgrounds for cards */
.card-1 .card-img-top {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-2 .card-img-top {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.card-3 .card-img-top {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.card-4 .card-img-top {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.card-5 .card-img-top {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.placeholder-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

/*.right-carousel-container{*/
/*    width: 100%;*/
/*}*/

.carousel-img {
    width: 100%;
    display: block;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    object-fit: cover;
    height: 100%;
}

.carousel-img-promo {
    width: 100%;
    display: block;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    height: 550px;
}

.carousel-progress {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 5%;
    margin-bottom: 2.5rem;
    margin-left: 15%;
    list-style: none;
}

.carousel-progress a{
    cursor: pointer;
}

.progress-bar-container {
    display: flex;
    flex-grow: 1;
    margin: 0 20px;
}

.progress-bar {
    height: 8px;
    width: 97.87px;
    margin: 0 5px;
    border-radius: 10px;
    background-color: #fff;
    border: none !important;
}

/*.carousel-progress .active {*/
/*    background-color: #0A2A53; !* The color for the active step *!*/
/*}*/

.carousel-progress .bg-blury {
    padding: 2px;
    background-color: white;
}
.carousel-progress .bg-blury-active {
    width: 85px;
    height: 7px;
    padding: 2px;
    align-items: center;
    text-align: center;
    border: none;
    display: flex;
    background-color: rgba(2, 55, 109, 1);
}

.carousel-progress-promo {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-bottom: 10rem;
    list-style: none;
}

.carousel-progress-promo  .bg-blury {
    padding: 2px;
    background-color: white;
}
.carousel-progress-promo .bg-blury-active {
    width: 85px;
    height: 6px;
    padding: 2px;
    align-items: center;
    text-align: center;
    border: none;
    display: flex;
    background-color: rgba(2, 55, 109, 1);
}

.bulat {
    display: flex;
    align-items: center;
    text-align: center;
    width: 85px;
    height: 6px;
    padding: 2px;
    align-items: center;
    text-align: center;
    border: none;
    display: flex;
    background-color: rgba(2, 55, 109, 1);
}

.bulat {
    display: flex;
    align-items: center;
    text-align: center;
    width: 85px;
    height: 6px;
    border:none;
    margin-right: 5px;
    border-radius: 40px;
    /*color: #fff;*/
    background-color: #ffff;
}

.carousel-progress-promo a{
    cursor: pointer;
}

.right-carousel-container,
.carousel-inner,
.carousel-item {
    width: 100%;
    height: 100%;
}

.carousel-item img {
    filter: brightness(60%);
}
#carouselPromo .carousel-item img {
    filter: brightness(100%);
}
.carousel-control-prev{
    margin-left: 160px;
}
.carousel-control-next{
    margin-right: 180px;
}
.carousel-control-promo-prev{
    margin-left: -360px;
}
.carousel-control-promo-next{
    margin-right: -320px;
}
#carouselPromo .carousel-control-next.carousel-control-prev{
    /*width: 10% !important;*/
}

.carousel-control-prev,
.carousel-control-next,
.carousel-control-promo-prev,
.carousel-control-promo-next {
    position: absolute;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: bold;
    /*padding: 0 20px;*/
}

.carousel-text {
    position: absolute;
    bottom: 1rem;
    left: 15%;
    width: 35%;
    padding-bottom: 12rem;
    color: #fff;
}
.carousel-text h1 {
    font-weight: 700;
    font-size: 48px;
    line-height: 58px;
}

.carousel-text p {
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
}

.wrapper-p-carousel {
    margin-top: 24px;
    width: 85%;
}
.costume-btn-carousel {
    font-size: 16px;
    line-height: 24px;
    margin-top: 10px;
    border-radius: 20px !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}
.costume-btn-carousel:hover {
    color: black !important;
    background-color: #ffffff !important;
}

.carousel-indicators .active{
    background-color: var(--main-color);
    /*width: 100%;*/
}
/* End Carousel */

.left-image-container{
    background-image: url("/assets/images/beranda/bg-left-slider-092729456ce2c8d795842edee47f56e0.svg");
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    height: auto;
}

.left-image-container h1{
    margin-top: -150px;
}

.left-image-container p {
    line-height: 30px;
}

/* Separator  */

.separator-motif{
    /*width: 100%;*/
    height: 150px;
}

/* End Separator  */

/* Product */
#product-container-konvensional .card .card-body{
    /*border: 2px solid var(--main-color);*/
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    padding:0 !important;
}

#product-container-syariah .card .card-body{
    border: 2px solid var(--green-color);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.product-container{
    margin-top: 150px;
    display: flex;
    justify-content: center;
    position: relative;
   /*gap: 20px;*/
}
#product-container-konvensional {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    /*max-width: 960px; */
    margin: 0 auto;
}

.card {
    width: 355px;
    border: none !important;
    /*padding: 8px;*/
    border-radius: 10px !important;
    z-index: 10;
}
.card-img-jateng {
    height: 125px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
    /*background-size: contain;*/
    /*background-position: center;*/
}
.btn-card-red {
    border-radius: 20px !important;
    color: #ffffff !important;
    background-color: var(--primary-color) !important;
    font-size: 12px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    margin-left: auto;
    margin-right: 0;
    width: 50%;
}
.btn-card-red:hover {
    background-color: var(--main-dark-color) !important;
}

.btn-card-blue {
    border-radius: 10px !important;
    color: #ffffff !important;
    background-color: var(--primary-color) !important;
    font-size: 12px !important;
    padding-top: 5px !important;
    /*padding-bottom: 5px !important;*/
    margin-left: 0;
    margin-right: 0;
    width: 100%  !important;
}
.btn-card-blue:hover {
    background-color: var(--main-dark-color) !important;
}

.btn-card-green {
    border-radius: 20px !important;
    color: #ffffff !important;
    background-color: var(--green-color) !important;
    font-size: 12px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    margin-left: auto;
    margin-right: 0;
    width: 50%;
}
.btn-card-green:hover {
    background-color: var(--green-color) !important;
}

.card-text {
    font-size: 14px;
    padding: 4px !important;
}

/* End Product */


/* About */
section {
    margin-top: 100px;
}

#beranda-about .card .card-body-konvensional{
    border: 2px solid var(--main-color);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

#beranda-about .card .card-body-syariah{
    border: 2px solid var(--green-color);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

#beranda-about .card .card-body .card-title{
    font-size: 16px !important;
    margin-bottom: 0 !important;
}

#beranda-about .card .card-body .card-text{
    font-size: 14px !important;
}

.card-img-about-jateng {
    height: 175px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
}

.about h2 {
    color: var(--primary-color);
    font-size: 28px;
    line-height: 36px;
}
.about p {
    margin-top: 5px;
    color: #616161;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.011em;
}

.wrap-about-card {
    position: relative;
    width: 320px;
    height: 320px;
    /*background-color: #a5d6e8;*/
    border-radius: 20px;
}
.wrap-about-card .angka {
    position: absolute;
    font-weight: 500;
    font-size: 28px;
    line-height: 36px;
    color: #0a0a0a;
}
.wrap-about-card h2 {
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    color: #0a0a0a;
}
.wrap-about-card p {
    margin-top: -5px;
    width: 60%;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #616161;
}
.wrap-about-card .wrap-about-card-body {
    border: 2px solid var(--main-color);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}
.p-about {
    width: 100%;
}

.about-img{
    max-width: 150px;
    margin-top: 15px;
    margin-bottom: 15px;
}
/* End About */



/* Simulasi */
.simulasi-body {
    background-image: url("/assets/images/beranda/bg-wave-4ce3dab928d5519e1ec420ac3e98645f.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding-top: 10px;
    padding-bottom: 30px;
    height: 100%;
}
.simulasi h2 {
    font-weight: 500;
    font-size: 36px;
    line-height: 44px;
    color: var(--primary-color);
}
.header-simulasi {
    /*margin-top: -70px;*/
}

.simulasi p {
    max-width: 40%;
    margin: auto;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
}
.wrap-simulasi {
    margin: auto;
    width: 80%;
    height: 100%;
    background-color: white;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.08);
    border-radius: 20px;
}
.wrap-simulasi select{
    border-radius: 10px;
    font-size: 14px !important;
    line-height: 24px;
    width: 450px;
    border-color:rgba(194, 194, 194, 1) !important;
}

.wrap-simulasi input{
    border-color:rgba(194, 194, 194, 1);
    border-radius: 10px;
    font-size: 14px !important;

}
.vl {
    border-left: 5px solid #F0F3FF;
    height: 535px;
    position: absolute;
    margin-top: -180px;
    left: 50%;
}
/*.wrap-simulasi h4,*/
/*.wrap-simulasi label {*/
/*    font-size: 16px;*/
/*}*/
.wrap-simulasi h5 {
    /*color: black;*/

    font-size: 16px;
    line-height: 24px;
}

.form-control-desc{
    font-size: 14px;
    font-weight: 500;
    float:right;
    margin-top: -30px;
    margin-right: 10px;
}

.btn-konvensional {
    width: 100%;
    border: 0;
    background-color: var(--main-color);
    border-radius: 10px;
    padding: 11px 37px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
}

.btn-syariah {
    width: 100%;
    border: 0;
    background-color: var(--green-color);
    border-radius: 20px;
    padding: 11px 37px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
}
/* End Simulasi */

.left-carousel-container {
    width: 50%;
}

@media only screen and (max-width: 768px) {

    .left-carousel-container {
        width: 100%;
    }

    .carousel-item active {
        display: none;
    }

    .right-carousel-container {
        display: none;
    }

    /* Carousel */
    .carousel-text {
        position: absolute;
        bottom: 1rem;
        left: 15%;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .carousel-text h1 {
        font-weight: 700;
        font-size: 14px;
        line-height: 16px;
    }

    .wrapper-p-carousel {
        margin-top: 24px;
        padding-left: 4rem;
        padding-right: 4rem;
    }

    .costume-btn-carousel {
        font-size: 8px !important;
        line-height: 14px !important;
    }

    /* End Carousel */

    /* Switch */
    .wrapper-switch-konvensional{
        margin-top: 10px;
        border-style: solid;
        border-width: 1px;
        border-color: var(--primary-color);
    }

    .wrapper-switch-syariah{
        margin-top: 10px;
        border-style: solid;
        border-width: 1px;
        border-color: var(--green-color);
    }

    .btn-switch{
        font-size: 12px;
        width: 145px;
    }
    /* End Switch */

    /* Product */
    .card {
        width: 75%;
        margin-top: 25px;
    }
    #product-container-konvensional, #product-container-syariah{
        align-items: center !important;
    }
    /* End Product */

    /* About */
    .about {
        width: 90%;
    }
    .about h2 {
        font-size: 24px;
        font-weight: bold;
    }
    .p-about{
        width: 100%;
        font-size: 14px;
    }
    /* End About */

    /* Promo */
    .container-promo-gambar {
        height: 350px;
        border-radius: 20px;
    }
    .promo-control {
         width: 15%;
    }
    .container-promo-text h2 {
        font-size: 24px;
        font-weight: bold;
    }
    .container-promo-text p{
        font-size: 14px;
    }
    /* End Promo */

    /* Simulasi */
    .header-simulasi h2 {
        font-size: 24px;
        font-weight: bold;
    }
    .wrap-simulasi {
        width: 95%;
        height: fit-content;
    }
    .simulasi p {
        color: black !important;
        max-width: 100%;
        font-size: 16px;
        font-weight: 500;
    }
    .wrap-simulasi label {
        font-size: 14px;
    }
    /* End Simulasi */

    .btn-card-red, .btn-card-green{
        width: 75%;
    }

    .product-container{
        margin-top: 150px;
    }
}

.carousel {
    height: 100%;
}


@media only screen and (max-width: 1280px) and (min-width: 769px) {
    .carousel-text .wrapper-p-carousel p{
        display: none !important;
    }

    .carousel-text{
        padding-bottom: 10rem;
    }

    .carousel-text h1 {
        font-weight: 700;
        font-size: 16px;
        line-height: 16px;
    }

    .wrapper-switch {
        margin-top: -125px;
    }

    .btn-card-red, .btn-card-green{
        width: 80%;
        position: absolute;
        bottom: 15px;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        text-align: center;
    }

    #product-container-konvensional .card .card-body{
        /*border: 2px solid var(--main-color);*/
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
        padding:0 !important;
    }

    #product-container-syariah .card .card-body{
        border: 2px solid var(--green-color);
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }

    .product-container{
        margin-top: 150px;
        display: flex;
        justify-content: center;
        /*gap: 20px;*/
    }
    #product-container-konvensional {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px;
        /*max-width: 960px; */
        margin: 0 auto;
    }

    .card {
        width: 355px;
        border: none !important;
        /*padding: 8px;*/
        border-radius: 10px !important;
        z-index: 10;
    }
    .card-img-jateng {
        height: 125px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 25px;
        /*background-size: contain;*/
        /*background-position: center;*/
    }

    .card-text {
        font-size: 14px;
        /*margin-bottom: 45px;*/
    }
    .wrap-about-card{
        width: 30%;
        height: 350px
    }
    .wrap-about-card .angka{
        font-size: 20px
    }
    .wrap-about-card h2{
        font-size: 16px;
    }
    .about-img{
        width: 50%;
    }
    .wrap-simulasi{
        width: 90%;
    }

    .carousel-control-prev{
        margin-left: 80px;
    }

    .carousel-control-next{
        margin-right: 110px;
    }

    .left-image-container{
        height: auto;
    }

    .left-image-container h1{
        margin-top: -40px;
    }

    .left-image-container p {
        line-height: 20px;
    }

    /*.carousel-img {*/
    /*    height: 505px;*/
    /*}*/

    .product-container{
        margin-top: 150px;
    }

    .right-carousel-container,
    .carousel-inner,
    .carousel-item {
        width: 100%;
        height: 100%;
    }

}


@media only screen and (max-width: 1366px) and (min-width: 1279px) {
    .carousel-text .wrapper-p-carousel p{
        display: none !important;
    }

    .carousel-text{
        padding-bottom: 10rem;
    }

    .carousel-text h1 {
        font-weight: 700;
        font-size: 16px;
        line-height: 16px;
    }

    .wrapper-switch {
        margin-top: -125px;
    }

    .btn-card-red, .btn-card-green{
        width: 80%;
        position: absolute;
        bottom: 15px;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        text-align: center;
    }

    #product-container-konvensional .card .card-body{
        /*border: 2px solid var(--main-color);*/
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
        padding:0 !important;
    }

    #product-container-syariah .card .card-body{
        border: 2px solid var(--green-color);
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }

    .product-container{
        margin-top: 50px;
        display: flex;
        justify-content: center;
    }
    #product-container-konvensional {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 20px;
        /*max-width: 960px; */
        margin: 0 auto;
    }

    .card {
        width: 355px;
        border: none !important;
        /*padding: 8px;*/
        border-radius: 10px !important;
        z-index: 10;
    }
    .card-img-jateng {
        height: 125px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 25px;
    }

    .card-text {
        font-size: 14px;
        margin-bottom: 45px;
    }
    .wrap-about-card{
        width: 30%;
        height: 350px
    }
    .wrap-about-card .angka{
        font-size: 20px
    }
    .wrap-about-card h2{
        font-size: 16px;
    }
    .about-img{
        width: 50%;
    }
    .wrap-simulasi{
        width: 90%;
    }
    .left-image-container{
        height: auto;
    }
    /*.carousel-img {*/
    /*    height: 574px;*/
    /*}*/
    .left-image-container h1{
        margin-top: -100px;
    }
    .left-image-container p {
        line-height: 25px;
    }
    .right-carousel-container{
        width: 70%;
    }
    .product-container{
        margin-top: 150px;
    }
    .carousel-control-prev{
        margin-left: 110px;
    }
    .carousel-control-next{
        margin-right: 130px;
    }
    .right-carousel-container,
    .carousel-inner,
    .carousel-item {
        width: 100%;
        height: 100%;
    }

}
