.container2, .container3, .container4, .container5 {
    display: flex;
    justify-content: space-between;
    
    flex-wrap: wrap; /* Membantu responsivitas */
    
}

.info-group svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.container-courses-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container-courses {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0; /* Hapus gap, kita pakai garis antar card */
    position: relative;
    margin-top: 20px;
}

.garis-penghubung {
    width: 4px;
    height: 40px;
    background-color: #B3B3B3;
    margin: 0 auto;
}

.container2 {
    padding-bottom: 0;
    padding-top: 80px;
    width: calc(100%);
    display: flex;
    justify-content: space-around;
}


.container3, .container4 {
    align-items: center;
    padding-bottom: 0;
    padding-top: 80px;
}

.container4 {
    padding-top: 0;
}



.container5 {
    padding-bottom: 0;
    padding-top: 0;
    margin-bottom: 50px;
    width: 50%;
}



/* Image Styles */
img {
    width: 250px;
    height: auto;
}

/* Text Box Styles */
.container2 p {
    font-size: 20px;
    background-color: #E3F2FD;
    width: 274px;
    height: 52px;
    text-align: center;
    line-height: 52px;
    border-radius: 8px; 
}

.container2 .category-link p {
    color: black;
    font-weight: normal; /* default */
}

/* Yang aktif jadi bold */
.container2 .category-link.active p {
    font-weight: bold;
}

/* Line Styles */
.garis {
    width: 60px;
    height: 1px;
    background-color: #B3B3B3;
}

.garis2, .garis3 {
    width: 1px;
  height: 100px;
  background-color: #B3B3B3;
  /* margin: auto; */
}

.garis2 {
    margin-left: auto;
    margin-right: 27%;
}

.kelas {
    display: flex;
    align-items: center;
    gap: 4px; /* untuk memberi jarak antara ikon dan teks */
  }


.garis4 {
    margin-left: 73%;
}

.garis3 {
    margin-left: 27%;
}


.info-group {
    display: flex;
    flex-direction: row;
    gap: 32px;
    align-items: center;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

span p svg {
    margin-right: 10px; /* Memberikan jarak antar ikon */
}


/* Card Styles */
.card-langganan {
    width: 500px;
    height: 160px;
    border-radius: 24px;
    border: 1px solid #B3B3B3;
    background-color: white;
    position: relative;
    
}

.card p {
    margin-left: 20px;
    padding: 10px;
    padding-bottom: 0;
    margin-bottom: 0;
}

.card p:first-child {
    padding-bottom: 0;
    margin-top: 10px;
}

.card p:nth-child(2) {
    padding-top: 0;
}

.card p:nth-child(3) {
    padding-top: 20px;
}

.margin-card{
    padding: 20px;
    color: black;

}

/* ======================================================= */
/* RESPONSIVE DESIGN */
/* ======================================================= */


/* MAX 1024px (Tablet landscape) */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        align-items: center;
        padding: 0 32px;
    }

    .column1 {
        justify-content: center;
        text-align: center;
    }

    .linklink {
        justify-content: center;
        text-align: center;
        font-size: 18px;
    }

    .container2 {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 40px 32px 0;
    }

    .container2 p {
        width: 100%;
        font-size: 18px;
        padding: 0 10px;
    }

    .container3, .container4 {
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
    }

    .garis-vertikal {
        display: flex;
        width: 2px;
        height: 200px;
        background-color: #3D5A80;
        margin: 8px auto 5px;
    }

    .card-langganan {
        width: 200px;
        height: 150px !important;
        border-radius: 24px;
        flex: auto; /* Biar lebih fleksibel */
        min-width: 500px; /* Agar tidak terlalu kecil di layar kecil */
        border: 1px solid #B3B3B3;
    }

    .garis {
        width: 1px;
        height: 60px;
        background-color: #B3B3B3;
    }

    .garis2 {
        width: 1px;
        height: 60px;
        background-color: #B3B3B3;
        margin: auto;
    }

    .garis3 {
        width: 1px;
        height: 60px;
        background-color: #B3B3B3;
        margin: auto;
    }

    .card {
        width: 100%;
        height: auto;
        text-align: center;
    }

    .container5 {
        flex-direction: column;
        align-items: center;
        padding: 0 32px;
        margin: 0 20px;
        padding-bottom: 30px;
    }
    .container3, .container4, .container5 {
        flex-direction: column;
        align-items: center;
        flex-wrap: nowrap; 
        margin: auto;
        
    }
    .container4 {
        display: flex;
        flex-direction: column-reverse;  /* Membalikkan urutan konten secara vertikal */
        padding-top: 0px;
    }

    a.category-link {
        width: 100%;
    }
 

}

/* MAX 768px (Tablet & Mobile besar) */
@media (max-width: 767px) {
    .container {
        flex-direction: column;
        align-items: center;
        padding: 0 32px;
    }
    
    
    .card-langganan {
        width: 150px;
        height: 210px !important;
        border-radius: 24px;
        flex: auto; /* Biar lebih fleksibel */
        min-width: 330px; /* Agar tidak terlalu kecil di layar kecil */
        border: 1px solid #B3B3B3;
    }

    .column1 {
        justify-content: center;
        text-align: center;
    }

    .linklink {
        justify-content: center;
        text-align: center;
        font-size: 18px;
    }

    .container2 {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 40px 32px 0;
        width: calc(100%);
        margin: 0;
    }

    .container2 p {
        width: 100%;
        font-size: 18px;
        padding: 0 10px;
    }

    .container3, .container4, .container5 {
        align-items: center;
        flex-wrap: nowrap; 
        margin: auto;
        
    }
    

    .card {
        width: 100%;
        height: auto;
        text-align: center;
    }

    .container4 {
        display: flex;
        flex-direction: column-reverse;
        padding-top: 0px;
    }

    .container5 {
        flex-direction: column;
        align-items: center;
        padding: 0 32px;
        margin: auto;
        padding-bottom: 30px;
    }

     .info-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
        margin-top: 10px;
    }

    .info-item {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .garis {
        height: 50px;                  /* panjang garis */

    }
    .garis2 {
        height: 50px;                  /* panjang garis */
        margin: auto

    }
    .garis3 {
        height: 50px;                  /* panjang garis */
        margin: auto

    }

    .arrow-right {
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 15px solid black; 

    }
    .arrow-down {
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 15px solid black; 
        margin-left: 301px;
    }

    .arrow-left {
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 15px solid black;
    }

}