/*===== GOOGLE FONTS =====*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&display=swap');

/*===== VARIABLES CSS =====*/
:root {
  --header-height: 3rem;

  /*===== Colors =====*/
  --first-color: #2f5496;
  --first-color-light: #C4C7F5;
  --dark-color: #0E1026;
  --white-color: #FBFBFB;

  /*===== Font and typography =====*/
  --body-font: 'Open Sans', sans-serif;
  --nav-name-font-size: 1.5rem;
  --normal-font-size: .938rem;

  /*===== z index =====*/
  --z-fixed: 100;
}

@media screen and (min-width: 768px) {
  :root {
    --nav-name-font-size: 1rem;
    --normal-font-size: 1rem;
  }
}

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

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  font-weight: 600;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
}

.bd-grid {
  max-width: 1224px;
  display: grid;
  grid-template-columns: 100%;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

/*===== HEADER =====*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  padding: 0 1rem;
  background-color: #FFF;
  z-index: var(--z-fixed);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header__logo {
  color: var(--dark-color);
}

.header__toggle {
  font-size: 1.7rem;
  cursor: pointer;
}

.svg-icon {
  width: .8em;
  height: .8em;
}

.svg-icon path,
.svg-icon polygon,
.svg-icon rect {
  fill: #000;
}

.svg-icon circle {
  stroke: #000;
  stroke-width: 1;
}

.header {
  transition: all 0.5s;
}

.header.scrollUp {
  transform: translateY(-80px);
}



/*===== NAV =====*/
@media screen and (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    left: -100%;
    background-color: var(--first-color);
    width: 80%;
    height: 100vh;
    padding: 2rem 0;
    z-index: var(--z-fixed);
    transition: .5s;
    overflow-y: auto;
  }
}

.nav__content {
  display: flex;
  flex-direction: column;
}

.nav__perfil {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 3rem;
}

.nav__img {
  display: flex;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
}

.nav__img img {
  width: 70px;
}

.nav__name {
  display: block;
  font-size: var(--nav-name-font-size);
  color: var(--white-color);
}

.nav__item {
  margin-bottom: 2rem;
}

.nav__link {
  color: var(--first-color-light);
}

.nav__link:hover {
  color: var(--white-color);
}

/*Show menu*/
.show {
  left: 0;
}

/*Active link*/
.active {
  color: var(--white-color);
}

/*=== Dropdown ===*/
.dropdown__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dropdown__icon {
  font-size: 1.3rem;
  transition: .5s;
}

.dropdown__menu {
  margin: 1rem 0 0 1rem;
  display: none;
  background: #fff;
  padding: 5px 20px;
}

.dropdown__item {
  margin: 1rem 0;
}

.dropdown__item .nav__link {
  display: flex;
  align-items: center;
}

.dropdown__item .nav__link img {
  margin-right: 5px;
}

.dropdown:hover > .dropdown__menu {
  display: block;
}

.dropdown:hover .dropdown__icon {
  transform: rotate(180deg);
}

/* ===== MEDIA QUERIES=====*/
@media screen and (min-width: 576px) {
  .nav {
    width: 288px;
  }
}

@media screen and (min-width: 768px) {
  body {
    margin: 0;
  }
  .header {
    height: calc(var(--header-height) + 2rem);
  }
  .header__logo, .header__toggle {
    display: none;
  }
  .nav {
    width: 100%;
  }
  .nav__content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .nav__perfil {
    flex-direction: row;
    text-align: initial;
    margin-bottom: 0;
  }
  .nav__img {
    width: 30px;
    height: 30px;
    margin-right: .5rem;
    margin-bottom: 0;
  }
  .nav__img img {
    width: 36px;
  }
  .nav__name {
    color: var(--dark-color);
  }
  .nav__list {
    display: flex;
    align-items: center;
  }
  .nav__item {
    margin: 0 1.5rem;
    padding: 1.4rem 0;
  }
  .nav__link {
    color: var(--dark-color);
    transition: 0.45s;
  }
  .nav__link:hover {
    color: var(--first-color);
    text-decoration: none !important;
  }

  .dropdown__menu .nav__link:hover {
    transform: scale(1.08);
  }

  /*Active link new color*/
  .active {
    color: var(--first-color);
  }
  .dropdown {
    position: relative;
  }
  .dropdown__menu {
    position: fixed;
    margin: 0;
    top: calc(var(--header-height) + 1rem);
    padding: .5rem 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: .5rem;
  }
  .dropdown__item {
    margin: .5rem 0;
  }
}

@media screen and (min-width: 1224px) {
  .bd-grid {
    margin-left: auto;
    margin-right: auto;
  }
}



/*===== Popular  =====*/

.popular {
  text-align: center;
}

.popular__grid {
  width: 85%;
  margin: 0 auto;
  padding-top: 20px;
  display: grid;
  grid-template-columns: repeat(5,1fr);
}

.popular__grid-item h3 {
  font-size: 15px;
}

.popular__grid-item {
  transition: 0.35s;
  transition-timing-function: ease-out;
}

.popular__grid-item:hover {
  transform: scale(1.1);
  /* box-shadow: 0 3px 3px rgba(0,0,0, 0.1); */
  cursor: default;
}

/*=============  Info zone  ==============*/

.infozone {
  margin-top: 50px;
  text-align: center;
}

.infozone__mobile {
  display: none !important;
}
.infozone__mobile p {
  padding-bottom: 30px;
}

.infozone__grid {
  margin-top: 60px;
}

.infozone__grid-2 {
  margin: 0 auto;
  width: 98%;
  padding: 100px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.infozone__grid-2 div {
  padding: 10px;
  flex-basis: 22%;
  margin: 0 20px;
}

.infozone__grid-2 div p {
  font-weight: 400;
}



.infozone_grid-item {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  align-items: center;
}

.infozone_grid-item h3 {
  font-size: 26px;
}

.infozone_grid-item img {
  width: 100%;
}

.infozone_grid-item div p {
  font-weight: 400;
  width: 80%;
  margin:0 auto;
  line-height: 28px;
}


.faq-header{
  font-size: 42px;
  border-bottom: 1px dotted #ccc;
  padding: 24px;
}

.faq-content {
  margin: 0 auto;
}

.faq-question {
  padding: 20px 0;
  border-bottom: 1px dotted #ccc;
  font-weight: 300;
}

.panel-title {
  font-size: 20px;
  width: 100%;
  position: relative;
  margin: 0;
  padding: 10px 10px 0 48px;
  display: block;
  cursor: pointer;
}

.panel-content {
  font-size: 16px;
  font-weight: 300;
  padding: 0 14px;
  margin: 0 40px;
  height: 0;
  overflow: hidden;
  z-index: -1;
  position: relative;
  opacity: 0;
  -webkit-transition: .6s ease;
  -moz-transition: .6s ease;
  -o-transition: .6s ease;
  transition: .6s ease;
}

.panel:checked ~ .panel-content{
  height: auto;
  opacity: 1;
  padding: 14px;
}

.plus {
  position: absolute;
  margin-left: 20px;
  margin-top: 4px;
  z-index: 5;
  font-size: 42px;
  line-height: 100%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: .25s ease;
  -moz-transition: .25s ease;
  -o-transition: .25s ease;
  transition: .25s ease;
}

.panel:checked ~ .plus {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.panel {
  display: none;
}


/*============= Pricing   ==============*/

section.pricing {
  margin-top: 50px;
}

.pricing .background {
  padding: 0 25px 25px;
  position: relative;
  width: 100%;
}



.pricing .background h2:first-child {
  text-align: center;
  padding-bottom: 30px;
  color: #fff;
  z-index: 9999;

}

.pricing .background::after {
  content: '';
  background: rgba(47, 84, 150,0.9);

  height: 350px;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}



@media (min-width: 900px) {
  .pricing .background {
    padding: 0 0 25px;
  }
}

.pricing .container {
  margin: 0 auto;
  padding: 50px 0 0;
  max-width: 960px;
  width: 100%;
}

.pricing .panel {
  background-color: #fff;
  border-radius: 10px;
  padding: 15px 25px;
  position: relative;
  width: 100%;
  z-index: 10;
}

.pricing .pricing-table {
  box-shadow: 0 10px 13px -6px rgba(0, 0, 0, 0.08), 0 20px 31px 3px rgba(0, 0, 0, 0.09), 0 8px 20px 7px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
}

@media (min-width: 900px) {
  .pricing .pricing-table {
    flex-direction: row;
  }
}

.pricing .pricing-table * {
  text-align: center;
  text-transform: uppercase;
}

.pricing .pricing-plan {
  border-bottom: 1px solid #e1f1ff;
  padding: 25px;
}

.pricing .pricing-plan:last-child {
  border-bottom: none;
}

@media (min-width: 900px) {
  .pricing .pricing-plan {
    border-bottom: none;
    border-right: 1px solid #e1f1ff;
    flex-basis: 100%;
    padding: 25px 50px;
  }

  .pricing .pricing-plan:last-child {
    border-right: none;
  }
}

.pricing .pricing-img {
  margin-bottom: 25px;
  max-width: 100%;
}

.pricing .pricing-header {
  color: #888;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 21px;
}

.pricing .pricing-features {
  color: #016FF9;
  font-weight: 600;
  letter-spacing: 1px;
  margin: 50px 0 25px;
}

.pricing .pricing-features-item {
  border-top: 1px solid #e1f1ff;
  font-size: 12px;
  line-height: 1.5;
  padding: 15px 0;
}

.pricing .pricing-features-item:last-child {
  border-bottom: 1px solid #e1f1ff;
}

.pricing .pricing-price {
  color: #016FF9;
  display: block;
  font-size: 32px;
  font-weight: 700;
}

.pricing .pricing-button {
  border: 1px solid #9dd1ff;
  border-radius: 10px;
  color: #348EFE;
  display: inline-block;
  margin: 25px 0;
  padding: 15px 35px;
  text-decoration: none;
  transition: all 150ms ease-in-out;
}

.pricing .pricing-button:hover,
.pricing .pricing-button:focus {
  background-color: #e1f1ff;
}

.pricing .pricing-button.is-featured {
  background-color: #48aaff;
  color: #fff;
}

.pricing .pricing-button.is-featured:hover,
.pricing .pricing-button.is-featured:active {
  background-color: #269aff;
}

/*============= Certs  ==============*/

.cert {
  margin-top: 100px;
  text-align: center;
}

.cert__grid {
  width: 85%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(1,1fr);
  align-items: center;
}

.cert__grid p {
  text-align: left;
  margin-top: 30px;
  line-height: 25px;
  font-weight: 300;
  font-size: 15px;
}

.cert__grid p a {
  text-decoration: underline;
  color: #000;
}

/*============= Certyfikaty  ==============*/

.certyfikaty {
  width: 90%;
  margin: 130px auto 0 auto;
  text-align: center;
  padding-bottom: 70px;
}



/*=============  Footer  ==============*/

footer {
  padding: 15px 0;
  background: var(--dark-color);
  color: var(--white-color);
  margin-top: 100px;
  font-size: 12px;
}

footer h3 {
  font-size: 20px;
}

footer a {
  color: var(--white-color);
  text-decoration: underline;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  align-items: center;
  width: 80%;
  margin: 0 auto;
}

.footer__grid .footer__image img {
  width: 250px;
}

.footer__text {
  margin: 0 auto;
}

/*=============  Offer Info  ==============*/

.offerInfo {
  width: 85%;
  margin: 0 auto;
  font-size: 14px;
  line-height: 24px;
}

.offerInfo h2 {
  text-align: center;
  color: var(--first-color);
  font-size: 44px;
}

.offerInfo h3 {
  font-size: 20px;
  color: var(--first-color);
}

.offerInfo__gridList {
  display: flex;
  align-items: center;
}

.offerInfo__gridList div {
  padding: 0 4px;
}

.offerInfo__information {
  font-weight: 300;
}

.custom__list1 .offerInfo__gridList {
  display: flex;
  align-items: flex-start;
  padding-top: 20px;
}

.custom__list1 .offerInfo__gridList p {
  margin: 0;
}


/*============= Grid karaluchy  ==============*/

.grid__image {
  display: flex;
}

.grid__image .first {
  flex-basis: 70%;
}

.grid__image .second {
  flex-basis: 30%;
}


/*============= Form | Kontakt ==============*/

.form__box {
  width: 80%;
  margin: 50px auto 0 auto;
  padding: 15px;
  background: #f7f8fa;
  box-shadow: 0 2px 6px rgba(65, 11, 16, .15);
  border-radius: 10px;
  display: grid;
  grid-template-columns: 60% 40%;
}

.form__box p {
  font-weight: normal;
}

.form__box-right .box {
  width: 85%;
  height: 505px;
  margin: 0 auto;
  background: rgba(74, 137, 246, 0.95);
  border-radius: 10px;
  color: #fff;
  text-align: center;
}

.form__box-right .box > h3 {
  padding-top: 50px;
}


.form__box-left p {
  width: 700px;
}

.form__box-right .box__content {
  margin-top: 50px;
  line-height: 5px;
}

.form__animation {
  display: none;
}





/* == Input styles == */
.form__div{
  position: relative;
  height: 50px;
  margin-bottom: 1.5rem;
}
.form__input{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: 16px;
  border: 1px solid var(--first-color);
  border-radius: .2rem;
  outline: none;
  padding-top: 10px;
  padding-left: 10px;
  background: none;
  z-index: 1;
}
.form__label{
  position: absolute;
  left: 1rem;
  top: 1rem;
  padding: 0 .25rem;
  background-color: #f8f9fb;

  font-size: 15px;
  transition: .3s;
}

.form__div.wiadomosc {
  min-height: 100px;
}







/*Input focus move up label*/
.form__input:focus + .form__label{
  top: -.5rem;
  left: .8rem;
  color: var(--first-color);
  font-size: 15px;
  font-weight: 500;
  z-index: 10;
}

/*Input focus sticky top label*/
.form__input:not(:placeholder-shown).form__input:not(:focus)+ .form__label{
  top: -.5rem;
  left: .8rem;
  font-size: 15px;
  font-weight: 500;
  z-index: 10;
}

/*Input focus*/
.form__input:focus{
  border: 1.5px solid var(--first-color);
}


/* START send btn */

.sendBTN {
  text-align: center;
  margin-top: 5px;
}

button {
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  background: transparent;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
}
button.learn-more {
  width: 12rem;
  height: auto;
}
button.learn-more .circle {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: relative;
  display: block;
  margin: 0;
  width: 3rem;
  height: 3rem;
  background: var(--first-color);
  border-radius: 1.625rem;
}
button.learn-more .circle .icon {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  background: #fff;
}
button.learn-more .circle .icon.arrow {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  left: 0.625rem;
  width: 1.125rem;
  height: 0.125rem;
  background: none;
}
button.learn-more .circle .icon.arrow::before {
  position: absolute;
  content: "";
  top: -0.25rem;
  right: 0.0625rem;
  width: 0.625rem;
  height: 0.625rem;
  border-top: 0.125rem solid #fff;
  border-right: 0.125rem solid #fff;
  transform: rotate(45deg);
}
button.learn-more .button-text {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 0;
  margin: 0 0 0 1.85rem;
  color: #282936;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
}
button:hover .circle {
  width: 100%;
}
button:hover .circle .icon.arrow {
  background: #fff;
  transform: translate(1rem, 0);
}
button:hover .button-text {
  color: #fff;
}






/*============= Media Queries  ==============*/

@media screen and (max-width: 1431px) {
  .form__box-left p {
    width: 550px;
  }

  .form__box-right .box {
    height: 525px;
  }
}

@media screen and (max-width: 1299px) {
  .popular__grid{
    width: 98%;
  }
}


@media screen and (max-width: 1141px) {
  .form__box-left p {
    width: 450px;
  }

  .form__box-right .box {
    height: 550px;
  }
  .nav__imgs {
    display: none;
  }

  .nav__item {
    margin: 0 0.5rem;
  }
}

@media screen and (max-width: 1101px) {
  .infozone_grid-item {
    display: block;
  }
  .infozone__desktop {
    display: none !important;
  }

  .infozone__mobile {
    display: block !important;
  }

  .faq-content {
    padding-bottom: 40px;
  }

  .infozone__grid-2 {
    justify-content: space-around;
  }

  .infozone__grid-2 div {
    flex-basis: 40%;
    margin: 20px;
  }

}

@media screen and (max-width: 1001px) {
  .popular__grid{
    grid-template-columns: repeat(3,1fr);
    grid-gap: 30px 0;
  }

  .cert__grid, .footer__grid {
    display: block;
    text-align: center;
  }

  .footer__image {
    display: none;
  }

  .grid__image {
    display: block;
  }

  .grid__image .second {
    display: none;
  }

  .certyfikaty img {
    width: 90% !important;
  }

}

@media screen and (max-width: 1001px) {
  .popular__grid{
    grid-template-columns: repeat(2,1fr);
  }
}
@media screen and (max-width: 871px) {

  .nav__item {
    margin: 30px .5rem;
  }

  .header__toggle {
    font-size: 2rem;
  }

  .header__logo {
    font-size: 17px;
  }

  :root {
    --header-height: 4rem;
  }

  .form__box {
    display: block;
    width: 95%;
    margin: 5px auto;
  }

  .form__box-left p {
    width: 95%;
  }

  .form__box-right .box {
    margin-top: 100px;
    min-height: 200px;
    height: 100%;
    width: 99%;
  }

  .form__box-right .box__content p:last-child {
    padding-bottom: 50px;
  }

  .infozone__grid {
    margin-top: 1px;
  }

}

@media screen and (max-width: 761px) {

  .nav__name, .nav__name span {
    font-size: 16px;
    color: #fff !important;
  }

  .nav__link:hover {
    color: var(--dark-color);
  }

  .pricing .background {
    background: rgba(47, 84, 150, 1);
  }

  .cert__grid {
    width: 90%;
  }

  .cert__grid p {
    text-align: justify;
  }

  footer {
    font-size: 16px;
  }

  .cert h2, .pricing .container h2, .popular h1, .footer__text h3, .offerInfo h2 {
    font-size: 27px;
  }

  .pricing-header {
    font-size: 17px !important;
  }



}

@media screen and (max-width: 561px) {

  .infozone__grid-2 div {
    flex-basis: 90%;
    margin: 20px;
  }
}


@media screen and (max-width: 441px) {
  .popular__grid{
    grid-template-columns: repeat(1,1fr);
  }

  .infozone_grid-item div p {
    width: 95%;
  }

  .cert__grid div:first-child img {
    width: 98%;
  }

}