html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-style: normal;
  /* color: var(--text-color); */
  background-color: white;
  /* display: flex;
  justify-content: center;
  min-height: 100vh; */
  /* color: #1D1D1D; */

}


p {
  display: block;
  padding: 0;
  margin: 0;
}

.container {
  margin: 0 auto;
}


.main {
  position: relative;
  /* max-width: 1800px; */
  min-height: 1024px;
  background-size: cover;
  overflow: hidden;

}


/* подключаем шрифты */

.spectral-regular {
  font-family: "Spectral", serif;
  font-weight: 400;
  font-style: normal;
}

.spectral-bold {
  font-family: "Spectral", serif;
  font-weight: 700;
  font-style: normal;
}

.spectral-regular-italic {
  font-family: "Spectral", serif;
  font-weight: 400;
  font-style: italic;
}

.spectral-semibold-italic {
  font-family: "Spectral", serif;
  font-weight: 600;
  font-style: italic;
}


.ibm-plex-sans-regular {
  font-family: "IBM Plex Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}


.ibm-plex-serif-regular {
  font-family: "IBM Plex Serif", serif;
  font-weight: 400;
  font-style: normal;
}

.ibm-plex-serif-bold {
  font-family: "IBM Plex Serif", serif;
  font-weight: 700;
  font-style: normal;
}

/* -------------------------- */
.nav-head-panel {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  font-size: 21px;
  width: 100%;

}

.nav-menu {
  background-color: white;
  padding: 10px;
 }

.nav-row {
  display: flex;
  justify-content: center;
  gap: 80px;
  padding-bottom: 15px;
  color: #222222;
}


.nav-item {
  transition: font-weight 0.3s ease;
}

.nav-item:hover {
  font-weight: 700;
}

/*********** section logo-info ***********/

.logo-info {
  display: flex;
  padding-top: 20px;
  gap: 85px;
  justify-content: center;
}

.logo-info_photo {
  display: flex;
  width: 461px;
  height: 701px;
}

.logo-info_photo img {
  max-width: 100%;
  height: auto;
}

.logo-info_content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 440px;
}

.contacts {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex-wrap: wrap;
  padding-top: 65px;
  color: #797979;
}

.contacts_row {
  display: flex;
  gap: 110px;
  justify-content: space-between;
}

.arrow_link {
  display: flex;
  gap: 15px;
  align-items: center;
}

.logo-info_content_name,
.logo-info_content_surname {
  font-size: 105px;
  color: #1D1D1D;
  line-height: 1.1;
}

.logo-info_content_phone {
  padding-top: 25px;
  padding-bottom: 10px;
  color: #797979;
  font-size: 22px;
}

.logo-info_content_phone_cont {
  font-size: 22px;
  line-height: 1.8;
  color: #1d1d1d;
  padding-bottom: 25px;
}

.logo-info_content_link {
  font-size: 18px;
  color: #f37621;

}

/******** section fon-upper *********/

.fon-upper {
  display: flex;
  justify-content: center;
  align-content: center;
  position: absolute;
  top: 444px;
  left: 277px;
  width: -webkit-fill-available;
  z-index: -3;
}

.fon-upper img {
  width: 100%;
  height: auto;
  transform: scale(1.5, 1);
  z-index: -1;
}



/*********** section biography_info ***********/

.biography-info {
  display: flex;
  justify-content: center;
  gap: 185px;
  padding-top: 110px;
  background-color: #f5f3ed;
}

.biograpy-info_content p {
    text-align: left !important;
}

.biography-info_content {
  display: flex;
  flex-direction: column;
}

.biography-info_photo {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.biography-info_content {
  font-size: 19px;
  max-width: 498px;
}

.biography-info span {
  font-weight: 700;
}

.biography-info_content_head {
  font-size: 74px;
  line-height: 1.1;
  padding-bottom: 90px;
}

.biography-info_photo_item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.biography-info_photo_item img {
  max-width: 288px;
  height: auto;
  border-radius: 26px;
}

.biography-info_content_first-par,
.biography-info_content_second-par {
  line-height: 180%;
  text-align: justify;
  padding-bottom: 40px;
}

.biography-info_photo {
  gap: 25px;
}

.arrow_link_blue {
  display: flex;
  gap: 20px;
  align-items: center;
}

.arrow_link_blue a {
  font-size: 29px;
  color: #140d8c;

}

.arrow_link_blue img {
  padding-top: 10px;
}


/**** section history *****/
.history {
  display: flex;
  background-color: #f5f3ed;
  padding-top: 85px;
  justify-content: center;

}

.histiory-photo {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-right: 210px;
}

.history-content {
  display: flex;
  flex-direction: column;
  max-width: 435px;
  justify-content: center;
}

.history-photo_item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.history-photo_item img {
  max-width: 288px;
  height: auto;
}

.history-content-par {
  line-height: 180%;
  text-align: left;
  padding-bottom: 40px;
  font-size: 19px;
}

.history-content-par span {
  font-weight: 700;
}

/******** section fon-down *********/

.fon-down {
  display: flex;
  justify-content: center;
  align-content: center;
  position: absolute;
  top: 2952px;
  width: -webkit-fill-available;
}

.fon-down img {
  width: 100%;
  height: auto;
  transform: scale(1.1, 1);
  z-index: -1;
}


/****** section future ******/
.future {
  display: flex;
  flex-direction: column;
  padding-top: 300px;
  align-items: center;


}

.future_img {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 90px;
}

.future_img img {
  max-width: 995px;
  height: auto;
}

.future_head {
  font-size: 73px;
  max-width: 995px;
  line-height: 1.15;
  text-align: start;
  padding-bottom: 40px;

}

.future_head span {
  color: #5f00b9;
}

.future_par {
  max-width: 784px;
  line-height: 180%;
  text-align: left;
  padding-bottom: 40px;
  font-size: 19px;
}

.future_par span {
  font-weight: 700;
  color: #5f00b9;
}


.w-form {
  max-width: 995px;
  background-color: #f4f4f4;
  border-radius: 75px;
  padding: 85px;
  margin-top: 94px;
}

.w-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;



}

.w-form form input,
textarea {
  border-radius: 20px;
  min-height: 50px;
  width: 100%;
  align-content: center;
  padding-left: 30px;
  border: none;
  font-size: 18px;
  color: darkgray;
}

#Feedback {
  min-height: 105px;
  max-height: 350px;
  overflow-wrap: break-word;
  
  /* resize: vertical; */
}


#Feedback-Name,
#Feedback-Email,
#Feedback-Phone,
#Feedback {
  color: #a9a9a9 !important;
}

.w-form_head {
  font-size: 92px;
  line-height: 1.1;
  padding-bottom: 50px;
}



#submit_button,
.submit-consent {
  padding-top: 80px;
}

#last-form-row {
  display: flex;
  gap: 80px;
  justify-content: center;
  line-height: 1.5;
  text-align: end;
  font-size: 18px;
  cursor:pointer;

}

#last-form-row button {
  cursor: pointer;
}

#last {
  padding-right: 20px;
}

.svg-hidden {
  display: flex;
  justify-content: flex-end;
  margin-right: 25px;
  position: fixed;
  right: 0;
  z-index: 300;
  display: none;
  padding-top: 30px;
}


footer {
  display: flex;
  justify-content: center;
  padding: 100px 0px;
}

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


/************************для слайдера******************/

.slider-container {
  width: 100%;
  max-width: 850px;
  position: relative;
  overflow: hidden;
  /* Hide overflowing content */
  /* background-color: #fff; */
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: none;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  /* Smooth transition */
  width: 100%;
  /* Ensure the slider occupies the container width */
}

.slide {
  flex-shrink: 0;
  width: 100%;
  /* Each slide takes up the full container width */
  height: auto;
  /* Height adjust automatically */
  position: relative;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  /* Maintain aspect ratio and cover slide area */
}

/************* для второго слайдера *************/

.slide2 {
  flex-shrink: 0;
  width: 100%;
  /* Each slide takes up the full container width */
  height: auto;
  /* Height adjust automatically */
  position: relative;
}

.slide2 img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  /* Maintain aspect ratio and cover slide area */
}


/*********** окончание для второго слайдера ***********/


/* Navigation Arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 24px;
  padding: 10px;
  border: none;
  cursor: pointer;
  z-index: 10;
  /* Ensure arrows are above images */
  border-radius: 50%;
  /* Make them circular */
}

.arrow:hover {
  background: rgba(0, 0, 0, 0.7);
}

.arrow-left {
  left: 10px;
}

.arrow-right {
  right: 10px;
}

/* Pagination Dots */
.pagination {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
  /* Ensure dots are above images */
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  border: 2px solid white;
}

.dot:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.dot.active {
  background-color: white;
}

/*********************** для второго слайдера ****************/

/* Pagination Dots */
.pagination2 {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
  /* Ensure dots are above images */
}

.dot2 {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  border: 2px solid white;
}

.dot2:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.dot2.active {
  background-color: white;
}


/************** окончание для второго слайдера *************/

/* Responsive adjustments */


@media (max-width: 1600px) {
  /*
    Стили для устройств, у которых ширина viewport меньше или равно 1600 пикселей,
    но больше 990 пикселей.
    Эти стили будут использованы для планшетов и ноутбуков с низким разрешением
    */

  .fon-upper {
    top: 605px;
    left: 150px;
  }

  .logo-info {
    padding-bottom: 75px;
  }

  .fon-down {
    top: 3097;
  }
}


@media (max-width: 1280px) {
  .biography-info {
        padding-top: 70px;
    margin-top: 86px;
  }

  .fon-down {
    top: 3099px;
  }
}



@media (max-width: 1024px) {
  /*
    Стили для устройств, у которых ширина viewport меньше или равно 1600 пикселей,
    но больше 1024 пикселей.
    Эти стили будут использованы для планшетов и ноутбуков с низким разрешением
    */

  .svg-hidden {
    display: flex;
    z-index: 1000;
    transform: scale(1);
    transition: transform 0.3s ease;
    /* Плавный переход */
  }

  .svg-hidden:active {
    transform: scale(1.1);
    /* Увеличение при наведении */
  }

  .nav-head-panel {
    flex-direction: row;
    justify-content: flex-end;
    padding-top: 70px;
    position: fixed;
    z-index: 500;
    display: none;
  }

  .nav-row {
    flex-direction: column;
    gap: 10px;
    padding-bottom: 7px;
  }


  .logo-info {
    flex-direction: column;
  }

  .logo-info_photo {
    width: 100%;
    justify-content: center;
  }

  .logo-info_content {
    align-items: flex-start;
    max-width: 900px;
    padding-left: 60px;
  }

  .logo-info_content_name {
    font-size: 75px;
  }

  .contacts {
    flex-direction: row;
    align-items: center;
  }

  .contacts_row {
    justify-content: space-between;
    gap: 125px;
    font-size: 21px;
    width: 50vw;

  }

  .biography-info {
    padding-top: 0;
    margin-top: 250px;
  }

  .biography-info_content {
    max-width: 100%;
    padding: 30px;
  }

  .biography-info_content_first-par {
    padding-top: 40px;
  }

  .history {
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    gap: 40px;
  }

  .history-content {
    max-width: 100%;
    padding: 25px;
  }


  .fon-upper {
    left: -316px;
    top: 1212px
  }

  .fon-down {
    top: unset;
  }

  .biography-info_photo {
    display: none;
  }

  .histiory-photo {
    display: none;
  }

  .slider-container {
    display: block;
  }

  .future {
    padding-top: 250px;
  }

  .future_head {
    padding-left: 25px;
    padding-bottom: 10px;
  }


  .future_img {
    padding-bottom: 45px;
  }

  .future_img img {
    width: 100%;
    padding: 25px;
  }

  .w-form {
    margin: 45px;
  }

  #last-form-row {
    flex-direction: column;
    gap: 30px;
  }

  .submit-consent {
    padding-top: 25px;
    text-align: left;
  }

  #last {
    padding-right: unset;
  }

  #pagination, #pagination2 {
    gap: 20px;
  }
}

@media (max-width: 860px) {
  .history {
        width: 100%;
    padding: 0 20px;
  }
  .logo-info_photo {
    padding-top: 30px;
  }
}


@media (max-width: 768px) {

  .logo-info {
    align-items: center;
    padding-top: 110px;
  }


  .logo-info_photo {
    width: 45vw;
    height: auto;
  }

  /* .logo-info_content {
    padding-left: unset;
  } */

  .slider-wrap {
    margin: 0 25px;
  }

  .future_par {
    margin: 0 25px;
  }

}


@media (max-width: 480px) {

  .logo-info_photo {
    width: 90vw;
  }

  .logo-info_content_name {
    font-size: 52px;
  }

  .contacts {
    justify-content: space-between;
    padding-top: 35px;
  }

  .biography-info {
    margin-top: 130px;
  }

  .biography-info_content {
    font-size: 16px;
  }

  .biography-info_content_head {
    font-size: 50px;
    padding-bottom: 50px;
  }

  .future_head {
    font-size: 50px;
  }

  .w-form_head {
    font-size: 50px;

  }

  .arrow-left, .arrow-right {
        font-size: 12px;
    background: none;
  }

  #pagination2 span, #pagination span {
    width: 8px;
    height: 8px;
  }



}


@media (max-width: 431px) {
  .logo-info_photo {
    margin-top: unset;
  }
  .logo-info {
    padding-top: 60px;
  }

  .fon-upper {
    top:1161px;
  }



  
  #Feedback-Name, #Feedback-Email, #Feedback-Phone {
        padding-left: 15px;
    font-size: 12px;
    min-height: 37px;
  }

  #Feedback {
    padding-left: 15px;
    font-size: 12px;
  }

  #last-form-row {
    gap:19px;
    font-size: 14px;
  }

  #submit_button {
    padding-top: 22px;
  }
  
  #submit_button a {
    font-size: 17px;
  }

  #last {
    padding-top: unset;
  }

    .w-form {
       
    padding: 10px;
    margin: 10px;
    border-radius: 25px;
  }

  .w-form_head {
       font-size: 22px;
    padding-bottom: 20px;
    padding-top: 30px;
  }

  .logo-info_content_link {
    font-size: 18px;
  }
}



@media (max-width: 412px) {
  .logo-info_content {
         width: 100vw;
    padding: 20px;
  }

  .logo-info_content_phone_cont {
    font-size: 15px;
  }

  .contacts {
        padding-top: 15px;
    gap: 15px;
  }

  .contacts_row {
    gap: 70px;
    font-size: 17px;
  }

  .biography-info {
    margin-top: 60px;
  }

  .biography-info_content_head {
    font-size: 35px;
  }

  .fon-upper {
        left: 26px;
    top: 1162px;
  }

  .history-content-par {
    font-size: 16px;
  }

  .future {
    padding-top: 100px;
  }

  .future_head {
    font-size: 35px;
  }

  .future_par {
    font-size: 16px;
  }

  .w-form {
       
    padding: 10px;
    margin: 10px;
    border-radius: 25px;
  }

  .w-form_head {
       font-size: 22px;
    padding-bottom: 20px;
    padding-top: 30px;
  }

  .logo-info_content_link {
    font-size: 18px;
  }

  #Feedback-Name, #Feedback-Email, #Feedback-Phone {
        padding-left: 15px;
    font-size: 12px;
    min-height: 37px;
  }

  #Feedback {
    padding-left: 15px;
    font-size: 12px;
  }

  #last-form-row {
    gap:19px;
    font-size: 14px;
  }

  #submit_button {
    padding-top: 22px;
  }
  
  #submit_button a {
    font-size: 17px;
  }

  #last {
    padding-top: unset;
  }

}

@media (max-width: 360px) {
  .fon-upper {
    top: 1165px;
  }

  .logo-info {
    padding-bottom: 77px;
  }
}

.biography-info_content_first-par,
.biography-info_content_second-par,
.biography-info_content p {
  text-align: left !important;
}