:root {
  --accent: #4169e1;
  --accent-dark: #1a3cb5;
  --black: 30, 30, 30;
  --gray: 96, 115, 159;
  --gray-light: 240, 243, 248;
  --gray-dark: 34, 41, 57;
  --gray-gradient: rgba(var(--gray-light), 50%), #fff;
  --box-shadow: 0 2px 6px rgba(var(--gray), 0.25),
    0 8px 24px rgba(var(--gray), 0.33),
    0 16px 32px rgba(var(--gray), 0.33);
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1; /* pushes footer down */
}

body {
  font-family: "Century Gothic", sans-serif;
  font-size: 20px;
  line-height: 1.7;
  margin: 0;
  padding: 0;
  color: #f0f0f0;
  position: relative;
  z-index: 0;
  background: url("/hero-bg.jpg") center center / cover no-repeat fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(15, 25, 55, 0.65); /* dark blue tint */
  z-index: -1;
}

main {
  width: 720px;
  max-width: calc(100% - 2em);
  margin: auto;
  padding: 3em 1em;
}
.hero-overlay {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  border-radius: 12px;
  padding: 2rem;
}

.container {
  max-width: 900px;
  margin: auto;
  padding: 2rem 1rem;
}
.content-glass {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  padding: 2rem;
  border-radius: 12px;
  max-width: 900px;
  margin: 0 auto;
}

header, footer {
  background-color: rgb(var(--gray-dark));
  color: #ccc;
}

nav a {
  color: #ccc;
  text-decoration: none;
  margin-left: 1rem;
}

nav a:first-of-type {
  margin-left: 0;
}

nav a:hover {
  color: white;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5rem 0;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

h1 { font-size: 3.052em; }
h2 { font-size: 2.441em; }
h3 { font-size: 1.953em; }
h4 { font-size: 1.563em; }
h5 { font-size: 1.25em; }

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-thickness: 2px;
}

p {
  margin-bottom: 1em;
}

ul {
  padding-left: 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.logo-link {
  display: flex;
  align-items: center;
  max-height: 120px;
  overflow: hidden;
}

.logo {
  height: auto;
  max-height: 120px;
  width: 100%;
  max-width: 320px;
  object-fit: contain;
  display: block;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.primary-button {
  display: inline-block;
  padding: 0.4em 1em;
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  text-decoration: none;
  backdrop-filter: blur(2px);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.primary-button:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.primary-button:active {
  transform: translateY(0);
}
@media (max-width: 720px) {
  body {
    font-size: 18px;
  }
  main {
    padding: 1em;
  }
}
