* { margin: 0; padding: 0; box-sizing: border-box; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
    }
    
  to {
    opacity: 1;
    transform: translateY(0);
    }
}

body {
  font-family: Arial, sans-serif;
  background: linear-gradient(to bottom, #f8faf8, #eef5ee);
  color: #333;
}

/* HEADER */
.header {
  background-color: #3D7A40;
  color: white;
  text-align: center;
  padding: 20px;
}
.header h1 {
  font-size: 28px;
  font-weight: bold;
}
.header p {
  font-style: italic;
  font-size: 15px;
  margin-top: 4px;
}

/* NAV */
nav {
  background: white;
  display: flex;
  justify-content: space-evenly;
  align-items: center;

  padding: 18px 40px;
  box-shadow: 0 3px 12px rgba(0,0,0,.08);
}
nav a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  font-weight: bold;
}
nav a:hover { text-decoration: underline; }
nav a.active { color: #3D7A40; }

#logo {
  width: 70px;
}

/* FOOTER */
.footer { background-color: #3D7A40; color: white; text-align: center; padding: 14px; font-size: 13px; }
.footer a { color: white; text-decoration: none; }
.footer a:hover { text-decoration: underline; }

.inquiry-container {
  display: flex;
  justify-content: center;
  padding: 20px 24px 50px;
  animation: fadeUp 0.8s ease forwards;
}

.inquiry-form {
  width: 100%;
  max-width: 800px;
  background: white;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.inquiry-nav {
  text-align: center;
  padding: 40px 24px 20px;
  margin-bottom: 0;
  font-size: 42px;
  color: #2C4A2E;
}

.inquiry-nav::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #3D7A40;
  margin: 12px auto 0;
  border-radius: 10px;
}

.inquiry-name-row {
  display: flex;
  gap: 14px;
}

.inquiry-name-row .inquiry-field {
  flex: 1;
}

.inquiry-view {
  text-decoration: none;
  color: inherit;
}

.inquiry-field {
  width: 100%;
  border: 1px solid #d6d6d6;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  transition: all 0.25s ease;
}

.inquiry-field:focus {
  outline: none;
  border-color: #3D7A40;
  box-shadow: 0 0 0 4px rgba(61,122,64,0.15);
}

.inquiry-submit {
  border-radius: 12px;
  border: 0px;
  padding: 8px;
  width: 25%;
}

.inquiry-contact {
  width: 100%;
  display: flex;
  align-items: center;
  border: 1px solid #d6d6d6;
  border-radius: 12px;
  padding: 12px 16px;
  gap: 10px;
}

.inquiry-contact:focus-within {
  border-color: #3D7A40;
  box-shadow: 0 0 0 4px rgba(61, 122, 64, 0.15);
  transition: all 0.25s ease;
}

.inquiry-contact label {
  font-weight: bold;
  color: #2C4A2E;
}

#inquiry-email {
  flex: 1;
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;  
}

.inquiry-submit {
  align-self: flex-end;
  width: 180px;
  padding: 14px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(135deg,#59BE54,#3D7A40);
  color: white;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.inquiry-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(61,122,64,0.3);
}

#subject-field {
  height: 32px;
  padding: 8px;
}

#message-field {
  font-family: inherit;
  min-height: 220px;
  resize: none;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal-box {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  max-width: 320px;
}