:root {
  --bg: #0f172a;          /* slate-900 */
  --bg-elev: #111827;     /* gray-900 */
  --text: #e5e7eb;        /* gray-200 */
  --muted: #9ca3af;       /* gray-400 */
  --accent: #60a5fa;      /* blue-400 */
  --ring: #93c5fd;        /* blue-300 */
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.container { max-width: 72rem; margin: 2rem auto; padding: 0 1rem; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: -9999px;
  background: var(--accent);
  color: #0b1020;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  z-index: 1000;
}
.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
  outline: none;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, var(--bg-elev), rgba(17,24,39,0.9));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__brand {
  font-weight: 700;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  border-radius: 0.75rem;
}
.nav__brand:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* Hamburger button */
.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  border-radius: 0.75rem;
  cursor: pointer;
}
.nav__toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav__toggle:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* Desktop menu */
.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Links */
.nav__link {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  color: var(--text);
  transition: background 150ms ease, color 150ms ease, transform 120ms ease;
}
.nav__link:hover { background: rgba(255,255,255,0.06); }
.nav__link:active { transform: translateY(1px); }
.nav__link:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* Active page helper (optional): add .is-active to the current page link */
.nav__link.is-active { color: white; background: rgba(96,165,250,0.18); }

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav__menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 1rem;
    min-width: 220px;
    background: var(--bg-elev);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    padding: 0.5rem;
    display: none;                 /* hidden by default */
    flex-direction: column;
    gap: 0.25rem;
  }

  .nav__menu.show {                /* shown when toggled by JS */
    display: flex;
    animation: pop 140ms ease-out;
    transform-origin: top right;
  }

  @keyframes pop {
    from { opacity: 0; transform: scale(0.98) translateY(-4px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
  }

  .nav__toggle { display: inline-flex; }
}

/* On wider screens, hide the toggle and keep menu visible inline */
@media (min-width: 769px) {
  .nav__toggle { display: none; }
  .nav__menu { display: flex !important; position: static; background: transparent; border: 0; box-shadow: none; padding: 0; }
}
.container {
  max-width: 600px;
  margin: 3rem auto;
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

h1 {
  margin-top: 0;
  font-size: 1.75rem;
  text-align: center;
}

.intro {
  text-align: center;
  color: #4b5563;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

input, textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font: inherit;
  transition: border-color 0.2s;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(37,99,235,0.2);
}

button {
  display: inline-block;
  width: 100%;
  padding: 0.75rem;
  background: var(--accent);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover { background: #1d4ed8; }
button:active { background: #1e40af; }

.required { color: var(--error); }

.error {
  color: var(--error);
  font-size: 0.875rem;
  height: 1rem;
  display: block;
  margin-top: 0.25rem;
}

.success {
  margin-top: 1rem;
  color: var(--success);
  font-weight: 600;
  text-align: center;
}
.facebook-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #3b5998; /* Facebook's brand color */
  color: white;
  text-decoration: none; /* Removes the underline from the link */
  border-radius: 5px; /* Rounds the corners */
  font-family: Arial, sans-serif;
  font-weight: bold;
}

.facebook-link:hover {
  background-color: #2d4373; /* A darker shade for the hover effect */
}
/* Footer */
footer {
  background: #111827;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 3rem;
}