@import url("css2.html");

@-webkit-keyframes upDonw {
  0% {
    bottom: 50px;
  }

  50% {
    bottom: 75px;
  }

  100% {
    bottom: 50px;
  }
}

@keyframes upDonw {
  0% {
    bottom: 50px;
  }

  50% {
    bottom: 75px;
  }

  100% {
    bottom: 50px;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img,
video {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Montserrat, sans-serif;
  color: #000;
  font-weight: 400;
  font-size: 18px;
  line-height: 25px;
  background-color: #fff;
}

li,
ol,
ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  margin: 0;
  padding: 0;
}

.red {
  font-weight: 700;
  color: #9daf36;
  margin-top: 15px;
}

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

.wrapper-static {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 25px;
  }
  
  .header__content {
    flex-basis: 100%;
    text-align: center;
  }
  
  .header__content .title--h1 {
    text-align: center;
  }
  
  .header__block {
    flex-basis: 100%;
    max-width: 100%;
  }
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px;
}

.title--h1 {
  color: #fff;
  text-shadow: 0 0 2px#575757;
  margin-bottom: 20px;
  text-align: left;
  line-height: 1.2;
}

.header {
  /* padding: 30px 0; */
  background-image: url("../images/bg.jpeg");
  background-position: bottom;
  background-size: cover;
  padding: 40px;
  /* min-height: 100vh; */
  position: relative;
}

.header .logo {
  max-width: 220px;
  margin-top: 20px;
}

.header__main {
  margin-top: 80px;
}

.header__content {
  flex-basis: 60%;
  text-align: left;
}

.header__content .title--h1 {
  text-align: left;
}

.header__block {
  flex-basis: 40%;
  max-width: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__block:last-child {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.header__block .title--h1 {
  color: #fff;
  margin-bottom: 10px;
}

.header__block .button {
  max-width: 300px;
}

.header__text {
  color: #fff;
  margin-bottom: 30px;
}

.header__bot {
  text-align: center;
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
}

.header__bot .scroll img {
  max-width: 50px;
  transition: all 0.5s linear;
}

.header__bot .scroll img:hover {
  transform: translateY(30px);
}

.last {
  display: flex;
  justify-content: center;
  color: #fff;
}

.orange {
  background: #9f1919;
}

.last_block {
  width: 45%;
}

.last_text {
  text-align: center;
  font-size: 24px;
  line-height: 1.5rem;
}

.line {
  width: 3px;
  min-height: 100%;
  background-color: #fff;
}

.last_block img {
  margin-top: 10px;
}

.last_block h2 {
  font-weight: 700;
  font-size: 72px;
  line-height: 1.2;
}

.last_block:first-child {
  text-align: right;
}

.header__main .video1 {
  display: none;
}

@media (max-width: 768px) {
  .header {
    height: 100%;
    min-height: 100vh;
    padding-bottom: 30px;
  }

  .button {
    margin: 0 auto;
  }

  .header__top .wrapper {
    align-items: flex-start;
  }

  .header__top .button {
    display: none;
  }

  .header__main {
    margin-top: 60px;
  }

  .header__main .video {
    display: block;
    margin-top: 20px;
    width: 100%;
  }

  .header__main .video1 {
    display: block;
    margin-bottom: 20px;
  }

  .header__bot {
    display: none;
  }
}

.button {
  display: block;
  padding: 15px 50px;
  text-align: center;
  color: #fff;
  background: #9daf36;
  border-radius: 10px;
  font-size: 18px;
  line-height: 22px;
}

.title {
  font-weight: 700;
}

.title--h1 {
  font-size: 60px;
  line-height: 1;
  margin-bottom: 40px;
}

.title--h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 39px;
}

.title--h3 {
  font-size: 24px;
  line-height: 29px;
}

@media (max-width: 768px) {
  .last {
    flex-direction: column;
  }

  .orange {
    background: #9f1919;
  }

  .last_block {
    width: 100%;
  }

  .last_text {
    text-align: center;
    font-size: 18px;
    line-height: 1.5rem;
    margin-top: 15px;
  }

  #content {
    overflow-x: hidden;
    padding-top: 0;
  }

  .line {
    width: 3px;
    min-height: 100%;
    background-color: #fff;
  }

  .last_block img {
    margin-top: 10px;
  }

  .last_block h2 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 10px;
  }

  .title {
    font-weight: 700;
  }

  .title--h1 {
    font-size: 29px;
    line-height: 1;
  }

  .title--h2 {
    font-size: 24px;
    line-height: 40px;
  }

  .title--h3 {
    font-size: 18px;
    line-height: 22px;
  }
}

.section {
  padding: 40px 0;
}

.section .video.video-mob {
  display: none;
}

.section .title--h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 32px;
}

.section .title__mob {
  display: none;
}

.boss {
  margin-bottom: 20px;
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.boss__block {
  flex-basis: 49%;
}

.boss__img {
  max-height: 100%;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top;
}

.boss__block {
  flex-basis: 49%;
}

.boss__block:first-child {
  margin-top: auto;
  margin-bottom: auto;
  margin-right: 20px;
}

.boss__block .dots {
  width: 128px;
}

.boss__block .title--h2 {
  text-align: left;
  margin-bottom: 30px;
}

.boss__text {
  margin-top: 20px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .section {
    padding: 20px 0;
  }

  .section .video.video-mob {
    display: block;
    width: 100%;
  }

  .section .title--h2 {
    /* margin-top: 20px; */
    margin-bottom: 20px;
  }

  .section .title__mob {
    display: block;
    text-align: center;
  }

  .boss {
    flex-direction: column;
    align-items: center;
  }

  .boss__block:first-child {
    margin-right: 0;
    margin-top: 0;
  }

  .boss__block .dots {
    width: 64px;
  }

  .boss__block .title--h2 {
    display: none;
  }

  .boss__text {
    font-size: 18px;
    line-height: 22px;
    margin-top: 10px;
    margin-bottom: 20px;
  }
}

.footer {
  background: #f9f9f9;
  padding: 30px 0;
  color: #575757;
}

.footer .container {
  border-top: 1px solid #d8d8d8;
  padding: 20px 15px 0;
}

.footer-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-nav__link {
  padding: 0 10px;
  color: #575757;
}

@media (max-width: 768px) {
  .footer-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .footer-nav {
    flex-wrap: wrap;
    margin-top: 10px;
  }
}

.card__list {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.card__item {
  flex-basis: 33%;
  align-self: normal;
  box-shadow: 0 2px 16px rgba(196, 196, 196, 0.25);
  border-radius: 10px;
  margin-right: 20px;
}

.card__item:last-child {
  margin-right: 0;
}

.card__text {
  padding: 20px;
}

.card__top {
  position: relative;
}

.card__title {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
  font-weight: 600;
  font-size: 24px;
  line-height: 29px;
}

.card-big {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.card-big__item {
  flex-basis: 33%;
  align-self: normal;
  margin-right: 20px;
}

.card-big__item:last-child {
  margin-right: 0;
}

.card-big .title--h3 {
  margin-bottom: 10px;
}

.fact {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

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

.fact__item {
  flex-basis: 49%;
  align-self: normal;
  margin-bottom: 40px;
  max-width: 612px;
  max-height: 512px;
}

.fact__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.fact__item:nth-child(2n-1) {
  margin-right: 10px;
}

.fact__item--shadow {
  box-shadow: 0 2px 16px rgba(196, 196, 196, 0.25);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 90px;
}

.fact__top {
  margin-bottom: 20px;
  width: 100%;
}

.fact__number {
  font-weight: 700;
  font-size: 64px;
  line-height: 78px;
  color: #9f1919;
  position: relative;
  width: 100%;
}

/* .fact__number:after {
  position: absolute;
  content: "";
  width: calc(100% - 50px);
  height: 1px;
  background-color: #9daf36;
  top: 50%;
} */

.fact__text {
  font-size: 24px;
  line-height: 29px;
}

@media (max-width: 992px) {
  .fact__item--shadow {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .card__list {
    flex-direction: column;
    align-items: center;
  }

  .card__item {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .card-big {
    flex-direction: column;
    align-items: center;
  }

  .card-big__item {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .fact {
    flex-direction: column;
    align-items: center;
  }

  .fact__block {
    flex-direction: column;
    align-items: center;
  }

  .fact__block .fact__item:first-child {
    order: 3;
  }

  .fact__item {
    width: 100%;
    margin-bottom: 20px;
  }

  .fact__item--shadow {
    padding: 30px;
    padding-left: 0;
  }

  .fact__top {
    margin-bottom: 10px;
  }

  .fact__number {
    font-size: 48px;
    line-height: 59px;
  }

  .fact__text {
    font-size: 18px;
    line-height: 22px;
  }
}

@-webkit-keyframes opacityItem {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes opacityItem {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.overlay {
  position: fixed;
  width: 100vw;
  height: 100vh;
  left: 0;
  top: 0;
  display: none;
  opacity: 0;
  z-index: 98;
  background-color: rgba(0, 0, 0, 0.7);
  transition: all 0.5s linear;
}

.overlay.active {
  display: block;
}

.overlay.fade {
  opacity: 1;
}

.modal {
  position: fixed;
  display: none;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  opacity: 0;
  max-width: 425px;
  height: auto;
  /* background-color: rgba(255, 255, 255, 0.11); */
  border-radius: 15px;
  z-index: 99;
  padding: 40px;
  display: none;
}

.modal.active {
  display: flex;
}

.modal.fade {
  -webkit-animation: opacityItem 1s linear 1 forwards;
  animation: opacityItem 1s linear 1 forwards;
}

.close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  line-height: 1;
  color: #9daf36;
  font-weight: 700;
  border: none;
  background-color: inherit;
  cursor: pointer;
}

.up {
  position: fixed;
  bottom: 50px;
  right: 50px;
  background-color: #9daf36;
  border-radius: 50%;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-animation: 2s upDonw ease-in-out infinite;
  animation: 2s upDonw ease-in-out infinite;
  transition: all 0.5s linear;
}

.up:hover {
  -webkit-animation: none;
  animation: none;
}

.up img {
  max-width: 40px;
  height: 40px;
}

.div-steps {
  margin-bottom: 20px;
}

.steps-item {
  display: flex;
  align-items: center;
}

.steps-item img {
  width: 30px;
  height: 30px;
  margin-right: 8px;
  object-fit: contain;
  object-position: center;
}

.steps-item span {
  text-shadow: 0 3px 3px rgba(5, 26, 105, 0.4);
  font-size: 20px;
  font-weight: 500;
  font-stretch: normal;
  line-height: 1.58;
  letter-spacing: normal;
  text-align: center;
  color: #f8f8f8;
}

@media screen and (max-width: 991px) {
  .steps-item {
    width: 100%;
    margin: 0 10px;
  }

  .steps-item span {
    text-align: left;
    width: auto;
  }
}

@media screen and (min-width: 501px) {
  .steps-last {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
}

@media screen and (max-width: 500px) {
  .steps-last {
    margin-left: 20px;
  }

  .steps-item:not(:last-child) {
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 380px) {
  .steps-last {
    margin-left: 0;
  }
}

/* Image scaling and proportion maintenance */
.image-container {
  position: relative;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* For images that should maintain aspect ratio without cropping */
.image-contain {
  object-fit: contain !important;
}

/* For images that should fill the container completely */
.image-cover {
  object-fit: cover !important;
}

/* For images that should scale to fit width */
.image-scale-width {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* For images that should scale to fit height */
.image-scale-height {
  width: auto;
  height: 100%;
  object-fit: contain;
}

/* Responsive image containers */
@media (max-width: 768px) {
  .fact__item {
    max-height: 300px;
  }
  
  .boss__img {
    max-height: 250px;
  }
}