:root {
  --special100: #ccedf0;
  --special500: #2e8b99;
  --special600: #267882;
  --maxWidth: 19200px;
  --padding: 112px;
}

* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  /* max-width: 1920px; */
  margin: 0 auto;
  font-family: Inter;
  font-size: 24px;
  font-weight: 400;
  line-height: 36px;
  /* letter-spacing: 0.12em; */
  text-align: center;
  background: #fff9f2;
  color: #111827;
  background-size: cover;
  padding: 0;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

body.modalOpen {
  overflow: hidden;
}

.titleFrame {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 900px;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url(pics/mainpage.jpg);
  background-size: cover;
  background-position: center;
}
.titleFrame.About {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url(pics/about.jpg);
  background-size: cover;
  background-position: center;
}

.titleFrame.loans {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url(pics/loans.jpg);
  background-size: cover;
  background-position: center;
}

.titleFrame.middlemen {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url(/pics/middlemen-main.jpg);
  background-size: cover;
  background-position: center;
}

.titleFrame.privacy {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url(pics/privacyMain.jpg);
  background-size: cover;
  background-position: center;
}

.titleFrame.clause {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url(pics/clauseMain.jpg);
  background-size: cover;
  background-position: center;
}

.titleFrame.docs {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url(/pics/doc-background.jpg);
  background-size: cover;
  background-position: center;
}

.contactImage {
  background: url(/pics/zadzwon-do-nas.jpg);
  background-position-x: 0%;
  background-position-y: 0%;
  background-size: auto;
  background-size: cover;
  background-position: center;
  background-position-x: center;
  background-position-x: 25%;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1),
    0px 4px 6px 0px rgba(0, 0, 0, 0.05);
  border-radius: 16px;
}

.title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.hidden {
  overflow: hidden;
}

h1 {
  font-family: Merriweather;
  font-size: 96px;
  font-weight: 700;
  line-height: 125px;
  text-align: inherit;
  color: #ffffff;
  margin: 0;
}

.title {
  h1 {
    color: var(--special500);
  }
}
b {
  font-weight: 400;
}
h2 {
  font-family: Merriweather;
  font-size: 72px;
  font-weight: 700;
  line-height: 101px;
  text-align: inherit;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: rgba(46, 139, 153, 1);
  margin: 0px;
}

h3 {
  font-family: Merriweather;
  font-size: 36px;
  font-weight: 700;
  line-height: 54px;
  text-align: inherit;
  color: rgba(46, 139, 153, 1);
  margin: 0px;
}

h4 {
  font-family: Inter;
  font-size: 36px;
  font-weight: 700;
  line-height: 54px;
  text-align: inherit;
  color: rgba(38, 120, 130, 1);
  margin: 0px;
}

h5 {
  font-family: Inter;
  font-weight: 600;
  font-size: 24px;
  line-height: 36px;
  color: rgba(38, 120, 130, 1);
  margin: 0;
}

p {
  margin: 0;
}
.blurOverlay {
  z-index: 1;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  backdrop-filter: blur(5px);
  background: rgba(0, 0, 0, 0.4);
  display: none;
}

.blurOverlay.active {
  display: block;
}

.sideForm {
  z-index: 2;
  position: fixed;
  right: 0;
  top: 0;
  width: 984px;
  height: 100%;
  gap: 132px;
  background: #ffffff;
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 1px 2px -1px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
}

.sideFormContact {
  z-index: 2;
  position: fixed;
  right: 0;
  top: 0;
  width: 984px;
  height: 100%;
  gap: 132px;
  background: #ffffff;
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 1px 2px -1px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
}

.sideForm.active {
  transform: translateX(0%);
}

.sideFormContact.active {
  transform: translateX(0%);
}

.contactFormHeader {
  text-align: justify;
}

.formStep,
.formStepContact {
  display: none;
  padding: 32px 112px 32px 112px;
  gap: 32px;
  text-align: left;
  p {
    font-size: 18px;
  }
  label {
    font-size: 18px;
    margin-bottom: -32px;
    color: #9ca3af;
  }
  input {
    padding: 12px 16px 12px 16px;
    gap: 10px;
    border-radius: 6px;
    border: 1px solid rgba(109, 114, 128, 0.5);
  }
  input[type="text"],
  input[type="email"],
  input[type="date"] {
    font-family: Inter;
    font-weight: 600;
  }
  input.error {
    border: 1px solid red;
  }
  textarea {
    font-family: Inter;
    font-weight: 600;
    font-size: inherit;
  }
  [type="file"] {
    display: none;
  }
  .customFileUpload {
    cursor: pointer;
    padding: 12px 16px 12px 16px;
    border-radius: 6px;
    border: 1px dashed rgba(109, 114, 128, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: inherit;
    font-weight: 600;
    color: #6d7280;
    margin: 0;
    transition: border color 500ms ease-out;
  }
  .customFileUpload:hover {
    border-color: #267882;
    color: #267882;
  }
  .customFileUpload.uploaded {
    color: #267882;
    border-color: #267882;
  }
  .customFileUpload.uploaded:hover {
    color: #dc2626;
    border-color: #dc2626;
  }
}

.formStep.active,
.formStepContact.active {
  display: grid;
}

.formStepContact .row p {
  font-size: 14px !important;
}

.buttonLine {
  display: flex;
  justify-content: space-between;
  padding-top: 100px;
  .button {
    cursor: pointer;
    padding: 12px 34px 12px 34px;
    background-color: rgba(31, 100, 106, 1);
    border-radius: 16px;
    text-align: center;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    white-space: nowrap;
  }
  .buttonContact {
    cursor: pointer;
    padding: 12px 34px 12px 34px;
    background-color: rgba(31, 100, 106, 1);
    border-radius: 16px;
    text-align: center;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    white-space: nowrap;
  }
  button.button.next {
    all: unset;
    justify-content: center !important;
    background: rgba(46, 139, 153, 1);
    padding: 12px 24px 12px 34px;
    cursor: pointer;
    padding: 12px 34px 12px 34px;
    border-radius: 16px;
    text-align: center;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    white-space: nowrap;
  }
  button.buttonContact.next {
    all: unset;
    justify-content: center !important;
    background: rgba(46, 139, 153, 1);
    padding: 12px 24px 12px 34px;
    cursor: pointer;
    padding: 12px 34px 12px 34px;
    border-radius: 16px;
    text-align: center;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    white-space: nowrap;
  }
  .button.next {
    background: rgba(46, 139, 153, 1);
    padding: 12px 24px 12px 34px;
  }
  .buttonContact.next {
    background: rgba(46, 139, 153, 1);
    padding: 12px 24px 12px 34px;
  }
  .button.prev {
    padding: 12px 34px 12px 24px;
  }
}

.photoContainer {
  gap: 16px;
  display: grid;
}

.operatContainer {
  display: grid;
  gap: 16px;
}

.navLinksWrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: 1920px;
  margin: 0 auto;
}

.navbar {
  position: fixed;
  z-index: 2;
  top: 0;
  /* display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto; */
  /* height: 38px; */
  padding-top: 16px;
  padding-bottom: 26px;
  transition: background-color 0.5s ease;
  width: 100%;
}
.navbar.sticky {
  /* position: fixed;
  z-index: 2;
  top: 0;
  width: 100%;
  max-width: 1920px; */
  background-color: #16242d;
}

.navLinks.left {
  .logo {
    text-align: center; /* Center text within each item */
    max-width: 116px;
    height: auto;
    padding-left: 32px;
  }
}
.navLinks.right {
  justify-content: space-between;
  display: flex;
  gap: 32px;
  align-items: center;
  padding-right: 32px;
  .button {
    cursor: pointer;
    background: rgba(46, 139, 153, 1);
    border: 2px solid rgba(46, 139, 153, 1);
    padding: 6px 32px 6px 32px;
    border-radius: 16px;
    line-height: 30px;
    text-align: center;
    color: #ffffff;
  }
}
.hamburgerMenu {
  display: none;
  padding-right: 32px;
  position: relative;
}

.hamburgerMenu .hidden {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #16242d;
  visibility: hidden;
  flex-direction: column;
  gap: 16px;
  padding: 16px 32px;
  opacity: 0;
  width: 244px;
  transform: translateY(-100px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  a {
    text-align: right;
  }
  .button {
    text-align: center;
    border: 1px solid rgba(249, 250, 251, 0.5);
    border-radius: 6px;
    width: Fill (244px) px;
    padding: 6px 12px 6px 12px;
  }
  .line {
    border-bottom: 1px solid rgba(75, 85, 99, 0.5);
  }
}

.hamburgerMenu.open .hidden {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.WelcomeSection {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 90%;
  font-family: Jost;
  font-weight: 300;
  text-align: center;
  max-width: 1100px;
  gap: 64px;

  .button {
    cursor: pointer;
    background: transparent;
    border: 2px solid rgba(46, 139, 153, 1);
    border-radius: 8px;
    padding: 16px 32px;
    /*! line-height: 30px; */
    text-align: center;
    color: #ffffff;
    font-weight: 600;
  }
}

textarea {
  font-size: inherit;
  font-weight: 600;
  box-sizing: border-box;
  color: inherit;
  resize: none;
  padding: 12px 16px 12px 16px;
}

a {
  cursor: pointer;
  text-decoration: none;
  line-height: 30px;
  text-align: left;
  color: #ffffff;
}

.baseContainer {
  display: grid;
  gap: 48px;
}

.goalsFrame {
  max-width: 1920px;
  margin: 0 auto;
  min-height: 696px;
  padding: 10px var(--padding) 10px var(--padding);
  gap: 32px;
  display: grid;
  grid-template-columns: 6fr 7fr;
  font-weight: 300;
  line-height: 30px;
  text-align: left;

  .textSection {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    ul {
      margin: 0;
      display: grid;
      gap: 16px;
    }
  }

  .imgSection {
    background: url(/pics/szybki-kontakt.jpg);
    background-size: cover;
    background-position: center;
    background-position-x: 65%;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1),
      0px 4px 6px 0px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
  }
  .imgSection.About {
    background: url(pics/vita.jpg);
    background-size: cover;
    background-position: center;
    background-position-x: 65%;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1),
      0px 4px 6px 0px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
  }
  .imgSection.exp {
    background: url(pics/exp.jpg);
    background-size: cover;
    background-position: center;
    background-position-x: 65%;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1),
      0px 4px 6px 0px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
  }
  .imgSection.middlemen {
    background: url(/pics/goals-middlemen.jpg);
    background-size: cover;
    background-position: center;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1),
      0px 4px 6px 0px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    transform: scaleX(-1);
  }
}
.goalsFrame.exp {
  grid-template-columns: 7fr 6fr;
}

.goalsFrame.middlemen {
  grid-template-columns: 7fr 6fr;
}

.goalsFrame.loans {
  grid-template-columns: 7fr 6fr;
  .imgSection {
    background: url(pics/piona.jpg);
    background-size: cover;
    background-position: center;
    background-position-x: 65%;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1),
      0px 4px 6px 0px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
  }
}

.goalsFrame.middlemenContact {
  .imgSection {
    background: url(pics/dlugopis.jpg);
    background-size: cover;
    background-position: center;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1),
      0px 4px 6px 0px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
  }

  h3 {
    font-family: Inter;
  }
}

.textline {
  display: flex;
  gap: 32px;
  width: 100%;
  justify-content: space-between;
}

.section {
  display: flex;
  gap: 15px;
  align-items: center;
  font-size: 30px;
}

.summaryFrame {
  max-width: 1920px;
  margin: 0 auto;
  padding: 10px var(--padding) 10px var(--padding);
  gap: 32px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  /* font-weight: 300;
  line-height: 36px; */
  text-align: left;

  .textSection {
    color: var(--special600);
    display: flex;
    align-items: first baseline;
    flex-direction: column;
    justify-content: start;
    padding: 32px 16px 32px 16px;
    border-radius: 6px;
    background: var(--special100);
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1),
      0px 4px 6px 0px rgba(0, 0, 0, 0.05);
  }

  .imgSection.Bartlomiej {
    position: relative;
    background-color: var(--special100);
    overflow: hidden;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1),
      0px 4px 6px 0px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 16px 32px 16px;
    gap: 16px;
  }

  .imgSection.Bartlomiej::before {
    content: "";
    position: absolute;
    background-image: url("pics/Briefcase.svg");
    background-size: contain;
    background-repeat: no-repeat;
    top: 60%;
    left: 80%;
    width: 130%;
    height: 130%;
    transform: translate(-50%, -50%) rotate(0deg);
    z-index: 0;
    opacity: 10%;
    pointer-events: none;
  }

  .imgSection.Kamil {
    position: relative;
    background-color: var(--special100);
    overflow: hidden;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1),
      0px 4px 6px 0px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 16px 32px 16px;
    gap: 16px;
  }

  .imgSection.Kamil::before {
    content: "";
    position: absolute;
    background-image: url("pics/Briefcase.svg");
    background-size: contain;
    background-repeat: no-repeat;
    top: 60%;
    left: 80%;
    width: 130%;
    height: 130%;
    transform: translate(-50%, -50%) rotate(0deg);
    z-index: 0;
    opacity: 10%;
    pointer-events: none;
  }
}

.linkedin {
  display: flex;
  align-items: center;
  gap: 16px;
}

.summaryFrame.rev {
  grid-template-columns: 2fr 1fr;
}

.goalsFrame.Us {
  gap: 32px;
  .textSection {
    gap: 32px;
  }
}
.goalsFrame.Kamil {
  grid-template-columns: 7fr 6fr;
  gap: 32px;
  .textSection {
    gap: 32px;
  }
}
.processFrame {
  max-width: 1920px;
  margin: 0 auto;
  background-color: rgba(241, 244, 246, 1);
  display: grid;
  padding: 32px var(--padding) 32px var(--padding);
  text-align: center;
  justify-items: center;
  align-content: center;
  gap: 32px;

  .TitleSection {
    height: 274px;
    display: grid;
    gap: 16px;
  }

  p {
    line-height: 30px;
  }

  .blockSection {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }

  .block {
    text-align: left;
    background-color: rgba(204, 237, 240, 1);
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1),
      0px 4px 6px 0px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    /* height: 304px; */
    display: flex;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    align-items: center;
    padding: 32px 16px 32px 16px;
    row-gap: 24px;
    column-gap: 24px;

    p {
      color: #267882;
    }
    ul {
      color: #267882;
    }
    flex-direction: column;
    align-items: baseline;
  }
}
.processFrame.About {
  padding-bottom: 64px;
  .block {
    height: auto;
    display: flex;
    justify-content: space-between;
    .text {
      display: grid;
      gap: 16px;
    }
    p {
      font-weight: 400;
      font-size: 20px;
      line-height: 30px;
      padding-right: 56px;
    }
  }
  .blockSection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 32px;
  }
}

.processFrame.loans {
  .block {
    /* height: 408px; */
  }
}

.processFrame.middlemen {
  .blockSection {
    grid-template-columns: repeat(3, 1fr);
  }
  .block {
    height: auto;
    grid-template-rows: 1fr 1fr;
  }
}
.loanFrame {
  max-width: 1920px;
  margin: 0 auto;
  display: grid;
  padding: 10px var(--padding) 10px var(--padding);
  gap: 32px;
  text-align: center;
  justify-items: center;
  align-content: normal;

  .textSection {
    display: grid;
    gap: 16px;
  }

  .blockSection {
    display: grid;
    grid-template-columns: 10fr 1.9fr 10fr 1.9fr 10fr;
    grid-template-areas:
      "block1 . block2 . block3"
      "block1 line block2 line block3"
      "block1 . block2 . block3"
      "block1 . block2 . block3";
    width: 100%;
    height: 100%;
  }

  .block1 {
    grid-area: block1;
  }

  .block2 {
    grid-area: block2;
  }

  .block3 {
    grid-area: block3;
  }

  .line1 {
    grid-area: line1;
  }

  .line2 {
    grid-area: line2;
  }

  .blockSection {
    display: grid;
    grid-template-columns: 10fr 1.8fr 10fr 1.8fr 10fr;
    grid-template-areas:
      "block1 . block2 . block3"
      "block1 line1 block2 line2 block3"
      "block1 . block2 . block3"
      "block1 . block2 . block3";
    width: 100%;
    height: 100%;
  }

  p {
    line-height: 30px;
    text-align: center;
  }

  .block {
    display: grid;
    gap: 32px;
    align-content: baseline;
    justify-items: center;
    img {
      height: 132px;
      width: auto;
    }
  }

  .lineContainer {
    position: relative;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .circle {
    width: 36px;
    height: 36px;
    border-radius: 32px;
    border: 0.5px solid #111827;
    color: #2e8b99;
    font-weight: 600;
    line-height: 30px;
    text-align: left;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .line {
    position: absolute;
    top: 24px;
  }
}

.loanFrame.loans {
  display: grid;
  padding: 10px var(--padding) 10px var(--padding);
  gap: 32px;
  text-align: center;
  justify-items: center;
  align-content: normal;

  .textSection {
    display: grid;
    gap: 16px;
  }

  .blockSection {
    display: grid;
    grid-template-columns: 10fr 1.9fr 10fr 1.9fr 10fr;
    grid-template-areas:
      "block1 . block2 . block3"
      "block1 line block2 line block3"
      "block1 . block2 . block3"
      "block1 . block2 . block3";
    width: 100%;
    height: 100%;
  }

  .block1 {
    grid-area: block1;
  }

  .block2 {
    grid-area: block2;
  }

  .block3 {
    grid-area: block3;
  }

  .block4 {
    grid-area: block4;
  }

  .block5 {
    grid-area: block5;
  }

  .line1 {
    grid-area: line1;
  }

  .line2 {
    grid-area: line2;
  }

  .line3 {
    grid-area: line3;
    .line {
      top: 46px;
    }
  }

  .blockSection {
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    grid-template-areas:
      "block1 block1 block1  .      block2 block2 block2 .      block3 block3 block3"
      "block1 block1 block1  line1      block2 block2 block2 line2      block3 block3 block3"
      "block1 block1 block1  .      block2 block2 block2 .      block3 block3 block3"
      "block1 block1 block1  .      block2 block2 block2 .      block3 block3 block3"
      ". .      block4  block4 block4 .      block5 block5 block5 . . "
      ". .      block4  block4 block4 line3      block5 block5 block5 . ."
      ". .      block4  block4 block4 .      block5 block5 block5 . ."
      ". .      block4  block4 block4 .      block5 block5 block5 . .";
    width: 100%;
    height: 100%;
  }

  p {
    line-height: 30px;
    text-align: center;
  }

  .block {
    display: grid;
    gap: 32px;
    align-content: baseline;
    justify-items: center;
    img {
      height: 132px;
      width: auto;
    }
  }

  .lineContainer {
    position: relative;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .circle {
    width: 36px;
    height: 36px;
    border-radius: 32px;
    border: 0.5px solid #111827;
    color: #2e8b99;
    font-weight: 600;
    line-height: 30px;
    text-align: left;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .line {
    position: absolute;
    top: 24px;
  }
}
.contactFrame {
  max-width: 1920px;
  margin: 0 auto;
  display: grid;
  padding: 0px var(--padding) 0px var(--padding);
  gap: 32px;
  grid-template-columns: 0.52fr 0.48fr;
  text-align: left;

  .contactSection {
    display: flex;
    flex-direction: column;
    gap: 64px;

    .button {
      cursor: pointer;
      height: 54px;
      background: rgba(46, 139, 153, 1);
      border: 2px solid rgba(46, 139, 153, 1);
      padding: 12px 16px 12px 16px;
      border-radius: 16px;
      font-size: inherit;
      font-weight: 600;
      line-height: 30px;
      text-align: center;
      color: #ffffff;
    }
  }
}

.row {
  display: -webkit-box;
  gap: 16px;

  p {
    max-width: 90%;
  }

  input[type="checkbox"] {
    padding: 0;
    border-radius: 0;
    width: 18px;
    height: 18px;
    accent-color: #2e8b99;
  }
  input.error {
    width: 18px;
    height: 18px;
    box-shadow: 0px 0px 0px 2px rgb(255, 0, 0);
    -moz-appearance: none;
    -webkit-appearance: none;
    -o-appearance: none;
  }
}

.contacts {
  display: flex;
  justify-content: space-between;
}

.contact {
  display: flex;
  align-items: center;
  width: 50%;
  gap: 16px;

  a {
    color: black;
  }
}

.navContact {
  display: flex;
  justify-content: flex-end;
  a {
    display: flex;
    justify-items: center;
    align-items: center;
  }
}

.seperatingLine {
  border-top: 1px solid;
  border-image-slice: 1;
  border-image-source: radial-gradient(
    50% 50% at 50% 50%,
    #99dce0 0%,
    rgba(153, 220, 224, 0) 100%
  );
}
.footerFrame {
  background-color: #16242d;
  font-weight: 300;
  line-height: 30px;
  color: #ffffff;

  img {
    width: auto;
    height: 29px;

    padding: 16px var(--padding) 16px var(--padding);
  }
}
.linksSection {
  max-width: 1920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0px var(--padding) 32px var(--padding);
  gap: 16px;
  text-align: left;
  .col {
    display: grid;
    grid-template-rows: 1fr 0fr 1fr 1fr 1fr 1fr;
    gap: 16px;
    .line {
      border-top: 1px solid #4b5563;
      opacity: 0.5;
      height: 0px;
    }
  }

  b {
    font-weight: 600;
  }
}

.TextFrame {
  max-width: 1920px;
  margin: 0 auto;
  display: grid;
  gap: 32px;
  padding: 10px var(--padding) 10px var(--padding);
  text-align: left;
  h1 {
    color: var(--special500);
  }
  b {
    font-weight: 700;
  }
  ul {
    margin: 0;
    list-style-type: none;
  }
}

.docSection {
  display: flex;
  width: 100%;
}

.statementFrame {
  max-width: 1920px;
  margin: 0 auto;
  color: var(--special600);
  font-weight: 600;
  padding-left: var(--padding);
  padding-right: var(--padding);
  h1 {
    color: var(--special500);
    text-align: left;
    padding: 10px 20px;
  }
}

.carousel-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: row;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.carousel-block {
  flex: 0 0 33.33%;
  box-sizing: border-box;
  padding: 10px;
  text-align: center;
}

.carousel-block a {
  display: block;
  color: inherit;
  text-decoration: none;
  border: 1px solid #ddd;
  transition: box-shadow 0.3s ease;
  padding: 16px;
  gap: 16px;
  border-radius: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  img {
    width: 68px;
  }
}

.carousel-block a:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.arrow {
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}

.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px;
}

.arrow:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

Footer {
  color: #1f1f1f;
  text-align: center;
  background-color: #fff9f2;
  padding: 16px 32px 16px 32px;
}

@media (max-width: 1919px) {
  body {
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
  }
  h1 {
    font-size: 72px;
    font-weight: 700;
    line-height: 101px;
  }
  h2 {
    font-size: 60px;
    font-weight: 700;
    line-height: 84px;
  }
  h3 {
  }
  h4 {
    font-size: 30px;
    font-weight: 700;
    line-height: 45px;
  }
  h5 {
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
  }
}

@media (max-width: 1535px) {
  body {
    font-size: 18px;
    font-weight: 300;
    line-height: 27px;
  }

  h1 {
    font-size: 60px;
    font-weight: 700;
    line-height: 84px;
  }

  h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 67.2px;
  }

  h3 {
  }

  h4 {
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
  }

  h5 {
    font-size: 18px;
    font-weight: 600;
    line-height: 27px;
  }
}
@media (max-width: 1410px) {
  .loanFrame {
    & .line {
      display: none;
    }
  }

  .loanFrame.loans {
    & .line {
      display: none;
    }
  }

  .processFrame {
    & .block {
      grid-template-rows: unset;
    }
  }
}

@media (max-width: 1279px) {
  :root {
    --padding: 32px;
  }

  body {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
  }

  h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 67.2px;
  }

  h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 54px;
  }

  h3 {
  }

  h4 {
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
  }

  h5 {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
  }

  /* .goalsFrame {
    padding: 10px 32px 10px 32px;
  }

  .processFrame.About {
    padding: 32px 32px 64px 32px;
  }

  .summaryFrame {
    padding: 10px 32px 10px 32px;
  } */

  .loanFrame.loans {
    padding: 0;
  }

  .processFrame.loans {
    padding: 0;
  }
  .processFrame.loans {
    .blockSection {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }
  }
}

@media (max-width: 1023px) {
  h1 {
    font-size: 30px;
    line-height: 45px;
  }

  h2 {
    font-size: 30px;
    line-height: 45px;
  }

  h3 {
    font-size: 28px;
    line-height: 42px;
  }

  h4 {
    font-size: 20px;
    line-height: 30px;
  }
  .seperatingLine {
    display: none;
  }

  .contactImage {
    grid-row: 1;
    min-height: 559px;
  }

  .contactFrame {
    text-align: center;
  }

  .contacts {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }

  .contact {
    font-weight: 600;
    padding: 12px 16px 12px 16px;
    border-radius: 16px;
    color: var(--special500);
    background-color: var(--special100);
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1),
      0px 1px 2px -1px rgba(0, 0, 0, 0.1);
    display: block;
    width: 100%;
    box-sizing: border-box;
    img {
      display: none;
    }
  }

  body {
    font-size: 18px;
    line-height: 25px;
  }

  .sideForm {
    width: 100%;
  }
  .sideFormContact {
    width: 100%;
  }
  .formStep {
    padding: 32px 16px 32px 16px;

    & input[type="text"],
    & input[type="email"] {
      font-family: Inter;
      font-size: 16px;
      font-weight: 700;
      line-height: 24px;
      text-align: left;
    }

    & p {
      font-size: 16px;
      font-weight: 400;
      line-height: 24px;
      text-align: left;
    }

    & label {
      font-family: Inter;
      font-size: 14px;
      font-weight: 300;
      line-height: 18.2px;
      text-align: left;
    }
  }
  .titleFrame {
    height: 600px;
  }

  .buttonLine {
    flex-direction: column;
    gap: 32px;
    .button {
      justify-content: center;
    }
  }

  .lineContainer {
    .line {
      display: none;
    }
  }
  .navbar {
    /* display: flex; */
    justify-content: space-between;
    padding: 0;
    .navLinks.right {
      display: none;
    }
    .hamburgerMenu {
      cursor: pointer;
      display: grid;
      grid-template-rows: 1.5em 0fr;
    }
    .hamburgerMenu.open {
      grid-template-rows: 1.5em 1fr;
    }
  }

  .hidden {
    display: grid;
    gap: 16px;
    text-align: right;
  }

  .WelcomeSection {
    gap: 32px;
  }

  .goalsFrame {
    padding: 10px 16px;
    grid-template-columns: unset;
    grid-template-rows: unset;
    & .imgSection {
      height: 373px;
    }
  }

  .goalsFrame.loans {
    grid-template-columns: unset;
    grid-template-rows: unset;
    .imgSection {
      order: -1;
    }
  }

  .goalsFrame.exp {
    min-height: unset;
    padding: 10px 16px;
    grid-template-columns: unset;
    grid-template-rows: unset;
    & .imgSection {
      height: 373px;
      order: -1;
    }
  }

  .goalsFrame.middlemen {
    min-height: unset;
    padding: 10px 16px;
    grid-template-columns: unset;
    grid-template-rows: unset;
    & .imgSection {
      height: 373px;
    }
  }

  .processFrame {
    padding: 0px 16px;
    height: auto;
  }

  .processFrame .blockSection {
    grid-template-columns: 1fr;
    .block {
      height: auto;
    }
  }

  .processFrame.middlemen .blockSection {
    grid-template-columns: 1fr;
    .block {
      height: auto;
    }
  }

  .processFrame.loans .blockSection .block {
    height: auto;
  }

  .processFrame.About .blockSection {
    grid-template-rows: 1fr;
    grid-template-columns: 4fr;
    .block {
      flex-direction: column-reverse;
    }
  }
  .loanFrame {
    padding: 10px 16px;
  }

  .loanFrame.loans {
    padding: 10px 16px;
  }

  .loanFrame {
    .lineContainer {
      display: none;
    }
    .blockSection {
      /* justify-items: center; */
      grid-template-columns: 1fr;
      grid-template-areas:
        "block1"
        "block2"
        "block3";
      gap: 32px;
    }
  }
  .goalsFrame {
    text-align: center;
  }
  .loanFrame.loans {
    .lineContainer {
      display: none;
    }
    .blockSection {
      /* justify-items: center; */
      grid-template-columns: 1fr;
      grid-template-areas:
        "block1"
        "block2"
        "block3"
        "block4"
        "block5";
      gap: 32px;
    }
  }

  .contactFrame {
    padding: 0px 16px;
    grid-template-columns: unset;
    gap: 0px;
  }

  .linksSection {
    grid-template-columns: 1fr;
  }

  .summaryFrame {
    grid-template-columns: unset;
    grid-template-rows: unset;
  }

  .summaryFrame.rev {
    grid-template-columns: unset;
    grid-template-rows: unset;
    .imgSection {
      order: -1;
    }
  }

  .linksSection {
    & .col {
      grid-template-rows: unset;
    }
  }

  .processFrame.loans {
    & .blockSection {
      grid-template-columns: unset;
    }
  }
}

@media (max-width: 639px) {
  body {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
  }

  h1 {
    font-size: 30px;
    line-height: 45px;
  }
  h2 {
    font-size: 30px;
    line-height: 45px;
  }
  h3 {
    font-size: 30px;
    line-height: 45px;
  }
  h4 {
    font-size: 20px;
    line-height: 30px;
  }
  h5 {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
  }
  :root {
    --padding: 32px;
  }

  .contactImage {
    min-height: 288px;
  }

  .summaryFrame {
    grid-template-rows: 3fr 10fr;
  }

  .summaryFrame.rev {
    grid-template-rows: 3fr 10fr;
  }

  .carousel {
    display: block;
  }

  .carousel-block {
    flex: 0 0 100%;
    margin-bottom: 10px;
  }
}
