:root{
  --primary-color: #5F30E2;
  --secondary-color: #E25F30;
  --white: #FFF;
  --gray: #EDEDED;
  --gray-border: #ECECEC;
  --text-title: #222;
  --text: #4A4A4A;
  --form-text: #979797;
  --subtitle-text: #49494D;
  --secondary-text-title: #242424;
}

body{
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

.text-gray{
  color: var(--form-text) !important;
}

.landing-page .landing-header{
  height: 72px;
  margin-bottom: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 500;
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--white);
}

.landing-page #sections-list a{
  color: var(--text-title);
  text-decoration: none;
}

.landing-page #sections-list a:not(:last-child){
  margin-right: 64px;
}

.landing-page h1 {
  font-weight: 700;
}

.landing-page .secondary-text{
  font-size: 24px;
  line-height: 40px;
  color: var(--white);
}

.landing-page .first-section h1 {
  font-size: 64px;
  line-height: 80px;
  letter-spacing: 1px;
  color: var(--text-title);
}

.landing-page .first-section {
  margin-bottom: 72px;
}

.landing-page .first-section img{
  width: auto;
  position: relative;
  left: -98px;
}

.landing-page .first-section-img {
  overflow: hidden;
  position: relative;
}

.landing-page .first-section .first-section-text{
  font-size: 24px;
  line-height: 40px;
  color: var(--text-title);
  margin-top: 40px;
  margin-bottom: 48px;
}

.landing-page .primary-button, .landing-page .secondary-button, .landing-page .login-button{
  border-radius: 8px;
  height: 48px;
  padding: 10px 24px;
  letter-spacing: 1px;
  line-height: 24px;
  font-size: 18px;
  font-weight: 700;
}

.landing-page .primary-button, .landing-page .primary-button:hover, .landing-page .login-button, .landing-page .login-button:hover{
  background: var(--primary-color);
  color: var(--white);
}

.landing-page .secondary-button, .landing-page .secondary-button:hover{
  background: var(--white);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.landing-page .second-section{
  background-color: var(--primary-color);
  background-image: url("../img/common/figure.svg");
  color: var(--white);
}

.landing-page .second-section h1{
  font-size: 56px;
  line-height: 64px;
}

.landing-page .second-section .img-second-section{
  padding-top: 48px;
  padding-bottom: 54px;
  padding-right: 95px;
}

.landing-page .second-section .second-section-small-container{
  position: relative;
  z-index: 2;
}

.landing-page .second-section .second-section-small-img{
  position: absolute;
  z-index: -1;
}

.landing-page .second-section .second-section-small-count{
  font-weight: 700;
  font-size: 55px;
  line-height: 33px;
  color: var(--white)
}

.landing-page .second-section .second-section-small-title{
  font-size: 24px;
  line-height: 40px;
  color: var(--white)
}

.landing-page .third-section h1{
  margin-top: 80px;
  margin-bottom: 48px;
}

.landing-page .third-section .news-container .card{
  width: 272px;
  height: 354px;
}

.landing-page .third-section .news-container .card-date{
  display: flex;
  color: var(--form-text);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  padding-bottom: 12px;
}

.landing-page .third-section .news-container .card{
  border-color: var(--gray);
}

.landing-page .third-section .news-container .card-date span{
  padding-left: 4px;
}

.landing-page .third-section .news-container .card-title{
  font-size: 16px;
  line-height: 24px;
  color: var(--text);
}

.landing-page .third-section .news-container .card-body{
  padding: 12px;
}

.landing-page .fourth-section{
  background-color: var(--secondary-color);
  background-image: url("../img/common/figure.svg");
}

.landing-page .fourth-section h1{
  color: var(--white);
  margin-top: 80px;
  margin-bottom: 48px;
}

.landing-page .fourth-section h3{
  color: var(--text-title);
  font-size: 32px;
  line-height: 40px;
  margin-bottom: 40px;
}

.landing-page .fourth-card{
  background-color: var(--white);
  width: 400px;
  border-radius: 16px;
  padding: 48px;
  height: fit-content;
}

.landing-page .fourth-card h3 {
  width: fit-content;
  height: fit-content;
  margin: 0;
  float: left
}

.landing-page .fourth-card a {
  float: right;
}

.landing-page .fifth-section h1{
  margin-top: 80px;
  margin-bottom: 32px;
}

.landing-page .fifth-section h4{
  font-size: 24px;
  line-height: 32px;
  color: var(--subtitle-text);
  margin-bottom: 48px;
}

.accordion-button{
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
}

.accordion-button:not(.collapsed){
  color: var(--primary-color) !important;
  background-color: var(--white) !important;
  border-bottom: 1px solid var(--gray-border);
}

.accordion-button, .accordion-header, .accordion-button{
  border-radius: inherit !important;
}

.accordion-item{
  border-radius: 12px !important;
  margin-bottom: 16px;
  border: 1px solid var(--gray-border) !important;
}

.landing-page .sixth-section {
  background-image: url("../img/sixth-section/bg-image-1.png");
  background-size: 100% 100%;
}

.landing-page .seventh-section{
  /*background: linear-gradient(to right, var(--primary-color) 50%, var(--white) 50%);*/
}

.landing-page .seventh-section .left-container{
  position: relative;
  margin-top: 88px;
  margin-bottom: 120px;
}

/*.landing-page .seventh-section .square{*/
/*  position: absolute;*/
/*  right: -13px;*/
/*  transform: rotate(45deg);*/
/*  background: var(--primary-color);*/
/*  width: 40px;*/
/*  height: 40px;*/
/*}*/

.landing-page .seventh-section .left-container h1{
  margin-bottom: 68px;
}

.landing-page .seventh-section .left-container .subtitle{
  font-size: 24px;
  line-height: 40px;
  color: var(--text);
}

.landing-page .seventh-section .right-container .input-group{
  display: flex;
  align-items: center;
  border: 1px solid var(--gray);
  border-radius: 12px;
}

.landing-page .seventh-section .right-container .fw-light{
  color: var(--form-text);
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  padding-bottom: 8px;
}

.landing-page .seventh-section .form-control{
  border: none;
  border-radius: 12px;
}

.landing-page .seventh-section .right-container .input-group-append{
  /*padding: 11px 12px;*/
  margin-left: 12px;
  margin-right: 4px;
  height: 16px;
  width: 16px;
}

.landing-page .seventh-section .right-container .input-group-append img{
  position: relative;
  bottom: 5px;
}

.footer-social{
  width: 40px;
  height: 40px;
  border-radius: 50px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.useful-section .sidebar{
  box-shadow: 0px 10px 20px 0px #29292A12;
  border: 1px solid var(--gray);
  border-radius: 8px;
  padding: 24px 72px 24px 32px;
  height: 180px;
}

.useful-section .sidebar .nav-link{
  font-size: 18px;
  line-height: 28px;
  color: var(--text-title);
  padding-left: 24px;
}

.useful-section .sidebar .nav-item{
  border-left: 1px solid var(--gray);
  z-index: 2;
}

.useful-section .sidebar .active{
  border-left: 1px solid var(--secondary-color);
  z-index: 5;
}

.useful-section .sidebar .active a, #sections-list .active{
  color: var(--secondary-color) !important;
}

.useful-section .accordion-button:hover{
  cursor: pointer;
  transition: 200ms;
  color: var(--secondary-color) !important;
}

.useful-section{
  flex: 1;
}

.useful-section .accordion-button:after {
  transform: rotate(-90deg);
}

.useful-section .tariff-item{
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.useful-section .tariff-title{
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 32px;
  color: var(--text-title)
}

.useful-section .tariff-subtitle{
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  color: var(--form-text);
}

.landing-page .second-section .second-section-text h1 {
  margin-bottom: 48px;
}

.landing-page .second-section .second-section-metrics {
  padding-bottom: 80px;
}

.landing-page .sixth-section .sixth-text h1 {
  margin-top: 120px;
  margin-bottom: 40px;
  color: #fff
}

.footer-info-grid .footer-info-company .footer-info-company-text {
  margin-left: 40px;
}

.footer-info-grid .footer-company-address {
  text-align: center;
  width: fit-content;
}

.loginArrow {
  content: url("../img/header/enter-icon.svg");
  margin-left: 6px;
}

#buttons-large-screen {
  display: block;
}

#buttons-small-screen {
  display: none;
}

.language-select {
  margin-right: 24px;
}

@media screen and (max-width: 576px) {
  .landing-page {
    text-align: center;
  }

  .landing-page .first-section img{
    width: 100%;
    position: static;
    left: auto;
  }

  .landing-page .first-section-img {
    overflow: visible;
    position: static;
  }

  .landing-page .second-section .img-second-section{
    padding-right: 0;
    width: 100%;
  }

  .landing-page .second-section .second-section-text h1 {
    text-align: center;
    margin-top: 48px;
  }

  .landing-page .second-section .second-section-text {
    text-align: left;
  }

  .landing-page .second-section .second-section-metrics {
    text-align: left;
  }

  .landing-page .second-section .second-section-metrics .row .col {
    padding: 24px;
  }

  .landing-page .third-section .news-container .card{
    width: 160px;
    height: fit-content;
    text-align: left;
    margin: 24px;
  }

  .fifth-section .container .accordion {
    text-align: left;
  }

  .landing-page .sixth-section {
    background-image: none;
    background-color: #5F30E2;
  }

  .landing-page .sixth-section .sixth-img {
    background-image: url("../img/sixth-section/bg-image-sm.png");
    background-size: 100% 100%;
    height: 350px;
  }

  .landing-page .sixth-section .sixth-text h1 {
    margin-top: 0;
  }

  .landing-page .sixth-section .sixth-text .app-links {
    align-items: center;
    justify-content: center;
  }

  .landing-page .seventh-section .right-container {
    text-align: left;
  }

  .landing-page .seventh-section .left-container{
    margin-bottom: 0;
  }

  .footer-info-grid .footer-info-company .footer-info-company-text {
    margin-left: 0;
    text-align: right;
  }

  .footer-info-grid .footer-info-company {
    justify-content: space-between;
    margin-bottom: 24px;
  }

  .footer-info-grid .footer-company-address {
    text-align: left;
    width: fit-content;
  }

  #main-logo {
    margin-left: 12px;
  }

  .landing-page .landing-header{
    all: unset;
    position: sticky;
    z-index: 500;
    top: 0;
    background: var(--white);
  }

  .loginArrow {
    margin-left: 0;
  }

  .navbar-additional-buttons {
    margin-left: auto;
  }

  .navbar-header {
    width: 100%;
  }

  #buttons-large-screen {
    display: none;
  }

  #buttons-small-screen {
    display: block;
  }

  .landing-page .login-button{
    border-radius: 24px;
    height: 48px;
    width: 48px;
    padding: 0;
  }

  .useful-section, .agreement-section {
    text-align: left;
  }

  .contracts-tabs {
    width: 100%;
  }

  .landing-header {
    width: 100%;
  }

  .landing-page .first-section h1 {
    font-size: 48px;
  }

  .landing-page .second-section h1{
    font-size: 48px;
    word-break: break-all;
  }

  .landing-page .second-section .second-section-small-title{
    font-size: 20px;
  }

  .footer-copyright {
    text-align: right;
  }

  .language-select {
    margin-right: 0;
  }

  .header-toggler, .header-toggler:focus {
    all: unset;
  }
}

@media screen and (min-width: 768px) and (max-width: 991.98px) {
  .landing-page .first-section h1 {
    font-size: 32px;
    line-height: 40px;
  }

  .landing-page .first-section {
    margin-bottom: 36px;
  }

  .landing-page .first-section img{
    width: 150%;
  }

  .landing-page .first-section-img {
    padding-right: 75px;
  }

  .landing-page .first-section .first-section-text{
    font-size: 12px;
    line-height: 20px;
    margin-top: 20px;
    margin-bottom: 24px;
  }

  .landing-page .second-section h1{
    font-size: 28px;
    line-height: 32px;
  }

  .landing-page .second-section .img-second-section{
    padding-top: 24px;
    padding-bottom: 27px;
    padding-right: 190px;
  }

  .landing-page .second-section .second-section-img img{
    width: 125%;
  }

  .landing-page .second-section .second-section-small-count{
    font-size: 27px;
  }

  .landing-page .second-section .second-section-small-title{
    font-size: 12px;
    line-height: 20px;
  }

  .landing-page .secondary-text{
    font-size: 12px;
    line-height: 20px;
  }

  .second-section-text img {
    width: 15%;
  }

  .landing-page .second-section .second-section-metrics {
    padding-top: 20px;
    padding-bottom: 40px;
  }

  .landing-page .third-section h1{
    margin-top: 40px;
    margin-bottom: 24px;
  }

  .landing-page .third-section .news-container .card{
    width: 240px;
    height: fit-content;
    text-align: left;
    margin: 24px;
  }

  .landing-page .fourth-section h1{
    margin-top: 40px;
    margin-bottom: 24px;
  }

  .landing-page .fourth-section h3{
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 20px;
  }

  .landing-page .fourth-card{
    width: fit-content;
    border-radius: 8px;
    padding: 24px;
  }

  .landing-page .sixth-section {
    background-image: url("../img/sixth-section/bg-image-1.png");
    background-size: 200% 100%;
    background-position: 35% 10%;
  }

  .landing-page .sixth-section .sixth-text h1 {
    margin-top: 60px;
    margin-bottom: 20px;
  }

  .landing-page .seventh-section .left-container{
    margin-top: 44px;
    margin-bottom: 60px;
  }

  .landing-page .seventh-section .left-container h1{
    margin-bottom: 34px;
  }

  .landing-page .seventh-section .left-container .subtitle{
    font-size: 12px;
    line-height: 20px;
  }

  .landing-page .seventh-section .right-container {
    text-align: left;
  }

  .landing-page .seventh-section .left-container{
    text-align: center;
    margin-bottom: 0;
  }

  .footer-info-grid{
    font-size: 12px;
  }

  .footer-info-grid .footer-info-company .footer-info-company-text {
    margin-left: 20px;
  }

  .landing-header {
    font-size: 12px;
    width: 100%;
  }

  .language-select {
    margin-right: 12px;
  }

  #buttons-large-screen .primary-button {
    width: 100px;
    padding: 10px 12px;
  }

  #buttons-large-screen {
    margin-left: 24px;
  }
}