/* === Quantum Family Shared Styles === */

/* Base font and body */
body {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: #222;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

/* --- Header / Nav --- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 40px;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo img {
  height: 40px;
  width: auto;
  display: block;
}

nav a {
  margin-left: 24px;
  text-decoration: none;
  color: #222;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #0056d6;
}

/* --- Hero section --- */
.hero {
  text-align: center;
  padding: 60px 20px 40px;
}
.hero h1 {
  font-size: 48px;
  margin-bottom: 10px;
}
.hero p {
  font-size: 20px;
  color: #555;
  margin-bottom: 30px;
}

/* --- Main content container --- */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
}

/* --- Headings inside content --- */
h1, h2, h3 {
  font-weight: 600;
  color: #111;
  margin-top: 40px;
  margin-bottom: 20px;
}

h2 {
  font-size: 28px;
  margin-top: 30px;
}

/* --- Paragraphs --- */
p {
  font-size: 18px;
  margin: 20px 0;
  color: #333;
}

/* --- Forms --- */
form {
  text-align: left;
}
label {
  display: block;
  margin: 10px 0;
  font-size: 18px;
  line-height: 1.4;
}
input[type="radio"] {
  margin-right: 8px;
}

input[type="email"],
input[type="text"] {
  width: 100%;
  padding: 12px 15px;
  font-size: 18px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 8px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

/* --- Buttons --- */
button,
input[type="submit"],
a.button {
  background-color: #0056d6;
  color: #fff;
  border: none;
  padding: 14px 36px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

button:hover,
input[type="submit"]:hover,
a.button:hover {
  background-color: #003c99;
}

/* --- Footer --- */
footer {
  background-color: #111;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  margin-top: 60px;
}
footer input[type="email"] {
  padding: 10px;
  width: 280px;
  border: none;
  border-radius: 4px;
  margin-right: 10px;
}
footer button {
  background-color: #0056d6;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
}
footer button:hover {
  background-color: #003c99;
}
footer p {
  margin-top: 20px;
  font-size: 14px;
  color: #aaa;
}

/* --- Responsive tweaks --- */
@media (max-width: 600px) {
  header {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }
  nav {
    margin-top: 10px;
  }
  nav a {
    margin: 0 12px;
    font-size: 14px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero p {
    font-size: 16px;
  }
  p, label, input, button {
    font-size: 16px;
  }
}
/* === Survey Radio Button Styling === */
input[type="radio"] {
  transform: scale(1.5);   /* 50% bigger */
  margin-right: 12px;
  vertical-align: middle;
}

label {
  display: flex;
  align-items: center;      /* centers text vertically next to button */
  margin: 12px 0;
  font-size: 18px;
  line-height: 1.4;
}

label b {
  margin-right: 8px;
}
/* Survey instructions inside hero */
.instructions {
  max-width: 750px;
  margin: 20px auto 0;
  padding: 20px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}
header {
  background-color: #fff;
  border-bottom: 1px solid #eee;
}

header {
  background-color: #fff;
  border-bottom: 1px solid #eee;
}

.header-inner {
  max-width: 1000px;     /* slightly wider than survey text */
  margin: 0 auto;        /* center horizontally */
  display: flex;         /* key: flexbox */
  justify-content: space-between; /* logo left, nav right */
  align-items: center;   /* vertically center */
  padding: 0 20px;
}

.nav-links a {
  margin-left: 20px;     /* spacing between nav items */
  text-decoration: none;
  color: #222;
  font-size: 16px;
  font-weight: 500;
}

.nav-links a:hover {
  color: #0056d6;
}

body {
  font-family: sans-serif;
  font-size: 1rem; /* ~16px default */
  line-height: 1.6;
}

h1 {
  font-size: 2.5rem; /* ~40px on desktop */
}

h3 {
  font-size: 1.5rem;
}

/* Mobile font adjustments */
@media (max-width: 768px) {
  body {
    font-size: 0.95rem; /* slightly smaller base text */
  }

  h1 {
    font-size: 1.8rem; /* shrink big titles */
  }

  h3 {
    font-size: 1.2rem; /* shrink subheadings */
  }

  .button {
    font-size: 0.95rem; /* keep buttons balanced */
    padding: 10px 16px;
  }
}

/* Mobile font adjustments for Hero section */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.6rem; /* shrink headline */
  }

  .hero .instructions p {
    font-size: 0.9rem; /* shrink paragraph text */
    line-height: 1.4;  /* keep it readable */
  }
}
/* Styles for Survey Results Content */
.content-box {
    background-color: #e7f3ff;
    border: 1px solid #b8d9f7;
    border-radius: 15px;
    padding: 20px 30px;
    margin-bottom: 25px;
    text-align: left;
}

.reveal-box {
    text-align: center;
}

.reveal-box h1 {
    font-size: 3em;
    margin: 0 0 10px 0;
    color: #2c3e50;
}

.reveal-box h2 {
    font-size: 1.5em;
    margin: 0;
    color: #2c3e50;
    font-weight: normal;
}

.reveal-box p {
    font-size: 1.2em;
    margin: 0;
    color: #2c3e50;
    text-align: center;
}

.strengths-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin: 40px 0 25px 0;
    flex-wrap: wrap;
}

.strength-item {
    flex-grow: 1;
    flex-basis: 200px;
    text-align: left;
}

.strength-item h4 {
    margin-bottom: 8px;
    font-size: 1.1em;
    font-weight: 600;
    color: #2c3e50;
}

.bar-bg {
    background-color: #e9ecef;
    border-radius: 8px;
    height: 24px;
    overflow: hidden;
}

.bar-fill {
    background-color: #007bff;
    height: 100%;
    border-radius: 8px;
}

.visual-insights-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 40px;
}

.top-row, .bottom-row {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.info-box {
    background-color: #e7f3ff;
    border: 1px solid #b8d9f7;
    border-radius: 15px;
    padding: 20px;
    text-align: left;
    overflow: hidden;
}

.visual-column {
    flex: 1.5;
    min-width: 350px;
}

.insights-column {
    flex: 1;
    min-width: 300px;
}

.characteristics-box {
    flex: 1.5;
}

.leadership-box {
    flex: 1;
}

.profile-section h3 {
    margin-top: 0;
    color: #2c3e50;
}

.profile-section ul {
    list-style-type: '✓  ';
    padding-left: 20px;
    font-size: 1.1em;
    margin-top: 10px;
}

.profile-section li {
    margin-bottom: 12px;
}

.profile-section h4 {
    color: #0056b3;
    font-size: 1.1em;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 5px;
}

.graph-container {
    width: 100%;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-note {
    font-size: 0.9em;
    text-align: center;
    color: #6c757d;
    margin-top: 15px;
}
