*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  touch-action: manipulation;
}


@font-face {
  font-family: "Gilroy";
  src: url("/fonts/gilroy-black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "Gilroy";
  src: url("/fonts/gilroy-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Gilroy";
  src: url("/fonts/gilroy-heavy.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "Gilroy";
  src: url("/fonts/gilroy-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Gilroy";
  src: url("/fonts/gilroy-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Gilroy";
  src: url("/fonts/gilroy-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
}

:root {
  --primary-blue: #002c82;
  --secondary-blue: #012d83;
  --white: #ffffff;
  --cta-red: #e10506;
  --hover-red: #cf2626;
  --font-family-gilroy: "Gilroy", sans-serif;
}

img {
  height: auto;
}

body {
  background: var(--secondary-blue) url("/img/background1.jpg") no-repeat top
    center;
  background-size: cover;
}

header,
footer {
  font-family: var(--font-family-gilroy);
  color: var(--white);
  padding: 40px 0;
  text-align: center;
}

h1,
h2 {
  font-family: var(--font-family-gilroy);
  font-size: 4rem;
  font-weight: 700;
  line-height: 4.83625rem;
  color: var(--white);
  text-transform: uppercase;
}

h3 {
  font-family: var(--font-family-gilroy);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 2.72rem;
  color: var(--white);
  text-transform: uppercase;
}

b,
strong {
  font-family: var(--font-family-gilroy);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5rem;
}

p,
span,
label,
input {
  font-family: var(--font-family-gilroy);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.375rem;
  color: var(--white);
}

.btn {
  font-family: var(--font-family-gilroy);
  font-size: 1.27rem;
  letter-spacing: 0.3px;
  font-weight: 600;
  line-height: 1em;
  padding: 12px 29px;
  border-radius: 25px;
  border: 2px solid #ffffff;
  background: transparent;
  color: #ffffff;
  transition: all 0.3s ease;
  text-transform: uppercase;
  white-space: nowrap;
}

.btn:focus,
.btn:active,
.btn:hover,
.btn.active {
  background: #ffffff;
  color: var(--primary-blue);
  outline: none;
  border-color: var(--white);
}

.btn-cta {
  background: var(--cta-red);
  border: none;
  padding: 16px 70px;
  font-size: 2rem;
  letter-spacing: 0.5px;
  font-weight: 700;
  color: var(--white);
  transition: all 0.3s ease-in-out;
}

.btn-cta:hover,
.btn-cta:focus,
.btn-cta:active {
  background: #e83b38;
  color: var(--white);
}

.logo-landing img {
  width: 155px;
}

.logo-company img {
  width: 246px;
}

.custom-hamburger-icon {
  width: 40px;
}

.offcanvas {
  max-width: 300px;
  width: 70%;
  background-color: #37acd7;
  border-radius: 0.5rem 0 0 0.5rem;
  background-image: url(/img/cloud.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
  font-weight: 500;
}

main {
  padding: 20px;
}

.margin-bottom {
  margin-bottom: 110px;
}

.faq-header {
  margin-bottom: 70px;
  margin-top: 20px;
}

.hero-image {
  margin-bottom: 130px;
}

.one-card {
  max-width: 400px;
}

.card {
  border: none;
  background-color: var(--white);
  color: var(--primary-blue);
  border-radius: 35px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card .card-title-text {
  font-family: var(--font-family-gilroy);
  font-size: 2rem;
  color: var(--white);
  background-color: var(--primary-blue);
  letter-spacing: 0.3px;
  font-weight: 600;
  border-radius: 30px;
  line-height: 1.2em;
  padding: 12px 29px;
  height: fit-content;
}

.card img {
  max-width: 82%;
  height: auto;
  display: block;
  margin: 0 auto;
  position: relative;
}

.cards-wrap .arrow {
  position: absolute;
  top: -10%;
  left: 75%;
}
.cards-wrap .arrow img {
  max-width: 170px;
}

.card.step-2 img {
  left: -15px;
}

.card-number {
  color: var(--primary-blue);
  font-size: 4.9rem;
  font-weight: 700;
  line-height: 1em;
}

.card-text {
  color: var(--primary-blue);
  text-align: left;
}

.faq-wrap {
  z-index: 100;
}

.last-slide {
  top: -60px;
}
.last-slide img {
  margin-bottom: -150px;
  width: 90% !important;
}

.accordion h3.accordion-header button {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  line-height: 1.45em;
  min-height: 90px;
}

.accordion .accordion-header button:focus:not(:focus-visible) {
  box-shadow: none;
}

.accordion .accordion-item {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--white);
}

.accordion .accordion-body {
  background-color: transparent !important;
  color: var(--white) !important;
  text-align: left;
}

.accordion .accordion-button {
  background-color: transparent !important;
  color: var(--white) !important;
  border: none;
}

.accordion .accordion-button::after {
  filter: brightness(0) invert(1);
  font-weight: bold;
}

.accordion .accordion-button:not(.collapsed) {
  box-shadow: none;
}

/*Pop up*/

.modal-header {
  border: none;
}

.modal-title {
  color: var(--white);
  font-size: 1.7rem;
  letter-spacing: 0.3px;
}

.modal-content {
  background-color: #37acd7;
  border-radius: 0.5rem;
  padding: 3rem 4.5rem;
  background-image: url(/img/cloud.jpg);
  background-size: cover;
  border: none;
  background-repeat: no-repeat;
}

.modal-custom-size {
  width: 890px;
  max-width: 90%;
}

.modal-dialog input {
  padding: 16px 25px;
}

.modal-dialog p {
  font-size: 1rem;
  font-weight: 400;
}

.modal-dialog p a {
  color: var(--white);
}

.modal-dialog button[type="submit"] {
  max-width: max-content;
  align-self: center;
}

.btn-close {
  filter: invert(1);
  font-weight: bold;
  outline: none;
  opacity: 0.8;
}

.btn-close:focus,
.btn-close:active,
.btn-close:hover,
.btn-close.active {
  outline: none;
  opacity: 1;
}

/* Адаптивные стили */
@media (max-width: 1366px) {
  .card-title-text {
    font-size: 1.6rem !important;
  }
  .card-number {
    font-size: 4.4rem;
  }
}

@media (max-width: 1130px) {
  .menu-home-button {
    display: none;
  }
}

@media (max-width: 992px) {
  .margin-bottom {
    margin-bottom: 80px;
  }

  .hero-image {
    margin-bottom: 90px;
  }

  .one-card {
    padding: 0 40px !important;
    max-width: 500px;
  }
  .card-number {
    font-size: 4.1rem;
  }
  .card-title-text {
    font-size: 1.55rem !important;
  }

  .cards-wrap .col-lg-4:first-of-type .arrow {
    transition: transform 0.5s ease-in-out;
    transform: rotate(-90deg) scaleX(-1);
    left: -60px;
    top: 100%;
  }
  .cards-wrap .col-lg-4:nth-of-type(2) .arrow {
    transition: transform 0.5s ease-in-out;
    transform: rotate(-90deg) scaleX(-1) scaleY(-1);
    top: 100%;
    right: -20%;
  }

  .cards-wrap .arrow img {
    max-width: 140px;
  }

  .card img {
    max-width: 70%;
  }
  .last-slide {
    top: -60px;
  }
  .last-slide img {
    margin-bottom: -150px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px 0;
    font-size: 1.2em;
  }

  header .d-flex.main-menu-line {
    flex-wrap: wrap;
  }

  main {
    padding: 10px;
  }

  .margin-bottom {
    margin-bottom: 40px;
  }

  .hero-image {
    margin-bottom: 50px;
  }

  .logo-landing img {
    width: 105px;
  }

  .logo-company img {
    width: 190px;
  }

  .btn-cta {
    padding: 15px 65px;
    font-size: 1.5rem;
  }

  footer {
    padding: 5px;
  }

  h1,
  h2,
  h3 {
    font-size: 2rem;
  }

  p {
    font-size: 1em;
  }

  .faq-header {
    margin-bottom: 20px;
    margin-top: 20px;
  }

  .accordion h3.accordion-header button {
    font-size: 1.6rem;
  }
  .last-slide {
    top: -20px;
  }
  .last-slide img {
    margin-bottom: -80px;
  }

  .modal-content {
    padding: 2.5rem 2rem;
  }
}
