:root {
  --primary-color: #f4b400;
  --secondary-color: #111111;
  --accent-color: #c62828;
  --light-bg: #f8f5ee;
  --text-dark: #212529;
  --purple: #4b2e83;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

body *,
body *::before,
body *::after {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
.navbar-brand {
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.5px;
}

p {
  line-height: 1.7;
}

.skip-link {
  position: absolute;
  top: -50px;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: #111;
  color: #fff;
}

.skip-link:focus {
  top: 1rem;
}

header {
  background: #fff;
}

.navbar {
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  padding: 1rem 0;
}

.navbar > .container {
  width: min(94%, 1700px);
  max-width: 1700px;
}

.navbar-brand span {
  font-size: 1.65rem;
  font-weight: 700;
  color: #111;
}

.navbar-brand img {
  object-fit: contain;
}

.nav-link {
  font-weight: 700;
  color: #222 !important;
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-link[aria-current="page"] {
  color: var(--accent-color) !important;
}

footer {
  background-color: #111;
}

.footer-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.25s ease;
}

.footer-link:hover {
  color: var(--primary-color);
}

.footer-copy {
  color: #d6d6d6;
}

@media (max-width: 991px) {
  .navbar > .container {
    width: min(92%, 960px);
    max-width: 960px;
  }

  .navbar-brand span {
    font-size: 1.35rem;
  }

  .navbar-brand img {
    width: 58px;
    height: 58px;
  }

  .navbar-collapse {
    padding: 18px 0;
  }
}

@media (max-width: 576px) {
  .navbar > .container {
    width: min(92%, 540px);
    max-width: 540px;
  }

  .navbar-brand span {
    font-size: 1.1rem;
  }

  .navbar-brand img {
    width: 54px;
    height: 54px;
  }
}


a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.25);
}

.nav-link:focus-visible,
.footer-link:focus-visible {
  color: var(--accent-color) !important;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
