/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f6f9;
  color: #333;
}

/* Header */
header {
  background: #003366;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-left img {
  height: 50px;
  width: auto;
}

.header-left h1 {
  margin: 0;
  font-size: 18px;
  max-width: 400px; /* keeps long name manageable */
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}


/* Main content area */
.content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.left-img {
  width: 45%;
  height: auto;
  border-radius: 8px;
  object-fit: cover; /* Ensures the image maintains a nice aspect ratio */
}

.article {
  width: 50%;
  padding-left: 20px;
}

.article p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .left-img {
    width: 80%;
    margin-bottom: 20px; /* Adds spacing between image and text on smaller screens */
  }

  .article {
    width: 80%;
  }
}


/* Product List */
.product-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.product-item {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0px 2px 6px rgba(0,0,0,0.1);
}

.product-item img {
  width: 150px;
  height: auto;
  border-radius: 6px;
  margin-right: 15px;
}

.product-item h3 {
  margin: 0;
  color: #003366;
}

.product-item p {
  margin: 5px 0 0;
}

/* Contact Form */
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
}

form input, form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

form button {
  background: #003366;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
}

form button:hover {
  background: #0055aa;
}

/* Footer */
footer {
  background: #003366;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 30px;
}

.footer-container {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 15px;
}

.footer-container ul {
  list-style: none;
  padding: 0;
}

.footer-container li {
  margin: 5px 0;
}

.footer-container a {
  color: white;
  text-decoration: none;
}

.footer-container a:hover {
  text-decoration: underline;
}

footer hr {
  border: 0;
  border-top: 1px solid #ccc;
  margin: 15px 0;
}
/* Make body a flex container */
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

/* Main content should grow to push footer down */
main {
  flex: 1;
  padding: 20px;
}

/* Footer always at bottom */
footer {
  background: #003366;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: auto;  /* This pushes footer to the bottom */
}

/* Product List Layout */
.product-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 20px auto;
}

.product-item {
  background: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, background 0.3s;
}

.product-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #003366;
  padding: 15px;
}

.product-link img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin-right: 20px;
  border-radius: 8px;
}

.product-info h3 {
  margin: 0 0 5px;
}

.product-item:hover {
  background: #eaf0ff;
  transform: translateY(-3px);
}
