
:root {
  --primary: #5D6A73;
  --secondary: #A7B6B5;
  --tertiary: #B8D0C7;
  --accent: #F1A66B;
  --highlight: #518A7A;
  --text-primary: #2E3A3F;
  --text-contrast: #FFFFFF;
  --bg-primary: #F4F7F7;
  --bg-secondary: #E0E6E4;
  --link: #518A7A;
  --link-hover: #F1A66B;
  --border-radius: 8px;
}

* {
  box-sizing: border-box;
  word-wrap: break-word;
}

/* html, body {
  overflow-x: hidden;
} */

body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: smooth;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  z-index: 100;
  text-decoration: none;
  font-weight: bold;
  transition: top 0.3s ease;
  border-radius: 0 0 4px 0;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: var(--primary);
  color: var(--text-contrast);
  padding: 10px 20px;
  z-index: 1000;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header img {
  height: 40px;
}

nav a {
  color: var(--text-contrast);
  margin-left: 20px;
  text-decoration: none;
}

.login-button {
  background-color: var(--accent);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  margin-left: 20px;
  transition: background-color 0.3s ease;
}

.login-button:hover {
  background-color: var(--highlight);
}

nav a:hover {
  color: var(--link-hover);
}

.hero {
  text-align: center;
  padding-top: 80px;
}

.hero {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 auto;    /* Center horizontally */
  padding: 5em 2em;
  background: linear-gradient(135deg, #f5f8ff, #ffffff);
  text-align: center;
  overflow: visible;
  box-sizing: border-box; /* include padding in width */
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-button {
  display: inline-block;
  background: #0066ff;
  color: white;
  padding: 0.8em 1.5em;
  border-radius: 1.5em;
  font-weight: bold;
  text-decoration: none;
  margin-top: 1em;
}

.hero h1, .hero p, .cta-button {
  position: relative;
  z-index: 1;
}

section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}

h1, h2, h3 {
  color: var(--primary);
}

.highlight {
  background-color: var(--tertiary);
  border-left: 4px solid var(--highlight);
  padding: 10px;
  margin: 20px 0;
  border-radius: var(--border-radius);
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  box-sizing: border-box;
}

#contact {
  text-align: center;
}

#contact a {
  color: var(--link);
  text-decoration: none;
  font-weight: bold;
}

#contact a:hover {
  color: var(--link-hover);
}

footer {
  text-align: center;
  padding: 20px;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;
  background-color: var(--highlight);
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease;
}

#backToTop:hover {
  background-color: var(--accent);
}
