/* ==========================
   Global Styles
========================== */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  line-height: 1.7;
  background: #f4f6f9;
  color: #222;
  min-height: 100vh;
}

/* ==========================
   HEADER & NAVIGATION
========================== */
header {
  background: #0f2027;
  padding: 15px 20px;
  position: relative;
  z-index: 1000;
}

header nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

header nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

header nav a:hover {
  color: #ffd700;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 1100;
}

.hamburger div {
  width: 28px;
  height: 3px;
  background-color: #fff;
  transition: all 0.3s ease;
}

/* ==========================
   Mobile Menu
========================== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  header nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 280px;
    flex-direction: column;
    background: rgba(0,0,0,0.7); /* semi-transparent black */
    padding-top: 80px;
    padding-right: 20px;
    gap: 25px;
    text-align: right;
    overflow-y: auto;
    z-index: 2000;
    transform: translateX(100%); /* hidden off-screen */
    transition: transform 0.3s ease-in-out, background 0.3s ease;
  }

  header nav.active {
    transform: translateX(0); /* slide in */
  }

  header nav a {
    font-size: 18px;
    margin-left: 0;
    display: block;
  }
}

/* ==========================
   MAIN CONTAINER
========================== */
.container {
  max-width: 900px;
  width: 92%;
  margin: 40px auto;
  background: #fff;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* Headings */
h1, h2, h3 {
  color: #0f2027;
  margin-top: 25px;
  margin-bottom: 15px;
}

h1 {
  text-align: center;
  margin-bottom: 25px;
}

/* Paragraphs & Links */
p {
  margin-bottom: 15px;
  line-height: 1.7;
}

a {
  color: #007bff;
  text-decoration: none;
}



/* Lists */
ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

ul li {
  margin-bottom: 10px;
}

/* ==========================
   FORM ELEMENTS
========================== */
label {
  display: block;
  margin-top: 15px;
  font-weight: 600;
}

input, select, textarea {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  border-radius: 10px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  font-size: 14px;
}

textarea {
  resize: vertical;
}

button {
  margin-top: 25px;
  padding: 14px;
  width: 100%;
  border: none;
  border-radius: 12px;
  background: #007bff;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

button:hover {
  background: #0056b3;
}

/* Honeypot field */
.honeypot {
  display: none;
}

/* Notes / disclaimers */
.note {
  margin-top: 20px;
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

/* Back buttons */
.back-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 20px;
  background: #555;
  color: white;
  text-decoration: none;
  border-radius: 10px;
}

.back-btn:hover {
  background: #333;
}

/* ==========================
   RESULTS / PAYSLIP TABLES
========================== */
.results {
  margin-top: 20px;
  padding: 15px;
  background: #eef4ff;
  border-radius: 10px;
  display: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

th, td {
  padding: 10px;
  text-align: left;
  border: 1px solid #ccc;
}

th {
  background-color: #f5f5f5;
}

td.right {
  text-align: right;
}

/* ==========================
   FOOTER
========================== */
footer {
  text-align: center;
  padding: 18px;
  margin-top: 40px;
  background: #0f2027;
  color: white;
  font-size: 14px;
}

footer a {
  color: white;
  text-decoration: none;
  margin: 0 6px;
}

footer a:hover {
  color: #ffd700;
}

/* ==========================
   MEDIA QUERIES
========================== */
@media (max-width: 600px) {
  .container {
    padding: 25px 20px;
  }

  header nav a {
    margin: 0 8px;
    font-size: 14px;
  }
}