/* =========================
   Fonts
========================= */
@font-face {
  font-family: "Bungee";
  src: url("/assets/fonts/Bungee-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* =========================
   Reset / Base
========================= */
:root {
  --blue: #3d45aa;
  --red: #da3d20;
  --orange: #f8843f;
  --yellow: #fff19b;
  --paper: #f8f7f2;
  --text: #121212;
  --white: #ffffff;
  --footer: #ececec;
  --shadow-soft: 0 10px 24px rgba(18, 18, 18, 0.08);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* =========================
   Layout helpers
========================= */
.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 88px 0;
}

.section--blue {
  background: var(--blue);
  color: var(--white);
}

.section--red {
  background: var(--red);
  color: var(--white);
}

.section--yellow {
  background: var(--yellow);
  color: var(--text);
}

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading h2,
.section-heading h3 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  font-weight: 700;
}

.section-heading p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.0625rem;
}

.section-heading--compact {
  margin-top: 72px;
  margin-bottom: 32px;
}

/* =========================
   Buttons
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 14px 28px;
  border-radius: 12px;
  border: 2px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
}

.btn--primary:hover {
  background: #313995;
}

.btn--light {
  background: var(--white);
  color: var(--blue);
}

.btn--light:hover {
  background: #f3f3f3;
}

.btn--nav {
  padding: 11px 20px;
  background: var(--white);
  color: var(--blue);
  border-radius: 10px;
  font-size: 0.95rem;
}

/* =========================
   Nav
========================= */
.site-nav {
  background: var(--blue);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background-color 0.22s ease, box-shadow 0.22s ease, backdrop-filter 0.22s ease, -webkit-backdrop-filter 0.22s ease;
}

.site-nav.is-scrolled {
  background: rgba(61, 69, 170, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
  position: relative;
}

.site-brand img {
  width: 112px;
  height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 500;
}

.nav-links a.is-active,
.nav-links a:hover {
  opacity: 0.8;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  position: relative;
  z-index: 60;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 5px auto;
  border-radius: 999px;
  transition: transform 0.22s ease, opacity 0.18s ease;
  transform-origin: center;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    background: var(--blue);
    padding: 18px 16px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    border-top: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.12);
  }

  .site-nav.is-scrolled .nav-menu {
    background: rgba(61, 69, 170, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 12px 0;
  }

  .btn--nav {
    width: 100%;
    justify-content: center;
  }
}

/* =========================
   Footer
========================= */
.site-footer {
  background: var(--footer);
  color: var(--text);
  padding: 24px 0;
}

.footer-inner {
  text-align: center;
  font-size: 0.95rem;
}

.site-footer {
  background: var(--footer);
  color: var(--text);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  font-weight: 600;
  text-decoration: none;
}

.footer-inner a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================
   Responsive
========================= */
@media (max-width: 920px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: var(--blue);
    padding: 20px 16px 24px;
    flex-direction: column;
    align-items: flex-start;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .section-heading {
    margin-bottom: 32px;
  }
}