@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --primary: #082b63;
  --secondary: #eb6a4b;
  --tertiary: #24539f;
  --color-green: #9cc43f;
  --color-yellow: #f8e441;
}

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

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

body {
  font-family: "Jost", sans-serif;
  font-size: 100%;
  -webkit-transition: 0.35s ease-in-out;
  -o-transition: 0.35s ease-in-out;
  color: var(--primary);
  transition: 0.35s ease-in-out;
  font-size: 1.6rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Jost", sans-serif;
  font-weight: bold;
  color: var(--primary);
}

a,
a:active,
a:hover {
  text-decoration: none;
  outline: 0;
}

img {
  max-width: 100%;
  height: auto;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  vertical-align: middle;
}

p {
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 2.6rem;
  letter-spacing: 0.01em;
  color: var(--primary);
  margin-bottom: 15px;
}

.position-relative {
  position: relative;
}

.column-1 {
  grid-column: span 1;
}
.row-1 {
  grid-row: span 1;
}
.column-2 {
  grid-column: span 2;
}
.row-2 {
  grid-row: span 2;
}
.column-3 {
  grid-column: span 3;
}
.row-3 {
  grid-row: span 3;
}
.column-4 {
  grid-column: span 4;
}
.row-4 {
  grid-row: span 4;
}
.column-5 {
  grid-column: span 5;
}
.row-5 {
  grid-row: span 5;
}
.column-6 {
  grid-column: span 6;
}
.row-6 {
  grid-row: span 6;
}
.column-7 {
  grid-column: span 7;
}
.row-7 {
  grid-row: span 7;
}
.column-8 {
  grid-column: span 8;
}
.row-8 {
  grid-row: span 8;
}
.column-9 {
  grid-column: span 9;
}
.row-9 {
  grid-row: span 9;
}
.column-10 {
  grid-column: span 10;
}
.row-10 {
  grid-row: span 10;
}
.column-11 {
  grid-column: span 11;
}
.row-11 {
  grid-row: span 11;
}
.column-12 {
  grid-column: span 12;
}
.row-12 {
  grid-row: span 12;
}

.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 100px;
}

.section {
  padding-top: 8.1rem;
}

.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.flex-wrap {
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.flex-column {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.h-100 {
  height: 100%;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mt-48 {
  margin-top: 40%;
}
.flex-inline {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}
.flex-inline::after,
.flex-inline::before,
.flex::after,
.flex::before {
  display: none;
}
.flex-left {
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}
.flex-center {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.flex-right {
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}
.flex-between {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.flex-around {
  -ms-flex-pack: distribute;
  justify-content: space-around;
}
.flex-middle {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.flex-bottom {
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}
.flex-row {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}
.flex-row-reverse {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-gap: 3rem;
}

@media (max-width: 992px) {
  .column-4,
  .column-3,
  .column-8 {
    grid-column: span 6;
  }
  .grid {
    grid-gap: 1.6rem;
  }
}

@media (max-width: 768px) {
  .column-5,
  .column-7,
  .column-6 {
    grid-column: span 12;
  }
}

.mt-40 {
  margin-top: 4rem;
}

.mt-5 {
  margin-top: 2rem;
}
.left-column {
  -webkit-box-flex: 3;
  -ms-flex: 3;
  flex: 3;
  padding-right: 3rem;
}
.right-column {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  width: 300px;
  min-width: 300px;
}

.section-sm {
  padding: 40px 0;
}
.section-md {
  padding: 50px 0;
}
.section-lg {
  padding: 100px 0;
}
.euro-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}

.euro-container-xlarge {
  max-width: 100%;
}

.euro-container-large {
  max-width: 1600px;
}

.euro-container-small {
  max-width: 960px;
}

.euro-container-xsmall {
  max-width: 890px;
  margin: auto;
}

.btn {
  position: relative;
  display: inline-block;
  padding: 0 1.25rem;
  background: var(--secondary);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 3.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  height: 3.1rem;
}

.btn.btn-secondary {
  background: var(--color-yellow);
  color: var(--tertiary);
}

.btn:hover {
  background: var(--primary);
  color: #fff;
}

.text-btn {
  font-weight: 500;
  font-size: 2.3rem;
  color: #24539f;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: max-content;
  gap: 15px;
  line-height: 100%;
}

.text-btn:hover {
  color: var(--secondary);
}

.text-btn svg {
  transition: 0.3s linear;
}

.text-btn:hover svg {
  transform: rotate(90deg);
  transition: 0.3s linear;
}

.text-center {
  text-align: center;
}

/* Header Section */
.site-header {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 999;
  background: rgba(8, 43, 99, 0.75);
}

.custom-logo {
  max-width: 175px;
  padding: 20px 0;
}

.main-navigation {
  align-self: stretch;
}

.menu-menu-1-container {
  display: flex;
  align-items: center;
  height: 100%;
}

.main-navigation > div > ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  height: 100%;
  align-items: center;
}
.main-navigation > div > ul > li:not(:last-child) {
  margin-right: 3rem;
}

.main-navigation > div > ul > li {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.main-navigation > div > ul > li > a {
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 2.3rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  border-bottom: 2px solid var(--secondary);

  &:hover {
    color: var(--color-yellow);
  }
}

.main-navigation > div > ul > li > ul {
  position: absolute;
  top: 120%;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 239px;
  background: var(--secondary);
  transition: all 0.3s ease-in-out;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
}

.main-navigation > div > ul > li:hover ul {
  top: 100%;
  transition: all 0.3s ease-in-out;
  opacity: 1;
  visibility: visible;
}

.main-navigation > div > ul > li > ul::before {
  content: "";
  width: 0;
  height: 0;
  border-right: 20px solid transparent;
  border-bottom: 20px solid var(--secondary);
  position: absolute;
  top: -15px;
  z-index: -1;
}

.main-navigation > div > ul > li > ul > li > a {
  display: block;
  padding: 1.2rem 1.6rem;
  font-weight: 500;
  line-height: 100%;
  color: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.2);
}

.main-navigation > div > ul > li > ul > li > a:hover {
  background: rgba(0, 0, 0, 0.07);
}

.main-navigation > div > ul > li > ul > li:last-child > a {
  border-bottom: none;
  box-shadow: none;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 17px;
}

.burger__menu {
  height: 31px;
  cursor: pointer;
  display: none;
  align-items: center;
}

.euro__cta {
  width: 40px;
  height: 40px;
  line-height: 47px;
  text-align: center;
  position: relative;
  background: #fff;
  border-radius: 100%;
  cursor: pointer;
  display: none;
}

.euro__count {
  position: absolute;
  right: -5px;
  top: -5px;
  background: #de2133;
  border-radius: 100%;
  width: 18px;
  height: 18px;
  text-align: center;
  display: inline-block;
  font-weight: 600;
  color: #fff;
  line-height: 18px;
  font-size: 1.2rem;
}

@media (max-width: 1300px) {
  html {
    font-size: 9px;
  }
}

@media (max-width: 1200px) {
  .main-navigation {
    display: none;
  }
  .site-header {
    position: static;
    background: var(--primary);
  }

  .burger__menu {
    display: flex;
  }
}

@media (max-width: 768px) {
  .header__right > a {
    display: none;
  }

  .euro__cta {
    display: block;
  }

  .header__right {
    gap: 10px;
  }

  .burger__menu {
    margin-left: 15px;
  }

  .euro-container {
    padding: 0 1.6rem;
  }
  .burger__menu svg {
    width: 31px;
  }

  .text-btn {
    font-size: 2rem;
  }

  .text-btn svg {
    width: 16px;
    height: 18px;
  }
}

.heading-wrap {
  margin-bottom: 4.5rem;
}

.mt-5 {
  margin-top: 4.5rem;
}

.heading-wrap h2,
.heading-wrap h3 {
  font-weight: 500;
  font-size: 4.4rem;
  line-height: 4.4rem;
  letter-spacing: -0.03em;
  color: var(--secondary);
}
.heading-wrap h3 {
  color: var(--color-green);
}

.heading-wrap p {
  font-weight: 300;
  font-size: 22px;
  max-width: 912px;
  margin: auto;
  margin-top: 1rem;
  line-height: 32px;
  letter-spacing: 0.02em;
}

.heading-wrap.heading-wrap-white h2 {
  color: #fff;
}

@media (max-width: 768px) {
  .heading-wrap {
    margin-bottom: 2rem;
  }
  .heading-wrap h2 {
    font-size: 3.6rem;
    font-weight: 400;
    line-height: 3.6rem;
  }
}

.bg-slant {
  clip-path: polygon(0% 0%, 100% 18%, 100% 100%, 0% 89%);
  background: rgba(248, 228, 65, 0.5);
  padding-bottom: 5rem;
  padding-top: 15rem;
  position: relative;
  overflow: hidden;
}

.bg-slant::after {
  content: "";
  background: url("../img/light-triangle.svg") 0 0 no-repeat;
  max-width: 99.8rem;
  height: 100%;
  opacity: 0.5;
  width: 100%;
  position: absolute;
  right: 100px;
  top: 0;
  background-size: 100%;
}

.bg-slant.bg-slant-green::after {
  background: url("../img/light-triangle.svg") 0 0 no-repeat;
  max-width: 66.146vw;
  position: absolute;
  left: 13.698vw;
  opacity: 0.8;
  background-size: 100%;
  transform: rotate(175deg);
  transform-origin: center;
}

.bg-slant-green {
  clip-path: polygon(0% 100%, 0% 25%, 100% 0%, 100% 75%);
  background: var(--color-green);
  padding-bottom: 0;
  padding-top: 25rem;
  padding-bottom: 17rem;
}

.bg-slant.bg-slant-blue {
  background: #78b2dc;
  clip-path: polygon(0% 0%, 100% 18%, 100% 100%, 0% 85%);
}
.bg-slant.bg-slant-blue::after {
  opacity: 0.15;
  max-width: 109.8rem;
  transform: rotate(235deg);
  right: 50px;
}

@media (max-width: 992px) {
  .bg-slant,
  .bg-slant.bg-slant-blue {
    padding-top: 8rem;
    clip-path: polygon(0% 0%, 100% 5%, 100% 100%, 0% 95%);
  }
  .bg-slant::after {
    max-width: 33.2rem;
    height: 33.2rem;
    right: 0;
  }
  .bg-slant.bg-slant-blue::after {
    transform: rotate(205deg);
    right: 0;
  }

  .bg-slant.bg-slant-green {
    clip-path: polygon(0% 100%, 0% 25%, 100% 0%, 100% 75%);
    padding-top: 30rem;
    padding-bottom: 30rem;
  }
  .bg-slant.bg-slant-green::after {
    max-width: 36.146vw;
    left: auto;
    opacity: 0.3;
    transform: rotate(0deg);
    height: 100%;
  }
}

@media (max-width: 768px) {
  .bg-slant.bg-slant-green {
    clip-path: polygon(0% 100%, 0% 15%, 100% 0%, 100% 90%);
    padding-top: 16rem;
    padding-bottom: 16rem;
  }
}

.card > a {
  display: block;
  aspect-ratio: 1/1;
  width: 100%;
  height: 100%;
}

.card > a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__content {
  margin-top: 2.4rem;
}

.card__content h3 {
  font-weight: 500;
  font-size: 2.2rem;
  transition: all 0.3s linear;
  position: relative;
  line-height: 3rem;
  display: flex;
  align-items: baseline;
}

.card__content h3 svg {
  transition: all 0.3s linear;
  transform: rotate(-90deg);
}

.card__content h3::after {
  content: "";
}

.card__content h3 a {
  transition: all 0.3s linear;
  flex: 1;
  color: var(--primary);
}

.card.card-white h3 a {
  color: #fff;

  &:hover {
    color: var(--primary);
  }
}

.card span {
  display: block;
  margin-top: 0.8rem;
}

.card.card-white span {
  color: #fff;
}

.card.card-white .card__content h3 svg path {
  fill: #fff;
}

.card__content h3:hover svg {
  transform: rotate(0deg);
  transition: all 0.3s linear;
}

.card.card-white .card__content h3:hover svg path {
  fill: var(--primary);
}

@media (max-width: 768px) {
  .card__content h3 {
    font-size: 1.8rem;
    line-height: 2.5rem;
  }
  .card__content h3 svg {
    display: none;
  }
  .card__content {
    margin-top: 1.8rem;
  }
}

/* Footer */

.footer__text {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.footer__text div {
  font-size: 13.021vw;
  text-align: center;
  text-transform: uppercase;
  color: #082b63;
}

.footer__text a {
  display: inline-block;
  min-width: 90px;
}

.footer__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer__contacts > a {
  display: inline-block;
  padding: 1.2rem 2.6rem;
  background: rgba(8, 43, 99, 0.1);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.9rem;
  text-transform: uppercase;
  color: var(--primary);
  transition: all 0.4s ease-in;
  margin-right: 8px;
}

.footer__contacts > a:hover {
  background: var(--primary);
  color: #fff;
  transition: all 0.4s ease-in;
}

.footer__copyright {
  text-align: center;
}

.footer__copyright p {
  font-weight: 600;
  font-size: 1.4rem;
  line-height: normal;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0;
}

.footer__copyright p a {
  color: var(--primary);

  &:hover {
    color: var(--secondary);
  }
}

.footer__socials > a {
  display: inline-block;
  text-align: center;
  width: 4.8rem;
  height: 4.8rem;
  line-height: 4.8rem;
  border-radius: 4.8rem;
  background: #e7e7e7;
  font-size: 18px;
  color: var(--primary);
  margin-left: 8px;
  transition: all 0.4s ease-in;
}

.footer__socials > a:hover {
  background: var(--primary);
  color: #fff;
  transition: all 0.4s ease-in;
}

@media (max-width: 1440px) {
  .footer__copyright p,
  .footer__contacts > a {
    font-size: 1.2rem;
  }

  .footer__socials > a {
    width: 4rem;
    height: 4rem;
    line-height: 4rem;
    font-size: 1.5rem;
  }
}

@media (max-width: 1140px) {
  .footer__links {
    margin-top: 2.4rem;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
  }

  .footer__copyright {
    order: 3;
    width: 100%;
    padding-top: 2.4rem;
    border-top: 1px solid var(--secondary);
    padding-bottom: 1.5rem;
  }
}

@media (max-width: 992px) {
  .footer__text {
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .footer__text div {
    font-size: 11vw;
  }

  .site-footer {
    margin-top: 3rem;
  }
  .footer__text a {
    display: inline-block;
    min-width: 70px;
    max-width: 70px;
  }
}
