/* General Reset & Body */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
  color: #333;
}

/* Header fixed on top */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #2e2e2e;
  color: #bfffbf;
  z-index: 1000;
  padding: 10px 0;
  box-sizing: border-box;
}

/* Menu container: flex, logo left, menu center */
.menu-box {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Logo Link on left */
.logo-link {
  display: block;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  margin-right: 40px;
}

.logo {
  width: 60px;
  height: 60px;
  background: url('images/logo.png') no-repeat center center;
  background-size: contain;
}

/* Company info next to logo */
.company-info {
  flex-grow: 1;
  color: #bfffbf;
}

.company-info h1 {
  margin: 0;
  font-size: 22px;
}

.company-info p {
  margin: 2px 0 0;
  font-size: 12px;
  font-style: italic;
}

/* Navigation centered */
nav {
  flex-grow: 2;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 40px;
}

nav ul li a {
  text-decoration: none;
  color: #bfffbf;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  cursor: pointer;
}

/* Glow effect on hover */
nav ul li a:hover {
  color: #00ff00;
  text-shadow: 0 0 8px #00ff00;
}

/* Main content */
main {
  padding: 140px 20px 60px; /* enough top padding for fixed header */
  max-width: 1200px;
  margin: 0 auto;
}

/* Grid container for 4 boxes */
.page-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Boxes */
.page-box {
  border: 5px solid #2e2e2e;
  border-radius: 15px;
  background-color: #e6ffe6;
  box-shadow: 0 0 10px rgba(0, 128, 0, 0.3);
  padding: 20px;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: default;
}

/* Glow & scale on hover */
.page-box:hover {
  box-shadow: 0 0 20px #00ff00;
  transform: scale(1.05);
}

.page-box img {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.page-box h3 {
  margin: 10px 0 10px;
  color: #006400;
}

/* Contact form styling */
form {
  text-align: left;
}

form label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  border: 2px solid #2e2e2e;
  border-radius: 6px;
  resize: vertical;
  font-size: 14px;
  box-sizing: border-box;
}

form textarea {
  min-height: 100px;
}

form button {
  background-color: #00aa00;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #007700;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: #2e2e2e;
  color: #bfffbf;
  margin-top: 50px;
  font-size: 14px;
}
