/* Efek hover untuk main_program */
.main_program {
    position: relative;
    width: 100%;
    min-height: 100vh;
    height: fit-content;
    margin: 20px 0;
    overflow: hidden;
    transition: transform 0.4s ease-out;
    display: flex;
    align-items: flex-end;
    justify-content: left;
    
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.main_program p {
    text-align: left;
}
.main_program p,
.hover-info p {
    cursor: default;
}

.hover-info_judul {
    font-size: 20px;
}

/* Teks bawaan (sebelum hover) */
.main_program p.bottom-text {
    position: absolute;
    width: 100%;
    padding: 20px;
    bottom: 0;
    left: 0;
    margin: 0;
    z-index: 2;
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

/* Saat hover, teks asli hilang */
.main_program:hover p.bottom-text {
    opacity: 0;
}

/* Hover info: isi yang muncul saat hover */
.main_program .hover-info {
    position: absolute;
    z-index: 3;
    color: white;
    opacity: 0;
    padding: 20px;
    text-align: center;
    transform: translateY(30px);
    transition: 0.5s;
}

/* Tampilkan saat hover */
.main_program:hover .hover-info {
    opacity: 1;
    transform: translateY(0);
}


.main_program .main-image {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 100%;
    width: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1; /* supaya tetap di belakang overlay dan teks */
}

.bottom-text {
    position: absolute;
    padding: 20px;
    bottom: 0;
    left: 0;
    margin: 0;
    z-index: 1;
    font-weight: bold; /* tambahan untuk pastikan bold */
}

.group_program {
    padding: 0 200px ;
    text-align: left;
    padding-bottom: 100px;
}

.program_center{
    margin-top: 100px;
}

.program_left_right{
    margin-top: -100px;
}


.group_detail{
    padding: 0 200px;
}

.detail_deskripsi_program {
    background-color: #fdf0e5; 
    min-height: 100vh; 
    height: fit-content;
    padding: 100px 100px 100px 150px;
    justify-items: left;
}

.detail_deskripsi_program-right {
    background-color: white; 
    min-height: 100vh; 
    height: fit-content;
    padding: 100px 150px 100px 100px;
    justify-items: left;
}

.detail_deskripsi_program h1, p,
.detail_deskripsi_program-right h1, p {
    margin-bottom: 0 !important;
}

.detail_deskripsi_program h1,
.detail_deskripsi_program-right h1 {
    margin: 20px 0 !important;
    font-weight: 900 !important;
    text-transform: uppercase;
}

    @media (max-width: 1300px) {
        .group_program,
        .group_detail {
            padding: 0 100px !important;
        }
    }
    @media (max-width: 1000px) {
        .group_program,
        .group_detail {
            padding: 0 50px !important;
        }
    }
    @media (max-width: 800px) {
        .group_program,
        .group_detail {
            padding: 0 30px !important;
        }
    }
    @media (max-width: 767px) {
        .group_program h1 {
            font-size: 30px;
        }
        .main_program p{
            font-size: 14px;
        }
        .program_center{
            margin-top: 0px;
        }
        .program_left_right{
            margin-top: 0;
        }

        .detail_teks_left,
        .detail_teks_right {
            padding: 20px 0 0 0 !important;
            margin-bottom: 200px;
        }

         .program-content {
            display: flex !important;
            flex-direction: column !important;
            height: fit-content;
        }

        .program-content .col-lg-4 {
            order: 1;
        }

        .program-content .col-lg-8 {
            order: 2;
        }

        .detail_teks_right{
            height: fit-content !important;
        }

        .detail h2{
            font-size: 30px;
            margin: 40px 15px 30px 15px !important;
        }

        .detail_teks_left p,
        .detail_teks_right p{
            font-size: 14px;
        }

        
    }
    @media (max-width: 400px) {
        .group_program {
            padding: 0 15px;
        }
        .group_program h1{
            font-size: 25px;
        }
        .main_program{
            margin: 10px 0 0 0;
        }
        .main_program p{
            font-size: 12px;
        }

        .detail h2{
            font-size: 25px;
        }

        .detail_teks_left p,
        .detail_teks_right p{
            font-size: 12px;
        }
    }



/* 
.group_detail_program{
    padding: 0 100px;
}
.gambar_program_detail {
    width: 100%;
    height: 50vh;
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.gambar_program_detail img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}
.detail_program_teks{
    padding: 50px 0;
}

@media (max-width: 767px){
    .group_detail_program{
        padding: 0 50px;
    }
    .group_detail_program h1{
        font-size: 30px;
    }
    .detail_program_teks p{
        font-size: 14px;
    }
}
@media (max-width: 400px){
    .group_detail_program{
        padding: 0 30px;
    }
    .group_detail_program h1{
        font-size: 25px;
    }
    .detail_program_teks p{
        font-size: 12px;
    }
} */



.group_detail {
    padding: 0 100px;
}

.detail_teks_left{
    display: flex;
    flex-direction: column;
    justify-content: left; /* untuk vertical lefting */
    height: 100%;
    padding-right: 50px;
}

.detail_teks_right{
    display: flex;
    flex-direction: column;
    justify-content: left; /* untuk vertical lefting */
    height: 100%;
    padding-left: 50px;
}

.detail_teks_left p,
.detail_teks_right p {
    margin: 0;
}

.bg_title {
    background-color: black;
    bottom: 30px !important;
}


.program_body {
    position: relative;
}

.number_program {
    position: absolute;
    top: 15px;
    left: -15px;
    padding: 8px 14px;
    background-color: black;
    color: white;
    z-index: 3;
    border-radius: 10px;
}

.number_teks {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 10px;
    border-radius: 8px;
    text-shadow: 0 0 10px black;
}

.number_teks p {
    color: white;
    font-size: 12px;
    margin: 0;
}
