:root {
    --primary: #10436A;
    --secondary: #F9FAFB;
    --accent: #F3C531;
    --text-color: #1A1A1A;
    
    /* 70% opacity white → rgba(255, 255, 255, 0.7) */
    --trans-white: rgba(255, 255, 255, 0.7);
}

* {
    font-family: "Inter", sans-serif;
    color: var(--text-color);
    text-decoration: none;
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

div, img, button, input, textarea{
    border-radius: 2.22vw;
}

/* HEADINGS — Montserrat */
h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat", sans-serif;
    color: var(--primary);
}

/* H1 */
h1 {
    font-size: 7.45rem;
    line-height: 1.5;
    letter-spacing: 0.005em;
    font-weight: 800;
}

/* H2 */
h2 {
    font-size: 5.96rem;
    line-height: 1.5;
    letter-spacing: 0.008em;
    font-weight: 700;
}

/* H3 */
h3 {
    font-size: 4.77rem;
    line-height: 1.5;
    letter-spacing: 0.008em;
    font-weight: 600;
}

/* H4 */
h4 {
    font-size: 2.44rem;
    line-height: 1.55;
    letter-spacing: 0.015em;
    font-weight: 700;
}

/* H5 */
h5 {
    font-size: 1.56rem;
    line-height: 1.55;
    letter-spacing: 0.02em;
    font-weight: 500;
}

/* H6 */
h6 {
    font-size: 1.25rem;
    line-height: 1.6;
    letter-spacing: 0.025em;
    font-weight: 500;
}

/* BUTTON */
button, .button {
    font-size: 1.12rem;
    line-height: 1.6;
    letter-spacing: 0.03em;
    font-weight: 400;
}

/* PARAGRAPH */
p {
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0.03em;
    font-weight: 400;
}




/* --------------------------------- */


body {
  background-color: var(--body-bg, var(--secondary));
  margin: 0;
  transition: opacity 0.2s ease-in, background-color 0.3s ease;
}
body[unresolved] {
    opacity: 0;
    display: block;
    overflow: hidden;
    position: relative;
}

body.video-primary {
  --body-bg: var(--primary);
}


header {
    display: grid;
    flex-flow: row;
    justify-content: center;
    place-items: center;
    grid-auto-columns: 1fr;
    grid-template-rows: auto;
}

header img {
  display: block;
  width: 128px;
  height: 128px;
  margin-right: auto;
  margin-left: 1.5vw;
}

nav {
  position: fixed;
  display: block;
  overflow: visible;
  width: auto;
  height: auto;
  min-width: max-content;
  z-index: 10;
  margin: 0 auto;
  padding: 8px 14px;
  border-radius: 32px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  font-size: 16px;
}

.nav-links {
  display: flex;
  position: relative;
  overflow: visible;
  height: auto; 
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  gap: 12px;
  background-color: transparent;
  z-index: 1;
}
.nav-links li {
  list-style: none;
}

.nav-highlight {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--nav-highlight-w, 0);
  height: var(--nav-highlight-h, 0);
  transform: translate3d(var(--nav-highlight-x, 0), var(--nav-highlight-y, 0), 0);
  background-color: rgba(80, 80, 80, 0.1);
  border-radius: 999px;
  opacity: var(--nav-highlight-opacity, 0);
  transition: transform 0.25s ease, width 0.25s ease, height 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
  z-index: 0;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--text-color);
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.nav-links a.contact-link::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 15%;
  bottom: 4px;
  height: 3px;
  background-color: var(--accent);
  border-radius: 999px;
  transform: scaleX(0.95);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-links a.active {
  background-color: var(--primary);
  color: white;
}
