h3 {
    font-family: 'Arial', sans-serif;
    font-size: 24px;
    text-align: center;
    color: #333;
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

th, td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: center;
}

th {
    background-color: #004f94;
    color: #ffd100;
    font-weight: bold;
}

td {
    background-color: #f9f9f9;
}

/* For small screens */
@media screen and (max-width: 768px) {
    table, thead, tbody, th, td, tr {
        display: block;
        font-size:12px;
    }

    /* Keep the headings visible */
    th {
        display: none;
        text-align: left;
        background-color: #8fc6b3;
        padding-left: 50%;
        position: relative;
    }

    tr {
        margin-bottom: 10px;
        border-bottom: 2px solid #ddd;
    }

    td {
        border: none;
        border-bottom: 1px solid #ddd;
        position: relative;
        padding-left: 70% !important;
        text-align: left;
        font-size: 12px;
    }

    td:before {
        position: absolute;
        left: 10px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
    }

    td:nth-of-type(1):before { content: "Model Number"; }
td:nth-of-type(2):before { content: "Usable Oil Capacity (c.c.)"; }
td:nth-of-type(3):before { content: "Pressure Rating (bar)"; }
td:nth-of-type(4):before { content: "Pressure Rating (psi)"; }
td:nth-of-type(5):before { content: "Air Pressure Range (kgf/cm²)"; }
td:nth-of-type(6):before { content: "Output Flow Rate (no load)"; }


   
    
}

@media screen and (min-width: 769px) {
    /* For larger screens */
    th, td {
        padding: 12px;
        font-size: 16px;
    }
}