
h2 {
    color: #333;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: center;
}

th {
    background-color: #004f94;
    color: #ffd100;
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f1f1f1;
}

@media screen and (max-width: 768px) {
    table, thead, tbody, th, td, tr {
        display: block;
        font-size:12px;
    }

    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    tr {
        margin-bottom: 10px;
        border-bottom: 2px solid #ddd;
    }

    td {
        border: none;
        border-bottom: 1px solid #ddd;
        position: relative;
        padding-left: 70% !important;
    }

    td:before {
        position: absolute;
        top: 6px;
        left: 10px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
    }

    td:nth-of-type(1):before { content: "Model  No."; }
    td:nth-of-type(2):before { content: "Reach (mm)"; }
    td:nth-of-type(3):before { content: "Spread (mm)"; }
    td:nth-of-type(4):before { content: "Stroke (mm)"; }
    td:nth-of-type(5):before { content: "Spindle Thread"; }
    td:nth-of-type(6):before { content: "Net Weight (N.W)"; }
    td:nth-of-type(7):before { content: "Gross Weight (G.W)"; }
     td:nth-of-type(8):before { content: "Output "; }

}