:root {
  --bg: #ffffff;
  --text: #111111;
  --accent: #16BE45;
  --footer-bg: #0e2233;
  --footer-text: #f6fbff;
  --gutter: 24px;
}

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

html, body {
  height: 100%;
  width: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  text-align: center;
}

/* Paragraphs */
p {
  display: block;
  text-align: left;
}

p::after {
  content: "\A";
  white-space: pre;
}

/* Page layout */
.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: var(--gutter);
  padding-bottom: 120px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

/* Headings */
h1, h2, h3 {
  text-align: center;
  width: 100%;
  margin-bottom: 1rem;
}

/* Logo with typewriter effect */
.logo {
  font-family: "Courier New", Courier, monospace;
  font-size: 2.8rem;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid var(--text);
  width: 0;
  animation: typing 2s steps(13) forwards, blink 0.8s step-end infinite;
}

.logo-link {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  width: 100%;
}

.logo-link:hover {
  text-decoration: none;
}

@keyframes typing {
  from { width: 0; }
  to { width: 13ch; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

/* Text blocks */
.tagline {
  font-size: 1rem;
  margin: 1rem 0 1.5rem;
}

.coming-soon {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact {
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  width: 100%;
  padding: 50px 24px 80px 24px;
  text-align: center;
  font-size: 1rem;
}

.footer p {
  font-size: small;
  margin-bottom: 0.5rem;
  text-align: center;
}

.footer-wrap {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

/* WhatsApp button */
.os-whatsapp-btn {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  z-index: 1000 !important;
}

/* Responsive */
@media (max-width: 480px) {
  .logo { font-size: 2.2rem; }
  .coming-soon { font-size: 1.2rem; }
}

/* Contact form */
.contact-form {
  max-width: 500px;
  margin: 2rem auto;
  text-align: center;
}

.form-group {
  margin-bottom: 1.2rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-group label span {
  color: red;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form button {
  background-color: var(--accent);
  color: #fff;
  border: none;
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #139c3a;
}

/* Navigation */
.main-nav {
  margin-top: 1rem;
  margin-bottom: 2rem;
  text-align: center;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 0;
  margin: 0 auto;
  max-width: fit-content;
}

.main-nav li a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.main-nav li a:hover {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  border-radius: 4px;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  text-align: center;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

th, td {
  padding: 0.5rem 0.75rem;
  font-weight: 500;
  border: none;
}

thead {
  border-bottom: 2px solid #ccc;
}

tbody tr {
  transition: background-color 0.3s ease, color 0.3s ease;
}

tbody tr:hover {
  background-color: var(--footer-bg);
  color: var(--footer-text);
}

th {
  font-weight: 600;
  color: var(--text);
}

/* Section spacing */
h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Utility: Centered block with left-aligned text */
.centered-block {
  max-width: 600px;
  margin: 0 auto 2rem auto;
  text-align: left;
}

/* Ensure simplified fees table inherits site-wide font and text styles */
#simplified-fees table,
#simplified-fees th,
#simplified-fees td {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}