html {
  height: 100%;
}

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

body {
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  padding: 0;
  margin: 0;
  position: relative;
  overflow-x: hidden;
}

body.blur {
  overflow: hidden;
  filter: blur(5px);
}

h1, h2, h3, h4, p {
  margin: 0;
}

.d-flex {
  display: flex;
}

ul {
  padding-left: 0;
  margin: 0;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

.wrapper {
  align-items: center;
  justify-content: center;
}

.text {
  font-size: 20px;
  line-height: 28px;
  font-family: "Montserrat", sans-serif;
}

.title {
  font-size: 60px;
  line-height: 68px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

@media (max-width: 800px) {
  .title {
    font-size: 40px;
    line-height: 48px;
    font-weight: 700;
  }
  .text {
    font-size: 16px;
    line-height: 24px;
  }
}
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  backdrop-filter: blur(20px);
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(18, 19, 21, 0.7);
  z-index: 9999;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup__wrapper {
  background: #fff;
  padding: 48px;
  width: 540px;
  height: 500px;
  border-radius: 24px;
  margin: 0 12px;
  text-align: center;
}

.popup__close {
  display: flex;
  justify-content: flex-end;
}
.popup__close svg {
  cursor: pointer;
}

.popup__img {
  margin-bottom: 48px;
}

.popup__title {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  line-height: 36px;
  font-weight: 600;
  margin-bottom: 8px;
}

.popup__text {
  color: rgba(18, 19, 21, 0.7);
  max-width: 444px;
}

@media (max-width: 500px) {
  .popup__img {
    width: 128px;
    height: 128px;
    margin-bottom: 32px;
  }
  .popup__wrapper {
    width: 351px;
    height: 356px;
    padding: 16px;
    border-radius: 16px;
  }
  .popup__title {
    font-size: 20px;
    line-height: 28px;
  }
}
.header {
  position: fixed;
  width: 100%;
  top: 0;
  justify-content: center;
  background-color: transparent;
  transition: background-color 0.5s ease;
  z-index: 1000;
}

.header__wrapper {
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 24px 72px;
  max-width: 1440px;
}
.header__wrapper .header__logo {
  flex-shrink: 0;
}

.header__logo-mobile {
  display: none;
  flex-shrink: 0;
}

.header__button {
  font-size: 24px;
  line-height: 32px;
  color: #fff;
  border-radius: 24px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  background: linear-gradient(to right, #8FC4FD, #065BFF);
  text-decoration: none;
  text-align: center;
  padding: 20px 40px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  transition: background 1s ease-out;
}
.header__button:hover {
  background: #065BFF;
}

.header.scrolled {
  background-color: rgb(255, 255, 255);
}

@media (max-width: 800px) {
  .header__wrapper {
    padding: 17px 12px;
  }
  .header__button {
    padding: 16px;
    font-size: 16px;
    line-height: 24px;
    border-radius: 16px;
  }
}
.main {
  height: 100vh;
  background-image: url("../assets/main-bg.jpg");
  justify-content: center;
  background-repeat: no-repeat;
  position: relative;
}

.main__title {
  font-size: 80px;
  line-height: 88px;
  color: #121315;
  text-align: center;
  max-width: 1266px;
  margin-top: 297px;
}
.main__title span {
  color: #065bff;
}

.main__span {
  position: relative;
  display: inline-block;
}

.main__link {
  animation: loop 5s infinite;
  position: absolute;
  bottom: 72px;
}

@keyframes loop {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(50px);
  }
  100% {
    transform: translateY(0);
  }
}
.main__wrapper {
  max-width: 1440px;
  padding: 0 72px;
  align-items: center;
  flex-direction: column;
}

@media (max-width: 1400px) {
  .main__title {
    margin-top: 200px;
    font-size: 70px;
    line-height: 78px;
  }
}
@media (max-width: 800px) {
  .main__title {
    font-size: 48px;
    line-height: 56px;
  }
  .main__wrapper {
    padding: 0 16px;
  }
}
@media (max-width: 500px) {
  .main__title {
    margin-top: 273px;
    text-align: left;
    margin-bottom: 153px;
  }
  .main {
    background-image: url("../assets/main-bg-mobile.jpg");
    background-size: cover;
  }
}
.service {
  padding: 72px;
  background-color: #065bff;
  align-items: center;
  justify-content: center;
}

.service__wrapper {
  max-width: 1296px;
}

.service__title {
  color: #fff;
  margin-bottom: 16px;
}

.service__text {
  color: rgba(255, 255, 255, 0.7);
  max-width: 800px;
  margin-bottom: 48px;
}

.service__icon {
  width: 196px;
  height: 196px;
  position: absolute;
  bottom: 0px;
  right: 0px;
  flex-shrink: 0;
}

.service__item {
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.service__item-text {
  color: rgba(18, 19, 21, 0.7);
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: height 0.3s ease, opacity 0.3s ease;
}

.service__item.open .service__item-text {
  opacity: 1;
  height: auto;
}

.service__list {
  margin: 0px;
  padding: 0px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.service__arrow {
  transition: all 0.3s ease;
}

.service__card-title {
  margin-bottom: 48px;
  font-size: 40px;
  line-height: 48px;
  font-family: "Montserrat", sans-serif;
}

.service__arrow.rotated {
  transform: rotate(180deg);
}

.service__item-title {
  font-family: "Montserrat";
  font-weight: 600;
  display: flex;
  cursor: pointer;
  align-items: center;
  gap: 21px;
  font-size: 28px;
  line-height: 36px;
  margin-bottom: 8px;
}

.service__card {
  overflow: hidden;
  background-color: #fff;
  border-radius: 24px;
  padding: 48px;
  height: 756px;
  position: relative;
  max-width: 624px;
}

.service__accordion {
  gap: 48px;
}

.service__card--blue {
  background-color: rgba(255, 255, 255, 0.3);
}

.service__card-title--white, .service__item-title--white, .service__item-text--white {
  color: #fff;
}

@media (max-width: 1380px) {
  .service__icon {
    height: 128px;
    width: 128px;
  }
}
@media (max-width: 1200px) {
  .service__accordion {
    flex-direction: column;
  }
  .service__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 800px) {
  .service {
    padding: 32px 16px;
  }
  .service__text {
    margin-bottom: 32px;
  }
}
@media (max-width: 500px) {
  .service__card {
    padding: 16px;
    height: 616px;
    border-radius: 16px;
  }
  .service__card-title {
    max-width: 151px;
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 32px;
  }
  .service__item-title {
    font-size: 20px;
    gap: 23px;
    line-height: 28px;
    margin-bottom: 0;
  }
  .service__arrow {
    width: 20px;
    height: 9px;
  }
  .service__accordion {
    gap: 32px;
  }
  .service__arrow--third {
    width: 27px;
  }
  .service__list {
    gap: 0;
  }
  .service__item.open .service__item-text {
    margin-top: 8px;
  }
  .service__item-text {
    margin-bottom: 32px;
  }
}
.who__wrapper {
  max-width: 1296px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.who {
  padding: 72px;
  scroll-margin-top: 120px;
  justify-content: center;
  align-items: center;
}

.who__img {
  border-radius: 24px;
  flex-shrink: 0;
}

.who__content, .who__container {
  gap: 48px;
  justify-content: space-between;
}

.who__img-mobile {
  display: none;
  flex-shrink: 0;
}

.who__title {
  color: #065bff;
  margin-bottom: 48px;
}

.who__container-text .who__text:nth-child(1) {
  margin-bottom: 26px;
}

.who__text {
  max-width: 681px;
  color: rgba(18, 19, 21, 0.7);
}
.who__text span {
  color: #065bff;
}

@media (max-width: 1300px) {
  .who__content, .who__container {
    flex-direction: column;
  }
  .who__img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .who__container {
    flex-direction: column-reverse;
  }
}
@media (max-width: 800px) {
  .who__title {
    margin-bottom: 32px;
  }
  .who__content, .who__container {
    gap: 0;
    align-items: center;
    text-align: center;
  }
  .who {
    padding: 32px 16px;
  }
  .who__text {
    margin-bottom: 32px;
  }
  .who__wrapper {
    gap: 32px;
  }
  .who__img-mobile {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
  }
}
@media (max-width: 500px) {
  .who {
    scroll-margin-top: 50px;
  }
  .who__content, .who__container {
    align-items: flex-start;
    text-align: left;
  }
}
.why {
  align-items: center;
  padding: 72px;
  justify-content: center;
  padding-bottom: 104px;
}

.why__wrapper {
  max-width: 1296px;
}

.why__title {
  color: #065bff;
  margin-bottom: 16px;
}

.why__text {
  max-width: 800px;
  margin-bottom: 48px;
  color: rgba(18, 19, 21, 0.7);
}

.why__list {
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.why__item-title {
  font-size: 28px;
  margin-top: 6px;
  line-height: 36px;
  color: #121315;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: "Montserrat";
}

.why__item-text {
  max-width: 404px;
  color: rgba(18, 19, 21, 0.7);
}

.why__item {
  padding: 0px;
  display: flex;
  gap: 24px;
}
.why__item img {
  border-radius: 24px;
  flex-shrink: 0;
}

@media (max-width: 1200px) {
  .why__item {
    justify-content: center;
  }
  .why__list {
    grid-template-columns: 1fr;
  }
  .why__item img {
    width: 128px;
    height: 128px;
  }
  .why__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 800px) {
  .why {
    padding: 32px 16px;
  }
}
@media (max-width: 500px) {
  .why__item {
    flex-direction: column;
  }
  .why {
    padding-bottom: 68px;
  }
  .why__item-text {
    margin-bottom: 0;
  }
  .why__list {
    gap: 32px;
  }
  .why__text {
    margin-bottom: 32px;
  }
  .why__item-title {
    font-size: 20px;
    line-height: 28px;
  }
  .why__item {
    margin-bottom: 0;
  }
  .why__item:nth-child(3), .why__item:nth-child(4) {
    flex-direction: column-reverse;
  }
}
.form {
  padding: 72px;
  background-color: #065bff;
  align-items: center;
  justify-content: center;
}

.form__wrapper {
  width: 100%;
  max-width: 1296px;
  justify-content: space-between;
  gap: 48px;
}

.form__container {
  width: 100%;
  max-width: 612px;
}

.form__title {
  color: #fff;
  margin-bottom: 16px;
}

.form__text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 48px;
  max-width: 612px;
}

.form__list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form__link {
  font-family: "Montserrat";
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 28px;
  line-height: 36px;
  color: #fff;
  text-decoration: none;
  padding: 24px;
  border-radius: 24px;
  transition: all 0.5s ease;
  max-width: 526px;
}
.form__link:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.form__address {
  font-family: "Montserrat";
  max-width: 526px;
  display: flex;
  gap: 16px;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  color: #fff;
  text-decoration: none;
  padding: 24px;
  border-radius: 24px;
  transition: all 0.5s ease;
}
.form__address:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.form__address-text {
  font-family: "Montserrat";
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}

.form__copy {
  margin: 0;
  margin-top: 53px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Montserrat";
}

.form__block {
  background-color: #fff;
  border-radius: 24px;
  width: 100%;
  max-width: 636px;
  padding: 48px 0;
  padding-left: 48px;
  padding-right: 48px;
}

.form__block-title {
  font-size: 40px;
  line-height: 48px;
  font-family: "Montserrat";
  font-weight: 600;
  margin-bottom: 48px;
}

.form__btn {
  font-size: 24px;
  line-height: 32px;
  color: #fff;
  border-radius: 24px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  background: linear-gradient(to right, #8FC4FD, #065BFF);
  text-decoration: none;
  width: 100%;
  cursor: pointer;
  border: none;
  padding: 20px 0;
  transition: background 1s ease-out;
}
.form__btn:hover {
  background: #065BFF;
}

.form__labels {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form__input {
  font-family: "Montserrat";
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(18, 19, 21, 0.3);
  padding: 16px;
  color: #121315;
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
}
.form__input::placeholder {
  color: #121315;
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
}

.form__input--checkbox {
  opacity: 0; /* Keep it hidden but interactable */
  position: absolute;
  width: 24px;
  height: 24px;
  cursor: pointer;
  z-index: 1;
}

.form__label--checkbox {
  display: flex;
  margin-top: 10px;
  margin-bottom: 48px;
  gap: 8px;
}

.form__custom-checkbox {
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: transparent;
  border-radius: 4px;
  transition: border-color 0.2s;
}

.form__custom-checkbox svg path,
.form__custom-checkbox svg rect {
  transition: stroke 0.2s, fill 0.2s;
}

.form__custom-checkbox.invalid svg path,
.form__custom-checkbox.invalid svg rect {
  stroke: #DC3545;
  fill: none;
}

.form__label-text.invalid {
  color: #DC3545;
}

.form__label-text {
  font-family: "Montserrat";
  max-width: 385px;
  color: rgba(18, 19, 21, 0.7);
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
}
.form__label-text a {
  color: #065bff;
}

.form__copy--mobile {
  display: none;
}

.form__input.invalid {
  border-color: #DC3545;
}

.form__label--checkbox .form__label-text.invalid {
  color: #DC3545;
}

.form__label--checkbox {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 48px;
  position: relative;
}

.form__custom-checkbox {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: transparent;
}

.form__input--checkbox:checked + .form__custom-checkbox::before {
  content: "";
  background-image: url("../assets/tick.svg");
  background-size: 18px 18px;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.form__input.invalid {
  border-color: #DC3545;
}

.form__error-message {
  display: none;
  color: #DC3545;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
  margin-top: 4px;
  padding-left: 8px;
}

@media (max-width: 1200px) {
  .form__wrapper {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 800px) {
  .form {
    padding: 32px 16px;
  }
  .form__copy {
    display: none;
  }
  .form__copy--mobile {
    display: block;
  }
  .form__btn {
    padding: 16px;
    font-size: 16px;
    line-height: 24px;
    border-radius: 16px;
  }
}
@media (max-width: 500px) {
  .form__text {
    margin-bottom: 32px;
  }
  .form__link, .form__address {
    padding: 20px 3px;
    font-size: 20px;
    line-height: 28px;
  }
  .form__address-text {
    font-size: 16px;
    line-height: 24px;
  }
  .form__wrapper {
    gap: 26px;
  }
  .form__block {
    padding: 16px;
    border-radius: 16px;
  }
  .form__label--checkbox {
    margin-bottom: 32px;
  }
  .form__block-title {
    margin-bottom: 32px;
    font-size: 32px;
    line-height: 40px;
  }
  .form__label-text {
    font-size: 14px;
    line-height: 26px;
  }
  .form__wrapper {
    align-items: flex-start;
  }
  .form__copy--mobile {
    margin-top: 0;
    font-size: 16px;
    line-height: 24px;
  }
}

/*# sourceMappingURL=styles.css.map */
