@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300..800;1,300..800&display=swap');

:root {
  --clr-text: #333;
  --clr-bg: #fff;
  --clr-primary: #0191d0;
  --clr-secondary: #4a4a8c;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: 'Nunito Sans', sans-serif;
}

*:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgb(255, 255, 255), 0 0 0 4px rgb(0, 0, 0), 0 0 0 6px rgb(212, 0, 255);
  border-radius: 4px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--clr-text);
  background: var(--clr-bg);
  font-family: var(--ff-reg);
}

body.nav_open-no_scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: text-decoration 0.2s ease, background-color 0.2s ease;
  display: inline-block;
}

.active-item a {
  color: var(--clr-primary);
}

p a {
  color: var(--clr-primary);
  text-decoration: underline;
}

a:hover,
a:focus {
  text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--clr-heading);
  font-family: var(--ff-accent);
}

h3,
h4,
h5,
h6 {
  line-height: 1.4;
}

p {
  padding: 0;
  margin: 0;
  line-height: 1.4;
}

p + p {
  margin-top: 0.5rem;
}

ul {
  padding: 0px;
  margin: 0;
}

button {
  cursor: pointer;
  color: var(--clr-text);
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
}

input,
button,
textarea,
select {
  font-size: inherit;
  font-family: inherit;
}

img {
  max-width: 100%;
  border-radius: var(--sp-10);
}

abbr {
  text-decoration: none;
}

.btn {
  line-height: 1;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  fill: #ffffff;
  color: #fff;
  background-color: #0191d0;
  border-radius: 100px 100px 100px 100px;
  padding: 18px 26px;
}

/*  -------------------------------- */
/*  Accessibility ------------------ */
/*  -------------------------------- */

.sr-only {
  position: absolute;
  height: 1px;
  width: 1px;
  padding: 0;
  border: 0;
  margin: -1;
  clip-path: inset(50%);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

#skip-to-content {
  position: absolute;
  z-index: 9999;
  background: var(--clr-bg);
  transform: translateY(-150%);
  transition: transform 250ms ease-in;
  margin-top: 8px;
  margin-left: 8px;
}

#skip-to-content:focus {
  transform: translateY(0);
}

/*  -------------------------------- */
/*  Variables ------------------ */
/*  -------------------------------- */

.bg-white {
  background-color: white;
}

.bg-gray {
  background-color: #f4f3f6;
}

.clr-primary {
  color: var(--clr-primary);
}

.clr-secondary {
  color: var(--clr-secondary);
}

.clr-white {
  color: white;
}

.subtitle {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
}

/*  -------------------------------- */
/*  Containers ------------------ */
/*  -------------------------------- */

.primary-container {
  padding-inline: 1.75rem;
  max-width: 1318px;
  margin-inline: auto;
}

@media (width > 767px) {
  .primary-container {
    padding-inline: 3rem;
  }
}

@media (width > 1030px) {
  .primary-container {
    padding-inline: 3rem;
  }
}

/*  -------------------------------- */
/*  Two Col --------------------- */
/*  -------------------------------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 70px;
  padding-block: 80px;
}

.two-col .content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: start;
}

.two-col .content h2:has(+ p) {
  margin-bottom: 20px;
}

.two-col .content p:has(+ a.btn) {
  margin-bottom: 24px;
}

@media (width < 867px) {
  .two-col .image {
    justify-content: center;
    text-align: center;
  }

  .two-col .image img {
    max-width: 440px;
  }
}

@media (width < 500px) {
  .two-col .image img {
    max-width: 100%;
  }
}

@media (width > 867px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding-block: 60px 50px;
    gap: 90px;
  }
}

@media (width > 1030px) {
  .two-col {
    padding-block: 90px;
  }
}

/*  -------------------------------- */
/*  Typography ------------------ */
/*  -------------------------------- */

body {
  font-size: 18px;
}

@media (width > 1030px) {
  body {
    font-size: 22px;
  }
}

/* -------------------- */
/* -------- h1 -------- */

h1 {
  font-size: 46px;
  letter-spacing: -0.3px;
  line-height: 1.1;
  font-weight: 700;
}

@media (width > 767px) {
  h1 {
    font-size: 50px;
  }
}

@media (width > 1150px) {
  h1 {
    font-size: 58px;
  }
}

@media (width > 1270px) {
  h1 {
    font-size: 64px;
  }
}

/* -------------------- */
/* -------- h2 -------- */

h2 {
  font-size: 32px;
  line-height: 1.14;
  font-weight: 700;
}

@media (width > 767px) {
  h2 {
    font-size: 36px;
    letter-spacing: -0.2px;
  }
}

@media (width > 1030px) {
  h2 {
    font-size: 40px;
    letter-spacing: -0.3px;
  }
}

@media (width > 1220px) {
  h2 {
    font-size: 50px;
  }
}

/* -------------------- */
/* -------- h3 -------- */

h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

@media (width > 767px) {
  h3 {
    font-size: 30px;
  }
}

@media (width > 1030px) {
  h3 {
    font-size: 32px;
  }
}

@media (width > 1220px) {
  h3 {
    font-size: 36px;
  }
}

/*  -------------------------------- */
/*  Heading Section -------------- */
/*  -------------------------------- */

.heading-section {
  padding-block: 50px;
}

.heading-section .primary-container .inner-container {
  background: linear-gradient(180deg, #f5f5f9 0, #f5f5f900 100%) no-repeat padding-box;
  border-radius: 20px;
  padding: 60px 20px 0;
}

.heading-section h2,
.heading-section p {
  margin-inline: auto;
  text-align: center;
}

.heading-section h2 {
  max-width: 920px;
  margin-bottom: 20px;
}

.heading-section p {
  max-width: 870px;
}

/*  -------------------------------- */
/*  Disclaimer ------------------ */
/*  -------------------------------- */

#disclaimer .primary-container {
  max-width: 700px;
  padding-block: 40px 60px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#disclaimer * {
  font-size: 18px;
}

/*  -------------------------------- */
/*  Footer ------------------ */
/*  -------------------------------- */

footer {
  background-color: #0a255b;
}

footer .primary-container.footer-main {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding-block: 90px 140px;
}

footer .footer-main * {
  color: white;
}

footer h2 {
  margin-bottom: 16px;
}

footer h3 {
  font-size: 22px;
  margin-block: 16px 16px;
}

footer p {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0;
  max-width: 700px;
}

footer ul {
  list-style: none;
}

footer li {
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 0;
  margin-bottom: 9px;
}

footer .copy {
  padding-block: 34px;
  border-top: solid #ffffff34 1px;
}

footer .copy p,
footer .copy a {
  font-size: 13px;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.6);
}

@media (width > 767px) {
  footer .primary-container.footer-main {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 60px 130px;
  }

  footer .primary-container.footer-main div:first-of-type {
    flex-basis: 100%;
  }
}

@media (width > 1094px) {
  footer p {
    max-width: 420px;
  }

  footer .primary-container.footer-main {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 80px;
  }

  footer .primary-container.footer-main div:first-of-type {
    flex-basis: auto;
    flex-grow: 1;
  }

  footer .primary-container.footer-main div:last-of-type {
    margin-right: 30px;
  }
}
