:root {
  --bg: #f2f5fb;
  --card: #ffffff;
  --primary: #2158a8;
  --accent: #00a3b4;
  --text: #1f2f3b;
  --muted: #4f6472;
  --border: #e4e8f0;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(rgba(242, 245, 251, 0.25), rgba(242, 245, 251, 0.25)),
    url("images/pic01.jpg") center/cover fixed no-repeat;
  line-height: 1.65;
}

.wrap {
  width: min(1100px, 92%);
  margin: 0 auto;
}

header .wrap {
  padding-top: 5.25rem;
}

header {
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 40%),
    linear-gradient(120deg, rgba(35, 64, 86, 0.92), rgba(61, 98, 124, 0.9) 50%, rgba(82, 128, 122, 0.88));
  color: #fff;
  padding: 1rem 0 3rem;
  position: relative;
  overflow: hidden;
}

header::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-nav {
  background: rgba(24, 54, 79, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  padding: 0.85rem 1rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px rgba(8, 26, 58, 0.14);
  position: fixed;
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 92%);
  z-index: 1000;
}

.site-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.98);
  padding: 0.4rem;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 26px rgba(8, 26, 58, 0.34);
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.nav-menu {
  list-style: none;
}

nav a {
  color: #f3fbff;
  text-decoration: none;
  font-weight: 600;
}

nav ul a {
  border: 1px solid rgba(232, 247, 255, 0.32);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  padding: 0.46rem 0.9rem;
  border-radius: 999px;
  transition: transform 0.24s ease, background-color 0.24s ease, border-color 0.24s ease,
    box-shadow 0.24s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
}

nav ul a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.22rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #8de8ff, #fff);
  border-radius: 999px;
  transform: translateX(-50%);
  transition: width 0.24s ease;
}

nav ul a:hover,
nav ul a:focus-visible {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.12));
  border-color: rgba(255, 255, 255, 0.82);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(5, 20, 42, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

nav ul a:hover::after,
nav ul a:focus-visible::after {
  width: calc(100% - 1.4rem);
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 1.2rem;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-nav.nav-open .nav-toggle > span:nth-child(2) {
  transform: translateY(6px) rotate(45deg);
}

.site-nav.nav-open .nav-toggle > span:nth-child(3) {
  opacity: 0;
}

.site-nav.nav-open .nav-toggle > span:nth-child(4) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.75rem;
  align-items: center;
}

.hero.hero-no-logo {
  grid-template-columns: 1fr;
}

.hero-logo-wrap {
  display: grid;
  place-items: center;
}

.hero-logo {
  width: 220px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  padding: 1.2rem;
  border: 4px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 30px rgba(8, 26, 58, 0.35);
}

.eyebrow {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.8);
}

main .eyebrow {
  color: var(--primary);
}

.cta-group {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.section {
  padding: 3rem 0;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 14px 36px rgba(22, 36, 64, 0.1);
}

.duties-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.duties-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(22, 36, 64, 0.14);
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.muted {
  color: var(--muted);
}

.list-tight {
  padding-left: 1.15rem;
}

.list-tight li + li {
  margin-top: 0.45rem;
}

.quote {
  margin: 1.4rem 0 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--accent);
  background: #f7fbff;
  border-radius: 0 12px 12px 0;
  font-style: italic;
}

input,
textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid #cfd7e6;
  border-radius: 10px;
  font-size: 0.95rem;
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  color: #fff;
  text-decoration: none;
  border: none;
  padding: 0.85rem 1.2rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

main .btn-secondary {
  color: var(--primary);
  border-color: var(--primary);
}

.inline-link {
  color: #5f8fda;
  font-weight: 700;
}

.form-spacing {
  margin-top: 1rem;
}

.article {
  max-width: 840px;
  margin: 0 auto;
}

.article h2,
.article h3 {
  color: #173f79;
}

.article ol {
  padding-left: 1.2rem;
}

.article li + li {
  margin-top: 1rem;
}

.article-card + .article-card {
  margin-top: 1rem;
}

.back-link {
  display: inline-flex;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

footer {
  text-align: center;
  padding: 2rem 0 3rem;
  color: #1b2c38;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.65);
}

footer a {
  color: #0c4f7a;
  font-weight: 700;
}

@media (max-width: 800px) {
  body {
    font-size: 15px;
    line-height: 1.6;
  }

  .wrap {
    width: min(1100px, 94%);
  }

  header .wrap {
    padding-top: 4.9rem;
  }

  header {
    padding: 0.75rem 0 2.2rem;
  }

  .hero,
  .duties-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    margin-top: 1.35rem;
    text-align: center;
    gap: 1rem;
  }

  .hero h1 {
    font-size: 1.5rem;
    line-height: 1.35;
    margin-bottom: 0.65rem;
  }

  .hero p {
    margin: 0.55rem 0;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 2rem 0;
  }

  .card {
    padding: 1.15rem;
    border-radius: 14px;
  }

  .faq details {
    padding: 0.7rem 0.85rem;
  }

  .btn {
    width: 100%;
    padding: 0.8rem 1rem;
  }

  .cta-group {
    justify-content: center;
  }

  nav {
    justify-content: center;
  }

  .site-nav {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: min(1100px, 94%);
    position: fixed;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    padding-left: 0;
    padding-right: 0;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .site-nav .brand {
    width: 100%;
    min-width: 0;
    order: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    pointer-events: none;
    padding: 0 0.75rem;
  }

  .brand {
    gap: 0.35rem;
    font-size: 0.95rem;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
    display: block;
    margin: 0;
  }

  .brand span {
    width: 100%;
    text-align: left;
    padding-right: 3.75rem;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(0.86rem, 2.9vw, 1.08rem);
    line-height: 1.2;
    pointer-events: none;
  }

  .nav-toggle {
    display: inline-flex;
    order: 2;
    margin-left: 0;
    position: absolute;
    right: 1rem;
    top: 2.45rem;
    transform: none;
    z-index: 20;
    pointer-events: auto;
    touch-action: manipulation;
  }

  .site-nav .nav-menu {
    display: none;
    order: 3;
    flex-basis: 100%;
    width: 100%;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.85rem 1rem 0;
    margin-top: 0.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .site-nav.nav-open .nav-menu {
    display: flex !important;
  }

  .site-nav .nav-toggle[aria-expanded="true"] + .nav-menu {
    display: flex;
  }

  .site-nav.nav-open {
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
  }

  .site-nav .nav-menu a {
    display: block;
    text-align: center;
    width: 100%;
  }

  .back-link {
    margin-top: 2.4rem;
  }
}
