/* ========== Global Reset & Base ========== */
body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #fff;
  color: #333;
}

a {
  text-decoration: none;
}

/* ========== Header & Navigation (Global) ========== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background-color: #0a1a2f; /* Dark navy */
}

.logo {
  color: gold;
  font-size: 1.8em;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
}

.lang-toggle {
  background: gold;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  font-weight: bold;
  margin-left: 20px;
}

/* Homepage hero full screen */
body:not(.questionnaire-page) .hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Full screen height */
  text-align: center;
  background: url('images/hero.png') center/cover no-repeat;
  color: white;
}

body:not(.questionnaire-page) .hero h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

body:not(.questionnaire-page) .hero p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

/* CTA button for homepage */
.cta-button {
  background: gold;
  color: #0a1a2f;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}

.cta-button:hover {
  background: #f7d700;
}

/* ========== Footer (Global) ========== */
footer {
  text-align: center;
  padding: 20px;
  background-color: #0a1a2f;
  color: white;
}

/* ========== Questionnaire Page Scoped Styles ========== */
body.questionnaire-page .hero {
  max-width: 700px;
  margin: 40px auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  color: #333;
}

/* Question labels */
body.questionnaire-page .hero label {
  display: block;
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 8px;
  margin-top: 20px;
}

/* Inputs: text, number, date, select */
body.questionnaire-page .hero input[type="text"],
body.questionnaire-page .hero input[type="number"],
body.questionnaire-page .hero input[type="date"],
body.questionnaire-page .hero select {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

/* Checkbox group container */
body.questionnaire-page .hero div {
  margin-bottom: 15px;
}

body.questionnaire-page .hero div label {
  font-weight: normal;
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

body.questionnaire-page .hero div input[type="checkbox"] {
  margin-right: 8px;
}

/* Submit button */
body.questionnaire-page .hero button {
  background: #0a1a2f;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}

body.questionnaire-page .hero button:hover {
  background: #13314e;
}

/* Submission message */
body.questionnaire-page #responseMessage {
  margin-top: 15px;
  font-weight: bold;
  color: green;
}