/* Remove default spacing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}


body {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #fafafa;
}


/* Navigation Bar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: white;
    padding: 20px 60px;

    box-shadow: 0 2px 8px rgba(0,0,0,.08);

    position: sticky;
    top: 0;
    z-index: 100;
}


.logo {
    font-size: 24px;
    font-weight: bold;
}


.logo a {
    text-decoration: none;
    color: #222;
}


.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}


.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}


.nav-links a:hover {
    color: #0077cc;
}


/* Main page content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 60px;
}


/* Headings */
h1 {
    font-size: 36px;
    margin-bottom: 30px;
}


h2 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
}


/* Old sections */
section {
    max-width: 1000px;
    margin: auto;
    padding: 100px 20px;
}


section h1 {
    margin-bottom: 20px;
}


/* Product Information Tables */
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    margin-bottom: 40px;
}


td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    vertical-align: top;
}

td:first-child {
    font-weight: bold;
    width: 30%;
    background-color: #f5f5f5;
}


/* Product Images */
main img {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}

table td img {
    width: 180px;
    max-width: 180px;
    height: auto;
    margin: 0;
}


/* Applications list */
ul {
    margin-left: 25px;
    line-height: 1.8;
}


/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto;
}


.product-card {
    background: white;
    padding: 25px;
    border-radius: 10px;

    box-shadow: 0 3px 10px rgba(0,0,0,0.1);

    transition: transform 0.2s;
}


.product-card:hover {
    transform: translateY(-5px);
}


.product-card img {
    width: 100%;
    height: 250px;
    object-fit: contain;
}


.product-card h2 {
    margin-top: 20px;
}


.product-card p {
    margin-top: 10px;
    line-height: 1.5;
}


.product-card a {
    display: inline-block;
    margin-top: 15px;

    text-decoration: none;
    color: white;

    background: #0077cc;
    padding: 10px 20px;

    border-radius: 5px;
}


.product-card a:hover {
    background: #005fa3;
}


/* Mobile layout */
@media (max-width: 800px) {

    nav {
        padding: 20px;
        flex-direction: column;
        gap: 20px;
    }


    .nav-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }


    main {
        padding: 30px 20px;
    }


    .product-grid {
        grid-template-columns: 1fr;
    }

}