/* Reset */
body, h1, h2, p {
    margin: 0;
    padding: 0;
}

/* Base styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header and Footer styles */
header, footer {
    background-color: #333;
    color: #fff;
    padding: 10px;
    text-align: center;
}

/* Navigation styles */
nav {
    display: flex;
    justify-content: center;
}

nav a {
    margin: 0 15px;
    color: #fff;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

/* Main content */
.main-content {
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Product grid */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Product card */
.product-card {
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: calc(33% - 20px);
    text-align: center;
}

.product-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 10px;
}

.product-card h2 {
    margin-bottom: 10px;
}

.product-card p {
    margin-bottom: 10px;
}

.product-card a {
    display: inline-block;
    background-color: #0066cc;
    color: #fff;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
}

.product-card a:hover {
    background-color: #0055aa;
}

/* Contact form styles */
form {
    margin-top: 20px;
}

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

form input, form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background-color: #0066cc;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background-color: #0055aa;
}

/* Responsive styles */
@media (max-width: 768px) {
    /* Adjust product card width for smaller screens */
    .product-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    /* Adjust product card width for even smaller screens */
    .product-card {
        width: 100%;
    }
}
