body {
  	position: relative;
    overflow-x: hidden;
   }
  .start_study_button {
      background-color: red;
      padding:0px 20px;
      box-shadow: 0 0 5px cyan;
      transition: 0.3s;
  }

  @media (max-width: 768px) {
    .carousel-inner img {
        width: 100%;
          transform: scale(1.3);
        z-index: 10;
        padding-bottom:30px ;
        padding-top:30px ;
}
}


  .course_hover {
  position:relative;
  opacity: 1;
  transition: 0.5s;

  }
  .course_hover:hover {
  transform: scale(1.1);
  z-index:1;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); /* Тень внизу */
      cursor: pointer;
  }

 div.gallery {
  border: 1px solid #ccc;
}

div.gallery img {
  width: 100%;
  height: auto;
}

div.desc {
  padding: 10px;
  text-align: center;
}

* {
  box-sizing: border-box;
}

.responsive {
  padding: 0 6px;
  float: left;
  width: 700px;
    z-index: -2;
}

.header0{
    font-size:40px;
}

.header0_1{
    color: #0066cc; /* Синий цвет для заголовков */
    text-align: center;
    justify-content: center;
    font-size:60px;
}

  	#section3 {
        width: 1000px;
        margin: 10px auto;
        background: white;
    }

    .steps-container {
      max-width: 100%;
      margin: 50px auto;
      padding: 20px;
    }


    .steps-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
    }


    .step {
    text-align: center;
    border:2px solid grey;
    padding: 30px;
    border-radius: 8px;
    background-color: #f1f1f1;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1); /* Тень снизу и справа */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
    }

    .step:hover {
      box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.4); /* Увеличиваем тень снизу и справа */
      cursor:pointer;
      transform: translateY(-5px);
    }

        /* Стили для заголовков */
    .step-title {
      font-family: 'Arial', sans-serif;
      font-size: 1.8em;
      color: #0066cc; /* Синий цвет для заголовков */
      margin-bottom: 15px;
      text-transform: uppercase;
      letter-spacing: 1px;
      font-weight: bold;
    }

    /* Стили для описаний */
    .step-description {
      font-family: 'Verdana', sans-serif;
      font-size: 1em;
      color: #333;
      margin-bottom: 20px;
    }

    .step h2 {
      font-size: 24px;
      margin-bottom: 15px;
    }

    .step p {
      font-size: 16px;
      margin-bottom: 20px;
      color: #555;
    }

    .step button {
      background-color: #3498db;
      color: white;
      padding: 10px 20px;
      font-size: 16px;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    .step button:hover {
      background-color: #2980b9;
    }

    @keyframes slideInFromLeft {
      0% { opacity: 0; transform: translateX(-100%); }
      100% { opacity: 1; transform: translateX(0); }
    }

    @keyframes slideInFromRight {
      0% { opacity: 0; transform: translateX(100%); }
      100% { opacity: 1; transform: translateX(0); }
    }



 @media (max-width: 768px) {
    /*.responsive {*/
    /*    width: 700px;*/
    /*    margin: 0px 0;*/
    /*}*/
      #section3{
        position: relative;
        width: 100%;
        padding: 5px 5px;
        /*z-index: -1;*/
        margin: 0;
    }

    .steps-grid {
        display: grid;
        gap: 5px;
        grid-template-columns: 1fr;
    }

    .steps-container {
        position: relative;
        width: 100vw;
        max-width: 100%;
        padding: 20px 5px;
        margin: 30px auto;
        overflow: hidden;

    }
    .step {
        width: 90%;
        margin: 20px auto;
        padding: 15px;
    }
      #words-container {
          position: absolute;
          width: 100%;
          max-width: 100%;
          height: 100%;
          filter: blur(1px);
  }

}

/*@media only screen and (max-width: 500px) {*/
/*  .responsive {*/
/*	width: 500px!important;*/
/*  }*/
/*  #section3{*/
/*      width: 500px;*/
/*      padding: 10px;*/
/*      z-index: -1;*/
/*  }*/

/*    .step {*/
/*    padding: 15px 5px;*/
/*    text-align: center;*/
/*    border:2px solid grey;*/
/*    width: 470px;*/
/*    margin-top:20px;*/
/*    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1); !* Тень снизу и справа *!*/
/*    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;*/
/*    background-color: rgba(255, 255, 255, 0.9);*/
/*    }*/

/*}*/


    /* Анимации */
    .step-left {
      animation: slideInFromLeft 1s forwards;
    }
    .step-right {
      animation: slideInFromRight 1s forwards;
    }



  #words-container {
      position: absolute;
      filter: blur(1px);
      max-width: 100vw;
  }

  .floating-word {
	position: absolute;
	font-size: 24px;
	font-weight: bold;
	color: grey;
	user-select: none;
	white-space: nowrap;
	transition: left 10s linear, top 10s linear;

  }

    #background_9 {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
     filter: blur(3px);
      z-index: -1;

    }



.navheader {
    background-color:rgb(29,73,153)!important;
    box-shadow:-10px -5px 7px rgba(0, 0, 0, 0.3)!important;
    color:white!important;

    height: 450px; /* Установим высоту, учитывая дополнительное пространство */

    -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='black' d='M0,288L120,282.7C240,277,480,267,720,245.3C960,224,1200,192,1320,176L1440,160L1440,0L1320,0C1200,0,960,0,720,0C480,0,240,0,120,0L0,0Z'></path></svg>");
    mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='black' d='M0,288L120,282.7C240,277,480,267,720,245.3C960,224,1200,192,1320,176L1440,160L1440,0L1320,0C1200,0,960,0,720,0C480,0,240,0,120,0L0,0Z'></path></svg>");

    -webkit-mask-size: cover;
    mask-size: cover;

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-position: bottom;
    mask-position: bottom;
    padding-top:40px;
}

@media (max-width: 768px) {
    .navheader {
        height: 750px !important;
    }
}

#section1 {
    position: relative;
    padding:100px 20px;
    margin-top:-50px;
    background-color:rgb(113,145,204);
    -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='%230099ff' fill-opacity='1' d='M0,320L1440,288L1440,0L0,0Z'></path></svg>");
    mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='%230099ff' fill-opacity='1' d='M0,320L1440,288L1440,0L0,0Z'></path></svg>");
    /*-webkit-mask-size: 120% 120%; !* Увеличиваем размер маски *!*/
    /*mask-size: 120% 120%;*/
        -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    z-index: 5;
}



#section2 {
    position: relative;
    margin-top:50px;
    -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='white' d='M0,256L120,266.7C240,277,480,299,720,298.7C960,299,1200,277,1320,266.7L1440,256L1440,0L1320,0C1200,0,960,0,720,0C480,0,240,0,120,0L0,0Z'></path></svg>");
      mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='white' d='M0,256L120,266.7C240,277,480,299,720,298.7C960,299,1200,277,1320,266.7L1440,256L1440,0L1320,0C1200,0,960,0,720,0C480,0,240,0,120,0L0,0Z'></path></svg>");
    -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: bottom;
    mask-position: bottom;
    z-index: 4;
}


.button_buy {
	color: white;
	text-transform: uppercase;
	box-shadow: 0 0 10px cyan;
	transition: 0.3s;
    text-decoration: none;
}

  .button_buy:hover {
	box-shadow: 0 0 20px cyan;
  }

/*стили для рейтинга*/


.pedestal-container {
    position: relative;
    display: inline-block;
    padding: 30px;
    border-radius: 30px;
    background-color: #fae5b6;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border: 30px solid #b38b59;

}

.pedestal-container::before {
    content: "";
    position: absolute;
    top: -40px;
    left: -40px;
    right: -40px;
    bottom: -40px;
    background: linear-gradient(45deg, #e6c88b, #b38b59);
    z-index: -1;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
}

.pedestal {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    background-color: #fae5b6;
}

.student-card {
    position: relative;
    width: 160px;
    text-align: center;
    padding: 15px;
    border-radius: 15px;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 10px 12px rgba(0, 0, 0, 0.3);
    height: auto;
    min-height: 200px; /* Минимальная высота */
    max-height: 520px; /* Максимальная высота */
}

.student-card img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 4px solid white;
}

.place-1 { background: linear-gradient(45deg, #FFD700, #FFA500);}
.place-2 { background: linear-gradient(45deg, #FFA500, #FF4500);}
.place-3 { background: linear-gradient(45deg, #FF0000, #B22222);}
.place-4 { background: linear-gradient(45deg, #4682B4, #4169E1);}
.place-5 { background: linear-gradient(45deg, #8A2BE2, #6A5ACD);}

.student-name {
    font-size: 18px;
    margin-top: 10px;
}

.student-rank {
    font-size: 16px;
}
.pedestal-mobile {
    display: none;
}
/* Медиа-запрос для мобильных устройств */
@media (max-width: 768px) {
    .pedestal{
        display: none;
    }
    .pedestal-mobile {
        display: inline-block;
        flex-direction: column; /* Вертикальное расположение */
        align-items: center;
        width: 100%;
    }
    .student-card {
        width: 100%;
        max-width: 100%;
        margin-top:10px;
    }
}








#section6 {
    font-family: 'Roboto', sans-serif;
    background-color: #f9f9f9; /* Цвет фона для видимой части блока */
    text-align: center;
    padding: 40px;
    position: relative;
    z-index: 1;
}

#masked-block {
    font-family: 'Roboto', sans-serif;
    background-color: rgb(15,143,129);
    text-align: center;
    margin-top:-300px;
    padding: 40px;
    height: 600px; /* Высота блока для демонстрации */
    color: white;
    position: relative;
    z-index: -1;

    /* Маска с 5 ступеньками */
    -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='black' d='M0,0L0,160L288,160L288,192L576,192L576,256L864,256L864,192L1152,192L1152,160L1440,160L1440,0L1152,0L1152,0L864,0L864,0L576,0L576,0L288,0L288,0L0,0Z'></path></svg>");
    mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='black' d='M0,0L0,160L288,160L288,192L576,192L576,256L864,256L864,192L1152,192L1152,160L1440,160L1440,0L1152,0L1152,0L864,0L864,0L576,0L576,0L288,0L288,0L0,0Z'></path></svg>");
    -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: bottom;
    mask-position: bottom;
}
.reviews-rev {
    position: relative;
    max-width: 780px;
    margin: 0 auto;
    border-radius: 30px;
    box-sizing: border-box;
    overflow: visible; /* НЕ обрезаем содержимое */
}

.review-slide-rev {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(255, 249, 237);
    padding: 20px 40px; /* горизонтальный отступ */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    border: 5px solid grey;
    border-radius: 30px;
    height: auto;
    overflow: visible; /* НЕ обрезаем текст */
}

@media (max-width: 768px) {
  .reviews-rev {
    max-width: 100%;
    padding: 10px;
    border-radius: 15px;
  }

  .review-slide-rev {
    width: 100%;
    padding: 20px 16px;
    border-width: 2px;
    border-radius: 15px;
    height: auto;
    overflow: visible;
  }

  .review-text-rev {
    font-size: 16px;
    text-align: left;
    padding: 20px 0;
    word-break: break-word;
  }

  .slider-prev-rev,
  .slider-next-rev {
    width: 30px;
    height: 80px;
    font-size: 24px;
  }

  #section8 img {
    width: 90px;
    height: 90px;
  }
}

.review-text-rev {
    font-style: italic;
    font-size: 20px;
    color: #555;
    margin-bottom: 10px;
    padding-top: 60px;
    text-align: center;
}

.review-content-rev {
    text-align: center;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.review-author-rev {
    font-weight: bold;
    font-size: 18px;
    color: #333;
}

.review-date-rev {
    font-size: 14px;
    color: #888;
    margin-top: 5px;
}

.slider-rev {
    width: 100%;
    margin: 0 auto;
    overflow: visible;
}

.slider-prev-rev, .slider-next-rev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 200px;
    background-color: rgba(51, 51, 51, 0.1);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 10;
    border-radius: 10px;
}

.slider-prev-rev:hover, .slider-next-rev:hover {
    background-color: rgba(51, 51, 51, 1);
}

.slider-prev-rev { left: 10px; }
.slider-next-rev { right: 10px; }

#section8 {
    font-family: 'Roboto', sans-serif;
    text-align: center;
    padding: 40px;
    background-color: rgb(243,185,79);
}

#section8 img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-top: 20px;
    max-width: 100%;
}





#section5{
    background-color:rgb(35,107,100);
      min-height: 700px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 24px;
      font-family: Arial, sans-serif;
     -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='black' d='M0,66L120,50C240,34,480,2,720,2C960,2,1200,34,1320,50L1440,66L1440,320L0,320Z'></path></svg>");
      mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='black' d='M0,66L120,50C240,34,480,2,720,2C960,2,1200,34,1320,50L1440,66L1440,320L0,320Z'></path></svg>");
      -webkit-mask-size: cover;
      mask-size: cover;
      -webkit-mask-repeat: no-repeat;
      mask-repeat: no-repeat;
      -webkit-mask-position: top;
      mask-position: top;
     z-index: 1;
    }


.speak_club_container {
    width: 100%;
    margin: 0 auto;
    border-radius: 10px;
    padding: 30px;
}

.start_club {

    display: inline-block;
    padding:20px 80px;
    margin-top:50px;
    font-size: 24px;
    background-color: rgb(26,79,74);
    border-top:1px solid rgb(58,179,167)!important;
    border-left:1px solid rgb(58,179,167)!important;
    border-bottom:1px solid rgb(18,54,50)!important;
    border-right:1px solid rgb(18,54,50)!important;

    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.start_club:hover {
    border:1px solid rgb(18,54,50)!important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    transform: translateY(4px);
}

#section4 {
    background-color: white; /* Светлый голубой фон */
    font-family: Arial, sans-serif;
}
@media (max-width: 768px) {
    #section4{
        overflow: hidden;
    }
}
.gif-image1 {
    width:800px;
    max-width: 100%; /* Чтобы гифы не выходили за пределы контейнера */
    margin-top:-150px;
}
@media (max-width: 768px) {
    #row2{
        overflow: hidden;
        padding-bottom: 200px;
    }
    .gif-image1{
        margin-top:80px;
        transform: scale(1.8);
    }
}

.gif-image2{
        max-width: 100%; /* Чтобы гифы не выходили за пределы контейнера */
        width:800px;
        margin-top:-20px;
        position: relative;
}

@media (max-width: 768px) {
    #row3{
        /*margin-top: 200px;*/
        /*overflow: hidden;*/
    }
    .gif-image2{
        margin-top:80px;
        transform: scale(1.5);
    }
}

.gif-image3{
        max-width: 100%; /* Чтобы гифы не выходили за пределы контейнера */
        width:700px;
        margin-top:-60px;
        margin-left:50px;
}
@media (max-width: 768px) {
    #row5{
        margin-top: 150px;
        overflow: hidden;
    }
    .gif-image3{
        margin-top:50px;
        margin-left: -10px;
        transform: scale(1.1);
        padding-bottom: 50px;
    }
}
.text-box {
  background-color:rgb(29,73,153); /* Светлый голубой фон для текста */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color:white;
}
.text-box h3 {
  color: white; /* Темный голубой для заголовков */
}
.text-box p {
  color: white; /* Темный цвет текста */
}

.wave-div {
    position: relative;
    margin-bottom: -10px;
    background-color: rgb(9, 41, 99); /* Цвет фона */
    height: 350px; /* Высота блока */
    width: 100%; /* Ширина на весь экран */
    mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='white' d='M0,288L80,293.3C160,299,320,309,480,298.7C640,288,800,256,960,213.3C1120,171,1280,117,1360,90.7L1440,64L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z'></path></svg>");
    mask-size: cover;
    mask-repeat: no-repeat;
    mask-position: bottom;
}


.navbar-toggler-icon {
    width: 100px!important;  /* Устанавливаем ширину */
    height: 100px!important; /* Устанавливаем высоту */
    background-color: white!important;  /* Меняем цвет */
}


/* Стили для контейнера СТАТЬИ */
.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height:700px;
    }

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.article-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}


.article-content {
    padding: 15px;
}

.article-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.article-description {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
    font-weight: bold;
}

.article-date {
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
}

.article-link {
    display: inline-block;
    justify-content: center;
    font-size: 26px;
    font-weight: bold;
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s;
}

.article-link:hover {
    color: #0056b3;
}
#section7 {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: white !important;
    z-index: 1;
    position: relative; /* или absolute, если нужно */
}
@media (max-width: 768px) {
    .article-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
}




.section_img{
    position: relative;
    height: 1000px;
    width: 100%;
    background-color: white;
    margin:0px;
}

.text-column{
    position: absolute;
    top:50%;
    right:20px;
    transform: translateY(-50%); /* вертикальное центрирование */
    width: 50%;
    z-index: 2;
    max-height: 100%; /* не выше родителя */
    padding: 20px;

}
.img-text {
    background-color: rgba(255, 255, 255, 0.8);
    height: auto; /* Высота блока подстраивается под контент */
    margin: 0;
    border-radius: 30px;
    overflow-y: auto; /* если контента будет много */

}

.image-column{
position: relative;
        padding: 0;
    margin-top:-300px;
}
.image-column div {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

@media (max-width: 767px) {
    .section_img{
        position: relative;
        top:-120px;
        padding: 0px;
        margin:0px;
    }

    .text-column {
        position: absolute;
        left: 0;
        margin-top: 2%;
        width: 100%;
        z-index: 2;
    }

    .img-text {
        background-color: rgba(255, 255, 255, 0.8);
        width: 100%;
        height: auto; /* Высота блока подстраивается под контент */
        margin: 0;
    }

    .image-column {
        display: flex;  /* Убираем flex-direction */
        flex-direction: column; /* Картинка и текст идут друг за другом */
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .image-column div {
        height: 130vh;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        z-index: 1;
        width: 100%;
        padding: 0;
        margin: 0;
    }
}


