/* Common */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  --primary: #003278;
  --gray: #525252;
}

*,
*:before,
*:after {
  box-sizing: inherit;
  margin: 0;
}
html {
  box-sizing: border-box;
}

button {
  background: none;
  color: inherit;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
}

a {
  text-decoration: none;
}
a:visited {
  color: inherit;
}

img {
  width: 100%;
  height: auto;
}

body {
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
}

header {
  height: 1280px;
  width: 100%;
  position: relative;
}

.container {
  max-width: 1462px;
  margin: 0 auto;
}
.button-primary {
  border-radius: 10px;
  background: var(--primary);
  padding: 15px 25px;
  color: #fff;
  font-size: 18px;
  transition: 0.3s ease-in-out;
  border: 1px solid var(--primary);
  cursor: pointer;
}

@media screen and (max-width: 1440px) {
  .container {
    padding: 0 1rem;
  }
}

.flex {
  display: flex;
}
.w-full {
  width: 100%;
}
.items-center {
  align-items: center;
}
.flex-col {
  flex-direction: column;
}
.px {
  padding-left: 67px;
  padding-right: 67px;
}

.text-section h2 {
  font-size: clamp(30px, 2.5vw, 35px);
  line-height: normal;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 42px;
}
.text-center {
  text-align: center;
}
.w-75 {
  width: 75%;
}
.w-50 {
  width: 50%;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.text {
  font-size: 18px;
  line-height: normal;
}
.text-gray {
  color: var(--gray);
}
.self-end {
  align-self: flex-end;
}
.fit-content {
  width: fit-content;
}
.grid {
  display: grid;
}
.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-cols-5 {
  grid-template-columns: repeat(5, 1fr);
}
.grid-cols-12 {
  grid-template-columns: repeat(12, 1fr);
}
.col-span-2 {
  grid-column: span 2 / span 2;
}
.col-span-4 {
  grid-column: span 4 / span 4;
}
.col-span-6 {
  grid-column: span 6 / span 6;
}
.col-span-8 {
  grid-column: span 8 / span 8;
}
.row-span-3 {
  grid-row: span 3 / span 3;
}
.gap-8 {
  column-gap: 2rem;
}
.gap-x-5 {
  column-gap: 1.25rem;
}
.gap-x-4 {
  column-gap: 1rem;
}
.gap-y-4 {
  row-gap: 1rem;
}
.justify-center {
  justify-content: center;
}

.spacer {
  column-gap: 152px;
}
.mb-8 {
  margin-bottom: 1rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mr-4 {
  margin-right: 1rem;
}
.mt-8 {
  margin-top: 2rem;
}
.mb-0 {
  margin-bottom: 0;
}
input {
  border: 1px solid #d1d1d1;
  border-radius: 10px;
  padding: 23px 20px;
  color: var(--gray);
  font-size: 15px;
  line-height: normal;
  margin-bottom: 20px;
  width: 100%;
}
textarea {
  border: 1px solid #d1d1d1;
  border-radius: 10px;
  padding: 23px 20px;
  color: var(--gray);
  font-size: 15px;
  line-height: normal;
  margin-bottom: 20px;
  width: 100%;
  height: 100%;
}
select {
  border: 1px solid #d1d1d1;
  border-radius: 10px;
  padding: 23px 20px;
  color: var(--gray);
  font-size: 15px;
  line-height: normal;
  margin-bottom: 20px;
  position: relative;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.9999 15.95L5.3999 9.34999L7.0749 7.67499L11.9999 12.625L16.9249 7.69999L18.5999 9.37499L11.9999 15.95Z' fill='%23D1D1D1'/%3E%3C/svg%3E%0A")
    90% / 30px no-repeat;
  appearance: none;
}
select option {
  color: var(--gray);
}

::placeholder {
  color: var(--gray);
}
.text-white {
  color: #fff;
}

.hidden {
  display: none;
}
/*
  // Header section 
  // 
  // 
*/

.header--bg {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: -1;
}
header .nav-container {
  padding-top: 60px;
}
header nav {
  border-radius: 84px;
  background: #fff;
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 67px;
}
header nav .logo {
  width: 100%;
  max-width: 160px;
  height: 76px;
}

header nav .menu {
  display: flex;
  list-style-type: none;
}
header nav .menu a {
  text-decoration: none;
  color: var(--primary);
  font-size: 18px;
  font-weight: 600;
  transition: 0.3s ease-in-out;
  padding: 16px;
}
@media screen and (max-width: 960px) {
  .w-50 {
    width: 100%;
  }
  header nav .logo {
    max-width: 100px;
    height: auto;
  }
  header nav .menu,
  header nav .icons {
    display: none;
  }
  header .mobile-menu {
    background: #fff;
    list-style-type: none;
    color: var(--primary);
    width: 85%;
    height: 0%;
    text-align: center;
    transition: 0.3s ease-in-out;
    margin-top: -1rem;
    margin-left: auto;
    margin-right: auto;
    padding-top: 3rem;
    padding-bottom: 3rem;
    border-bottom-left-radius: 84px;
    border-bottom-right-radius: 84px;
  }
  header .mobile-menu ul {
    list-style-type: none;
    padding-left: 0;
  }
  header .mobile-menu ul li {
    margin-bottom: 1rem;
    font-size: 18px;
  }
}
@media screen and (min-width: 960.1px) {
  .open-menu {
    display: none;
  }
  .mobile-menu {
    display: none;
  }
}
header nav .menu a:hover {
  opacity: 0.8;
}
header nav .icons .register-icon {
  margin-right: 16px;
}

.hero {
  padding-top: 90px;
  color: #fff;
}

.hero .left {
  padding-right: 5rem;
  width: 60%;
}
.hero .right {
  width: 40%;
}
.hero .content {
  font-size: 18px;
  margin-top: 33px;
  margin-bottom: 45px;
  line-height: normal;
}
.hero h1 {
  font-size: clamp(40px, 2.5vw, 55px);
  line-height: normal;
  font-weight: 700;
  margin-top: 32px;
}

.hero a {
  background: transparent;
  border: 1px solid #fff;
  border-radius: 10px;
  padding: 15px 25px;
  font-size: 18px;
  color: #fff;
  transition: 0.3s ease-in-out;
}
.hero a:hover {
  background: #fff;
  color: var(--primary);
}

.hero a:nth-child(2n):hover {
  background: transparent;
  color: #fff;
}
.hero a:nth-child(2n) {
  background: #fff;
  color: var(--primary);
  margin-left: 1rem;
}

/*
  // Korzysci section 
  // 
  // 
*/

#korzysci {
  position: relative;
}

#korzysci .background {
  width: 100%;
  height: 195px;
  margin-top: -195px;
}

#korzysci .negative-mt {
  margin-top: -75px;
}

#korzysci .icons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 124px;
  margin-top: 90px;
}
#korzysci .icons .item img {
  width: 113px;
  height: 100px;
  margin-bottom: 0.75rem;
}
#korzysci .icons .item p {
  width: 75%;
  margin: 0 auto;
}
#korzysci .item {
  position: relative;
}

#korzysci .item:hover .icons-text {
  opacity: 1;
  z-index: 10;
}

#korzysci .icons-text {
  background: var(--primary);
  color: #fff;
  border-radius: 19px;
  padding: 25px;
  width: 320px;
  margin-top: 1rem;
  position: absolute;
  opacity: 0;
  z-index: -1;
  transition: 0.3s ease-in-out;
}

/*
  // wsparcie section 
  // 
  // 
*/

#wsparcie {
  margin-top: 90px;
}

#wsparcie h3 {
  margin-top: 30px;
  font-size: clamp(20px, 2vw, 25px);
  line-height: normal;
  color: var(--gray);
}

#wsparcie ol {
  list-style-type: none;
  color: white;
  margin-top: 32px;
  font-size: 18px;
  padding: 0;
}

#wsparcie ol li {
  counter-increment: step-counter;
  position: relative;
  display: flex;
  margin-bottom: 2rem;
}

#wsparcie ol li::before {
  content: counter(step-counter);
  background: linear-gradient(#e66465, #9198e5);
  border-radius: 9999px;
  padding: 10px 14.8px;
  align-self: baseline;
}
#wsparcie ol li span {
  color: var(--gray);
  padding-left: 35px;
  display: block;
}

/* o nas
//
//
 */
#o-nas {
  margin-top: 90px;
}
#o-nas h2 {
  font-size: clamp(25px, 2.5vw, 28px);
  margin-bottom: 42px;
}
#o-nas h3 {
  font-size: 25px;
}
#o-nas img {
  width: 90%;
  margin-left: auto;
}

/* kontakt section
//
//
*/

#kontakt {
  margin-top: 90px;
}
#kontakt .form {
  width: 80%;
}
#kontakt .submit {
  border-radius: 10px;
  background: var(--primary);
  padding: 15px 25px;
  margin-top: 32px;
  color: #fff;
  font-size: 18px;
  transition: 0.3s ease-in-out;
  border: 1px solid var(--primary);
  cursor: pointer;
}

#kontakt .submit:hover {
  background: transparent;
  color: var(--primary);
}
.form-group input {
  padding: 0;
  height: initial;
  width: initial;
  margin-bottom: 0;
  display: none;
  cursor: pointer;
}

.form-group label {
  position: relative;
  cursor: pointer;
  display: flex;
}
.form-group label span {
  font-size: 10px;
  color: var(--gray);
}
.form-group label:before {
  align-self: baseline;
  content: "";
  -webkit-appearance: none;
  background-color: transparent;
  border: 1px solid #d3d3d3;
  border-radius: 10px;
  padding: 10px;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  margin-right: 5px;
}

.form-group input:checked + label:after {
  content: "";
  display: block;
  position: absolute;
  top: 2px;
  left: 9px;
  width: 6px;
  height: 14px;
  border: solid #0079bf;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
#kontakt h3 {
  font-weight: 500;
}

/* Stopka section
//
//
*/
footer {
  width: 100%;
  min-height: 500px;
  position: relative;
  padding-top: 200px;
}

footer .footer_bg {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: -1;
}
footer .logo_footer {
  max-width: 200px;
}
footer .footer_menu {
  display: flex;
  flex-direction: column;
  color: #fff;
}
footer .footer_menu a {
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 700;
  transition: 0.3s ease-in-out;
}
footer .footer_menu a:hover {
  opacity: 0.8;
}

/* faq section
//
//
*/
.faq header,
.forms header {
  height: 400px;
}
.faq_section,
.forms_section {
  position: relative;
}

.faq_section .background,
.forms_section .background {
  width: 100%;
  height: 195px;
  margin-top: -120px;
}
.faq_section h1,
.forms_section h1 {
  color: var(--primary);
  font-weight: bold;
  margin-top: -80px;
  margin-bottom: 90px;
}

.accordion {
  background-color: #fff;
  color: var(--gray);
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 18px;
  transition: 0.4s;
  border-bottom: 0.5px solid #f1f1f1;
}

.panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
.panel p:first-of-type {
  margin: 1rem 0;
}

.accordion:after {
  content: "";
  background-image: url("Group\ 20.svg");
  background-size: contain;
  width: 20px;
  height: 20px;
  font-size: 13px;
  color: #777;
  float: right;
  margin-left: 5px;
}

.active:after {
  background-image: url("Group\ 20.svg");
  background-size: contain;
  transform: rotate(180deg);
  content: "";
}
/* mobile */
#korzysci .background.desktop {
  display: block;
}

@media (max-width: 960px) {
  .sm-mt-5 {
    margin-top: 20px;
  }
  .hero {
    flex-direction: column;
    padding: 0 1rem !important;
  }
  .hero .left,
  .hero .right {
    width: 100%;
    padding-right: 0;
  }

  .hero .right {
    width: 50%;
  }

  .px {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  header .nav-container {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .hero a {
    font-size: 16px;
  }
  .hero .right {
    margin-top: 2rem;
  }
  header {
    min-height: 1300px;
  }
  #korzysci .icons,
  .grid-cols-2:not(.grid-always),
  .grid-cols-5 {
    grid-template-columns: none;
    row-gap: 2rem;
  }
  .col-span-2,
  .col-span-4,
  .col-span-6,
  .col-span-8 {
    grid-column: span 1 / span 1;
  }
  .row-span-3 {
    grid-row: span 1 / span 1;
  }
  #korzysci .background.desktop {
    display: none;
  }

  #korzysci .icons-text {
    width: 100%;
  }
  #kontakt .form {
    width: 100%;
  }

  .faq header,
  .forms header {
    min-height: 300px;
  }
  .faq_section .background.desktop,
  .forms_section .background.desktop {
    display: none;
  }
  .faq_section .accordion {
    display: flex;
    align-items: center;
  }
  .faq_section .accordion span {
    margin-right: 1.5rem;
    width: 90%;
  }
  .faq_section .accordion::after {
    background-repeat: no-repeat;
  }
  .footer_bg.desktop {
    display: none;
  }
  .grid-cols-3,
  .grid-cols-12 {
    grid-template-columns: none;
  }
}
@media screen and (min-width: 960.1px) {
  #korzysci .item:last-child:hover .icons-text {
    left: -50%;
  }
  #korzysci .item:hover .icons-text {
    width: 320px;
  }
  #korzysci .background.mobile {
    display: none;
  }
  .footer_bg.mobile {
    display: none;
  }
  .faq_section .background.mobile,
  .forms_section .background.mobile {
    display: none;
  }
}
@media screen and (min-width: 960.1px) {
  #korzysci .icons {
    column-gap: 40px;
  }
}
@media (max-width: 640px) {
  .hero .right {
    width: 100%;
  }
}

@media screen and (min-width: 1300px) {
  #korzysci .icons {
    column-gap: 123px;
  }
}

/* Forms */
.forms .submit {
  border-radius: 10px;
  background: var(--primary);
  padding: 15px 25px;
  margin-top: 32px;
  color: #fff;
  font-size: 18px;
  transition: 0.3s ease-in-out;
  border: 1px solid var(--primary);
  cursor: pointer;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.forms hr {
  margin-top: 2rem;
  margin-bottom: 2rem;
}