@font-face {
    font-family: 'Unageo';
    src: url('../fonts/Unageo-Bold.woff2') format('woff2'),
         url('../fonts/Unageo-Bold.woff') format('woff');
    font-weight: 400; /* Обычное начертание */
    font-display: swap; /* Чтобы текст не "моргал" при загрузке */
}
@font-face {
    font-family: 'Unageo';
    src: url('../fonts/Unageo-Black.woff2') format('woff2'),
         url('../fonts/Unageo-Black.woff') format('woff');
    font-weight: 700; /* Жирное начертание */
    font-display: swap;
}
@font-face {
    font-family: 'Unageo';
    src: url('../fonts/Unageo-Regular.woff2') format('woff2'),
         url('../fonts/Unageo-Regular.woff') format('woff');
    font-weight: 200; /* Жирное начертание */
    font-display: swap;
}
@font-face {
    font-family: 'Unageo';
    src: url('../fonts/Unageo-SemiBold.woff2') format('woff2'),
         url('../fonts/Unageo-SemiBold.woff') format('woff');
    font-weight: 300; /* Жирное начертание */
    font-display: swap;
}
@font-face {
    font-family: 'Unageo';
    src: url('../fonts/Unageo-Regularitalic.woff2') format('woff2'),
         url('../fonts/Unageo-Regularitalic.woff') format('woff');
    font-weight: 100; /* Жирное начертание */
    font-display: swap;
}





/*=================== */
body {
  overflow-x: hidden;
  font-family: 'Unageo', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #004395;
  background-size: cover;
  /* Фон подстраивается под размер окна */
  background-repeat: no-repeat;
  /* Изображение не повторяется */
  background-attachment: fixed;
  /* Фон не двигается при прокрутке */
  background-position: center;
  width: 100%;
  max-width: 100vw;
  /* min-width: 100vh; */
  position: relative;
  /* Центрирование фона */
  /* overflow: hidden !important; */
  /* height: auto !important; */
  height: 100% !important;
 }


body::after {
  content: "";
  display: block;
  height: 0;
  overflow: hidden;
  clear: both;
}

.header {
  position: relative;
  width: 100%;
  max-width: 1300px;
  text-align: center;
  background-color: #fff !important;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  margin: 0 auto;
}

.header__logo-icon{
  height: 50px;
}

.header-bg {
  width: 100%;
  display: block;
  margin: 0 auto;
}

.header-content {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  box-sizing: border-box;
}

.header__menu-list {
  display: flex;
  gap: 15px;
  padding: 0;
  margin: 0;
  list-style-type: none;
  font-weight: 300;
}

.header__menu-link{
  /* margin-left: 10px; */
  text-decoration: none;
  position: relative;
  padding-bottom: 5px;
  transition: all 0.3s ease;
  color: #004395;
}

.header__menu-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: #ff5722; /* Оранжевый цвет, можно изменить */
  transition: width 0.3s ease;
}

.header__menu-link:hover::after {
  width: 100%;
}

.header__menu-link:visited{
  color: #004395;
}

/* Остальные стили оставляем как были */
.header__logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__login-button {
  /* Основные стили */
  padding: 12px 24px;
  background: linear-gradient(135deg, #004395 0%, #89d4cf 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-family: 'Unageo', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(110, 69, 226, 0.3);

  /* Эффект свечения */
  &:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(110, 69, 226, 0.4);
  }

  /* Анимация при нажатии */
  &:active {
    transform: translateY(1px);
  }

  /* Эффект "блеска" при наведении */
  &::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40px;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: all 0.4s ease;
  }

  &:hover::after {
    left: 120%;
  }
}
.mb-btn-a {
  text-decoration: none;
  color: #fff;
}
/* бургер */
.burger-menu {
  display: none;
}
.burger-btn {
  display: none;
}
.burger-popup-overlay {
  display: none;
}

/* свайпер пк */
.slider-block {
    width: 300px; /* фиксированная ширина слайда */
    margin: 0 10px; /* можно для отступа между карточками */
}
.slick-list {
  overflow: visible !important;
}
.slick-prev, .slick-next {
  z-index: 10;
  top: auto !important;
  bottom: -50px;
}
.slick-next {
  right: 25px !important;
}
.slick-prev {
  left: 25px !important;
}
.slick-prev:before, .slick-next:before {
  color: #004395 !important;
}
.flip-card {
  width: 300px;
}

/* расписание */
.container__rospisanie {
  position: relative;
  max-width: 1134px;
  margin: 0 auto;
}

.table-loader-block {
  position: absolute;
  margin: 0 auto;
  left: 0;
  right: 0;
  bottom: 20px;
  padding: 0 20px;
}


.back_card-class {
  position: relative;
  display: flex;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}
/* первая стр. приветсивенная */
.promo {
  position: relative;
  padding: 0;
  /* text-align: center; */
  /* background-color: #fff; */
}

.promo__buttons-container {
  display: flex;
  gap: 20px;
}

/* чат */
.tutor-card {
  width: 290px;
  position: relative;
  height: 390px !important;
  padding: 5px;
  border-radius: 20px;
  background: linear-gradient(135deg, #004395 0%, #00D1FF 100%);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  overflow: hidden;
  font-family: "Inter", sans-serif;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tutor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.tutor-image {
  border-radius: 20px;
}
.tutor-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: 0 0;
  border-radius: 20px;
}

.tutor-info {
  padding: 16px;
  text-align: center;
}

.tutor-name {
  font-size: 18px;
  font-weight: 600;
  margin: 10px 0 6px;
  color: #222;
}

.tutor-subject {
  display: inline-block;
  padding: 6px 14px;
  font-size: 14px;
  background-color: #2e89ff;
  color: #fff;
  border-radius: 20px;
  margin-bottom: 12px;
}

.tutor-price {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #2e89ff;
}

.tutor-price span {
  font-size: 14px;
  font-weight: 400;
  color: #555;
}

.tutor-btn {
  width: 100%;
  padding: 12px 0;
  background: #2e89ff;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.tutor-btn:hover {
  background: #1d6fe3;
}
/* чат */
/* новая карта */
.ppl-img-cards img {
  width: 100%;
  height: 220px;
    object-fit: cover;
    object-position: 0 0;
}
/* новая карта */

.promo__container_cnt {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
}

.promo__title {
  font-size: 80px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.green__text {
  color: #0AFF40;
  display: block;
}

.base__text {
  color: #fff;
  display: block;
}

.small__text {
  font-size: 24px;
  color: #A1CBFF;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: 0px;
  margin-right: auto;
  margin-top: 25px;
}

.promo__img{
  z-index: 1;
  margin: 0 !important;
  }

.LOGO2{
  height: 500px;
  object-fit: contain;
  max-width: 100%;
}



.price-text {
  font-size: 80px;
  color: #f10;
}

/* .promo__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: -125px;
}

.but__zapisy {
  background-color: #ffffff;
  color: #004395;
  border: none;
  padding: 12px 30px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
} */

.anime-btn {
  width: 200px;
  position: relative;
  font-family: 'Unageo', sans-serif;
  font-weight: 700;
  font-size: 16px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s;
  z-index: 1;
  height: 52px;
}

.enroll-btn {
  background: linear-gradient(135deg, #0AFF40 0%, #00D1FF 100%);
  color: #004395;
  box-shadow: 0 4px 20px rgba(10, 255, 64, 0.5);
}

.more-btn {
  background: transparent;
  color: white;
  border: 2px solid #0AFF40;
}

.scroll-down-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.more-btn {
  padding: 0 36px;
  background: transparent;
  color: white;
  border: 2px solid #0AFF40;
  border-radius: 50px;
  font-family: 'Unageo', sans-serif;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  height: 52px;
}

.more-btn:hover {
  background: rgba(10, 255, 64, 0.1);
  box-shadow: 0 0 15px rgba(10, 255, 64, 0.3);
}

.anime-arrow-down {
  position: relative;
  width: 30px;
  height: 50px;
}

.anime-arrow-down svg {
  position: absolute;
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.7; }
}

/* Эффекты при наведении */
.enroll-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(10, 255, 64, 0.7);
}

.more-btn:hover {
  background: rgba(10, 255, 64, 0.1);
}

/* Эффект волны для кнопок */
.anime-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
  z-index: -1;
}

.anime-btn:hover::after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 1;
  }
  100% {
    transform: scale(20, 20);
    opacity: 0;
  }
}
.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10;
}
/* .but__zapisy:hover {
  background-color: #3e8e41;
  transform: translateY(-2px);
} */
/* 
.stror img {
  width: 75px;
  height: 75px;
  margin-left: -10px;
} */

.dop__inf {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  padding: 12px 30px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.dop__inf:hover {
  background-color: #f5f5f5;
  color: #004395;
}

.container__1 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  
}

.container__1 img {
  position: absolute;
}

.img2{
  z-index: 2;
  margin-top: 130px;
  margin-left: 760px;

}
.img3{
  z-index: 2;
  margin-left: -330px;
  margin-top: -15px;
}

.img1{
  z-index: 2;
  margin-top: 30px;
}

.img4{
  z-index: 1;
  margin-top: 250px;
  height: 6200px;
}

/* приимущества */
.advantages {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 4;
  margin-top: 250px;
  /* margin-bottom: 100px; */
  /* text-align: center; */
}

.advantages__title{
  font-size: 60px;
  max-width: 750px;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 5px red solid;

}

/* .advantages__title{} */
.line1{
  position: absolute;
  margin-top: -70px;
  height: 6.1px;
}

.advantages__small_title{
  margin-bottom: 25px;
  color: #8F8F8F;
}

/* карточки приимущсетв */
.advantages__items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 92px;
  justify-content: space-between;
}
.advantage-frst-block, .advantage-sec-block {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  max-width: 1300px;
  width: 100%;
  margin-bottom: 60px;
}
.advantage-sec-block {
  margin-bottom: 0;
}
.advantage-thr-block {
  display: none;
}
.advantage-item1 {
  max-width: 720px;
  width: max-content;
  margin-bottom: 10px;
}
.optimal {
  width: 405px;
  height: 455px !important;
}
.advantage-item1 img {
  width: 100%;
  display: block;
  height: 405px;
}

.icon1 {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: -50px;
}
.advantage-text {
  position: absolute;
  top: 30%;
  padding: 0 20px;
}

.adv-thr-item {
  max-width: 100%;
  width: 100%;
}
.adv-thr-item .optimal {
  height: 220px !important;
  max-width: 1200px;
}
.adv-thr-item .icon1 {
  right: -60px;
  left: auto;
  top: 50%;
  transform: translateY(-50%);
}
.adv-thr-item .advantage-text {
  top: 50%;
  transform: translateY(-50%);
  max-width: 840px;
}
.mb-atb {
  display: none !important;
}


.advantage-item1 h1,
.advantage-item1 p {
  padding: 0 10px;
}

.advantage-item1 h1 {
  top: 10px;
  font-size: 34px;
  color: #004395;
  font-weight: 400;
  text-align: center;
}

.advantage-item1 p {
  top: 80px;
  font-size: 18px;
  color: #8F8F8F;
  text-align: justify;
}

.advantage-item2 {
  position: relative;
  width: calc(50% - 5px);
  margin-bottom: 10px;
}

.advantage-item2 img {
  width: 550px;
  height: 100%;
  display: block;
  margin-left: 100px;
}

.advantage-item2 h1,
.advantage-item2 p {
  position: absolute;
  left: 30px;
  width: 100%;
  padding: 0 10px;
  margin-top: 210px;
  margin-left: 100px;
}

.advantage-item2 h1 {
  top: 10px;
  font-size: 34px;
  color: #004395;
  font-weight: 400;
}

.advantage-item2 p {
  top: 80px;
  font-size: 16px;
  color: #8F8F8F;
  max-width: 450px;

  text-align: justify;
}

.advantage-item3 {
  position: relative;
  width: calc(50% - 5px);
  margin-bottom: 20px;
  top: 50px;
}

.advantage-item3 img {
  width: 452px;
  height: 107.7%;
  display: block;
  margin-left: 0px;
}

.advantage-item3 h1,
.advantage-item3 p {
  position: absolute;
  left: -70px;
  width: 100%;
  padding: 0 10px;
  margin-top: 210px;
  margin-left: 100px;
}

.advantage-item3 h1 {
  top: 10px;
  font-size: 34px;
  color: #004395;
  font-weight: 400;
  max-width: 400px;
}

.advantage-item3 p {
  top: 120px;
  font-size: 16px;
  color: #8F8F8F;
  max-width: 380px;

  text-align: justify;
}

.advantage-item4 {
  position: relative;
  width: calc(50% - 5px);
  margin-bottom: 10px;
  top: 50px;
}

.advantage-item4 img {
  width: 400px;
  height: 105%;
  display: block;
  margin-left: -180px;
}

.advantage-item4 h1,
.advantage-item4 p {
  position: absolute;
  left: -220px;
  width: 100%;
  padding: 0 10px;
  margin-top: 210px;
  margin-left: 70px;
}

.advantage-item4 h1 {
  top: 10px;
  font-size: 34px;
  color: #004395;
  font-weight: 400;
  max-width: 400px;
}

.advantage-item4 p {
  top: 120px;
  font-size: 16px;
  color: #8F8F8F;
  max-width: 320px;

  text-align: justify;
}


.advantage-item5 {
  position: relative;
  width: calc(50% - 5px);
  margin-bottom: 10px;
  top: -400px;
}

.advantage-item5 img {
  width: 400px;
  height: 125%;
  display: block;
  margin-left: 900px;
}

.advantage-item5 h1,
.advantage-item5 p {
  position: absolute;
  left: 858px;
  width: 100%;
  padding: 0 10px;
  margin-top: 210px;
  margin-left: 70px;
}

.advantage-item5 h1 {
  top: 10px;
  font-size: 34px;
  color: #004395;
  font-weight: 400;
  max-width: 300px;
}

.advantage-item5 p {
  top: 120px;
  font-size: 16px;
  color: #8F8F8F;
  max-width: 320px;

  text-align: justify;
}

.advantage-item6 {
  position: relative;
  width: calc(50% - 5px);
  margin-bottom: 10px;
  top: 100px;
}

.advantage-item6 img {
  width: 192%;
  height: 60%;
  display: block;
  margin-left: -650px;
}

.advantage-item6 h1,
.advantage-item6 p {
  position: absolute;
  left: -688px;
  width: 135%;
  padding: 0 10px;
  margin-top: 0px;
  margin-left: 70px;
  max-width: 120%;
}

.advantage-item6 h1 {
  top: 50px;
  font-size: 34px;
  color: #004395;
  font-weight: 400;
  max-width: 900px;
}

.advantage-item6 p {
  top: 120px;
  font-size: 16px;
  color: #8F8F8F;
  max-width: 2000px;

  text-align: justify;
}
.advantage-item7 p {
  top: 120px;
  font-size: 16px;
  color: #8F8F8F;
  max-width: 2000px;

  text-align: justify;
}
.advantage-item7 {
  position: relative;
  width: calc(50% - 5px);
  margin-bottom: 10px;
  top: -5px;
}

.advantage-item7 img {
  width: 192%;
  height: 120%;
  display: block;
  /* margin-left: -50px; */
}

.advantage-item7 h1,
.advantage-item7 p {
  position: absolute;
  left: -35px;
  width: 135%;
  padding: 0 10px;
  margin-top: 0px;
  margin-left: 70px;
  max-width: 120%;
}

.advantage-item7 h1 {
  top: 50px;
  font-size: 34px;
  color: #004395;
  font-weight: 400;
  max-width: 900px;
}


.optimal-a{
  color: #658edb;
  font-weight: 500;
  text-decoration: none;
  padding: 2.5px 4px;
  border-radius: 4px;
  background: linear-gradient(120deg, #e0e7ff 0%, #e6ebff 100%);
  transition: all 0.2s ease;
}



.ICON{
  position: relative;
  /* width: calc(50% - 5px); */
  /* margin-bottom: 10px; */
  /* top: 120px; */
  /* height: 200px; */
  top: 10px;
}

.icon1 img{
  max-height: 185px;
  max-width: 185px;
  margin: 0 auto;
}
.icon2 img{
  position: relative;
  top: 0;
  right: 0;
  z-index: 2;
  height: 185px;
  width: 185px;
}
.icon3 img{
  position: relative;
  top: 0;
  left: 0;
  z-index: 2;
  height: 185px;
  width: 185px;
}
.icon4 img{
  position: relative;
  top: 0;
  left: 0;
  z-index: 2;
  height: 185px;
  width: 185px;
}
.icon5 img{
  position: relative;
  top: 0;
  right: 0;
  z-index: 2;
  height: 185px;
  width: 185px;
}
.icon6 img{
  z-index: 2;
  position: relative;
  top: 0;
  height: 185px;
  width: 185px;
  right: 0;
}
.icon7 img{
  z-index: 2;
  position: relative;
  top: 0;
  height: 185px;
  width: 185px;
  right: 0;
}

/* как проходят уроки */

.uroky {
  position: relative;
  z-index: 10;
  max-width: 1300px;
  padding-left: 115px;
  margin-top: 150px;

  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 4;
  margin-top: 150px;
}

.urok {
  font-size: 60px;
  margin-bottom: 15px;
}

.line_urok {
  position: absolute;
  margin-top: -10.6px;
  height: 8.1px;
  margin-bottom: 15px;
}

.mimi_urok {
  position: absolute;
  margin-bottom: 25px;
  color: #8F8F8F;
  max-width: 500px;
}

.back_card {
  position: relative;
  z-index: 3;
  max-width: 1300px;
  padding-left: 0px;
}

.text_card{
  z-index: 5;
}



.backart {
  position: absolute;
  height: 470px;
  margin-top: -180px;
  z-index: 3;
  width: 2000px;
  object-fit: cover;
  pointer-events: none;
}

.centered-container {
  display: flex;
  justify-content: center; /* Горизонтальное центрирование */
  width: 100%;
  max-width: 1920px; /* Или другой максимальный размер */
  margin: 0 auto;
}

.card__lessons {
  position: relative;
  z-index: 4;
  max-width: 1300px;
  /* padding-left: 0px; */
  margin-top: 50px;
  
}

.base__card {
  position: relative; /* Изменено с absolute на relative */
  width: 120%;
  top: 100px;
  margin-left: -112px;
  object-fit: cover;
  height: 900px;
}

.text_card {
  position: absolute;
  top: 50px; /* Настройте по необходимости */
  left: -50px;
  z-index: 5;

  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
  padding: 60px;
  margin-top: 30px;
}

.Checkbox, .Location {
  position: absolute;
  z-index: 5;
}

.Checkbox {
  /* Настройте позиционирование */
  width: 440px;
  top: -100px;
  left: 1000px;
}

.linw{
  display: none;
  position: absolute;
  z-index: 5;
  margin-top: 305px;
  margin-left: 50PX;
  width: 0.5px;
}


.linw:nth-child(3) { top: 205px;} 
.linw:nth-child(4) { top: 400px;} 

.Location {
  /* Настройте позиционирование */
  width: 840px;
  top: 150px;
  left: 650px;
}

/* новое */
/* Стили для текстовых блоков */
.lesson-item {
  position: relative;
  margin-left: 120px;
  max-width: 650px;
  text-align: justify;
  padding: 15px 25px;
  margin-bottom: 6px;
  border-radius: 8px;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  z-index: 2;
  overflow: hidden;
}

.lesson-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(to bottom, #0AFF40, #00D1FF);
  transition: height 0.4s ease;
}

.lesson-item:hover {
  background: rgba(0, 67, 149, 0.2);
  transform: translateX(15px);
}

.lesson-item:hover::before {
  height: 100%;
}

/* Эффект свечения */
.glow-effect {
  position: absolute;
  top: 0;
  left: -50px;
  width: 20px;
  height: 100%;
  background: rgba(10, 255, 64, 0.3);
  filter: blur(15px);
  transform: scaleY(0);
  transform-origin: center top;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}

.lesson-item:hover .glow-effect {
  transform: scaleY(1);
}

/* Стили для текста */
.big__text_lessons {
  position: relative;
  font-size: 35px;
  color: #ffffff;
  margin-top: 0;
  font-weight: 400;
  transition: all 0.3s ease;
  text-align: left;
}

.small__text_lessons {
  font-size: 16px;
  color: #56afc5;
  line-height: 1.5;
  max-width: 600px;
  transition: all 0.3s ease;
}

.lesson-item:hover .big__text_lessons {
  text-shadow: 0 0 15px rgba(10, 255, 64, 0.5);
}

.lesson-item:hover .small__text_lessons {
  color: #ffffff;
}

.green-text {
  color: #0AFF40;
  font-weight: 500;
  position: relative;
}

.green-text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #0AFF40;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left center;
}

.lesson-item:hover .green-text::after {
  transform: scaleX(1);
}

/* Стили для кружков - сохраняем исходное позиционирование */
.circle-hover-group {
  position: absolute;
  left: 10px;
  top: 200px;
  z-index: 5;
}

.circle-item {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 35.2px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.circle-main,
.circle-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: all 0.4s ease;
}

/* Исходное состояние - первый вид кружков */
.circle-main {
  opacity: 1;
  transform: translateY(0);
}

.circle-hover {
  opacity: 0;
  transform: translateY(10px);
}

/* Состояние при наведении - второй вид кружков */
.lesson-item:hover ~ .circle-hover-group .circle-item:nth-child(1) .circle-main,
.lesson-item:nth-child(1):hover ~ .circle-hover-group .circle-item:nth-child(1) .circle-main {
  opacity: 0;
  transform: translateY(-10px);
}

.lesson-item:hover ~ .circle-hover-group .circle-item:nth-child(1) .circle-hover,
.lesson-item:nth-child(1):hover ~ .circle-hover-group .circle-item:nth-child(1) .circle-hover {
  opacity: 1;
  transform: scale(1.6) translateY(0);
}

.lesson-item:nth-child(2):hover ~ .circle-hover-group .circle-item:nth-child(2) .circle-main {
  opacity: 0;
  transform: translateY(-10px);
}

.lesson-item:nth-child(2):hover ~ .circle-hover-group .circle-item:nth-child(2) .circle-hover {
  opacity: 1;
  transform: scale(1.6) translateY(0);
}

.lesson-item:nth-child(3):hover ~ .circle-hover-group .circle-item:nth-child(3) .circle-main {
  opacity: 0;
  transform: translateY(-10px);
}

.lesson-item:nth-child(3):hover ~ .circle-hover-group .circle-item:nth-child(3) .circle-hover {
  opacity: 1;
  transform: scale(1.6) translateY(0);
}

.lesson-item:nth-child(4):hover ~ .circle-hover-group .circle-item:nth-child(4) .circle-main {
  opacity: 0;
  transform: translateY(-10px);
}

.lesson-item:nth-child(4):hover ~ .circle-hover-group .circle-item:nth-child(4) .circle-hover {
  opacity: 1;
  transform: scale(1.6) translateY(0);
}

/* Позиционирование каждого кружка как в исходном файле */
.circle-item:nth-child(1) { top: 0; }
.circle-item:nth-child(2) { top: 90px; }
.circle-item:nth-child(3) { top: 182px; }
.circle-item:nth-child(4) { top: 250px; }

.backart2{
  position: absolute;
  height: 470px;
  margin-top: -130px;
  z-index: 3;
  width: 2000px;
  object-fit: cover;
  pointer-events: none;
}

/* СЕРТИШИКАТ */
.certificate{
  position: relative;
  z-index: 10;
  top: 100px;
  margin-bottom: 150px;
}

.certif{
  text-align: center;
  max-width: 100%; /* Ограничение ширины */
  margin: 0 auto; /* Центрирование блока */
  padding: 20px 0; /* Отступы сверху и снизу */
}

.certif-big{
  font-size: 60px;
  margin-bottom: -5px;
}

.certif-mini{
  color: #8F8F8F;
  margin-bottom: 70px;
}

.line_certif{
  height: 7px;
}

.certificate{
  position: relative;
}
.container-certificate{
  position: relative;
  /* max-width: 1300px; */
  margin: 0 auto;
  /* padding: 0 20px; */
  z-index: 3;
  margin-bottom: 300px;
  /* text-align: center; */
  margin: 0;
}


.certificate-content1 {
  width: max-content;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  margin-left: 0;
  padding: 0 40px;
}
.card-certificate1 {
  position: relative;
  margin: 0 auto;
  max-width: 1080px;
}



.certificate-content2 {
  width: max-content;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  padding: 0 40px;
  max-width: fit-content;
}
.card-certificate1, .card-certificate2 {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}

/* .container-cert-2 {
  display: flex;
  justify-content: center;
} */


.sert-title-1, .sert-title-2 {
  color: #004395;
  font-size: 42px;
  margin-top: 0;
}
.certificate-description-1, .certificate-description-2 {
  font-size: 24px;
}
.certificate-features-1 li, .certificate-features-2 li {
  color: #696969;
  font-size: 20px;
  margin-bottom: 12px;
  list-style: none;
}
.certificate-note-1, .certificate-note-2 {
  color: #8a9dc0;
  font-size: 15px;
}
.certificate-features-1, .certificate-features-2 {
  padding: 0;
}





.card-certificate_1{
  position: relative;
}

.diploma1{
  /* height: 450px; */
  height: 550px;
  width: 100%;
}

.certificate-content{
  position: absolute;
  top: 0;
  max-width: 1200px;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px;
  /* display: flex; */
  flex-direction: column;
}

.certificate-description{
  margin-left: 112px;
  margin-top: 170px;
  font-size: 24px;
  margin-bottom: 50px;
  font-weight: 400;
}

.certificate-features{
  margin-left: 110px;
  font-size: 17px;

  list-style: none;
  padding: 0;
  /* margin: 0 0 20px 0; */
  font-weight: 300;
  /* color: #8F8F8F; */
}


.certificate-features li {
  color: #696969;
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 12px;
  padding-left: 5px;
}

.check-mark {
  color: #00b126;
  font-size: 18px;
  font-weight: bold;
  margin-right: 10px;
}


.certificate-note {
  max-width: 950PX;
  margin-left: 112PX;
  color: #8a9dc0;
  font-size: 15px;
  font-style: italic;
  margin-top: 30PX;
  padding-top: 20px;
  /* border-top: 1px dashed #00D1FF; */
}


.bigSERTIF_2{
  position: absolute;
  margin-top: -120px;
  font-size: 42px;
  font-weight: 400;
  margin-left: 440px;
  color: #004395;
  
}

.certificate-description2{
  margin-left: 440px;
  margin-top: -450px;
  font-size: 24px;
  margin-bottom: 50px;
  font-weight: 400;
  max-width: 890px;
}

.certificate-features2{
  margin-left: 437px;
  font-size: 17px;

  list-style: none;
  padding: 0;
  /* margin: 0 0 20px 0; */
  font-weight: 300;
  /* color: #8F8F8F; */
}


.certificate-features2 li {
  color: #696969;
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 12px;
  padding-left: 5px;
}

.check-mark2 {
  color: #00b126;
  font-size: 18px;
  font-weight: bold;
  margin-right: 10px;
}


.certificate-note2 {
  max-width: 1200PX;
  margin-left: 445PX;
  color: #8a9dc0;
  font-size: 15px;
  font-style: italic;
  margin-top: 30PX;
  padding-top: 20px;
}

.card-certificate_2{
  position: relative;
  z-index: 1;
}

.diploma2{
  height: 550px;
  /* margin-top: 690px;   */
  /* margin-left: 350px; */
  width: 100%;
}

.back-card_3{
  position: relative;
  top: 50px;
}

.bigSERTIF_1{
  position: absolute;
  margin-top: 50px;
  font-size: 42px;
  font-weight: 400;
  margin-left: 111px;
  color: #004395;
  
}
/* .bigSERTIF_2{
  position: absolute;
  margin-top: -720px;
  font-size: 42px;
  font-weight: 400;
  margin-left: 440px;
  color: #004395;
} */

.back-card_D{
  position: absolute;
  margin-top: 1250px;
  margin-left: -90px;
  z-index: 3;
  height: 410px;
}
.back-card_D2{
  position: absolute;
  margin-top: 1370px;
}

/* СТОИОМСТЬ */
.price {
  position: relative;
  text-align: center;
  /* max-width: 1300px; */
  margin: 0 auto;
  /* padding: 20px; */
  z-index: 3;
  margin-bottom: 0;
  background-color: #004395;
  width: 100%;
}

.pri{
  position: relative;
  margin-top: 0px;
  top: 50px;
}

.big-pri, .text-class{
  font-size: 60px;
  color: #fff;
  margin-bottom: -60px;
  /* background-color: #004395; */
}

.line-pri{
  margin-top: 0px;
  width: 50%;

  
}

.mini-pri{
  color: #00D1FF;
  font-size: 20px;
  margin-top: -5px;
  
}

/* к стоимости, карточки */
.pri-card {
  display: flex;
  gap: 20px;
  position: relative;
  margin: 0 auto;
  margin-top: 180px;
  padding: 0;
  justify-content: space-around; /* Центрируем карточки */
  max-width: 1300px;
  flex-wrap: nowrap;
  row-gap: 200px;
  padding: 0 10px;
}

.price-card-1 {
  position: relative;
  width: fit-content;
  margin-left: 0px;
  
  transition: transform 0.3s ease; /* Анимация для всей карточки */
}

.card-price1 {
  max-width: 346px;
  width: 100%;
  height: 540px;
  z-index: 5;
  position: relative;
  display: block;
}

.card-content {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  z-index: 6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.fut1 {
  position: absolute;
  bottom: -30px;
  left: 22px;
  width:88%;
  z-index: 1;

  transition: all 0.3s ease; /* Анимация для выезжающего элемента */
}

/* Анимация при наведении */
/* .price-card-1:hover .fut1 {
  bottom: -65px;
} */

/* .card-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  z-index: 6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
} */

.price-header-container {
  position: relative;
  /* text-align: center;
  margin-top: 50px; */
}

.price-header {
  margin-top: 0px;
  text-align: center;
  color: #00ff37; /* Синий цвет текста */
  position: relative;
  z-index: 2;
}
.class-block {
  position: relative;
}
.grade {
  font-size: 44px;
  font-weight: bold;
  line-height: 1.2;
  /* margin-bottom: 65px; */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  left: 0;
  z-index: 10;
  margin: 0 auto;

}

.price {
  font-size: 80px;
  font-weight: 600;
  color: #f10000; /* Зеленый цвет цены */
  font-weight: 400;
}
.price-min{
  margin-top: -15px;
  font-size: 25px;
  font-weight: 300;
  color: #696969; /* Зеленый цвет цены */
}

.dop{
  position: relative;
  margin: 0 auto;
  /* margin-top: -80px; */
  width: 250px;
  z-index: 1;
  
}

.price-features {
  margin-top: 60px;
  list-style: none;
  padding: 0 20px;
  /* margin: 20px 0; */
  font-weight: 300;
  color: #333; /* Темный цвет текста */
}

.price-features li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 14px;
}

.price-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #00b126; /* Зеленые галочки */
  font-weight: bold;
}

.btn-card {
  position: absolute;
  color: #fff;
  left: 55%;
  top: -50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-decoration: none;
  font-size: 24px;
  transition: bottom 0.3s ease; /* Указываем конкретное свойство для анимации */
  /* background: linear-gradient(135deg, #0AFF40, #00D1FF); */
  padding: 8px 25px;
  border-radius: 25px;
  white-space: nowrap;
  background: transparent;
  border: none;
}
.register-block {
  position: relative;
  width: 100%;
  bottom: -30px;
}
.arrow{
  position: absolute; 
  width: 45PX;
  right: 65%;
  top: -50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  /* text-decoration: none; */
  font-size: 24px;
  transition: bottom 0.3s ease; 
  /* padding: 8px 25px; */
  /* border-radius: 25px; */
  white-space: nowrap;
}

.grade-m{
  font-size: 16px;
  opacity: 0.7;
  color: #fff;
  margin-bottom: 30px;
}

/* .price-card-1:hover .btn-card {
  bottom: -52px; 
}
.price-card-1:hover .arrow {
  bottom: -50px; 
} */


/* ПРОФЕССИИ */
.prophession{
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 2;
  margin-bottom: 150px;
}

.prophes {
  text-align: right; /* Выравнивание текста по правому краю */
  max-width: 1300px; /* Такая же ширина как у других секций */
  margin-left: auto; /* Автоматический отступ слева для выравнивания вправо */
  padding-right: auto; /* Такой же отступ как в секции advantages */
  position: relative; /* Для позиционирования декоративных элементов */
  z-index: 4; /* Как в других секциях */
  margin-top: 70px; /* Отступ сверху */
}

.big-prophes {
  font-size: 60px; /* Как в других заголовках */
  /* color: #fff; */
  margin-bottom: 5px; /* Отступ снизу */
}

.line-prophes {
  height: 6px; /* Как в других разделительных линиях */
  margin-bottom: 25px; /* Отступ снизу */
}

.mini-prophes {
  color: #8F8F8F; /* Серый цвет как в других описаниях */
  margin-top: -7px;
  max-width: 600px; /* Ограничение ширины текста */
  margin-left: auto; /* Выравнивание параграфа вправо */
  margin-bottom: 65px;
}


.inf-text{
  font-size: 19px;
  max-width: 1300px;
  text-align: right; /* Выравнивание текста по правому краю */
  margin-left: 110px;
  margin-bottom: 20px;
}
/* карты */
/* Стили для карточек профессий */
.inf-card {
  perspective: 1000px;
  margin: 30px auto;
  max-width: 1300px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  
}


.flip-card {
  background-color: transparent;
  width: 300px;
  height: 400px;
  perspective: 1000px;
  flex-shrink: 0;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  /* box-shadow: 0 10px 30px rgba(0, 67, 149, 0.3); */
  border-radius: 15px;
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.flip-card-front {
  background: linear-gradient(135deg, #004395 0%, #00D1FF 100%);
  color: rgb(255, 255, 255);
}

.flip-card-back {
  background: white;
  color: #004395;
  transform: rotateY(180deg);
}

.it-icon,
.linguistic-icon,
.medical-icon,
.philological-icon,
.technical-icon{
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  color: #0AFF40;
  filter: drop-shadow(0 0 10px rgba(10, 255, 64, 0.7));
}


.flip-card-front h3 {
  font-size: 22px;
  margin-bottom: 30px;
  font-weight: 700;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.tech-bubbles {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  transform: translateY(50%);
}
.tech-bubbles .coin {
  color: #002b5e;
  background-color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.tech-bubbles span {
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  backdrop-filter: blur(5px);
  transition: all 0.3s;
  color: #fff;
  font-weight: 600;
}

.tech-bubbles span:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
}

.flip-card-back h4 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #004395;
  font-weight: 700;
}

.flip-card-back ul {
  text-align: left;
  padding-left: 20px;
  margin-bottom: 30px;
  list-style-type: none;
}

.flip-card-back ul li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 25px;
  font-size: 16px;
}

.flip-card-back ul li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  background-color: #0AFF40;
  border-radius: 50%;
}

.languages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.languages span {
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
}

.language-python { background: #3776AB; color: white; }
.language-js { background: #F7DF1E; color: black; }
.language-java { background: #007396; color: white; }
.language-html { background: #E34F26; color: white; }
.language-sql { background: #4479A1; color: white; }

/* Анимация при загрузке */
@keyframes cardAppear {
  from { opacity: 0; transform: translateY(50px) rotateX(-30deg); }
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}

.flip-card {
  animation: cardAppear 0.8s ease-out forwards;
  opacity: 0;
}

.flip-card:nth-child(1) { animation-delay: 0.1s; }
.flip-card:nth-child(2) { animation-delay: 0.3s; }
.flip-card:nth-child(3) { animation-delay: 0.5s; }


.prophes-inf{
  z-index: 2;
}

.greenI{
  color: #4f46e5;
            font-weight: 600;
            text-decoration: none;
            padding: 2px 4px;
            border-radius: 4px;
            background: linear-gradient(120deg, #e0e7ff 0%, #c7d2fe 100%);
            transition: all 0.2s ease;
}

.back-prophes{
  position: absolute;
  z-index: 1;
  margin-top: 0;
  height: auto;
  width: 100%;
  z-index: 1;
  pointer-events: none;
  object-fit: cover;
}

/* РАСПИСАНИЕ */
.recBACK{
  margin-top: -210px;
  /* display: none; */
}

.recBACK2{
  height: 600px;
  position: absolute;
  width: 100%;
  right: -20px;
  top: -160px;
  /* display: none; */
  object-fit: cover;
}

.recBACK3{
  position: absolute;
  left: -20px;
  top: -100px;
  /* display: none; */
}
.recBACK3_5{
  margin-top: -1450PX;
  margin-left: -790px;
  position: absolute;
  display: none;
}

.recBACK4{
  margin-top: -1400px;
  left: -20px;
  position: absolute;
  /* display: none; */
}

.recBACK5{
  margin-top: -1475px;
  position: absolute;
  left: -20px;
  /* display: none; */
}

.classes{
  position: relative;
  text-align: center;
  /* max-width: 1300px; */
  margin: 0 auto;
  padding: 20px;
  z-index: 1;
  /* margin-bottom: 200px; */
  background-color: #004395;
}

.class-container{
  position: relative;
  top: 100px;
}

/* .class-bar{} */
.text-class{
  font-size: 60px;
  margin-bottom: 0px;
  color: #000;
  padding-top: 50px;
}

.line-class{
  width: 50%;
  z-index: 1;
  position: relative;
}

.mini-text-class{
  color: #00D1FF;
  margin-bottom: 100px;
}

.back_card-rospisanie{
  z-index: 2;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  min-height: 865px;
  object-fit: cover;
  border-radius: 20px;
}

.card-class{
  position: absolute;
  width: 100%;
  top: 60px;
  max-width: 1000px;
  z-index: 3;
  margin: 0 auto;
  left: 0;
  right: 0;
  /* margin-left: 570px; */
}

/* .card-class:nth-child(1) {left: 80px;}
.card-class:nth-child(2) {left: 230px;}
.card-class:nth-child(3) {left: 375px;}
.card-class:nth-child(4) {left: 520px;}
.card-class:nth-child(5) {left: 665px;}
.card-class:nth-child(6) {left: 810px;}
.card-class:nth-child(7) {left: 955px;} */

.backko-card {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.card-img {
  width: 134px;
  height: 260px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.card-img:hover {
  transform: translateY(-10px);
  
}

.card-img.active {
  transform: translateY(-40px) scale(1.1);
  z-index: 4;
}


.tex_card-class{
  position: relative;
  z-index: 5;
  /* left: 50%;
  transform: translateX(-50%);
  top: 620px; */
  font-size: 25px;
  margin-bottom: 180px;
  margin-top: 0;
}


/* ЗАГРУЗКА */ 
.container-loader{
  position: relative;
  /* left: 50%;
  transform: translateX(-50%); */
  z-index: 4;
  max-width: 900px;
  /* top: 870px; */
  margin: 0 auto;
}
.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  width: 160px;
  height: 100px;
  margin-left: -80px;
  margin-top: -50px;
  border-radius: 5px;
  background: #1e3f57;
  animation: dot1_ 3s cubic-bezier(0.55,0.3,0.24,0.99) infinite;
}

.loader:nth-child(2) {
  z-index: 11;
  width: 150px;
  height: 90px;
  margin-top: -45px;
  margin-left: -75px;
  border-radius: 3px;
  background: #3c517d;
  animation-name: dot2_;
}

.loader:nth-child(3) {
  z-index: 12;
  width: 40px;
  height: 20px;
  margin-top: 50px;
  margin-left: -20px;
  border-radius: 0 0 5px 5px;
  background: #6bb2cd;
  animation-name: dot3_;
}

@keyframes dot1_ {
  3%,97% {
    width: 160px;
    height: 100px;
    margin-top: -50px;
    margin-left: -80px;
  }

  30%,36% {
    width: 80px;
    height: 120px;
    margin-top: -60px;
    margin-left: -40px;
  }

  63%,69% {
    width: 40px;
    height: 80px;
    margin-top: -40px;
    margin-left: -20px;
  }
}

@keyframes dot2_ {
  3%,97% {
    height: 90px;
    width: 150px;
    margin-left: -75px;
    margin-top: -45px;
  }

  30%,36% {
    width: 70px;
    height: 96px;
    margin-left: -35px;
    margin-top: -48px;
  }

  63%,69% {
    width: 32px;
    height: 60px;
    margin-left: -16px;
    margin-top: -30px;
  }
}

@keyframes dot3_ {
  3%,97% {
    height: 20px;
    width: 40px;
    margin-left: -20px;
    margin-top: 50px;
  }

  30%,36% {
    width: 8px;
    height: 8px;
    margin-left: -5px;
    margin-top: 49px;
    border-radius: 8px;
  }

  63%,69% {
    width: 16px;
    height: 4px;
    margin-left: -8px;
    margin-top: -37px;
    border-radius: 10px;
  }
}

/* таблицы расписание */
.raspisanie-table {
  /* min-height: -80px; */
  position: absolute;
  z-index: 7;
  margin: 0;
  width: 100%;
  bottom: 56px;
  overflow-x: auto;
}

/* Стили таблиц */
.schedule-table {
  height: 300px;
  width: max-content;
  border-collapse: collapse;
  margin: 0 auto;
  animation: fadeIn 0.5s ease;
}
.schedule-content {
  padding: 0 20px;
}
.schedule-table th, .schedule-table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}

.schedule-table th {
  background-color: #4a6fa5;
  color: white;
  font-weight: bold;
}

.schedule-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

.schedule-table tr:hover {
  background-color: #e6f2ff;
}

/* Анимации */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* карточки товара */
.card_rosp1{
  display: block;
  /* position: absolute; */
  z-index: 4;
  /* width: 38%; */
  /* margin-top: 890px; */
  /* margin-left: 675px; */
  height: 267px;
  width: 100%;
  position: relative;
}
.card_rosp2{
  display: block;
  /* position: absolute; */
  z-index: 4;
  /* width: 33%;
  margin-top: 890px;
  margin-left: 130px; */
  height: 267px;
  width: 100%;
  position: relative;
}

/* Стили для красных кнопок с улучшенной анимацией */
.red_but-1, .red_but-2, .red_but-3 {
  display: block; /* По умолчанию скрыты */
  background-color: #ff3b30;
  color: white;
  border: none;
  border-radius: 7px;
  padding: 14px 20px;
  /* margin-top: 1100px;
  margin-left: 150px; */
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 
    0 4px 6px rgba(0, 0, 0, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.08);
  /* position: absolute; */
  overflow: hidden;
  z-index: 5;
  /* transform: translateY(5px); */
  opacity: 0;
  animation: fadeInUp 0.5s forwards;
}

/* .red_but-2 {
  margin-left: 699px;
}

.red_but-3 {
  margin-left: 899px;
} */

/* Анимация появления */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Эффекты при наведении */
.red_but-1:hover, .red_but-2:hover, .red_but-3:hover {
  background-color: #ff5e52;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 7px 14px rgba(0, 0, 0, 0.1),
    0 3px 6px rgba(0, 0, 0, 0.08);
}

/* Эффекты при нажатии */
.red_but-1:active, .red_but-2:active, .red_but-3:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.1),
    0 1px 2px rgba(0, 0, 0, 0.08);
}

/* Плавное изменение цвета при наведении */
.red_but-1, .red_but-2, .red_but-3 {
  background-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0)
  );
  transition: 
    transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    background-color 0.2s ease;
}

/* Стили для ссылок */
.red_but-1 a, .red_but-2 a, .red_but-3 a {
  color: white;
  text-decoration: none;
  display: inline-block;
  width: 100%;
  height: 100%;
  transition: color 0.2s ease;
}

/* Дополнительный эффект при наведении на ссылку */
.red_but-1:hover a, .red_but-2:hover a, .red_but-3:hover a {
  color: #fff;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Стили для плавного появления кнопок */
.carrrd_back-dop, .carrrd_back-dop2 {
  position: relative;
}

.carrrd_back-dop > * {
  display: block !important;
  opacity: 1 !important;
}
.red_but-1, .red_but-2 {
  position: absolute;
  bottom: 10px;
  left: 10px;
}
/* Красная линия под расписанием */
.red-line {
  position: relative;
  height: 5px;
  background-color: #ff0000;
  width: 100%;
  /* top: 1065px; */
  /* margin: 20px 0; */
  /* opacity: 0; */
  /* left: 10.5%; */
  /* transform: translateX(-50%); */
  transition: opacity 0.3s ease; /* Уменьшено с 0.5s */
  z-index: 7;
  margin-top: 180px;
}




/* МОДАЛЬНОЕ ОКНО */


/* Стили для модального окна */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 80%;
  max-width: 600px;
  position: relative;
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

.close-modal:hover {
  color: #f00;
}

.modal-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  padding: 0;
}

.modal-option {
  display: block;
  padding: 0px 20px 0px 20px;
  background-color: #f5f5f5;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.modal-option:hover {
  background-color: #e0f7fa;
  border-color: #0AFF40;
  transform: translateY(-5px);
}
.price-option {
  font-weight: bold;
  color: #ee0000 !important;
  margin-top: 10px;
  font-size: 24px;
}
.modal-option h3 {
  color: #0066cc;
  margin-bottom: 10px;
}

.modal-option p {
  color: #666;
}
.grade-btn {
  padding: 8px 15px;
  background-color: #f5f5f5;
  border: 2px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.grade-btn:hover {
  background-color: #e0f7fa;
  border-color: #0066cc;
}

.grade-btn.active {
  background-color: #004395;
  color: white;
  border-color: #004395;
}
#selectedGrade {
  color: #0066cc;
  font-weight: bold;
}

/* ОКНО + КУРСЫ */
/* Стили для переключателя вкладок */
.tab-switcher {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.tab-btn {
  padding: 10px 20px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-weight: bold;
  color: #666;
  transition: all 0.3s ease;
}

.tab-btn.active {
  color: #004395;
  border-bottom-color: #004395;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Стили для кнопок курсов */
.course-btn {
  padding: 10px 15px;
  margin: 5px;
  background-color: #f5f5f5;
  border: 2px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  text-align: left;
  min-width: 120px;
}

.course-btn:hover {
  background-color: #e0f7fa;
  border-color: #0066cc;
}

.course-btn.active {
  background-color: #004395;
  color: white;
  border-color: #004395;
}

.course-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}




/* нижний бар */
/* Footer Styles */
.footer {
  background: linear-gradient(135deg, #002b5e 0%, #004395 100%);
  color: white;
  padding: 60px 0 0;
  position: relative;
  font-family: 'Unageo', sans-serif;
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.2);
  z-index: 10;
  margin-top: auto;
  position: relative; /* Убираем absolute/fixed, если они есть */
  bottom: 0;
  width: 100%;
  margin: 0;
  /* margin-top: 150px; */
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #0AFF40, #00D1FF);
}

.footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(10, 255, 64, 0.1) 0%, transparent 70%);
  z-index: 0;
}

.footer__container {
  /* max-width: 1300px; */
  max-height: 600px;
  margin: 0 auto;
  padding: 0px;
  position: relative;
  z-index: 1;
}
.footer__section {
  padding: 0 10px;
}
.footer__grid {
  max-width: 1300px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin: 0 auto;
  margin-bottom: 40px;
}

.footer__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #0AFF40;
  position: relative;
  padding-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, #0AFF40, #00D1FF);
  border-radius: 3px;
}

.footer__columns {
  display: flex;
  gap: 30px;
}

.footer__column {
  flex: 1;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__link {
  color: #A1CBFF;
  text-decoration: none;
  font-size: 16px;
  font-weight: 300;
  display: block;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 20px;
}

.footer__link::before {
  content: '→';
  position: absolute;
  left: 0;
  opacity: 0;
  transition: all 0.3s ease;
  color: #0AFF40;
}

.footer__link:hover {
  color: white;
  transform: translateX(10px);
}

.footer__link:hover::before {
  opacity: 1;
  /* left: -5px; */
}

/* Spoiler styles */
.footer__spoiler-title {
  cursor: pointer;
  color: #0AFF40;
  font-weight: 500;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 20px;
}

.footer__spoiler-title::before {
  content: '+';
  position: absolute;
  left: 0;
  font-size: 20px;
  transition: all 0.3s ease;
  /* display: none; */
}

.footer__spoiler-title.active::before {
  content: '-';
}

.footer__spoiler-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  
  /* display: none; */
}

.footer__spoiler-content.show {
  max-height: 500px;
}

/* Contacts styles */
.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer__contact-icon {
  width: 20px;
  height: 20px;
  fill: #0AFF40;
}

.footer__contact-link {
  color: #A1CBFF;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
}
.tg_footer {
  color: #0AFF40;
}
.footer__contact-link:hover {
  color: white;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Bottom section */
.footer__bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  display: block;
  /* width: 1700px;
  margin-left: -170px; */
}

.footer__bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 10" preserveAspectRatio="none"><path d="M0,10 L100,0 L100,10 Z" fill="rgba(10, 255, 64, 0.05)"/></svg>');
  background-size: 100% 100%;
  opacity: 0.5;
  z-index: -1;
}

.footer__legal {
  margin-bottom: 20px;
}

.footer__legal-text {
  color: #A1CBFF;
  font-size: 14px;
  margin-bottom: 10px;
  text-align: center;
}

.footer__legal-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.footer__legal-link {
  color: #0AFF40 !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.footer__legal-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: white;
  transition: all 0.3s ease;
}

.footer__legal-link:hover {
  color: white !important;
}

.footer__legal-link:hover::after {
  width: 100%;
}

.footer__copyright {
  text-align: center;
  color: #A1CBFF;
  font-size: 14px;
}

/* Стили для выпадающего списка образования */
.education-dropdown {
  position: relative;
  /* margin-bottom: 0px; */
}

.dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  margin-bottom: 15px;
  /* background: rgba(10, 255, 64, 0.1); */
  /* background: rgba(0, 67, 149, 0.2); */
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  /* border: 1px solid rgba(10, 255, 64, 0.3); */
}

/* .dropdown-header:hover {
  background: rgba(10, 255, 64, 0.2);
} */

.dropdown-header span {
  color: #A1CBFF;
  font-size: 16px;
  font-weight: 300;
}

.dropdown-arrow {
  width: 16px;
  height: 16px;
  fill: #0AFF40;
  transition: transform 0.3s ease;
}

.dropdown-list {
  list-style: none;
  padding: 0;
  margin: 5px 0 0;
  /* max-height: 0; */
  overflow: hidden;
  transition: max-height 0.5s ease;
  /* background: rgba(0, 67, 149, 0.2); */
  background: transparent;
  border-radius: 0 0 5px 5px;
}

.education-dropdown.active .dropdown-list {
  max-height: 300px;
  padding: 5px 0;
}

.education-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-list li {
  /* padding: 8px 0px; */
  transition: all 0.3s ease;
}

/* .dropdown-list li:hover {
  background: rgba(10, 255, 64, 0.1);
} */

/* Анимация для выпадающего списка */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-list li {
  animation: fadeIn 0.3s ease forwards;
  opacity: 0;
}

.dropdown-list li:nth-child(1) { animation-delay: 0.1s; }
.dropdown-list li:nth-child(2) { animation-delay: 0.2s; }
.dropdown-list li:nth-child(3) { animation-delay: 0.3s; }
.dropdown-list li:nth-child(4) { animation-delay: 0.4s; }

/* Responsive */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr;
    padding: 0 10px;
  }
  
  .footer__columns {
    flex-direction: column;
    gap: 0;
  }
  .footer__spoiler-title {
    margin-top: 10px;
  }
  .footer__title {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .footer__legal-links {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  
  .footer__link {
    font-size: 14px;
  }
}


/* бегущая строка */
.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: marquee 15s linear infinite;
  margin-top: 40px;
  margin-bottom: 0;
}

.marquee-content span {
  font-family: 'Unageo', sans-serif;
  font-weight: 700;
  font-size: 25px;
  margin: 0;
  background: linear-gradient(90deg, #0AFF40, #00D1FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px rgba(10,255,64,0.3);
  position: relative;
  padding: 0 0 0 50px;
}

.marquee-content span::before {
  /* content: "➤"; */
  position: absolute;
  left: 0;
  /* top: 50%; */
  transform: translateY(-50%);
  /* font-size: 20px; */
  /* color: #00D1FF; */
  animation: pulse 1s infinite alternate;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes pulse {
  0% { opacity: 0.5; transform: translateY(-50%) scale(0.9); }
  100% { opacity: 1; transform: translateY(-50%) scale(1.1); }
}

/* ====================== */
/* ====================== */
/* ====================== */
/* Медиа-запросы для планшетов */
/* Медиа-запросы для планшетов 10-12" */







/* для слабовидящих */
/* Базовые стили и сброс */
:root {
  --primary-color: #004395;
  --secondary-color: #00D1FF;
  --accent-color: #FF6B00;
  --text-color: #333;
  --bg-color: #fff;
  --border-color: #ddd;
  --success-color: #4CAF50;
  --warning-color: #FFC107;
  --error-color: #F44336;
  --focus-color: #0099FF;
  --font-main: 'Segoe UI', Arial, sans-serif;
  --font-readable: Arial, sans-serif;
  --transition-speed: 0.3s;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Улучшенная панель доступности */
.accessibility-panel {
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important;
  z-index: 9999 !important;
  font-family: var(--font-main);
}

.accessibility-btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%)!important;
  border: none;
  width: 70px;
  height: 70px;
  border-radius: 50%!important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer !important;
  box-shadow: 0 5px 20px rgba(0, 67, 149, 0.4) !important;
  transition: all var(--transition-speed) ease !important;
  color: white !important;
  position: relative !important;
  overflow: visible;
  z-index: 10000 !important;
}

/* Для контрастной схемы */
body.contrast-scheme .accessibility-btn {
  background: yellow !important;
  color: black !important;
  border: 2px solid black !important;
}

/* Для темной схемы */
body.dark-scheme .accessibility-btn {
  background: #333 !important;
  color: white !important;
}

/* Для светлой схемы */
body.light-scheme .accessibility-btn {
  background: #f0f0f0 !important;
  color: #333 !important;
}

/* Для синей схемы */
body.blue-scheme .accessibility-btn {
  background: #004080 !important;
  color: white !important;
}

/* Для градаций серого */
body.grayscale .accessibility-btn {
  filter: grayscale(100%) !important;
  border: 2px solid #333 !important;
}
/* Усиленный контраст */
body.dark-contrast .accessibility-btn {
  background: #000 !important;
  filter: none !important;
  color: #fff !important;
  border: 3px solid #ff0 !important;
}

/* Стили для изображений в разных режимах */
body.grayscale img:not(.accessibility-btn *) {
  filter: grayscale(100%) !important;
}

body.invert-colors img:not(.accessibility-btn *) {
  filter: invert(100%) hue-rotate(180deg) !important;
}

body.dark-contrast img:not(.accessibility-btn *) {
  filter: contrast(130%) brightness(120%) !important;
}

/* Исключения для иконок внутри кнопки */
body.grayscale .accessibility-btn *,
body.invert-colors .accessibility-btn *,
body.dark-contrast .accessibility-btn * {
  filter: none !important;
}
/* Для инвертированных цветов */
body.invert-colors .accessibility-btn {
  filter: invert(100%) hue-rotate(180deg) !important;
  border: 2px solid #fff !important;
}

/* При скрытии изображений */
body.hide-images .accessibility-panel,
body.hide-images .accessibility-btn {
  display: block !important;
  visibility: visible !important;
}

/* При упрощенной верстке */
body.simplify-layout .accessibility-panel {
  background: none !important;
  box-shadow: none !important;
  border: 2px solid var(--primary-color) !important;
}

/* В режиме высокой контрастности */
body.high-contrast .accessibility-btn {
  outline: 3px solid white !important;
}

.accessibility-btn:hover, .accessibility-btn:focus {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 67, 149, 0.5);
  outline: none;
}

.accessibility-btn[aria-expanded="true"] {
  background: linear-gradient(135deg, #003366 0%, #0088CC 100%);
}

.accessibility-btn .eye-icon {
  width: 28px;
  height: 28px;
  fill: white;
  margin-bottom: 3px;
  transition: all var(--transition-speed) ease;
}

.accessibility-btn .btn-text {
  font-size: 13px;
  font-weight: bold;
  transition: all var(--transition-speed) ease;
}

.pulse-effect {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  animation: pulse 2s infinite;
  z-index: -1;
  opacity: 0;
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0; }
  50% { opacity: 0.4; }
  100% { transform: scale(1.3); opacity: 0; }
}

.accessibility-btn:hover .pulse-effect {
  opacity: 1;
}

.accessibility-menu {
  position: absolute;
  bottom: 90px;
  right: 0;
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  width: 380px;
  max-height: 80vh;
  overflow-y: auto;
  display: none;
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--transition-speed) ease;
  border: 1px solid var(--border-color);
  z-index: 9998;
}

.accessibility-menu.active {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.menu-header h3 {
  margin: 0;
  color: var(--primary-color);
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-icon, .section-icon, .action-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.close-menu {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0 5px;
  transition: all 0.2s ease;
  line-height: 1;
}

.close-menu:hover, .close-menu:focus {
  color: var(--primary-color);
  transform: scale(1.2);
  outline: none;
}

.menu-sections {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.menu-section {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 20px;
}

.menu-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.menu-section h4 {
  margin: 0 0 15px 0;
  color: var(--text-color);
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.option-group {
  margin-bottom: 15px;
}

.option-group label {
  display: block;
  margin-bottom: 8px;
  color: #555;
  font-size: 14px;
  font-weight: 500;
}

.slider-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.control-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: #f0f0f0;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.control-btn:hover, .control-btn:focus {
  background: var(--primary-color);
  color: white;
  outline: none;
}

.font-size-slider, .line-spacing-slider {
  flex-grow: 1;
  height: 8px;
  -webkit-appearance: none;
  background: #e0e0e0;
  border-radius: 4px;
  outline: none;
}

.font-size-slider::-webkit-slider-thumb,
.line-spacing-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}

.font-size-slider::-webkit-slider-thumb:hover,
.line-spacing-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  background: var(--secondary-color);
}

.size-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #666;
  padding: 0 5px;
}

.color-schemes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
  margin-bottom: 15px;
}

.color-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px 5px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s ease;
  background: none;
  position: relative;
}

.color-btn[aria-pressed="true"] {
  background-color: rgba(0, 67, 149, 0.1);
  font-weight: bold;
}

.color-btn[aria-pressed="true"]::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
}

.color-preview {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #ddd;
  transition: transform 0.2s ease;
}

.color-btn:hover .color-preview {
  transform: scale(1.1);
}

.color-btn:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.color-btn:active {
  transform: translateY(0);
}

.toggle-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toggle-switch {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-color);
  gap: 10px;
  position: relative;
  padding-left: 50px;
  min-height: 26px;
}

.toggle-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 22px;
  background-color: #ccc;
  border-radius: 22px;
  transition: .4s;
  flex-shrink: 0;
}

.slider:before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  border-radius: 50%;
  transition: .4s;
}

input:checked + .slider {
  background-color: var(--primary-color);
}

input:focus + .slider {
  box-shadow: 0 0 0 2px rgba(0, 67, 149, 0.3);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

.action-btn {
  width: 100%;
  padding: 10px 15px;
  margin-bottom: 10px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
}

.action-btn:hover, .action-btn:focus {
  background: #003366;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  outline: none;
}

.action-btn:active {
  transform: translateY(0);
}

.action-btn .action-icon {
  fill: currentColor;
}

/* Стили для режимов доступности */
body.font-size--2 { font-size: 12px !important; }
body.font-size--1 { font-size: 14px !important; }
body.font-size-0 { font-size: 16px !important; }
body.font-size-1 { font-size: 18px !important; }
body.font-size-2 { font-size: 20px !important; }
body.font-size-3 { font-size: 22px !important; }

body.line-spacing-1 { line-height: 1.2 !important; }
body.line-spacing-2 { line-height: 1.4 !important; }
body.line-spacing-3 { line-height: 1.6 !important; }
body.line-spacing-4 { line-height: 1.8 !important; }
body.line-spacing-5 { line-height: 2.0 !important; }

body.readable-font {
  font-family: var(--font-readable) !important;
}

body.letter-spacing {
  letter-spacing: 0.5px !important;
}

body.bold-text {
  font-weight: bold !important;
}

/* Цветовые схемы */
body.contrast-scheme {
  background-color: black !important;
  color: yellow !important;
}
body.contrast-scheme a {
  color: #00ffff !important;
  text-decoration: underline !important;
}
body.contrast-scheme button {
  background: yellow !important;
  color: black !important;
  border: 2px solid white !important;
}
body.contrast-scheme input,
body.contrast-scheme select,
body.contrast-scheme textarea {
  border: 2px solid yellow !important;
  background: black !important;
  color: white !important;
}

body.dark-scheme {
  background-color: #222 !important;
  color: #fff !important;
}
body.dark-scheme a {
  color: var(--secondary-color) !important;
}
body.dark-scheme input,
body.dark-scheme select,
body.dark-scheme textarea {
  background: #333 !important;
  color: white !important;
  border-color: #555 !important;
}

body.light-scheme {
  background-color: #f8f8f8 !important;
  color: #333 !important;
}
body.light-scheme a {
  color: #0066cc !important;
}

body.blue-scheme {
  background-color: #e6f2ff !important;
  color: #003366 !important;
}
body.blue-scheme a {
  color: #004080 !important;
  text-decoration: underline !important;
}

body.grayscale {
  filter: grayscale(100%) !important;
}

body.invert-colors {
  filter: invert(100%) hue-rotate(180deg) !important;
}

body.dark-contrast {
  --text-color: #000 !important;
  --bg-color: #fff !important;
  color: var(--text-color) !important;
  background-color: var(--bg-color) !important;
  filter: contrast(130%) !important;
}

/* Упрощение контента */
body.simplify-layout * {
  background-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  border: none !important;
}

body.hide-images img,
body.hide-images svg,
body.hide-images picture,
body.hide-images video,
body.hide-images iframe,
body.hide-icons [class*="icon"] {
  display: none !important;
  visibility: hidden !important;
}

body.hide-images::before,
body.hide-images::after {
  display: none !important;
  content: none !important;
}

body.hide-animations * {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

body.highlight-links a {
  outline: 2px solid #ff0 !important;
  padding: 2px 4px !important;
  background-color: rgba(255, 255, 0, 0.1) !important;
}

body.underline-links a {
  text-decoration: underline !important;
  text-decoration-skip-ink: auto !important;
}

/* Режим фокуса */
.focus-highlight {
  outline: 3px solid var(--focus-color) !important;
  outline-offset: 2px;
  background-color: rgba(0, 153, 255, 0.2) !important;
  box-shadow: 0 0 0 4px rgba(0, 153, 255, 0.3) !important;
}

.focus-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9990;
  pointer-events: none;
  display: none;
}

.focus-overlay.active + * {
  position: relative;
  z-index: 9991;
}

/* Экранная лупа */
.magnifier-tool {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 2px solid #333;
    border-radius: 50%;
    overflow: hidden;
    pointer-events: none;
    display: none;
    z-index: 9999;
  }

  /* Контент внутри лупы */
  .magnifier-content {
    transform: scale(2); /* коэффициент увеличения */
    transform-origin: top left;
    position: absolute;
  }
/* Виртуальный курсор */
.virtual-cursor {
  position: fixed;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--accent-color);
  pointer-events: none;
  z-index: 9996;
  display: none;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 107, 0, 0.2);
  transition: transform 0.1s ease;
}

.virtual-cursor.active {
  display: block;
}

.virtual-cursor.focus {
  border-color: var(--focus-color);
  background-color: rgba(0, 153, 255, 0.3);
}

/* Структура страницы */
.page-outline * {
  outline: 1px dashed rgba(255, 0, 0, 0.5) !important;
}

/* Клавиатурная навигация */
.keyboard-nav-mode [tabindex="0"] {
  outline: 3px solid var(--focus-color) !important;
  outline-offset: 2px;
}

/* Модальное окно */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed) ease;
}

.modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  position: relative;
}

.modal-header {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-body {
  padding: 20px;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0 5px;
  transition: all 0.2s ease;
  line-height: 1;
}

.modal-close:hover, .modal-close:focus {
  color: var(--primary-color);
  transform: scale(1.2);
  outline: none;
}

.tts-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.tts-btn {
  padding: 8px 15px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-speed) ease;
}

.tts-btn:hover, .tts-btn:focus {
  background: #003366;
  outline: none;
}

.tts-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.tts-speed {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tts-speed select {
  padding: 5px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.tts-status {
  padding: 10px;
  background: #f5f5f5;
  border-radius: 5px;
  min-height: 60px;
}

/* Уведомления */
.notification {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: white;
  padding: 12px 20px;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  z-index: 10002;
  opacity: 0;
  transition: opacity 0.3s ease;
  max-width: 90%;
  text-align: center;
}

.notification.show {
  opacity: 1;
}

.notification.success {
  background: var(--success-color);
}

.notification.warning {
  background: var(--warning-color);
  color: #000;
}

.notification.error {
  background: var(--error-color);
}

/* Адаптация для мобильных */
@media (max-width: 1366px) and (min-width: 1025px){  
  .accessibility-btn {
    width: 60px;
    height: 60px;
  }

  .modal{
    display: none;
  }
  #enableFocusMode{
    display: none;
  }
  #toolsSectionTitle{
    display: none;
  }
  #textToSpeechBtn{
    display: none;
  }
  #screenReaderBtn{
    display: none;
  }
  .accessibility-menu {
    top: -500px;
    width: 320px;
    right: -10px;
    max-height: 60vh;
  }

  .color-schemes {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  }

  .green__text, .base__text {
    font-size: 60px;
  }
  .advantages__title, .big-prophes, .urok, .certif-big, .big-pri, .text-class {
    font-size: 50px;
  }
}

@media screen and (max-width: 1243px) {


  .header__menu-list {
    display: none;
  }
  .mb-header {
    display: flex;
    gap: 10px;
  }
  .burger-btn {
    background: linear-gradient(135deg, #004395 0%, #89d4cf 100%);
    border-radius: 10px;
    width: 40px;
    height: 40px;
    border: none;
    display: block;
    cursor: pointer;
  }
  .burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 16px;
    margin: auto;
  }
  .line-burger {
    width: 100%;
    height: 2px;
    display: block;
    background-color: #fff;
  }
    /* Задний фон */
  .burger-popup-overlay {
    position: fixed;
    top: 0;
    right: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  /* Контент */
  .burger-popup-content {
    background: #fff;
    padding: 20px;
    width: 300px;
    height: auto;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    position: relative;
  }
  .burger-popup-overlay h2 {
    margin: 0 auto;
  }
  .brp-close {
    display: flex;
    justify-content: center;
  }
  .mb {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    margin-bottom: 20px;
  } 
  .burger-popup-close {
    position: absolute;
    right: 20px;
    top: 16px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
  }


}
/* @media (max-width: 480px) {
  .accessibility-menu {
    width: 280px;
    padding: 15px;
  }

  .action-btn {
    padding: 8px 12px;
    font-size: 13px;
  }
} */

@media screen and (max-width: 1024px) {
  .card-price1 {
    height: 500px;
  }
  .green__text {
    font-size: 60px;
  }
  .base__text {
    font-size: 48px;
  }
  .small__text {
    font-size: 18px;
  }
  .advantages__title, .big-prophes {
    font-size: 50px !important;
  }
  .advantage-item1 h1 {
    font-size: 28px;
    padding: 4px;
  }
  .advantage-item1 p {
    font-size: 14px;
    padding: 4px;
  }
  .adv-thr-item .advantage-text {
    max-width: 600px;
  }
  .adv-thr-item {
    max-width: 90%;
  }



  .base__card {
    margin-left: 0;
    width: 100%;
    height: 700px;
    display: none;
  }
  .card__lessons {
    background-color: #002b5e;
    width: 100%;
    margin-top: 100px;
  }
  .text_card {
    padding: 30px;
    margin: 0;
    top: 0;
  }
  .linw {
    display: none;
  }
  .big__text_lessons {
    font-size: 26px;
    margin: 0;
    text-align: left;
  }
  .small__text_lessons {
    margin: 0;
    text-align: left;
  }
  .lesson-item {
    margin-left: 0;
    background: rgba(0, 67, 149, 0.2);
  }
  .text_card {
    left: 0;
  }
  .Location {
    display: none;
  }
  .base__card {
    position: absolute;
    height: 100%;
  }
  .text_card {
    position: relative;
  }
  .centered-container {
    display: block;
  }
  .urok, .certif-big {
    font-size: 50px;
  }

  .lesson-item::before {
    display: block;
    height: 100%;
  }
  .green-text::after {
    transform: scaleX(1);
  }
  .small__text_lessons {
    color: #fff;
  }
  .big__text_lessons {
    text-shadow: 0 0 15px rgba(10, 255, 64, 0.5);
  }



  .sert-title-1, .sert-title-2 {
    color: #004395;
    font-size: 36px;
    margin-top: 0;
  }
  .certificate-description-1, .certificate-description-2 {
    font-size: 18px;
  }
  .certificate-features-1 li, .certificate-features-2 li {
    color: #696969;
    font-size: 16px;
    margin-bottom: 12px;
  }
  .certificate-note-1, .certificate-note-2 {
    color: #8a9dc0;
    font-size: 15px;
  }
  .diploma1, .diploma2 {
    height: 450px;
    width: 100%;
  }


  .certificate {
    top: 50px;
  }

  .certificate-content1 {
    margin: 0 auto;
  }


  .dop {
    width: 200px;
  }
  .grade {
    font-size: 40px;
  }
  .price-text {
    font-size: 50px;
  }
  .price-features {
    margin-top: 10px;
  }
  .btn-card {
    font-size: 24px;
  }


  .backko-card {
    overflow-x: auto;
    justify-content: left;
    padding: 0 20px;
  }
  .circle-hover-group {
    display: none;
 }
}
@media screen and (max-width: 850px) {
    .advantage-item1 h1 {
      font-size: 22px;
      margin: 8px 0;
      margin-top: 22px;
      text-align: center;
    }
    .advantage-item1 p {
      font-size: 16px;
      margin: 8px 0;
    }
    /* .mb-individum {
      min-height: 450px !important;
    } */
    /* .advantage-item1 .individum {
      min-height: 250px;
    } */
    .advantage-item1 .optimal {
      height: 350px !important;
    }
    .icon1 img {
      width: 140px;
      height: 140px;
    }
    .advantage-frst-block, .advantage-sec-block, .advantage-thr-block {
      display: flex;
      flex-direction: column;
      margin: 0;
      gap: 50px;
      margin-bottom: 50px;
    }
    .advantage-sec-block {
      margin-bottom: 0;
    }
    .advantage-item1 {
      max-width: 100% !important;
    }
    .advantage-text {
      top: 30%;
    }
    .advantages__title, .big-prophes {
      font-size: 40px !important;
    }
    .adv-thr-item .advantage-text {
      max-width: 450px;
    }
    .adv-thr-item {
      max-width: 90% !important;
    }
    /* .adv-thr-item img {
      height: 220px !important;
    } */

    .urok, .certif-big {
      font-size: 40px;
    }

    .sert-title-1, .sert-title-2 {
    color: #004395;
    font-size: 28px;
    margin-top: 0;
    }
    .certificate-description-1, .certificate-description-2 {
      font-size: 14px;
    }
    .certificate-features-1 li, .certificate-features-2 li {
      color: #696969;
      font-size: 14px;
      margin-bottom: 12px;
    }
    .certificate-note-1, .certificate-note-2 {
      color: #8a9dc0;
      font-size: 14px;
    }
    .diploma1, .diploma2 {
      height: 400px;
    }
    .diploma2 {
      height: 450px;
    }
    .certificate-content1, .certificate-content2 {
      max-width: 550px;
    }
    .card-certificate1, .card-certificate2 {
      width: 100%;
    }
    .card-certificate2 {
      display: flex;
      justify-content: right;
    }
    .pri-card {
      flex-wrap: wrap;
    }
    .price-features li {
      font-size: 18px;
    }
    .price-features {
      margin-top: 30px;
    }
    .card-price1 {
      height: 500px;
    }
}
@media screen and (max-width: 700px) {
    .header__login-button {
      display: none;
    }
    .mb-btn {
      display: block;
      margin: 0 auto;
    }
    .promo__img {
      display: none;
    }
    .advantages__title, .big-prophes {
      font-size: 28px !important;
    }
    .advantages__small_title {
      font-size: 14px;
    }
    .green__text {
      font-size: 50px;
    }
    .base__text {
      font-size: 40px;
    }
    .small__text {
      font-size: 14px;
    }
    .anime-btn {
      font-size: 14px;
      height: 44px;
      width: 100%;
      padding: 0 24px;
    }
    .more-btn {
      font-size: 14px;
      height: 44px;
      width: 100%;
      padding: 0 24px;
      min-width: 166px;
    }
    .adv-thr-item .icon1 {
      top: 0;
      left: 0;
      right: 0;
    }
    .adv-thr-item {
      max-width: 100% !important;
    }
    /* .adv-thr-item .advantage-text {
      max-width: 100%;
      top: 60%;
    } */
    /* .adv-thr-item img {
      height: 300px !important;
    } */
    .advantage-thr-block {
      display: none;
    }
    .mb-atb {
      display: none;
    }
  
    .advantage-item1 p {
      text-align: left;
    }

    .back-prophes {
      width: 100%;
      left: 0;
      margin-top: 40px;
    }

    .urok, .certif-big {
      font-size: 28px;
    }

    .line_certif {
      height: 4px;
      width: 100%;
    }
    .certificate-content1, .certificate-content2 {
      max-width: 450px;
    }

    .price-text {
      font-size: 60px;
    }
    .price-features li {
      font-size: 18px;
    }
    .price-features {
      margin-top: 30px;
    }
}
@media screen and (max-width: 500px) {
  .accessibility-menu {
    width: 260px;
  }
  .advantage-text {
    top: 20%;
  }

  .promo__buttons-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  }


  .big__text_lessons {
    font-size: 20px;
  }

  .text_card {
    padding: 20px;
    padding-top: 60px;
  }
  .lesson-item {
    padding: 5px 15px;
  }
  .line_urok  {
    height: 5px;
  }

    .certif-mini {
      margin-bottom: 0;
    }
    /* .diploma1 {
      position: relative;
      left: -580px;
    } */
    /* .diploma2 {
      position: relative;
      right: -600px;
      height: 550px;
    } */
    .diploma1, .diploma2 {
      height: 500px;
    }
    .certificate-content1, .certificate-content2 {
      max-width: 350px;
      padding: 0 20px;
    }
    .certificate-content1 {
      margin: 0 auto;
    }
    .certificate-content2 {
      margin: 0 auto;
    }
    .sert-title-1, .sert-title-2 {
    color: #004395;
    font-size: 24px;
    margin-top: 0;
    }
    .certificate-description-1, .certificate-description-2 {
      font-size: 14px;
    }
    .certificate-features-1 li, .certificate-features-2 li {
      color: #696969;
      font-size: 14px;
      margin-bottom: 12px;
    }
    .certificate-note-1, .certificate-note-2 {
      color: #8a9dc0;
      font-size: 14px;
    }
    .card-certificate1, .card-certificate2 {
      width: 100%;
    }
    .card-certificate2 {
      display: flex;
      justify-content: right;
    }

    .container-certificate {
      background-color: #fff;
      padding: 50px 0;
    }

    .big-pri, .text-class {
      font-size: 44px;
    }
    .mini-pri {
      font-size: 18px;
    }
    .line-pri {
      width: 100%;
      height: 2px;
    }
}