.motor-landing-page {
    text-align: center;
    font-family: Arial, sans-serif;
}

.promo-image, .specification-image {
    width: 100%;
    height: auto;
}

.whatsapp-button {
    margin: 20px 0;
}

.whatsapp-button a {
    background-color: #25d366;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
}

form {
    margin: 20px auto;
    max-width: 400px;
}

form label {
    display: block;
    margin-bottom: 5px;
}

form input, form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
}

form input[type="submit"] {
    background-color: #0073aa;
    color: white;
    border: none;
    cursor: pointer;
}

form input[type="submit"]:hover {
    background-color: #005f8a;
}

/* Membuat tabel bisa di-scroll pada layar kecil */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Untuk smooth scrolling di perangkat iOS */
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th, table td {
    padding: 10px;
    text-align: left;
}


@media (max-width: 767px) {
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table thead {
        display: none;
    }

    .table td {
        display: block;
        width: 100%;
        text-align: right;
        position: relative;
        padding-left: 50%;
    }

    .table td:before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 15px;
        font-weight: bold;
        text-align: left;
    }
}

/*
@media screen and (max-width: 768px) {
    table, thead, tbody, th, td, tr {
        display: block; /* Mengubah struktur tabel menjadi block pada layar kecil */
    }
/*
    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    tr {
        margin-bottom: 1rem;
    }

    td {
        border: none;
        position: relative;
        padding-left: 50%;
        text-align: right;
    }

    td:before {
        position: absolute;
        top: 10px;
        left: 10px;
        white-space: nowrap;
        content: attr(data-label); /* Menggunakan data-label untuk membuat tabel seperti kartu pada layar kecil 
        text-align: left;
    }
}*/
