@import url(general-styles/_heder.css);
@import url(general-styles/_footer.css);
@import url(general-styles/_popup.css);
@import url(general-styles/_all-page.css);

/*Main block start*/

.main-block {
  padding: 120px 0;
  margin-bottom: 150px;
}

.main-content {
  margin: 0 20px;
  display: flex;
  gap: 40px;
}

.main-title h1 {
  margin-bottom: 16px;
}

.main-title p {
  width: 560px;
}

/*Main block end*/

/*Run stroke start*/

.marquee {
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  background-color: #385de2;
  padding: 40px 20px;
  margin-bottom: 150px;
  gap: 420px;
}

.marquee__inner {
  display: flex;
  flex-shrink: 0;
}

.marquee__inner img {
  margin-right: 40px;
}

/*Run stroke end*/

/*Second block start*/

.second-block {
  margin-bottom: 200px;
}

.second-content {
  margin: 0 20px;
}

.second-content h2 {
  margin-bottom: 40px;
}

.second-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
}

.info-card {
  border: 2px solid #0635db;
  border-radius: 24px;
  padding: 24px;
  box-sizing: border-box;
  width: 360px;
  height: 205px;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  text-align: center;
}

.info-card h5 {
  color: #0635db;
  font-size: 40px;
}

.element-to-animate {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.element-to-animate.animated {
  opacity: 1;
  transform: translateY(0);
}

/*Second block end*/

/*Third block start*/

.third-block {
  margin-bottom: 200px;
}

.third-content {
  margin: 0 20px;
  position: relative;
}

.third-content h3 {
  margin-bottom: 40px;
}

.slider {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
}

.slide {
  flex: 0 0 auto;
  height: 466px;
  overflow: hidden;
}

.slide img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: cover;
}

.slider-btn {
  position: absolute;
  bottom: -50px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  z-index: 2;
  background: transparent;
}

.slider-btn.prev {
  right: 60px;
  color: #000;
  transition: all 0.5s;
}

.prev:hover {
  color: #0635db;
}

.slider-btn.next {
  right: 4px;
  color: #000;
  transition: all 0.5s;
}

.next:hover {
  color: #0635db;
}

.slider-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/*Third block end*/

/*Fourth block start*/

.fourth-block {
  margin-bottom: 200px;
}

.fourth-content {
  margin: 0 20px;
}

.fourth-content h4 {
  margin-bottom: 40px;
}

.fourth-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fourth-contact {
  background-color: #0635db;
  padding: 24px;
  box-sizing: border-box;
  width: 400px;
  height: 100%;
  border-radius: 24px;
}

.fourth-contact a {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  margin-bottom: 24px;
  transition: all 0.5s;
}

.fourth-contact a:hover {
  opacity: 50%;
}

.fourth-contact p {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 16px;
}

.fourth-map iframe {
  width: 660px;
  height: 388px;
  border-radius: 24px;
}

/*Fourth block end*/

@media (max-width: 768px) {
  @import url(/style/general-styles/_heder.css);
  @import url(/style/general-styles/_footer.css);
  @import url(/style/general-styles/_popup.css);
  @import url(/style/general-styles/_all-page.css);

  /*Main block start*/

  .main-block {
    padding: 112px 0 0;
    margin-bottom: 80px;
  }

  .main-content {
    margin: 0 20px;
    display: flex;
    flex-flow: column;
    gap: 32px;
  }

  .main-title h1 {
    margin-bottom: 24px;
  }

  .main-title p {
    width: 100%;
  }

  /*Main block end*/

  /*Run stroke start*/

  .marquee {
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    background-color: #385de2;
    padding: 40px 20px;
    margin-bottom: 80px;
  }

  .marquee__inner {
    display: flex;
    flex-shrink: 0;
  }

  .marquee__inner img {
    margin-right: 40px;
  }

  /*Run stroke end*/

  /*Second block start*/

  .second-block {
    margin-bottom: 80px;
  }

  .second-content {
    margin: 0 20px;
  }

  .second-content h2 {
    margin-bottom: 40px;
  }

  .second-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px 40px;
  }

  .info-card {
    border: 2px solid #0635db;
    border-radius: 24px;
    padding: 24px;
    box-sizing: border-box;
    width: 360px;
    height: 205px;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    text-align: center;
  }

  .info-card h5 {
    color: #0635db;
    font-size: 40px;
  }

  .element-to-animate {
    opacity: 0;
    transform: translateY(20px);
    transition:
      opacity 0.6s ease-out,
      transform 0.6s ease-out;
  }

  .element-to-animate.animated {
    opacity: 1;
    transform: translateY(0);
  }

  /*Second block end*/

  /*Third block start*/

  .third-block {
    margin-bottom: 100px;
  }

  .third-content {
    margin: 0 20px;
  }

  .third-content h3 {
    margin-bottom: 40px;
  }

  .slider {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
  }

  .slider-track {
    display: flex;
    gap: 12px;
    transition: transform 0.4s ease;
  }

  .slide {
    flex: 0 0 auto;
    height: 224px;
    overflow: hidden;
  }

  .slide img {
    height: 100%;
    width: auto;
    display: block;
    object-fit: cover;
  }

  .slider-btn {
    position: absolute;
    bottom: -48px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    z-index: 2;
    background: transparent;
  }

  .slider-btn svg {
    max-width: 32px;
  }

  .slider-btn.prev {
    right: 50px;
    color: #000;
    transition: all 0.5s;
  }

  .prev:hover {
    color: #0635db;
  }

  .slider-btn.next {
    right: 4px;
    color: #000;
    transition: all 0.5s;
  }

  .next:hover {
    color: #0635db;
  }

  .slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
  }
  /*Third block end*/

  /*Fourth block start*/

  .fourth-block {
    margin-bottom: 80px;
  }

  .fourth-content {
    margin: 0 20px;
  }

  .fourth-content h4 {
    margin-bottom: 32px;
  }

  .fourth-info {
    display: block;
  }

  .fourth-contact {
    background-color: #0635db;
    padding: 16px;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    margin-bottom: 32px;
  }

  .fourth-contact svg {
    width: 32px;
  }

  .fourth-contact a {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.5s;
  }

  .fourth-contact a:hover {
    opacity: 50%;
  }

  .fourth-contact p {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .fourth-map iframe {
    width: 100%;
    height: 250px;
    border-radius: 16px;
  }

  /*Fourth block end*/
}
