/* ===================================================================
 * # responsive pricing table
 *
 * ------------------------------------------------------------------- */
#harga {
  background-color: #000000;
  background-image: url(../images/contact-bg.jpg);
  background-repeat: no-repeat;
  background-position: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  padding: 12rem 0 12rem;
  position: relative;
}

#harga .overlay-harga {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  background-color: #000000;
}

.pricing-container {
    width: 100%;
    overflow-x: auto; /* Memungkinkan scroll horizontal jika diperlukan di layar sangat kecil */
    padding-top: 3.6rem;
    padding-bottom: 7.2rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Styling Tabel */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-table th, .pricing-table td {
    padding: 1rem 1.25rem;
}

/* Header Tabel */
.pricing-table thead {
    font-size: 1rem;
    background-color: rgba(0,0,0,0.1);
}

.pricing-table thead th {
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.pricing-table thead th:first-child {
    text-align: left;
    background-color: transparent;
    border: none;
}

.package-name {
    font-weight: 600;
    font-family: "montserrat-bold", sans-serif;
    color: #FFFFFF;
    font-size: 1.8rem;
}

.package-price {
    font-size: 1.5rem;
    color: rgba(248, 155, 64, 0.9); /* Menggunakan warna oranye dari template Anda */
    margin-top: 0.5rem;
    display: block;
    font-family: "montserrat-semibold", sans-serif;
}

.order-button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 1.2rem 2.5rem;
    background-color: #F89B40;
    color: #000000;
    font-weight: 600;
    text-decoration: none;
    border-radius: 3px;
    transition: background-color 0.3s ease;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: .2rem;
}

.order-button:hover {
    background-color: #d9822b;
}

/* Body Tabel */
.pricing-table tbody th { /* Category Header */
    background-color: rgba(0,0,0,0.15);
    padding: 1.2rem;
    font-size: 1.7rem;
    font-weight: 800;
    text-align: center;
    color: #FFFFFF;
    font-family: "montserrat-semibold", sans-serif;
}

.pricing-table tbody td, .pricing-table tbody .feature-name {
    border-bottom: 1px solid rgb(255, 255, 255);
    text-align: center;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    color: white;
}

.pricing-table tbody .feature-name {
    text-align: left;
    padding-left: 2.5rem;
    font-weight: 400;
}

.pricing-table tbody tr:last-child td,
.pricing-table tbody tr:last-child .feature-name {
    border-bottom: none;
}

/* Ikon Centang */
.icon-check {
    fill: #39b54a; /* Warna hijau yang lebih cocok dengan tema */
    width: 28px;
    height: 28px;
}

/* Ikon Tolak */
.icon-reject {
    fill: #EF4444; /* Merah */
    width: 28px;
    height: 28px;
}

.icon-cross {
    fill: #EF4444; /* Merah */
    width: 24px;
    height: 24px;
}

h1.titel-paket {
    color: white;
    padding-top: 100px;
}

p.lead-tagline {
    color: white;
    font-size: 18px;
}

p.lead-tagline::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ffffff; /* Warna putih dari template Anda */
    margin-top: 60px;
}
/* ===================================================================
 * # responsive settings
 *
 * ------------------------------------------------------------------- */

@media (max-width: 1200px) {
    .pricing-table {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .pricing-table thead {
        display: none; /* Sembunyikan header tabel di mobile */
    }

    .pricing-table, .pricing-table tbody, .pricing-table tr, .pricing-table td, .pricing-table th {
        display: block; /* Ubah semua elemen tabel menjadi block */
        width: 100%;
    }

    .pricing-table tbody th { /* Category Header */
        margin-top: 2rem;
        border-radius: 3px 3px 0 0;
    }
    .pricing-table tbody tr:first-child th {
         margin-top: 0;
    }

    .pricing-table tr {
        margin-bottom: 1px;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
     .pricing-table tr:has(th) {
        border: none;
        margin-bottom:0;
    }
     .pricing-table tbody tr td:last-of-type {
          border-bottom: 1px solid rgba(255, 255, 255, 0.1);
          border-radius: 0 0 3px 3px;
          margin-bottom: 2rem;
    }

    .pricing-table td, .pricing-table .feature-name {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .pricing-table .feature-name {
        justify-content: center;
        text-align: left;
        background-color: rgba(0,0,0,0.1);
        font-weight: 600;
        color: #FFFFFF;
        padding-top:1.8rem;
        padding-bottom:1.8rem;
    }

    
    /* Gunakan ::before untuk menampilkan nama paket dari header */
    .pricing-table td::before {
        content: attr(data-label); /* Ambil teks dari atribut data-label */
        font-weight: 600;
        text-align: left;
    }
}