/* styles.css */

/* General styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
}

header {
    background-color: #4CAF50;
    padding: 1rem;
}

h1 {
    color: #fff;
    text-align: center;
}

nav {
    text-align: center;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 1rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

nav ul li a:hover {
    text-decoration: underline;
}

main {
    padding: 2rem;
}

h2 {
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    display: block;
    margin-bottom: 1rem;
}

figcaption {
    font-style: italic;
    text-align: center;
    margin-bottom: 2rem;
}

.simple-list, .complex-list {
    margin-bottom: 2rem;
}

.complex-list {
    list-style-type: upper-roman;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

table, th, td {
    border: 1px solid #ccc;
    padding: 1rem;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

form {
    margin-bottom: 2rem;
}

form label, form input, form textarea {
    display: block;
    margin-bottom: 1rem;
}

input[type="submit"] {
    background-color: #4CAF50;
    color: #fff;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #45a049;
}

video {
    max-width: 100%;
    margin-bottom: 1rem;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 1rem;
    text-align: center;
}

footer a {
    color: #fff;
}

footer a:hover {
    text-decoration: underline;
}

footer ul {
    list-style-type: none;
    padding: 0;
}

footer ul li {
    display: inline;
    margin: 0 1rem;
}
/* Add the following code to your existing styles.css */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.product {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.product img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}

.product h3 {
    margin-top: 1rem;
    text-align: center;
}
/* Add the following code to your existing styles.css */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.service {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.service img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}

.service h3 {
    margin-top: 1rem;
    text-align: center;
}

.service p {
    text-align: center;
}
/* Responsive full-width banner styles */
.banner {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 160px; /* Adjust this value to change the height of the banner */
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

}

.banner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 160px;
  object-fit: cover;
}


