* {
    font-family: 'Nunito Sans', sans-serif;
}
.more-text {
    display: none;
}

.show-more:checked ~ .more-text {
    display: inline;
} 

.show-more {
    display: none;
}

.show-label {
    color: rgb(0, 0, 0);
    cursor: pointer;
    text-decoration: underline;
}

.daftar-kelas {
    justify-content: center;
    align-items: center;
    display: flex;
    width: 30%;

}

.instructor-info {
    display: flex;
    align-items: center;
    gap: 10px; /* jarak antara gambar dan nama */
    margin-left: 75px; /* sejajar dengan konten dibutuhkan lainnya */
}

.instructor-info img,
.instructor-info svg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;

}

.instructor-info p {
    margin-left: 6px !important;
}


 
.header {
    
    display: flex;
    background-color: #E3F2FD;
    border-radius: 12px;
    margin-top: 20px;
    left: -96px;
    width: calc(100% + 192px);
    position: relative;
    height: 300px;
    flex-direction: column;
}

.isiheader {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    padding-top: 50px;
}

.gambar {
    display: flex;
    margin-top: auto;
    margin-bottom: auto;
    width: 35%;
    justify-content: center;
}


.isi {
    width: 35%;
    margin-top: auto;
    margin-bottom: auto;
}

.isi p {
    margin: 0;
}

.isi p:first-child{
    font-size: 16px !important;
}

.isi-level {
    display: flex;
    margin-top: 10px;
    width: 100%;
    flex-direction: row;
    gap: 10px;
    height: 50px;

}

.isiheader img {
    width: 200px;
    height: auto;
}

.isiheader span p {
    margin: 0;
    
}

.semua2 {
    display: flex;
    /* border: 1px solid; */
    padding: 0;
    margin: 0;
    margin-top: 60px;
    margin-left: 25px;
    /* border: 1px solid; */
    height: 170px;
}

.lebija {
    display: flex;
    gap: 45px;
    margin-top: 30px;
}

p.btndaftar {
    display: flex;
    margin-left: 400px;
    margin-top: 130px;
    /* border: 1px solid; */
    margin-bottom: 0;
    padding-bottom: 0;
    height: 50px;
}


.didapatkan {
    background-color: rgba(176, 190, 197, 0.15);
    height: auto;
    display: flex;
    position: relative;
    left: -96px;
    width: calc(100% + 192px);
    margin-top: 40px;
}

.judulp {
    margin-bottom: 20px;
}

.judulp h2 {
    /* display: flex; */
    margin-left: 150px;
    margin-top: 20px;
}

.didapatkan2 {
    display: block;
    padding: 0 96px;
    width: 100%;

}

.listdidapatkan {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
}

.listdidapatkan2 {
    display: flex;
    justify-content: space-evenly;
    padding-left: 200px;
    padding-right: 200px;
    width: 100%;
    padding-bottom: 50px;
    margin-top: 50px;
    gap: 30px;
}


.card {
    width: 284px;
    border-radius: 12px;
    border: 1px solid;
}

.card p:nth-child(2) {
    margin-left: 40px;
    margin-right: 7px;
}

.card p:first-child {
    margin-left: 15px;
    margin-top: 15px;
}



.keperluan {
    display: flex;
}
.deskripsi {
    width: 50%;
    padding: 20px;
    padding-left: 40px;
}

.deskripsi p:nth-child(2) {
    margin-top: 30px;
}
.deskripsi p:nth-child(3) {
    margin-top: 30px;
    margin-right: 200px;
}


.dibutuhkan {
    width: 50%;
    padding: 20px;
}
.dibutuhkan p {
    margin-left: 75px;
}

.dibutuhkan h3 {
    margin-left: 75px;
}
.dibutuhkan p:first-child {
    text-align: start;
    margin-right: 200px;
}

.metode-ajar ul {
    
    padding-left: 80px ;
}
.metode-ajar li {
    margin-bottom: 4px;
}


.dibutuhkan p:nth-child(6) {
    margin-top: 40px;
}
.dibutuhkan p:nth-child(10) {
    margin-top: 40px;
}

.dibutuhkan p img {
width: 40px;
height: 40px;
border-radius: 50%;
object-fit: cover;
object-position: center;
display: inline-block;
}

.judulbawah2 {
    display: block;
    text-align: center; /* Pusatkan teks dalam elemen */
    margin-top: 40px;
}

.judulbawah2 p {
    margin: 0 auto; /* Pastikan tidak ada margin aneh */
}

.card2 {
    border: 1px solid #B3B3B3;
    margin-top: 30px;
    padding: 20px;
    border-radius: 24px;
    background-color: #ffffff;
    color: black;
    text-decoration: none;
}

.card2 span {
    display: flex;
    gap: 10px;
}

.testimonials-container {
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    cursor: grab;
    padding: 0;
    margin-bottom: 50px;
}

/* Untuk menyembunyikan scrollbar di semua browser */
.testimonials-container::-webkit-scrollbar {
    display: none;
}

.testimonials-container::-webkit-scrollbar {
    display: none;
}

.testimonial {
    flex: 0 0 auto;
    width: 300px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 1rem;
    scroll-snap-align: start;
}

.testimonials-wrapper {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0;
    width: max-content;
    scroll-snap-type: x mandatory; /* Tambahan kalau ingin efek snapping */
}

.testimonials-container::-webkit-scrollbar {
    height: 8px;
}

.testimonials-container::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

.testimonial-nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow {
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 50%;
    font-size: 24px;
    width: 60px;
    height: 50px;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background 0.3s;
}

.arrow:hover {
    background-color: #f0f0f0;
}

.left-arrow {
    margin-right: 10px;
}

.right-arrow {
    margin-left: 10px;
}

.stars-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
}

.stars {
    color: #FFD700; /* warna emas untuk bintang */
    font-size: 1.2rem;
}

.course-name {
    font-weight: bold;
    font-size: 1rem;
    text-align: left;
}

.badge {
    justify-content: end;
    width: 50%;
    padding: 4px 10px;
    border-radius: 5px;
}

.text p {
    margin: 0;
    color: white;
    font-weight: bold;
}

.stars {
    color: #f39c12;
    font-size: 20px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 6px; /* Atur jarak antara gambar dan teks */

}

.badge img {
    width: 18px; /* Sesuaikan ukuran ikon */
    height: 18px; /* Pastikan tinggi dan lebar seimbang */
    display: block; /* Hilangkan extra space bawah gambar */
}

.text p {
    color: black;
    display: flex;
    align-items: center;
    align-self: flex-start; /* Membuat teks naik ke atas */
    margin-top: -2px; /* Koreksi manual jika perlu */
}



.testimonial p {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    margin: 10px 0;
}

.profile {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.profile div {
    display: flex;
    flex-direction: column;
}

.profile strong {
    font-size: 14px;
    color: #222;
}

.profile span {
    font-size: 12px;
    color: #777;
}

.testimoni h1 {
    padding: 20px;
    text-align: center;
    font-family: 'Nunito Sans', sans-serif; /* Font */   
    margin-top: 30px;
    font-weight: bold;
}

.gambar img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px; 
}

.isi-level p svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

@media (min-width: 768px) and (max-width: 1074px) {
    .header {
        height: auto; /* biar tinggi ngikutin isi */
        padding-bottom: 30px; /* beri ruang bawah */
        padding-top: 20px;
        border-radius: 0;
        left: 0;
        width: 100%;
    }

    .isiheader { 
        flex-direction: column;
        align-items: center;
        padding: 0 16px;
        gap: 20px;
        text-align: center;
    }

    .gambar {
        width: 100%;
        justify-content: center;
    }

    .isi {
        width: 100%;
    }

    .isi p:first-child {
        font-size: 14px !important;
        opacity: 0.8;
    }


    .isi-level {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        height: auto;
        margin-top: 10px;
    }

    .daftar-kelas {
        width: 100%;
        justify-content: center;
        margin-top: 20px;
    }
    .listdidapatkan2 {
    display: flex;
    justify-content: space-evenly;
    padding-left: 100px;
    padding-right: 100px;
    width: 100%;
    padding-bottom: 50px;
    margin-top: 50px;
    gap: 30px;
}
    .listdidapatkan {
        gap: 20px;
    }
}


 @media (max-width: 767px) {
    /* HEADER */
    .header {
        height: auto;
        padding: 20px 16px 30px;
        border-radius: 0;
        left: 0;
        width: 100%;
    }

    .isiheader {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
        padding: 0;
    }

    .gambar {
        width: 100%;
        justify-content: center;
    }

    .isi {
        width: 100%;
    }

    .isi p:first-child {
        font-size: 13px !important;
        opacity: 0.8;
    }

    .isi-level {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        height: auto;
    }

    .daftar-kelas {
        width: 100%;
        justify-content: center;
        margin-top: 16px;
    }

    /* BAGIAN DIDAPATKAN */
    .didapatkan {
        left: 0;
        width: 100%;
        padding: 0;
    }

    .didapatkan2 {
        padding: 0 16px;
    }

    .judulp {
        margin: 0;
        padding-top: 20px;
        padding-left: 0;
        padding-right: 0;
        text-align: center;
    }

    .judulp h2 {
        margin: 0 auto;
        font-size: 20px;
    }

    .listdidapatkan,
    .listdidapatkan2 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        margin-top: 16px;
        margin-bottom: 16px;
        padding-left: 0;
        padding-right: 0;
    }

    .card {
        width: 100%;
        max-width: 320px;
    }

    /* KEPERLUAN */
    .keperluan {
        flex-direction: column;
    }

    .deskripsi,
    .dibutuhkan {
        width: 100%;
        padding: 16px;
    }

    .deskripsi ul {
        padding-left: 1.2rem;
    }

    .dibutuhkan p,
    .dibutuhkan h3 {
        margin-left: 0;
    }

    .metode-ajar ul {
        padding-left: 1.2rem;
    }

    /* INSTRUKTOR */
    .instructor-info {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 0;
        margin-top: 16px;
    }

    .instructor-info img {
        width: 70px;
        height: 70px;
    }

    .instructor-info p {
        margin-left: 0 !important;
    }

    /* SILABUS */
    .judulbawah2 {
        padding: 0 16px;
        text-align: center;
    }

    .card2 {
        margin: 16px;
        padding: 16px;
    }

    .card2 span {
        flex-direction: column;
        gap: 6px;
    }
}


