 @font-face {
        font-family: "Roboto";
        src: local('Roboto'), url("https://ictis.sfedu.ru/wp-content/themes/my_theme/fonts/Roboto-Regular.ttf") format('truetype');
    }
@font-face {
    font-family: 'Myriad Pro';
    src: url('https://ictis.sfedu.ru/wp-content/themes/my_theme/fonts/MyriadPro-Regular.woff') format('truetype');
}
*{
    font-family: 'Roboto';
}

/* .general__info */
 body {
        display: flex;
        justify-content: center;
        background: #BCBCBC;
        min-height: 100%;
        overflow-x:hidden;
    }
.principal-container {
        position: absolute;
        width: 1368px;
        min-height: 100vh;
    }
    .content-container {
        position: relative;
        width: 1035px;
        min-height: 100vh;
        left: 333px;
        top: 52px;
        background: white;
        padding-bottom:80px;
        padding-top:50px;
    }
.container{
    box-sizing:border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}
.containerInner{
     width: 975px;
}

.move_string__container {
  width: 100%;
  height: 40px; /* Высота строки */
  overflow: hidden;
  position: relative;
  background: transparent; /* Прозрачный фон */
  margin-bottom:40px;
}

.move_string__content {
  display: inline-block;
  white-space: nowrap;
  position: absolute;
  left: 100%; /* Начинаем с правого края */
  font-weight: 300;
  font-family: "Myriad Pro";
  font-size: 18px;
  color: rgba(196, 196, 196, 1);
  animation: moveString 30s linear infinite;
  
}

@keyframes moveString {
  0% {
    left: 0; /* Начало за правым краем */
  }
  100% {
    left: -100%; /* Двигаем текст до левого края */
  }
}





.section__title {
  font-family: "Myriad Pro";
  color: rgba(21, 67, 133, 1);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.main {
  width: 1036px;
}
.head__logo{
    margin-left:24px;
}

/* ===================== 1 section ================== */

.head__section {
  padding: 0 41px 0 32px;
  margin-bottom: 64px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.head__company {
  display: flex;
  gap: 20px;
  width: 607px;
}

.head__title {
  margin: 0;
  font-weight: 300;
  font-family: "Myriad Pro";
  font-size: 64px;
  line-height: 110%;
}

.head__interactive {
  position: relative;
  width: 385px;
  height: 230px;
}

.head__interactive_item {
  position: absolute;
  font-size: 14px;
  font-weight: 300;
  font-family: "Myriad Pro";
  transition: background-color 0.5s, font-size 0.5s;
  border-radius: 10px;
  padding: 1px 10px;
}

.head__interactive_item {
  /* Ваши существующие стили */
  transition: background-color 0.6s ease, font-size 0.6s ease;
  will-change: background-color, font-size; /* Для оптимизации анимации */
}

.head__interactive_item:nth-child(1) {
  top: -14px;
  left: 99px;
}

.head__interactive_item:nth-child(2) {
  right: 139px;
  top: 4px;
}

.head__interactive_item:nth-child(3) {
  top: 14px;
  left: 40px;
}
.head__interactive_item:nth-child(4) {
  top: 29px;
  left: 113px;
}
.head__interactive_item:nth-child(5) {
  right: 111px;
  top: 32px;
}
.head__interactive_item:nth-child(6) {
  top: 49px;
  left: -5px;
}
.head__interactive_item:nth-child(7) {
  top: 56px;
  right: 163px;
}
.head__interactive_item:nth-child(8) {
  top: 67px;
  right: 51px;
}
.head__interactive_item:nth-child(9) {
  left: 35px;
  top: 80px;
}
.head__interactive_item:nth-child(10) {
  left: 125px;
  top: 85px;
}
.head__interactive_item:nth-child(11) {
  top: 89px;
  left: 164px;
}
.head__interactive_item:nth-child(12) {
  top: 108px;
  right: 45px;
}
.head__interactive_item:nth-child(13) {
  top: 112px;
  left: 33px;
}
.head__interactive_item:nth-child(14) {
  top: 119px;
  left: 132px;
}
.head__interactive_item:nth-child(15) {
  right: 39px;
  bottom: 76px;
}
.head__interactive_item:nth-child(16) {
  bottom: 63px;
  left: 71px;
}
.head__interactive_item:nth-child(17) {
  bottom: 41px;
  right: 92px;
}
.head__interactive_item:nth-child(18) {
  right: 54px;
  bottom: 14px;
}
.head__interactive_item:nth-child(19) {
  left: 19px;
  bottom: 57px;
}
.head__interactive_item:nth-child(20) {
  bottom: 36px;
  left: 40px;
}
.head__interactive_item:nth-child(21) {
  left: 107px;
  bottom: 22px;
}

/* ===================== 2 section ================== */

.target__section {
  margin-bottom: 64px;
  padding: 0 32px;
}

.target__text {
  color: black;
  font-size: 16px;
  line-height: 130%;
  font-weight: 400;
  font-family: "Roboto";
}

/* ===================== 3 section ================== */

.tasks__section {
  margin-bottom: 64px;
  padding: 0 32px;
}

.tasks__text_block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tasks__text {
  font-family: "Roboto";
  font-size: 16px;
  line-height: 130%;
}

/* ================= 4 section ================== */

.team__section {
  padding: 0 32px;
  margin-bottom: 64px;
  width:100%;
}

.team__title {
  margin-bottom: 32px;
}

.team__images {
  display: flex;
  margin-bottom: 10px;
  justify-content: space-between;
  width:100%;
}
.team__images_container_image{
display: flex;
  margin-bottom: 10px;
}

.team__image_main {
  width: 317px;
  height: 476px;
  background-color: black;
  object-fit: cover;
  margin-right: 10px;
}

.team__images_secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  width: 415px;
  height: 530px;
  align-content: flex-start;
}

.team__images_item {
  padding: 2px;
  width: 100px;
  height: 100px;
  background-color: #154385;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s;
  filter: brightness(50%);
  background-size: cover;
}

.team__images_item_name {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-weight: 400;
  font-family: "Myriad Pro", sans-serif;
  font-size: 12px;
  text-align: center;
  display: none;
}
.team__images_item{
    transition: 0.1s linear all;
}
.team__images_item.active .team__images_item_name, .team__images_item:hover .team__images_item_name {
  display: block;
}

.team__images_item.active, .team__images_item:hover {
  filter: brightness(100%);
  cursor: pointer;
}


.team__person {
  font-weight: 400;
  font-size: 28px;
  font-family: "Roboto";
  display: block;
  margin-bottom: 10px;
  width:335px;
}

.team__person_role {
  font-family: "Roboto";
  font-size: 20px;
  font-weight: 400;
  padding-bottom: 20px;
  align-self: flex-end;
  white-space: nowrap;
}
 .team__person_name{
    margin-bottom:10px!important;
    position:relative;
    top:-5px;
}
.team__images_item.active .top-left,
.team__images_item.active .top-right,
.team__images_item.active .bottom-left,
.team__images_item.active .bottom-right {
  display: block;
}
.team__images_item:hover .top-left,
.team__images_item:hover .top-right,
.team__images_item:hover .bottom-left,
.team__images_item:hover .bottom-right {
  display: block;
}

.top-left, .top-right, .bottom-left, .bottom-right {
  display: none; /* По умолчанию скрыты */
  background-image: url('https://ictis.sfedu.ru/wp-content/themes/my_theme/assets/images/rd-center/treangle.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  width: 20px;
  height: 20px;
  z-index: 10;
  position: absolute;
}

.top-left {
  top: 2px;
  left: 2px;
  transform: rotate(180deg);
}

.top-right {
  top: 2px;
  right: 2px;
   transform: rotate(-90deg);
}

.bottom-left {
  bottom: 2px;
  left: 2px;
  transform: rotate(90deg);
}

.bottom-right {
  bottom: 2px;
  right: 2px;
}


/* ================= possibilities section ================== */

.possibilities__section {
  padding: 0 32px;
  margin-bottom: 64px;
}

.possibilities__section_title {
  margin-bottom: 32px;
}

.possibilities__list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.possibilities__item {
  position: relative;
  width: 469px;
  height: 300px;
  background-color: #f2f2f2;
  padding: 16px;
  overflow: hidden;
  cursor: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: "Roboto", sans-serif;
}

.possibilities__item_number {
  text-align: right;
  font-family: "Myriad Pro", sans-serif;
  font-weight: 300;
  font-size: 20px;
}

.possibilities__item_title {
  font-weight: 400;
  font-size: 38px;
  z-index:500;
}

.hidden-text {
  position: absolute;
  inset: 0;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  font-size: 14px;
  text-align: justify;

  mask-image: radial-gradient(
  circle 100px at -100px -100px,
  rgba(0, 0, 0, 1) 0%,
  rgba(0, 0, 0, 0.8) 40%,
  rgba(0, 0, 0, 0.5) 60%,
  rgba(0, 0, 0, 0.2) 80%,
  rgba(0, 0, 0, 0) 100%
);
  -webkit-mask-image: radial-gradient(
    circle 45px at -100px -100px,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    transparent 100%
  );
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  transition: mask-image 0.2s ease, -webkit-mask-image 0.2s ease;
}

.hidden-text_green {
  color: #99c131;
}

.hidden-text_dark-green {
  color: #538c5e;
}

.hidden-text_blue {
  color: #588fbf;
}

.hidden-text_purple {
  color: #55579e;
}

/* ================= cases section ================== */

.cases__section {
  margin-bottom: 64px;
}

.cases__section_title {
  margin-bottom: 32px;
  padding: 0 32px;
}

.cases__list {
  display: flex;
  flex-wrap: wrap;
}

.cases__item {
  position: relative;
  width: 250px;
  height: 172px;
  border: 0.5px solid rgba(205, 205, 205, 1);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  perspective: 1000px;
}

.cases__item a {
  text-decoration: none;
  color: #000;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.cases__item_title {
  font-weight: 400;
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  letter-spacing: -0.03em;
}

.cases__item_logo {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  transform-origin: center;
  backface-visibility: hidden;
  transition: transform 0.6s ease;
}

.cases__item_row {
  position: absolute;
  bottom: 12px;
  right: 12px;
  transition: fill 0.3s;
}

.cases__item_row path {
  fill: rgba(0, 0, 0, 0.2);
  transition: fill 0.3s;
}

.cases__item:hover .cases__item_logo {
  animation: rotateY360 0.6s ease forwards;
}

.cases__item:hover .cases__item_row path {
  fill: black;
}

@keyframes rotateY360 {
  0% {
    transform: translateX(-50%) rotateY(0deg);
  }
  100% {
    transform: translateX(-50%) rotateY(360deg);
  }
}

/* ======================= managment section ========================= */

.managment__section {
  padding: 0 32px;
  margin-bottom: 64px;
  display:flex;
  justify-content:start;
  width:100%;
}

.managment__title {
  font-family: "Roboto";
  font-weight: 400;
  font-size: 22px;
  line-height: 150%;
  margin-bottom: 16px;
  color: #154385;
}

.managment__content {
  display: flex;
  gap: 16px;
}

.managment__photo {
  width: 160px;
  height: 200px;
}

.managment__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: "Roboto";
  font-weight: 400;
  font-size: 16px;
}

.managment__name {
  font-family: "Roboto";
  font-weight: 500;
  font-size: 16px;
}

.managment__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.managment__email_block {
  display: flex;
  align-items: center;
  gap: 8px;
}

.managment__email a {
  color: #154385;
  text-decoration: underline;
}

.managment__site a {
  color: #154385;
}
.managment__site__a{
  color: #154385;
  text-decoration: underline;
  margin-left:4px;
}
.managment__address_block {
  display: flex;
  gap: 8px;
  align-items: center;
}

.managment__phone_block {
  display: flex;
  gap: 8px;
}

.managment__phone a{
  font-size: 16px;
  color: #154385;
  text-decoration: underline;
}

/* media mobile */

@media (max-width: 600px) {
  .main {
    width: 100%;
  }

  .section__title {
    font-size: 16px;
  }

  .move_string__content {
    font-size: 16px;
  }

  /* head */
  .head__section {
    flex-direction: column;
    padding: 0 3px 0 19px;
  }

  .head__title {
    font-size: 37.15px;
  }

  /* target */

  .target__section {
    padding: 0 16px;
  }

  /* tasks */

  .tasks__section {
    padding: 0 16px;
  }
  /* team */
  .team__section {
    padding: 0 16px;
  }

  .team__images {
    flex-direction: column;
  }

  .team__person_role {
    align-self: flex-start;
  }

  .team__images_secondary {
    flex-wrap: nowrap; /* Элементы в одну строку */
    overflow-x: auto;
    overflow-y: hidden;
    height:auto;
    width: 100%;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch; /* плавный скролл на iOS */
    scrollbar-width: none; /* скрыть скроллбар в Firefox */
  }

  .team__images_secondary::-webkit-scrollbar {
    display: none; /* скрыть скроллбар в Chrome/Safari */
  }

  .team__images_item {
    flex: 0 0 auto; /* чтобы не сжимались */
    width: 100px;
    height: 100px;
  }
  /* possibilities */

  .possibilities__section {
    padding: 0;
  }

  .possibilities__section_title {
    padding: 0 16px;
  }

  .possibilities__list {
    gap: 16px;
  }

  .possibilities__item {
    width: 375px;
    height: 230px;
  }

  .possibilities__item_title {
    font-size: 28px;
  }

  /* cases */

  .cases__item {
    width: 187px;
    height: 172px;
  }

  .cases__item_title {
    font-size: 16px;
  }

  /* managment */

  .managment__content {
    flex-direction: column;
  }

  .managment__info {
    gap: 7px;
  }

  .managment__contact {
    gap: 10px;
  }

  /*.managment__address {*/
  /*  font-size: 13px;*/
  /*}*/

  .managment__phone {
    font-size: 16px;
  }
}
.managment__namePhone{
    display:none;
    font-size:18px;
    font-weight:400;
}
@media screen and (max-width:600px) {
    .managment__phone {
        font-size: 13px;
      }
     .cases__section_title, .team__title, .possibilities__section_title {
        margin-bottom: 24px;
      }
    .cases__item_logo {
        bottom: 16px;
    }
    .principal-container, .content-container{
        width:376px;
    }
    .content-container{
        left:0;
        top:80px;
    }
    .cases__section .section__title{
        padding: 0px 16px;
    }
    .head__company {
      width: auto;
      display:flex;
      align-items:center;
      padding: 0px 16px;
      margin-bottom: 22px;
      gap: 10px;
    }
    .head__logo{
        margin:0px;
    }
    .head__logo img{
        width: 100px;
    }
    .head__interactive{
        width: 365px;
    }
    .head__interactive_item:nth-child(15) {
      right: 25px;
    }
    .team__images_container_image{
        display:block;
    }
    .team__image{
        width:72px;
        height:72px;
    }
    .managment__section{
        padding: 0px 16px;
    }
     .managment__name{
    display:none;
    }
    .managment__namePhone{
    display:block;
    }
    .managment__contact{
        display:flex;
        flex-direction:column;
    }
    .managment__site{
        order: 0;
    }
    .managment__email_block{
         order: 1;
    }
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px #fff solid;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s ease;
}

